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; } document.Login1.submit(); } document.writeln("
"); document.writeln("
<\/div>"); document.writeln("
会员登录<\/div>"); document.writeln("
" ); document.writeln("
用户名:<\/div>"); document.writeln("
<\/div>"); document.writeln("
密码:<\/div>"); document.writeln("