ie = (document.all)? true:false if (ie){function ctlent(eventobject){if(window.event.keyCode==13 && gook()!=false){this.document.f1.submit();}}} function gook() { if (lll.usernameshow.value == "") { alert("用户名不可为空"); lll.usernameshow.focus(); return ; } if (lll.pwshow.value == "") { alert("密码不可为空"); lll.pwshow.focus(); return ; } /*if(lll.LTYPE.value==1) { //f1.saveUser.value = showsaveUser.checked; f1.username.value = lll.usernameshow.value+"@asialaw.cn"; //f1.SecEx.value = showSecEx.checked; f1.pwhidden.value = encode(lll.pwshow.value, parseInt(f1.picnum.value)); } else if(lll.LTYPE==2) { } else {*/ f1.action='admin/chklogin.asp?UserName='+lll.usernameshow.value+'&Password=' + lll.pwshow.value; //} f1.submit(); } function encode(datastr, bassnum) { var tempstr; var tchar; var newdata = ""; for (var i = 0; i < datastr.length; i++) { tchar = 65535 + bassnum - datastr.charCodeAt(i); tchar = tchar.toString(); while(tchar.length < 5) { tchar = "0" + tchar; } newdata = newdata + tchar; } return newdata; } var tmp='
| '+ ' 管理登录'+ ' | '+ '