function CheckForm() { var form=document.myform; if (form.UserName.value=='') { alert("请输入用户名!"); form.UserName.focus(); return false; } if (form.PassWord.value=='') { alert("请输入密码!"); form.PassWord.focus(); return false; } form.Submit.value="登 录"; form.Submit.disabled=true; form.submit(); return true; } document.write('
');document.write('
');document.write('');document.write('');document.write('');document.write('
');document.write('
网站会员注册
');document.write('
');