

<div class="lgHead">
	<div class="logo"></div>
</div>
<div class="login lgCon">
	<h1 id="helloStr" class="hello">{%label.hello%}</h1>
	<ul class="line userpwd">
		<li class="tipLine">
			<span>{%label.userName%}</span>
		</li>
		<li class="lgLine">
			<div id="lgUsernameBdg" class="lgBdBg username">
				<input id="userName" maxLength="32" />
				<label id="userTipStr" for="userName">{%label.loginUserNameKey%}</label>
			</div>
		</li>
		<li class="tipLine">
			<span>{%label.password%}</span>
		</li>
		<li class="lgLine lgPwd">
			<div id="lgPwdBdg" class="lgBdBg password">
				<div id="lgPwdWrap" style="display: inline-block;">
					<input class="password" id="lgPwd" type="password" maxLength="64"/>
				</div>
				<label id="pwdTipStr" for="lgPwd" class="zIndexLevelHigh">{%label.passwd8to64Char%}</label>
				<img id="lgPwdBdgEyeIcon" src="../web-static/images/eye_slash_fill.png" class="zIndexLevelHigh" tabindex="-1"/>
			</div>
		</li>
		<li class="rightLine">
			<div>
				<span id="forgetPasswd">{%label.forgetPasswd%}</span>
			</div>
		</li>
	</ul>
	<div class="lgFunc">
		<input class="login subBtn" type="button" id="loginSub" value="{%btn.login%}" />
	</div>
</div><script type="text/javascript">function init(){function v(a){clearTimeout(q);0==e.max?g():(e.max--,y(a,parseInt(e.max/60),e.max%60),q=$.setTimeout(function(){v(a)},e.timeout))}function g(){clearTimeout(q);h.innerHTML=label.hello;h.className="hello"}function y(a,c,b){h.innerHTML=0==c?label.lockTip.replace("%s",a).replace("xx分","").replace("yy",b):label.lockTip.replace("%s",a).replace("xx",c).replace("yy",b);h.className="helloLk hello"}function r(a,c){var k=$.authRltObj.time,z=$.authRltObj.max_time,d=!0;switch(a){case ESYSLOCKED:l();
e.max=$.authRltObj.sec_left;v(c);break;case EUNAUTH:if(e.cnt==k)break;k<=e.minTipCnt&&k!=z?showNote("lgPwdBdg",label.loginErrorTipH+k+label.loginErrorTipT):showNote("lgPwdBdg",label.loginPwdErr);g();break;case ESYSCLIENTNORMAL:break;case IPCUMUSRBLANK:showNote("lgUsernameBdg",errStr.loginUserNameNull);d=!1;g();break;case IPCUMUSRNEXIST:showNote("lgUsernameBdg",errStr.invCloudAccountNotExist);d=!1;g();break;case EUSRUNSUPPORTED:showNote("lgUsernameBdg",errStr.loginUserUnsupported);d=!1;g();break;default:showAlert(errStr.invRequestFail),
g()}0<b.value.length&&!0==d?setDomCursorPos(b,b.value.length):0<f.value.length&&setDomCursorPos(f,f.value.length)}function w(){var a=document.documentElement.clientHeight,c=$("div.lgCon"),a=parseInt(0.235*(400<a?a:400));c.css("marginTop",a);$("#Cover p").css("marginTop",a-10+parseInt(c.css("height")))}function l(){closeNote("lgPwdBdg");closeNote("lgUsernameBdg")}function x(){var a=f.value,c=b.value;l();0==a.length?r(IPCUMUSRBLANK):0==c.length?showNote("lgPwdBdg",errStr.loginUserPwdNull):($.tmpPwdMD5=
$.getPwdMD5(a,c),$.auth(a,orgAuthPwd(c),c,function(c){c==ENONE?(b.value="",unloadLogin()):c==ESUPERPWDSUCCESS?"undefined"!=typeof gSubPageIndex?showConfirmC(btn.loginBtn,label.loginSuperPwd,function(a){!0==a&&(gSubPageSign=1);b.value="";unloadLogin()}):(b.value="",unloadLogin()):(r(parseInt($.authRltObj.code),a),b.value="")}))}function s(a,c){void 0==m&&(m=$("div.username")[0]);!0==c?$(m).removeClass("normal").addClass("active"):$(m).removeClass("active").addClass("normal");setStyle(a,{height:"32px"})}
function t(a,c){void 0==n&&(n=$("div.password")[0]);!0==c?$(n).removeClass("normal").addClass("active"):$(n).removeClass("active").addClass("normal");setStyle(a,{height:"32px"})}var e={max:0,minTipCnt:3,timeout:1E3},f=id("userName"),b=id("lgPwd"),A=id("loginSub"),p=id("pwdTipStr"),h=id("helloStr"),B=id("forgetPasswd"),q,m,n,u=id("lgPwdBdgEyeIcon"),C="undefined"!=typeof web_module_spec&&1==parseInt(web_module_spec.login_activation)?!0:!1;(function(){function a(){p.style.display="none";t(this,!0)}function c(){0==
this.value.length&&(p.style.display="inline");t(this,!1)}function e(d){d=d||window.event;if(13==d.keyCode)return x()}function g(d){l();t(this,!0);p.style.display="none";stopProp(d)}w();r(parseInt($.authRltObj.code),$.username);A.onclick=x;B.onclick=function(){var d=label.callNumber+'<span style="color:blue">'+label.hotlineNumber+"</span>"+label.findPasswd;showFindPasswd=function(){var a=id("Error"),c=id("hsErr"),b,e=this;b=$("div.hsTip input.subBtn")[0];null==c&&(c=document.createElement("div"),c.id=
"hsErr",c.className="hsTip",b=el("iframe"),b.frameborder=0,b.className="tipIframe",c.appendChild(b),b=document.createElement("p"),b.className="detail",c.appendChild(b),b=document.createElement("input"),b.type="button",b.className="subBtn btnA",b.value=btn.ok,c.appendChild(b),a.appendChild(c));getChildNode(c,"p").innerHTML=d;b.onclick=function(){$(a).removeClass("errMsg");e.closeAlert(!0)};$(a).addClass("errMsg");!1==OS.portable?setStyle(a,{position:"fixed"}):setStyle(a,{position:"absolute"});!1==
OS.iPhone&&!1==OS.iPad&&b.focus();this.alertTimeHd=$.setTimeout(function(){$(a).removeClass("errMsg");e.closeAlert(null,d)},3E4)};showCover(showFindPasswd)};C?(f.value="admin",userTipStr.style.display="none",$("#lgUsernameBdg").addClass("default")):(f.onfocus=function(){userTipStr.style.display="none";s(this,!0)},f.onblur=function(){0==this.value.length&&(userTipStr.style.display="inline");s(this,!1)},f.onclick=function(a){l();s(this,!0);userTipStr.style.display="none";stopProp(a)},p.innerHTML=label.loginUserPwdKey);
b.onfocus=a;b.onblur=c;b.value="";b.onkeyup=e;b.onclick=g;window.onresize=function(){w()};u.onclick=function(){var d="",d=id("lgPwdWrap").innerHTML,f=id("lgPwd").value,h=id("lgPwd").orgBC;0<f.length&&("password"==id("lgPwd").getAttribute("type")?(u.src="../web-static/images/eye_fill.png",d=d.replace(/type\s*=\s*('|")?password('|")?/ig,'type="text"')):(u.src="../web-static/images/eye_slash_fill.png",d=d.replace(/type\s*=\s*('|")?text('|")?/ig,'type="password"')),d=$("#lgPwdWrap").html(d).find("input")[0],
d.value=f,d.onclick=g,d.onkeyup=e,d.onblur=c,d.onfocus=a,void 0!=h&&(d.orgBC=h),b=id("lgPwd"))};document.body.style.height="100%"})()}init();
</script><style type="text/css">div.errMsg{visibility:visible!important;display:block!important;top:277px!important}.zIndexLevelHigh{z-index:20}.zIndexLevelMid{z-index:19}.zIndexLevelLow{z-index:18}</style>