   window.onresize=load2
   
	document.oncontextmenu=new Function("return false");
	function load(){  
	userAgent=navigator.userAgent.toLowerCase();
 	browsers=true;
 	if(userAgent.indexOf("opera")>0){browsers=false;}
	load2()
	}
	
	function load2(x){
	if(browsers){
	bw=document.documentElement.clientWidth;
	bh=document.documentElement.clientHeight;	
	}else{
	bw=self.innerWidth;
	bh=self.innerHeight
	}
	ww=(bw-877)/2;
	hh=(bh-480)/2;
	if(ww<0){
	document.getElementById("body").style.left=0+"px";
	
	}else{
	
	document.getElementById("body").style.left=ww+"px";
	}
	
	if(hh<0){
	document.getElementById("body").style.top=0+"px";
	}else{
	document.getElementById("body").style.top=hh+"px";
}
	document.getElementById("body").style.display="block";
	}
	


function helpi(){
	w=screen.availWidth;
	h=screen.availHeight;
	ww=(w-970)/2;
	hh=(h-730)/2;
	l=(ww<0)?0:ww;
	t=(hh<0)?0:hh;
	scr=(h<700)?"yes":"no";
	wedit="width=970, height=650, left="+l+", top="+t+", status=no, toolbar=no, menubar=no, scrollbars="+scr+", resizable=no";
}

function del(x){
de=confirm("Are you sure you want to delete this file?");
if(de){
x["delAct"].value="yes";
x.submit();
}
}



