/*
document.onkeydown=function(){
	if(event.shiftKey){window.close();}    
	//½ûÖ¹Shift
	if(event.altKey){window.close();}    
	//½ûÖ¹Alt
	if(event.ctrlKey){window.close();}    
	//½ûÖ¹Ctrl 
return false;}  
  */ 
   
   
function nocontextmenu(){    
    //alert("a");    
    try{    
       event.cancelBubble = true   
       event.returnValue = false;    
    }catch(e){    
   
    }    
    return false;    
}    
   
function norightclick(){    
  if (event.button == 2 || event.button == 3){    
    //alert("a");    
    try{    
       event.cancelBubble = true   
       event.returnValue = false;    
    }catch(e){    
   
    }       
    return false;    
   }    
}    
   

document.oncontextmenu = nocontextmenu;  // for IE5+    
document.onmousedown = norightclick;  // for all others    
document.onselectstart = function(){return false;}    
document.ondragstart =  function(){return false;} 


