function CheckForm() { if(document.Login1.UserName.value=="") { alert("请输入用户名!"); document.Login1.UserName.focus(); return false; } if(document.Login1.UserPassword.value == "") { alert("请输入密码!"); document.Login1.UserPassword.focus(); return false; } if(document.Login1.hytype.value == "") { alert("请选择会员类别!"); document.Login1.hytype.focus(); return false; } document.Login1.submit(); } document.writeln("