﻿document.writeln("<script>");
document.writeln("function $F(id)  \/\/取表单值");
document.writeln("{");
document.writeln("return document.getElementById(id).value");
document.writeln("}");
document.writeln("");
document.writeln("function $(id)  \/\/取表单值");
document.writeln("{");
document.writeln("return document.getElementById(id);");
document.writeln("}");
document.writeln("");
document.writeln("  function  input_onkeypress(event)  \/\/回车事件");
document.writeln("   {   ");
document.writeln("  if(event.keyCode==13){   ");
document.writeln("  login();  ");
document.writeln("  }   ");
document.writeln("  } ");
document.writeln("");
document.writeln("function login()");
document.writeln("{");
document.writeln("L_username=$F(\"username\");");
document.writeln("L_password=$F(\"password\");");
document.writeln("if(L_username==\"\")");
document.writeln("{");
document.writeln("alert(\"Please input your username.\")");
document.writeln("$(\"username\").focus();");
document.writeln("return;");
document.writeln("}");
document.writeln("if(L_password==\"\")");
document.writeln("{");
document.writeln("alert(\"Please input your password.\")");
document.writeln("$(\"password\").focus();");
document.writeln("return;");
document.writeln("}");
document.writeln("document.form1.submit();");
document.writeln("}");
document.writeln("<\/script>");
document.writeln("");
document.writeln("<table width=\"24%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
document.writeln("<form action=\"..\/chklogin.asp\" method=\"post\" name=\"form1\">");
document.writeln("<tr>");
document.writeln("       <td height=\"34\" valign=\"baseline\"><img src=\"..\/images\/web_pic\/WebSite_cut_r1_c1.jpg\" width=\"238\" height=\"37\" \/><\/td>");
document.writeln("     <\/tr>");
document.writeln("     <tr>");
document.writeln("       <td height=\"41\" valign=\"top\" ><img src=\"..\/images\/web_pic\/WebSite_cut_r2_c1.jpg\" width=\"238\" height=\"41\" \/><\/td>");
document.writeln("     <\/tr>");
document.writeln("     <tr>");
document.writeln("       <td height=\"53\" background=\"..\/images\/web_pic\/WebSite_cut_r3_c1.jpg\"><div style=\"padding-top:26px;padding-left:62px;\">");
document.writeln("      <label>");
document.writeln("      <input name=\"username\" type=\"text\" id=\"username\"  style=\"width:120px;background-color:transparent;border:0px;color:#FFFFFF;\" onkeyup=\"this.value=this.value.replace(\/[^-A-Za-z0-9_ +]\/g,\'\');\" maxlength=\"15\" \/>");
document.writeln("      <\/label>");
document.writeln("    <\/div><\/td>");
document.writeln("     <\/tr>");
document.writeln("     <tr>");
document.writeln("       <td height=\"46\" background=\"..\/images\/web_pic\/WebSite_cut_r4_c1.jpg\"><div style=\"padding-top:19px;padding-left:62px;\">");
document.writeln("      <label>");
document.writeln("      <input name=\"password\" type=\"password\" id=\"password\" style=\"width:120px;background-color:transparent;border:0px;color:#FFFFFF\" onkeyup=\"this.value=this.value.replace(\/[^-A-Za-z0-9_+]\/g,\'\');\" onkeypress=\"return input_onkeypress(event)\" maxlength=\"15\" \/>");
document.writeln("      <\/label>");
document.writeln("    <\/div><\/td>");
document.writeln("     <\/tr>");
document.writeln("     <tr>");
document.writeln("       <td><img src=\"..\/images\/web_pic\/WebSite_cut_r5_c1.jpg\" width=\"238\" height=\"37\" border=\"0\" usemap=\"#Map\" \/><\/td>");
document.writeln("     <\/tr>");
document.writeln("     <tr>");
document.writeln("       <td><img src=\"..\/images\/web_pic\/WebSite_cut_r7_c1.jpg\" width=\"238\" height=\"45\" border=\"0\" usemap=\"#Map2\" \/><\/td>");
document.writeln("     <\/tr><\/form>");
document.writeln("   <\/table>");
document.writeln("   ");
document.writeln("<map name=\"WebSite_cut_r1_c2Map\" id=\"WebSite_cut_r1_c2Map\"><area shape=\"poly\" coords=\"77,179\" href=\"#\" onFocus=\"if(this.blur)this.blur()\"\/><\/map>");
document.writeln("<map name=\"Map\" id=\"Map\">");
document.writeln("<area shape=\"poly\" coords=\"73,8,162,8,165,34,72,32\" class=\"mouse\" onFocus=\"if(this.blur)this.blur()\" href=\"#\" onclick=\"login();\" \/ >");
document.writeln("<\/map>");
document.writeln("<map name=\"Map2\" id=\"Map2\">");
document.writeln("<area shape=\"rect\" coords=\"59,0,179,21\" class=\"mouse\" href=\"#\" onFocus=\"if(this.blur)this.blur()\" onclick=\"location.href=\'..\/register.asp\'\"\/>");
document.writeln("<area shape=\"rect\" coords=\"59,22,179,39\" href=\"..\/forum\/forgotten_password.asp\" class=\"mouse\" onFocus=\"if(this.blur)this.blur()\" >");
document.writeln("<\/map>")