<!--
var ctrlcode=0;
var IE5=((navigator.appVersion.indexOf("MSIE")!=-1)&&(navigator.appVersion.substr(22,1)>=5))?1:0;
var NS=(navigator.appName == 'Netscape')?1:0;

function printIt(){
	
	if ((IE5) || (NS))
	{	

		window.print();
	}
	else
	{	
		alert("  您用的不是IE5.0以上版本，不支持直接打印。请用\n\nCtrl+p或单击鼠标右键,选菜单中的[打印]！");
		//WebBrowser1.ExecWB(6,2);
	}
}

function shutwin(){
window.close();
return;
}
function openwin(zjname)
     {

	window.open(zjname,"","top=0,left=0,height=450,width=670,resizable=no,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");
	}


function isBlank(s){
 var len=s.length;
 var i;
for (i=0;i<len;++i)
{
 if(s.charAt(i)!=" ") return false;
}
 return true;

}


function checkKey(ob)
{
  if((IE5) || (NS)){
	if (window.event.ctrlKey)  // checks whether the ctrl key  // is pressed
	   	JM_cc(ob);
  }	
}

function JM_cc(ob){
  if ((IE5) || (NS))
{
   
	  ob.select();
	  js=ob.createTextRange();
	  js.execCommand("Copy");

   /*
	  ob.readOnly=false;
	  ob.focus();
	  ob.readOnly=true;
	  ob.blur();
  */
  }

else{
   if ((event.button == 2)||(event.button==3)){
     alert("欢迎访问");
     return false;
       }									
    }
}

function unselect()
{
   document.selection.empty();
   
}


function close_win() 
{ 
	window.close(); 
} 
     function Click(){ 
     
      window.event.returnValue=false; 
     } 
     document.oncontextmenu=Click; 
  
//-->


