function CheckForm(){ if (document.myform.username.value==''){alert('请输入用户名!');document.myform.username.focus();return false;} if (document.myform.password.value==''){alert('请输入登录密码!');document.myform.password.focus();return false; } return true;} document.write('
');