

<div id="detailConCFUM" class="detailCon">
	<div class="tableCon">
		<div class="tableBorderCon"><table id="userTbl" class="dataGrid"></table></div>
		<ul id="userMgtUl" class="gridToolBar">
			<li gridType="popUp">{%btn.add%}</li>
			<li gridType="delSel">{%btn.deleteSel%}</li>
		</ul>
		<div id="tableEditCon" class="tableEditLyCon">
			<div class="tableEditCon tableEditConA">
				<div class="innerCon">
					<h4 class="title">{%btn.addNewUser%}</h4>
					<i id="closeTip"></i>
					<ul class="line">
						<li class="line lineF">
							<label class="des desA" for="userName">{%label.userName%}</label>
							<input id="userName" class="text textA3" maxLength="32" />
						</li>
						<li class="line lineF">
							<label class="des desA" for="userGroup">{%label.userGroup%}</label>
							<span class="selCon">
								<span id="userGroup" class="select">
									<span class="value hsValueA"></span>
									<i class="arrow"></i>
								</span>
							</span>
						</li>
						<li class="line lineF">
							<div class="authorityListCon">
								<h5>{%label.authList%}</h5>
							</div>
						</li>
						<li id="chgPwdUl" class="line lineF">
							<label class="des desA" for="chgPwd">{%label.cloudChgPwd%}</label>
							<i id="chgPwd" name="showInfo"></i>
						</li>
						<div id="pwdSetConActivate">
							<li class="line lineF relPos">
								<label class="des desA" for="password">{%label.password%}</label>
								<div id="PwdWrap" class="wdHtlimit">
									<input id="password" type="password" class="text textA3" maxLength="64"/>
								</div>
								<img id="PwdBdgEyeIcon" src="../web-static/images/eye_slash_fill.png" class="zIndexLevelHigh" tabindex="-1"/>
								<span id="passwordDep" class="depSpan">{%label.chgPwdDep%}{%label.colon%}<span id="passwordDepSp"></span></span>
							</li>
							<li id="oldPwdLi" class="line lineF relPos">
								<label class="des desA" for="oldPwd">{%label.oldPwd%}</label>
								<div id="oldPwdWrap" class="wdHtlimit">
									<input id="oldPwd" type="password" class="text textA3" maxLength="64"/>
								</div>
								<img id="oldPwdEyeIcon" src="../web-static/images/eye_slash_fill.png" class="zIndexLevelHigh" tabindex="-1"/>
							</li>
							<li class="line lineF relPos" id="newPwdLi">
								<label class="des desA" for="newPwd">{%label.newPwd%}</label>
								<div id="newPwdWrap" class="wdHtlimit">
									<input id="newPwd" type="password" class="text textA3" maxLength="64"/>
								</div>
								<img id="newPwdBdgEyeIconNew" src="../web-static/images/eye_slash_fill.png" class="zIndexLevelHigh" tabindex="-1"/>
								<span id="newPwdDep" class="depSpan">{%label.chgPwdDep%}{%label.colon%}<span id="newPwdDepSp"></span></span>
							</li>
							<li class="line lineF relPos">
								<label class="des desA" for="confPwd">{%label.loginPwdConf%}</label>
								<div id="confPwdWrap" class="wdHtlimit">
									<input id="confPwd" type="password" class="text textA3 " maxLength="64"/>
								</div>
								<img id="confPwdBdgEyeIconChk" src="../web-static/images/eye_slash_fill.png" class="zIndexLevelHigh" tabindex="-1"/>
							</li>
						</div>
						<a id="pwdSetCon">
							<li class="line lineF">
								<label class="des desA" for="password">{%label.password%}</label>
								<input id="password" type="password" class="text textA3" maxLength="32" />
								<span id="passwordDep" class="depSpan">{%label.chgPwdDep%}{%label.colon%}<span id="passwordDepSp"></span></span>
							</li>
							<li id="oldPwdLi" class="line lineF">
								<label class="des desA" for="oldPwd">{%label.oldPwd%}</label>
								<input id="oldPwd" type="password" class="text textA3" maxLength="32" />
							</li>
							<li class="line lineF" id="newPwdLi">
								<label class="des desA" for="newPwd">{%label.newPwd%}</label>
								<input id="newPwd" type="password" class="text textA3" maxLength="32" />
								<span id="newPwdDep" class="depSpan">{%label.chgPwdDep%}{%label.colon%}<span id="newPwdDepSp"></span></span>
							</li>
							<li class="line lineF">
								<label class="des desA" for="confPwd">{%label.loginPwdConf%}</label>
								<input id="confPwd" type="password" class="text textA3" maxLength="32" />
							</li>
						</a>
						<li class="line lineF">
							<label class="des desA" for="remark">{%label.remark%}</label>
							<input id="remark" class="text textA3" maxLength="60" />
						</li>
					</ul>
					<div class="tablePopUpToolBar tablePopUpToolBarA"></div>
				</div>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">function init(){function B(a,c){var b="";switch(a){case ENONE:return!0;case IPCUMUSREXIST:b=errStr.invUserNameExist;break;case IPCUMUSRNAUTH:case IPCUMGUESTNAUTH:b=errStr.invPermissionDenied;break;case IPCUMOLDPWDERR:b=errStr.invOldPwdErr;break;case IPCUMUSRNAMEINV:b=errStr.invUserNameValid;break;case IPCUMUSRBLANK:case IPCUMUSRNAMELTM:case IPCUMUSRNAMEGTM:b=errStr.invUserNameLen;break;case IPCUMTABFULL:b=errStr.invUserMgtGroupFull;break;case ETABLEFULL:b=errStr.invUserMgtChgGroupFull;break;default:b=
errStr.invRequestFail}closeToast();showAlert(b,c);return!1}function H(){$.group==GROUP_ROOT&&(ia.rows[1].cells[0].innerHTML="")}function V(a){a==GROUP_ROOT||a==GROUP_ADMIN?P.each(function(a){this.style.background='url("../web-static/images/checked.png") no-repeat 7px 4px'}):(P.each(function(a){this.style.background=""}),P[0].style.background='url("../web-static/images/checked.png") no-repeat 7px 4px')}function W(a){return/^[\x21-\x7e]+$/.test(a)}function ta(a,c){return-1!=c.indexOf(a)||-1!=c.indexOf(a.split("").reverse().join(""))?
(showNote("confPwd",errStr.pwdUsrNameSame),!1):-1!=c.indexOf("`")?(showNote("confPwd",errStr.pwdCharValid),!1):!0}function Q(a){var c=!1,b=!1,e=b=!1,d=!1;if(R)return c=/\d/g.test(a),b=/[a-z]/g.test(a),d=/[A-Z]/g.test(a),e=/[\x21-\x2f\x3a-\x40\x5b-\x60\x7b-\x7e\s]/g.test(a),c+e+b+d;c=/\d/g.test(a);b=/[a-zA-Z]/g.test(a);e=/[\x21-\x2f\x3a-\x40\x5b-\x60\x7b-\x7e\s]/g.test(a);return c&&e&&b?1:0}function D(a,c,b){var e=id(a);c=id(c);id(b).style.display="none";if(e.value==c.value)return closeNote(a),!0;
showNote(a,label.chgPwdDif);return!1}function ja(a){var c=id(a).value,b=c.length,e=!0;0>=b?(showNote(a,errStr.invUserNameEmpty),e=!1):32<b?(showNote(a,errStr.invUserNameLen),e=!1):/[\x22\x3a\x5c]/.test(c)?(showNote(a,errStr.invUserNameRange),e=!1):W(c)||(showNote(a,errStr.invUserNameCn),e=!1);return e}function I(a,c,b){var e="",d=id(a);c=id(c);b=id(b);var d=d.value,f=d.length,g=!0;R?0<=f&&8>f||64<f?(showNote(a,label.chgPwdCharNew),c.style.display="none",g=!1):W(d)?/((?=.*\d)(?=.*\D)|(?=.*[a-z])(?=.*[^a-z])|(?=.*[A-Z])(?=.*[^A-Z]))(?!^.*[\u4E00-\u9FA5].*$)/.test(d)?
ta(q.value,d)?(2==Q(d)?e=12>=f?label.weak:label.media:3==Q(d)?e=12>=f?label.media:label.strong:4==Q(d)&&(e=label.strong),b.style.color=e==label.weak?"#FF5500":e==label.media?"#FF9F00":"#19B68F",b.innerHTML=e,c.style.display="inline"):(c.style.display="none",g=!1):(showNote(a,errStr.pwdTypeValid),c.style.display="none",g=!1):(showNote(a,errStr.pwdCharValid),c.style.display="none",g=!1):0<=f&&6>f||32<f?(showNote(a,label.chgPwdChar),c.style.display="none",g=!1):W(d)?(e=/^\d+$/.test(d)||/^[\x21-\x2f\x3a-\x40\x5b-\x60\x7b-\x7e\s]+$/.test(d)||
/^[a-zA-Z]+$/.test(d)?10>=f?label.weak:label.media:1==Q(d)?label.strong:10>=f?label.media:label.strong,b.style.color=e==label.weak?"#FF5500":e==label.media?"#FF9F00":"#19B68F",b.innerHTML=e,c.style.display="inline"):(showNote(a,errStr.pwdCharValid),c.style.display="none",g=!1);return g}function ua(a){for(var c,b=0,e=S.length;b<e;b++)if(c=S[b],c.str==a)return c.value}function va(a,c,b){var e,d;if(void 0==s){X=$("div.authorityListCon")[0];s=$(ka).find("h4")[0];selectInit("userGroup",S,GROUP_GUEST,V);
w=id("userGroup");t=R?$("#pwdSetConActivate li"):$("#pwdSetCon li");q=id("userName");J=id("chgPwd");Y=id("chgPwdUl");z=id("password");E=id("oldPwd");Z=id("oldPwdLi");k=id("newPwd");x=id("confPwd");v=id("remark");e=0;for(d=la.length;e<d;e++){var f=document.createElement("span");f.innerHTML=la[e].str;X.appendChild(f)}P=$(X).find("span");q.onblur=function(){ja("userName")};z.onblur=function(){I("password","passwordDep","passwordDepSp")};k.onblur=function(){I("newPwd","newPwdDep","newPwdDepSp")};v.onblur=
function(){var a=id("remark").value;60<getCNStrLen(a)&&showNote("remark",errStr.usrRemarkLenERR)};q.onfocus=closeNoteAll;z.onfocus=closeNoteAll;k.onfocus=closeNoteAll;v.onfocus=closeNoteAll}K==a&&$.group==GROUP_ROOT?(s.innerHTML=btn.addNewUser,t.each(function(a){this.style.display=0==a||3==a?"block":"none"}),Y.style.display="none",w.resetOptions(ma,GROUP_GUEST),w.disable(!1),disableInput(q,!1),V(GROUP_GUEST),q.value="",z.value="",x.value="",v.value="",id("passwordDep").style.display="none",x.onblur=
function(){D("confPwd","password","passwordDep")}):(s.innerHTML=btn.editUserConf,t.each(function(a){this.style.display="none"}),k.value="",x.value="",id("newPwdDep").style.display="none",x.onblur=function(){D("confPwd","newPwd","newPwdDep")},Y.style.display="block",gIsFactory?$("#chgPwdUl label")[0].innerText=label.loginSetPwd:$("#chgPwdUl label")[0].innerText=label.cloudChgPwd,initCheckInput(J,function(a){!0==a?(t.each(function(a){this.style.display=0==a||$.group==GROUP_ROOT&&b[r]!=na&&this==Z?"none":
"block"}),gIsFactory?(Z.style.display="none",$("#newPwdLi label")[0].innerText=label.enterPwd):$("#newPwdLi label")[0].innerText=label.newPwd):(closeNoteAll(),t.each(function(a){this.style.display="none"}))}),changeCheckInput(J,!1),e=b[GROUP],e=label.root==e?GROUP_ROOT:label.operator==e?GROUP_ADMIN:GROUP_GUEST,$.group==GROUP_ROOT&&b[r]==na||$.group==GROUP_ADMIN?(w.resetOptions(S,$.group),w.disable(!0),disableInput(q,!0)):(w.resetOptions(ma,e),w.disable(!1),disableInput(q,!1)),d=b[y],V(e),q.value=
b[r],E.value="",v.value=void 0==d?"":d);id("newPwd").onfocus=closeNoteAll;s.type=a;s.index=c;ka.style.top="0px"}function wa(a,c,b,e,d){var f={},g={};f[h]={};b==GROUP_ADMIN?(f[h][KEY_TABLE]=L,f[h][KEY_NAME]=L+"_"+calcNextIndex(m)):b==GROUP_GUEST&&(f[h][KEY_TABLE]=M,f[h][KEY_NAME]=M+"_"+calcNextIndex(n));f[h][KEY_PARA]=g;g[r]=a;g[C]=$.dynEncryptPwd(orgAuthPwd(c),!0);g[N]=$.encryptPwd(c);g[y]=e;O&&(g[uciUserMgt.optName.encryptType]=$.getAuthEncryptType());$.add(f,function(a){!0==B(a[ERR_CODE])?(g[SEC_NAME]=
f[h][KEY_NAME],b==GROUP_ADMIN?(m[m.length]=g,g[GROUP]=label.operator):(n[n.length]=g,g[GROUP]=label.normalUser),d(!0,g)):d(!1)})}function xa(a,c,b,e,d,f,g){var k={},l={};k[h]={};k[h][aa]=l;l[r]=a;l[C]=c;l[N]=b;l[y]=d;l[ba]=f;l[ya]=e;O&&(l[uciUserMgt.optName.encryptType]=$.getAuthEncryptType());$.action(k,function(a){if(!0==B(a[ERR_CODE])){if(e==GROUP_ADMIN){l[GROUP]=label.operator;l[SEC_NAME]=L+"_"+calcNextIndex(m);m[m.length]=l;for(var b in n)if(f==n[b][SEC_NAME]){n.splice(b,1);break}}else if(e==
GROUP_GUEST)for(b in l[GROUP]=label.normalUser,l[SEC_NAME]=M+"_"+calcNextIndex(n),n[n.length]=l,m)if(f==m[b][SEC_NAME]){m.splice(b,1);break}g(!0,l)}else g(!1)})}function oa(a,c,b){var e={},d={},f,g,F,l,s,u,x,t,A=!1;if(0==q.value.length)showNote("userName",errStr.invUserNameNull),b(!1);else if(!1==ja("userName"))b(!1);else if(ENONE!=checkInputName(v.value,60,0))showNote("remark",errStr.usrRemarkLenERR),b(!1);else{if(K==a){if(!I("password","passwordDep","passwordDepSp")||!D("confPwd","password","passwordDep")){b(!1);
return}0!=z.value.length&&(A=!0)}else{if(!("true"!=J.getAttribute("checked")||I("newPwd","newPwdDep","newPwdDepSp")&&D("confPwd","newPwd","newPwdDep"))){b(!1);return}"true"==J.getAttribute("checked")&&0!=k.value.length&&(A=!0)}showToast();K==a?wa(q.value,z.value,w.value,v.value,function(a,c){!0==a?(showToast("success"),b(!0,c),H()):b(!1)}):(g=p[c],s=g[r],u=g[C],x=g[N],a=ua(g[GROUP]),s==$.rootName?pa(function(){e[h]={};e[h][aa]=d;d[r]=$.rootName;d[y]=v.value;d[ba]=T;!0==A&&($.tmpPwdMD5=$.getPwdMD5($.rootName,
k.value),d[C]=$.dynEncryptPwd(orgAuthPwd(k.value),!0),d[qa]=$.dynEncryptPwd(orgAuthPwd(E.value)),d[N]=$.encryptPwd(k.value));O&&(d[uciUserMgt.optName.encryptType]=$.getAuthEncryptType());$.action(e,function(a){!0==B(a[ERR_CODE])?(showToast("success"),d[GROUP]=label.root,b(!0,d),H(),!0==A&&($.setLg($.rootName,orgAuthPwd(k.value),k.value),gIsFactory=!1)):b(!1)})}):(f=w.value,a==f?(a=function(){e[h]={};e[h][aa]=d;d[r]=q.value;d[y]=v.value;F=g[SEC_NAME];d[ba]=F;!0==A&&(l=$.dynEncryptPwd(orgAuthPwd(k.value),
!0),$.tmpPwdMD5=$.getPwdMD5(q.value,k.value),d[C]=l,d[N]=$.encryptPwd(k.value),d[qa]=$.username!=$.rootName?$.dynEncryptPwd(orgAuthPwd(E.value)):u);O&&(d[uciUserMgt.optName.encryptType]=$.getAuthEncryptType());$.action(e,function(a){if(!0==B(a[ERR_CODE])){d[SEC_NAME]=F;d[GROUP]=g[GROUP];f==GROUP_ADMIN?t=m:f==GROUP_GUEST&&(t=n);a=0;for(var c=t.length;a<c;a++)if(t[a][SEC_NAME]==F){t[a]=d;break}showToast("success");b(!0,d);H();$.username==s&&!0==A&&$.setLg(q.value,orgAuthPwd(k.value),k.value)}else b(!1)})},
!0==A&&$.username!=$.rootName?pa(a):a()):(!0==A?(l=$.dynEncryptPwd(orgAuthPwd(k.value),!0),a=$.encryptPwd(k.value)):(l=u,a=x),F=g[SEC_NAME],xa(q.value,l,a,f,v.value,F,function(a,d){!0==a?(p[c]=d,showToast("success"),b(!0,d),G.refresh(G.getPageNum()),H()):b(!1)}))))}}function za(a,c){if($.group==GROUP_ROOT){var b=a.toString().split("-"),e=[],d={},f,g;for(g in b)(f=p[b[g]][SEC_NAME])&&e.push(f);d[h]={};d[h][KEY_NAME]=e;$.del(d,function(a){if(!0==B(a[ERR_CODE])){for(var b in e){for(var d in m)if(e[b]==
m[d][SEC_NAME]){m.splice(d,1);break}for(var f in n)if(e[b]==n[f][SEC_NAME]){n.splice(f,1);break}}showToast("success");c(!0)}else c(!1);H()})}}function ra(a,c,b){n.length>=Aa&&K==a?(G.refresh(G.getPageNum()),showAlert(errStr.usrLimitExceeded)):(700>U.offsetHeight&&(U.style.height="700px",basicPHAutoFit()),va(a,c,b))}function Ba(a){var c={};ca?($.group==GROUP_GUEST&&showAlert(errStr.invPermissionDenied),$.group==GROUP_ROOT?(c[h]={},c[h][KEY_NAME]=T,c[h][KEY_TABLE]=[L,M]):$.group==GROUP_ADMIN&&(c[da]=
{},c[da][KEY_NAME]=sa)):(c[h]={},c[h][KEY_NAME]=T);$.query(c,function(b){!0==B(b[ERR_CODE])&&a(b)})}function pa(a){if(O){var c={};c[h]={};c[h][Ca]=null;$.action(c,function(b){if(!0==B(b[ERR_CODE])){var c=b[uciUserMgt.optName.encryptType],d=b[uciUserMgt.optName.key];b=b[uciUserMgt.optName.nonce];c&&d&&b&&$.updAuthEncrypt(c,d,b);$.isFunction(a)&&a()}})}else $.isFunction(a)&&a()}function Da(a){var c;if(!0==$.local){$.group=GROUP_ROOT;m=[];n=[];for(a=0;1>a;a++)p[a]={username:"admin",group:label.root,
comment:"12"};for(;9>a;a++)p[a]={username:"ad"+a,group:label.operator,comment:"123"};for(;22>a;a++)p[a]={username:"gu"+a,group:label.normalUser,comment:"1234"}}else if($.group==GROUP_ROOT){if(c=a[h][T],p[0]={},p[0][r]=c[r],p[0][C]=c[C],p[0][y]=c[y],p[0][GROUP]=label.root,ca){m=formatTableData(a[h][L]);n=formatTableData(a[h][M]);a=0;for(c=m.length;a<c;a++)m[a][GROUP]=label.operator;a=0;for(c=n.length;a<c;a++)n[a][GROUP]=label.normalUser;p=p.concat(m,n)}}else $.group==GROUP_ADMIN&&(m=p=[],p[0]=a[da][sa],
p[0][GROUP]=label.operator);$.group==GROUP_ROOT?(ca||(id("userMgtUl").innerHTML=""),G.init({id:"userTbl",data:p,hasID:!0,edit:!0,head:[{field:label.userName,width:60},{field:label.groupName,width:60},{field:label.remark,width:60}],list:[{name:r},{name:GROUP},{name:y}],popUpBar:{id:"tableEditCon",save:oa,cancel:function(a,c,d){closeNoteAll();U.style.height="";basicPHAutoFit();d(!0)}},toolBar:{id:"userMgtUl",delSel:za,popUp:ra,asyn:!0}}),ia.rows[1].cells[0].innerHTML=""):$.group==GROUP_ADMIN&&(id("userMgtUl").innerHTML=
"",G.init({id:"userTbl",data:p,hasID:!0,edit:!0,hasSelBox:!1,head:[{field:label.userName,width:60},{field:label.groupName,width:60},{field:label.remark,width:60}],list:[{name:r},{name:GROUP},{name:y}],popUpBar:{id:"tableEditCon",save:oa,cancel:function(a,c,d){closeNoteAll();U.style.height="";basicPHAutoFit();d(!0)}},toolBar:{id:"userMgtUl",popUp:ra,asyn:!0}}));showDetailCon()}var ca=void 0==$.moduleSpec[uciFunction.optName.multiUser]?0:parseInt($.moduleSpec[uciFunction.optName.multiUser]),O=void 0==
$.moduleSpec[uciFunction.optName.authEncrypt]?0:parseInt($.moduleSpec[uciFunction.optName.authEncrypt]),R=1==parseInt($.moduleSpec[uciFunction.optName.systemCapability])&&1==parseInt($.systemCapability[uciSystemCapability.optName.activateSupport])?!0:!1,p=[],m=[],n=[],G=new DataGrid,ka=id("tableEditCon"),s,w,t,X,q,J,z,E,P,k,x,v,Y,Z,la=[{str:menuStr.preview,url:"",id:"",value:""},{str:menuStr.tool,url:"",id:"",value:""},{str:menuStr.camera,url:"",id:"",value:""},{str:menuStr.event,url:"",id:"",value:""},
{str:menuStr.storage,url:"",id:"",value:""},{str:menuStr.network,url:"",id:"",value:""},{str:menuStr.cloudService,url:"",id:"",value:""},{str:menuStr.system,url:"",id:"",value:""},{str:menuStr.PTZ,url:"",id:"",value:""}],K="add",S=[{str:label.root,value:GROUP_ROOT},{str:label.normalUser,value:GROUP_GUEST}],ma=[{str:label.normalUser,value:GROUP_GUEST}];$("div.detailCon");var h=uciUserMgt.fileName,u=uciUserMgt.optName,r=u.username,C=u.passwd,N=u.ciphertext,qa=u.oldPasswd,ba=u.secName,y=u.comment,ya=
GROUP=u.group,T=uciUserMgt.secType.root,L=uciUserMgt.secType.admin,M=uciUserMgt.secType.guest,da=uciUserMgt.actionName.userMgt,aa=uciUserMgt.actionName.chgUsrInfo,sa=uciUserMgt.optValue.curUsrInfo,Ca=uciUserMgt.actionName.getEncryptInfo,na=$.rootName,ia=id("userTbl"),U=id("detailConCFUM"),ea=id("oldPwdEyeIcon"),fa=id("PwdBdgEyeIcon"),ga=id("newPwdBdgEyeIconNew"),ha=id("confPwdBdgEyeIconChk"),Aa=10;(function(){initCheckInput("showInfo");Ba(Da);R?(document.getElementById("pwdSetCon").parentNode.removeChild(document.getElementById("pwdSetCon")),
fa.onclick=function(){var a="",a=id("PwdWrap").innerHTML,c=id("password").value,b=id("password").orgBC;0<c.length&&("password"==id("password").getAttribute("type")?(fa.src="../web-static/images/eye_fill.png",a=a.replace(/type\s*=\s*('|")?password('|")?/ig,'type="text"')):(fa.src="../web-static/images/eye_slash_fill.png",a=a.replace(/type\s*=\s*('|")?text('|")?/ig,'type="password"')),$("#PwdWrap").html(a).find("input")[0].value=c,a=$("#PwdWrap").html(a).find("input")[0],a.value=c,z=id("password"),
void 0!=b&&(z.orgBC=b))},ea.onclick=function(){var a="",a=id("oldPwdWrap").innerHTML,c=id("oldPwd").value,b=id("oldPwd").orgBC;0<c.length&&("password"==id("oldPwd").getAttribute("type")?(ea.src="../web-static/images/eye_fill.png",a=a.replace(/type\s*=\s*('|")?password('|")?/ig,'type="text"')):(ea.src="../web-static/images/eye_slash_fill.png",a=a.replace(/type\s*=\s*('|")?text('|")?/ig,'type="password"')),$("#oldPwdWrap").html(a).find("input")[0].value=c,a=$("#oldPwdWrap").html(a).find("input")[0],
a.value=c,E=id("oldPwd"),void 0!=b&&(E.orgBC=b))},ga.onclick=function(){var a="",a=id("newPwdWrap").innerHTML,c=id("newPwd").value,b=id("newPwd").orgBC;0<c.length&&("password"==id("newPwd").getAttribute("type")?(ga.src="../web-static/images/eye_fill.png",a=a.replace(/type\s*=\s*('|")?password('|")?/ig,'type="text"')):(ga.src="../web-static/images/eye_slash_fill.png",a=a.replace(/type\s*=\s*('|")?text('|")?/ig,'type="password"')),a=$("#newPwdWrap").html(a).find("input")[0],a.value=c,a.onblur=function(){I("newPwd",
"newPwdDep","newPwdDepSp")},k=id("newPwd"),void 0!=b&&(id("newPwd").orgBC=b),k.onfocus=closeNoteAll)},ha.onclick=function(){var a="",a=id("confPwdWrap").innerHTML,c=id("confPwd").value,b=id("confPwd").orgBC;0<c.length&&("password"==id("confPwd").getAttribute("type")?(ha.src="../web-static/images/eye_fill.png",a=a.replace(/type\s*=\s*('|")?password('|")?/ig,'type="text"')):(ha.src="../web-static/images/eye_slash_fill.png",a=a.replace(/type\s*=\s*('|")?text('|")?/ig,'type="password"')),a=$("#confPwdWrap").html(a).find("input")[0],
a.value=c,a.onblur=function(){K==s.type&&$.group==GROUP_ROOT?D("confPwd","password","passwordDep"):D("confPwd","newPwd","newPwdDep")},x=id("confPwd"),void 0!=b&&(id("confPwd").orgBC=b))}):document.getElementById("pwdSetConActivate").parentNode.removeChild(document.getElementById("pwdSetConActivate"))})()}init();
</script><style type="text/css">div.authorityListCon{color:#333;font-size:13px;border:2px solid #c8cdd9;padding:16px;margin:0 0 0 128px;overflow:hidden;*zoom:1;width:186px}div.authorityListCon h5{margin-bottom:8px;font-size:12px;color:#666}div.authorityListCon span{float:left;height:17px;line-height:17px;text-indent:26px;width:93px;margin-bottom:4px}div.authorityListCon input.text{background:#404040!important}input.addItem{position:absolute;bottom:0}span.depSpan{font-size:12px;color:#666;display:none;vertical-adatlign:middle;margin-left:4px}ul.line li.lineF{margin-top:5px;margin-bottom:5px}ul.line label.desA{font-size:13px;line-height:32px;width:108px;text-align:right;margin-right:20px}span.select span.hsValueA{width:174px}#confPwdBdgEyeIconChk,#newPwdBdgEyeIconNew,#oldPwdEyeIcon,#PwdBdgEyeIcon{left:330px;top:9px;position:absolute}.zIndexLevelHigh{z-index:20}.zIndexLevelMid{z-index:19}.zIndexLevelLow{z-index:18}.relPos{position:relative}div.wdHtlimit{display:inline-block;line-height:28px;width:220px;height:28px}</style>