function Closed(){
	window.opener=null;
	window.close();
}
function minimizeWIN() 
	{
	top.window.moveTo(0,0);
	if ( (top.opener) && (!top.opener.closed) ) { top.opener.window.focus(); }
	top.window.blur()
}

function MinimizeWindow(){                
var str='<object id=syuwin type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"><param name="Command" value="MINIMIZE"></object>';         
if(!document.getElementById("syuwin"))document.body.insertAdjacentHTML("BeforeEnd",str);         
syuwin.Click();               
}  


function killErrors() { 
	return true; 
} 
window.onerror = killErrors; 

function look(){
	if(  event.altKey ) return false;
 } 
document.onkeydown=look; 

function openme(object){
	object.style.background="#f7f7f7";
}
function closeme(object){
	object.style.background="#ffffff";
}


var currentpos,timer;
var position = 0;
var timeoutid=null; 
function sc(){clearInterval(timer);position=1000;}
function initialize(){timer=setInterval("scrollwindow()",1);}
function scrollwindow(){currentpos=document.body.scrollTop;window.scroll(0,++currentpos);}
function PCDisable(e)
{  if(!document.PCDisable) // initialize
  {
    if(document.layers) 
    { document.captureEvents(Event.MOUSEDOWN); document.onmousedown =PCDisable;   }
    else {document.oncontextmenu =PCDisable;};
    return document.PCDisable= true;
  }
  if(document.layers || (document.getElementById && !document.all))
  {  if (e.which==2||e.which==3){return false; }}
  else
  {  return false;}
}


function setstatus(){  
 var now = new Date();
 window.status= now.toLocaleString();   
 window.setTimeout("setstatus()",1000);     
}
setstatus();

