function pop_ztshow(ParentUrl){ if(ParentUrl.length==0){ $id('pop_parentUrl').value = 'http:///'; }else { $id('pop_parentUrl').value = ParentUrl; } $id('dlwin').style.display = 'block'; } var $id =function(ID){return document.getElementById(ID);}; function pop_zthidden(){ $id('dlwin').style.display = 'none'; } function pop_isCorrect(frm){ var ret = false; var _mailVal = $id('pop_mail').value; var _pwdVal = $id('pop_pwd').value; if (!/^\s*\d+\s*$/.test(_mailVal) && !/^\s*\S+@\S+\.\S+\s*$/.test(_mailVal)){ alert ('帐号栏请填入您的序号或E-mail!'); $id('pop_mail').focus(); }else if (!/^.{2,16}$/.test(_pwdVal)){ alert ('密码长度不正确哦!请检查后重新输入!谢谢!'); $id('pop_pwd').focus(); }else { ret=true; } return ret; } document.writeln('\ \ ');