function CheckForm() { if(document.index_logon.UserName.value=="") { alert("请输入用户名") document.index_logon.UserName.focus(); return false; } if(document.index_logon.UserPass.value=="") { alert("请输入登录密码") document.index_logon.UserPass.focus(); return false; } document.index_logon.submit(); } document.writeln(""); document.writeln(""); document.writeln(""); document.writeln("
<\/td>"); document.writeln(" <\/td>"); document.writeln(" <\/td>"); document.writeln(" <\/td>"); document.writeln(""); document.writeln("<\/a><\/td><\/tr>"); document.writeln("<\/form> "); document.writeln("<\/table>");