      window.onerror = null;
      function checklogin(myForm){
          if (myForm.Accout.value==""){
             alert("注意:\n请填写用户名!");
	         myForm.Accout.focus();
	         return false;
          }
          if (myForm.Password.value==""){
             alert("注意:\n请填写用户密码!");
             myForm.Password.focus();
	         return false ;
          }
		  return true;
      }
  function chksearch(myForm){
          if (myForm.Keyword.value==""){
             alert("注意:\n请填写关键词!");
	         myForm.Keyword.focus();
	         return false;
          }
          if (myForm.channel.options[myForm.channel.selectedIndex].value == ''){
             alert("注意:\n请选择搜索条件");
	         return false;
          }
		 return true;
      }
  function MM_jumpMenu(targ,selObj,restore){ //v3.0
      eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
      if (restore) selObj.selectedIndex=0;
  }
  function MM_openBrWindow(theURL,winName,features) { //v2.0
      window.open(theURL,winName,features);
  }
//window.open("http://www.expo365.cn/Ad/zhp.asp","","width=667px,height=534px,scrollbars=0");
//window.open("http://www.128.com.cn/upload/pop/3721news1109/3721news.htm","","width=770px,height=500px,scrollbars=1");
//window.open('http://www.128.com.cn/128website/gltc2007','_blank','height=610,width=770,top=10,left=10,resizable=no,scrollbars=yes,toolbar=no,channelmode=no;menubar=no');void(0)
//-->
  function eSwitchMenu(sId)
  {
    for(var i=1;i<=4;i++)
	{
	  if(parseInt(sId)==i)
	  {
	    document.getElementById("Layer"+i).style.display="block";
	  }
	  else
	  {
	    document.getElementById("Layer"+i).style.display="none";
	  }
	}
  }
  
  function eSwitchEnter(sId)
  {
    for(var j=1;j<=2;j++)
	{
	  if(parseInt(sId)==j)
	     document.getElementById("Enterprise"+j).style.display="block";
	  else
	     document.getElementById("Enterprise"+j).style.display="none";
	}
  }
  
  function bSwitchMenu(sId)
  {
    for(var k=1;k<=4;k++)
	{
	  if(parseInt(sId)==k)
	     document.getElementById("SaleMenu"+k).style.display="block";
	  else
	     document.getElementById("SaleMenu"+k).style.display="none";
	}
  }  
  
  function pSwitchMenu(sId)
  {
    for(var l=1;l<=2;l++)
	{
	  if(parseInt(sId)==l)
	     document.getElementById("pMenu"+l).style.display="block";
	  else
	     document.getElementById("pMenu"+l).style.display="none";
	}
  }   