function CheckForm() { if(document.index_logon.UserName.value=="") { alert("请输入用户名"); document.index_logon.UserName.focus(); return false; } if(document.index_logon.PassWord.value=="") { alert("请输入密码"); document.index_logon.PassWord.focus(); return false; } document.index_logon.submit(); } document.writeln("
用户名:<\/font><\/TD><\/TR>
密 码:<\/font><\/TD><\/TR>
 <\/div><\/TD><\/TR><\/TBODY><\/TABLE><\/TD><\/TR><\/TABLE>")