function checkLogin() { if(myform.u_name.value=="") { alert("账号不能为空!"); myform.u_name.focus(); return false; } if(myform.u_password.value=="") { alert("密码不能为空!"); myform.u_password.focus(); return false; } } document.writeln("