document.write('
'); document.write(''); function rem(){ var thisinput = document.getElementById("rememberme"); if(thisinput == null) return; if(thisinput.checked == true){ if(!confirm('浏览器将在一年内保持您的登录状态,网吧或公共机房上网者请慎用。您能确认本次操作吗?')){ thisinput.checked = false; } }else{ thisinput.checked = false; } } function loginq(){ var re = /^[_a-zA-Z0-9\-\.]+@([\-_a-zA-Z0-9]+\.)+[a-zA-Z0-9]{2,3}$/; document.myformq.email.value = document.myformq.email.value.trim(); if(document.myformq.email.value==""){ alert("邮箱不能为空!"); document.myformq.email.focus(); return false; } if(!document.myformq.email.value.match(re)){ alert("请输入合法的邮箱帐号"); document.myformq.email.focus(); return false; } if(document.myformq.password.value==""){ alert("密码不能为空!"); document.myformq.password.focus(); return false; } return true; } function rem(){ var thisinput = document.getElementById("remembermeq"); if(thisinput == null) return; if(thisinput.checked == true){ if(!confirm('浏览器将在一年内保持您的登录状态,网吧或公共机房上网者请慎用。您能确认本次操作吗?')){ thisinput.checked = false; } }else{ thisinput.checked = false; } }