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("