function config_load()
	{
    	var display=screen.width+"*"+screen.height+" ("+screen.colorDepth+")";
	    document.getElementById('stat_id').src='include/stat.php?java=1&again=0&display='+display;
 	}


function over_()
	{
		window.defaultStatus='::::::::::::::::::::     G E N I U S  B U D A P E S T     ::::::::::::::::::::';
		return true;
	}

function FlashCode(width_,height_,where_,what_,transparent_,id_,loop_,bg_)
	{
		document.getElementById(where_).innerHTML='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+width_+'" height="'+height_+'" id="'+id_+'" align="middle"> \n'+
											      '<param name="movie" value="'+what_+'" /><param name="quality" value="high" /><param name="wmode" value="'+transparent_+'" /><param name="bgcolor" value="#'+bg_+'" /><param name="loop" value="'+loop_+'" /><param name="menu" value="false" /> \n'+
                                                  '<embed src="'+what_+'" quality="high" loop="'+loop_+'" wmode="'+transparent_+'" menu="false" bgcolor="#'+bg_+'" width="'+width_+'" height="'+height_+'" name="'+id_+'" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> \n'+
                                                  '</object>';
	}


function radioertek(radioObj)
	{
		if(!radioObj)
	    	return '';
	    var radioLength = radioObj.length;
	    if(radioLength == undefined)
	    	if(radioObj.checked)
	        	return radioObj.value;
	        else
	        	return '';
	    for(var i = 0; i < radioLength; i++)
	    	{
	        	if(radioObj[i].checked)
	        		{
	                	return radioObj[i].value;
	                }
	        }
	  	return '';
	}


function closerX(what)
	{
        document.getElementById('big_picture').src='http://www.genius-bp.hu/theme/tr.gif'
        document.getElementById(what).style.width='0px';
		document.getElementById(what).style.top='0px';
		document.getElementById(what).style.visibility ='hidden';
        document.getElementById('alpha_id').style.visibility ='hidden';
        document.getElementById('alpha_id').style.width ='0px';
	    document.getElementById('alpha_id').style.height ='0px';
	}


function picture_view(left_,w_,h_)
	{  
        if(screen.height>(document.getElementById('footer_distance').offsetTop+10)){he_=screen.height;}
        else																	   {he_=(document.getElementById('footer_distance').offsetTop+10);}
        document.getElementById('big_picture').style.width = w_+'px';
	    document.getElementById('big_picture').style.height = h_+'px';
        document.getElementById('alpha_id').style.width =(document.getElementById('left_pic').offsetLeft+1)+'px';
        document.getElementById('alpha_id').style.height =he_+'px';

        document.getElementById('alpha_id').style.visibility ='visible';
		if (window.innerHeight)
	       {
	       		pos = window.pageYOffset;
	       }
	    else if (document.documentElement && document.documentElement.scrollTop)
	       {
	       		pos = document.documentElement.scrollTop;
	       }
	    else if (document.body)
	       {
	    		pos = document.body.scrollTop;
	       }
	    document.getElementById('picture_div').style.top = pos+20+'px';
		document.getElementById('picture_div').style.left=(document.getElementById('center_pic').offsetLeft-left_)+'px';
		document.getElementById('picture_div').style.visibility ='visible';
	}

function movl()
	{
		        document.getElementById('lm').style.width ='1px';
                document.getElementById('cm').style.width ='32px';
                window.setTimeout ( "document.getElementById('lm').style.width ='3px'; document.getElementById('cm').style.width ='30px';", 200 );
    }

function movn()
	{
		        document.getElementById('nm').style.width ='5px';
                window.setTimeout ( "document.getElementById('nm').style.width ='3px';", 200 );
    }
