function CheckLogin(){ var Msg = ""; if (document.form1.UserName.value == ""){ alert("请输入用户名!"); document.form1.UserName.focus(); return false; Msg = "Err";} if (document.form1.UserPassWord.value == ""){ alert("请输入密码!"); document.form1.UserPassWord.focus(); return false; Msg = "Err";} if (Msg == ""){form1.submit();}else{return false;}}document.writeln("");document.writeln("");document.writeln(" ");document.writeln("
");document.writeln("  用户名:");document.writeln(" 密码:");document.writeln(" ");document.writeln("      <\/a>  忘了密码?");document.writeln("                 匿名发布<\/font><\/a>    联系留言<\/a>");document.writeln(" <\/td>");document.writeln(" <\/tr>");document.writeln("<\/form> ");document.writeln("<\/table>");