function check2() { if (document.form2.user_name.value == "") { alert("用户名不能为空!"); document.form2.user_name.focus(); return (false); } if (document.form2.user_pwd.value == "") { alert("密码不能为空!"); document.form2.user_pwd.focus(); return (false); } } document.write (''); document.write (''); document.write (''); document.write ('
会员登录
'); document.write (''); document.write (''); document.write (''); document.write (''); document.write ('
用 户 名:
密    码:
'); document.write ('
');