var pr=0;
	if (!frep)
	{
		var frep=function(p,w,c)
		{
			p.className=c + w;
		}
	}
	window.onresize=function(){
		if (pr==0)
		{		
			document.getElementById('loader').style.height='0px';document.getElementById('loader').style.width='0px';
		}
		document.getElementById('tt').innerHTML='';
		document.getElementById('tt').innerHTML='<div style="position:absolute;top:-100px;left:0px;margin:0px;height:800px;width:100%;"><img id="imb" src="style/images/back_fon_1.jpg" width="100%" height="1040px"></div>';
		if (pr==0)
		{
			//document.getElementById('loader').style.height= document.body.scrollHeight;
			pr++;		
		}
        /*if(document.body.scrollHeight>1000 || screen.height>1000){           
           document.getElementById('copyid').style.position= 'fixed'; 
        } 
        if(screen.height<900 || document.body.scrollHeight<900)
        {
            document.getElementById('copyid').style.position= 'relative';
        }*/
	};
	window.onload=function(){		
		document.getElementById('loader').style.height='0px';document.getElementById('loader').style.width='0px';
		document.getElementById('tt').innerHTML='<div style="position:absolute;top:-100px;left:0px;margin:0px;height:800px;width:100%;"><img id="imb" src="style/images/back_fon_1.jpg" onload="document.getElementById(\'loader\').style.display=\'none\';" width="100%" height="1040px"></div>';		
		document.getElementById('loader').style.height= document.body.scrollHeight;
		document.getElementById('loader').style.width= document.body.scrollWidth;
	};

