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:0px;left:0px;margin:0px;"><img id="imb" src="style/images/back_fon.jpg" width="' + document.body.scrollWidth + '" height="' + document.body.scrollHeight +'"></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:0px;left:0px;margin:0px;"><img id="imb" src="style/images/back_fon.jpg" onload="document.getElementById(\'loader\').style.display=\'none\';" width="' + document.body.scrollWidth + '" height="' + document.body.scrollHeight +'""></div>';		
		document.getElementById('loader').style.height= document.body.scrollHeight;
		document.getElementById('loader').style.width= document.body.scrollWidth;
	};
