function login_true() { if (document.login_frm.username.value=="") { alert("请输入您在本站注册时的 用户名称 !"); document.login_frm.username.focus(); return false; } if (document.login_frm.password.value=="") { alert("请输入您在本站注册时的 登陆密码 !"); document.login_frm.password.focus(); return false; } } document.write("