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 FlashCodeHU(main, sub)
{
document.getElementById('head_div').innerHTML='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="1003" height="232" id="head" align="middle">\n'+
				        					  '<param name="movie" value="theme/head.swf?main='+main+'&sub='+sub+'" /><param name="wmode" value="transparent" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />\n'+
						                      '<embed src="theme/head.swf?main='+main+'&sub='+sub+'" quality="high" loop="false" wmode="transparent" menu="false" bgcolor="#ffffff" width="1003" height="232" name="head" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> \n'+
						        			  '</object>'
}

function FlashCodeENG(main, sub)
{
document.getElementById('head_div').innerHTML='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="1003" height="232" id="head" align="middle">\n'+
				        					  '<param name="movie" value="theme/head_eng.swf?main='+main+'&sub='+sub+'" /><param name="wmode" value="transparent" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />\n'+
						                      '<embed src="theme/head_eng.swf?main='+main+'&sub='+sub+'" quality="high" loop="false" wmode="transparent" menu="false" bgcolor="#ffffff" width="1003" height="232" name="head" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> \n'+
						        			  '</object>'
}

function alpha_on()
	{
        document.getElementById('alpha_id').style.width =document.body.clientWidth+'px';
        document.getElementById('alpha_id').style.height=(document.getElementById('footer').offsetTop+10)+'px';
        document.getElementById('alpha_id').style.visibility ='visible';
    }

function alpha_off()
	{
        document.getElementById('alpha_id').style.visibility ='hidden';
        document.getElementById('alpha_id').style.width ='1px';
        document.getElementById('alpha_id').style.height ='1px';
    }

function poser(plusz,what,width___)
	{
		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;
	       }

        pos=(pos+plusz);

	    document.getElementById(what).style.top = pos + 'px';

        u=(document.body.clientWidth-width___)/2;
        document.getElementById(what).style.left = u + 'px';
	}

function picture_view(pic__,width__,height__)
	{
        document.getElementById('picture_id').src=pic__;
        poser(30,'picture_table_id',width__,18);
        document.getElementById('alpha_id').style.width =(document.body.clientWidth)+'px';
        document.getElementById('alpha_id').style.height=(document.getElementById('footer').offsetTop+10)+'px';
        document.getElementById('alpha_id').style.visibility ='visible';
	    document.getElementById('picture_id').style.border='4px groove #FEF3DF';
        document.getElementById('picture_id').style.height=height__+'px';
        document.getElementById('picture_id').style.width=width__+'px';
        document.getElementById('picture_id').style.visibility ='visible';
    }

function picture_close()
	{
		document.getElementById('picture_id').src='theme/tr.gif';
	    document.getElementById('picture_id').style.border='none';
	    document.getElementById('picture_id').style.width='1px';
        document.getElementById('picture_id').style.height='1px';
        document.getElementById('picture_id').style.visibility ='hidden';
        document.getElementById('alpha_id').style.visibility ='hidden';
        document.getElementById('alpha_id').style.width ='1px';
	    document.getElementById('alpha_id').style.height ='1px';
	}
