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("
姓名: <\/td> 密码: <\/td>  \"注册\"<\/A><\/td><\/tr><\/table><\/td><\/form><\/tr><\/table>")