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