function checkForm() { var form=document.all.loginForm; if (form.username.value=="" ) { alert("请填写登录名或证号"); form.username.focus(); return false; } if (form.password.value=="") { alert("请填写密码"); form.password.focus(); return false; } return true; } function ForgetPass() { if(document.loginForm.username.value=="" ) { alert("请输入登录名或证号!"); document.loginForm.username.focus(); return; } document.loginForm.action="/cgi-bin//MyLibrary/EnterForgetPassword.cgi"; document.loginForm.submit(); } function ApplyPass() { if (document.loginForm.username.value=="") { alert("请输入登录名或证号!"); document.loginForm.username.focus(); return; } document.loginForm.action="/cgi-bin//MyLibrary/EnterApplyPass.cgi"; document.loginForm.submit(); } document.write('
\ \ \ \ \ \ \ \ \ \  \ \ 登录名\ \ \ 2.新办证读者可直接使用证号登录,不须注册
3.密码缺省为8位出生年月日\">\ \ \ \  \ \ 密  码\ \ \ \ \ \ \ \ \ \ \ \ \
\ \ \ \
\ \ \ \ \ \ \ \ \
\ \ \ \
\ \ \ \ \ \ \ \ \ \ \
\ \ \
\ \ \
');