﻿ document.write("  <div class=\"head\">");
 document.write("      <div class=\"logo\"><a href=\"../index.aspx\"><img src=\"../images/logo.jpg\"></a></div>");
 document.write("      <div class=\"search\">");
 document.write("<table width=\"210\" height=\"50\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
 document.write("  <tr>");
 document.write("    <td width=\"40%\" height=\"20\" align=\"center\" valign=\"bottom\">");
 document.write("      <a href=\"../../cnindex.aspx\"><img src=\"../images/cn.gif\" /></a>&nbsp;&nbsp;");
 document.write("      <a href=\"../\"><img src=\"../images/en.gif\" /></a>	</td>");
 document.write("    <td align=\"right\" valign=\"bottom\">");
 document.write("    <a href=\"../about/legal.html\">Legal Notice</a> | <a href=\"../about/sitemap.html\">Site Map</a>	</td>");
 document.write("  </tr>");
 document.write("  <tr>");
 document.write("    <td colspan=\"2\" align=\"right\" valign=\"bottom\">");
 document.write("      <table width=\"207\" height=\"19\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"go\">");
 document.write("      <form name=\"form1\" action=\"\" method=\"post\">");
 document.write("       <tr>");
 document.write("        <td align=\"center\">");
 document.write("        <input name=\"keyword\" id=\"keyword\" type=\"text\" class=\"putone\" value=\"search\" onBlur=\"if (this.value=='') this.value='search'\" onClick=\"if (this.value=='search') this.value=''\" onkeydown=\"on_submit1(0);\" onmouseover=\"this.select()\" />		</td>");
 document.write("        <td width=\"22\" align=\"center\"><input type=\"submit\" class=\"goto\" value=\"\" onkeydown=\"on_submit1(1);\" /></td>");
 document.write("       </tr>");
 document.write("       </form>");
 document.write("      </table>");
 document.write("    </td>");
 document.write("    </tr>");
 document.write("</table>");
 document.write("      </div>");
 document.write("   </div>");
 
  
function on_submit1(i)
{
   if (i==0)
   {
        var sk=event.keyCode;
        if(sk==13)
        {
            if(document.getElementById ("keyword").value!="")
            {
                window.location.href="../search.aspx?k="+document.getElementById ("keyword").value;
            }
         }
   }
   else if(document.getElementById ("keyword").value!="")
   {
      window.location.href="../search.aspx?k="+document.getElementById ("keyword").value;
   }
   return false;
}


function key(){ 
if(event.shiftKey){
return false;}
//禁止Shift
if(event.altKey){
return false;}
//禁止Alt
if(event.ctrlKey){
return false;}
//禁止Ctrl
return false;}
//document.onkeydown=key;
//if (window.Event)
//document.captureEvents(Event.MOUSEUP);
function nocontextmenu(){
event.cancelBubble = true
event.returnValue = false;
return false;}
function norightclick(e){
if (window.Event){
if (e.which == 2 || e.which == 3)
return false;}
else
if (event.button == 2 || event.button == 3){
event.cancelBubble = true
event.returnValue = false;
return false;}
}
//禁右键
document.oncontextmenu = nocontextmenu; // for IE5+
document.onmousedown = norightclick; // for all others

