var __swinfo=function(a){var m=function(f){function k(a){if(!a)return alert("UI load error."),!1;var b=document.createElement("div");document.body.insertBefore(b,document.body.firstChild);b.innerHTML=a;return!0}var g=function(){var b=window.XMLHttpRequest?new window.XMLHttpRequest:new ActiveXObject("MSXML2.XMLHTTP.3.0");b.open("GET",a.ESVS.SRCPath+"unisignweb/rsrc/layout/swinfo.html?version="+a.ver,!1);b.send(null);return b.responseText},c=function(){var b=window.XMLHttpRequest?new window.XMLHttpRequest:new ActiveXObject("MSXML2.XMLHTTP.3.0");b.open("GET",a.ESVS.SRCPath+"unisignweb/rsrc/lang/"+a.ESVS.Language+"/swinfo_"+a.ESVS.Language+".js?version="+a.ver,!1);b.send(null);return b.responseText},d=a.ESVS.TabIndex;return function(){var b=a.CustomEval(g),e=a.CustomEval(c,!0);k(b());b=document.getElementById("us-sw-info-lbl-title");b.appendChild(document.createTextNode(e.IDS_SW_INFO));b.setAttribute("tabindex",d,0);var l=document.getElementById("us-sw-info-lbl");l.setAttribute("tabindex",d+1,0);var h="";4&a.ESVS.Mode&&a.ESVS.chkEXESetup?a.nimservice()?a.nimservice().GetVersion(function(b,c,d){h=d;b=h.split(".");h=b[0]+b[1]+b[2];l.innerHTML=e.IDS_SW_NAME+" v"+a.ver+", v"+b[0]+"."+b[1]+"."+b[2]+".0<br><br>"+e.IDS_COPY_RIGHT;a.uiUtil().loadingBox(!1,"us-div-list-load")}):a.uiUtil().msgBox(e.IDS_MSGBOX_NIM_ERROR_UNLOAD):(h=a.ver,l.innerHTML=e.IDS_SW_NAME+" v"+h+"<br><br>"+e.IDS_COPY_RIGHT);b=document.getElementById("us-sw-info-confirm-btn");b.setAttribute("value",e.IDS_CONFIRM,0);b.setAttribute("title",e.IDS_CONFIRM+e.IDS_BUTTON,0);b.setAttribute("tabindex",d+2,0);b.onclick=function(){f.onConfirm()};b=document.getElementById("us-sw-info-cls-img-btn");b.setAttribute("title",e.IDS_SW_INFO_CLOSE,0);b.setAttribute("tabindex",d+3,0);b.onclick=function(){f.onCancel()};document.getElementById("us-sw-info-cls-btn-img").setAttribute("src",a.ESVS.SRCPath+"unisignweb/rsrc/img/x-btn.png",0);return document.getElementById("us-div-sw-info")}()};return function(f){var k=a.uiLayerLevel,g=a.uiUtil().getOverlay(k),c=m({type:f.type,args:f.args,onConfirm:f.onConfirm,onCancel:f.onCancel});c.style.zIndex=k+1;a.ESVS.TargetObj.insertBefore(g,a.ESVS.TargetObj.firstChild);var d=window.onresize;return{show:function(){a.ActiveUI=this;draggable(c,document.getElementById("us-div-sw-info-title"));g.style.display="block";a.uiUtil().offsetResize(c);window.onresize=function(){a.uiUtil().offsetResize(c);d&&d()};a.uiLayerLevel+=10;a.ESVS.TabIndex+=30;setTimeout(function(){var b=c.getElementsByTagName("p");if(0<b.length)for(var a=0;a<b.length;a++)"us-sw-info-lbl-title"==b[a].id&&b[a].focus()},10)},hide:function(){g.style.display="none";c.style.display="none"},dispose:function(){window.onresize=function(){d&&d()};c.parentNode.parentNode.removeChild(c.parentNode);g.parentNode.removeChild(g);a.uiLayerLevel-=10;a.ESVS.TabIndex-=30}}}};