function check_input() { if (document.hylogin.hyname.value == "") { alert("请输入用户名!"); document.hylogin.hyname.focus(); return false; } if (document.hylogin.hypass.value == "") { alert("请输入密码!"); document.hylogin.hypass.focus(); return false; } if (document.hylogin.proof.value == "") { alert("请输入验证码!"); document.hylogin.proof.focus(); return false; } return true; } document.write("