function chkyou() { if(document.UserLogin.UserName.value=="") { alert("请输入您的用户名!"); document.UserLogin.UserName.focus() return false; } if(document.UserLogin.Password.value=="") { alert("请输入您的密码!"); document.UserLogin.Password.focus(); return false; } } var str="
"; document.write(str);