dojo.provide("parus.proxy");if(!parus){parus={}}if(!parus.proxy){dojo.mixin(parus,{proxy:{}})}dojo.mixin(parus.proxy,{Class_OCIProxyParusBalanceContentHandler:"{62F90CA0-67AA-41BC-8954-052FAE60056A}",CLASS_PPCProxyBalanceContentHandler:"{B49A47C4-1FE1-4678-BBD2-F2EA86F4B514}",CLASS_ParusRemoteAccessContentHandler:"{E9ACB1C3-3F97-4045-BDB3-B6944CA9D21B}",CLASS_PPCRemoteAccessContentHandler:"{73A6B080-08BA-4ED6-9E63-68B77BB60D25}",launcherFileName:"ParusClient.exe",installlerFileName:"ParusClientInstaller.exe",buildLaunchersList:function(b,a){dojo.xhrGet({handleAs:"xml",sync:true,headers:{"Disable-Basic-Auth":"yes"},url:"../.system/contents.xml",load:dojo.hitch(this,function(l){var j=document.getElementById("launchers");var h=false;for(var c=0;c<l.documentElement.childNodes.length;c++){var g=l.documentElement.childNodes[c];if((b.indexOf(g.getAttribute("class").toString())>=0)&&((g.getAttribute("disabled")||0).toString()!="1")){if(!h){var f=j.appendChild(document.createElement("p"));var e=f.appendChild(document.createElement("a"));e.style.fontWeight="bold";e.style.fontSize="120%";var d=this.launcherFileName.split(".")[0];var k=f.appendChild(document.createElement("img"));k.src=a+d+".ico";k.align="middle";k.width=16;k.height=16;e.appendChild(k);e.appendChild(document.createTextNode(String.fromCharCode(160)+"Единый агент для всех доступных организаций и приложений"));e.setAttribute("href",a+this.launcherFileName);f=j.appendChild(document.createElement("p"));e=f.appendChild(document.createElement("a"));e.style.fontWeight="bold";e.style.fontSize="120%";d=this.launcherFileName.split(".")[0];k=f.appendChild(document.createElement("img"));k.src=a+d+".ico";k.align="middle";k.width=16;k.height=16;e.appendChild(k);e.appendChild(document.createTextNode(String.fromCharCode(160)+"Инсталлятор системных компонент"));e.setAttribute("href",a+this.installlerFileName);j.appendChild(document.createElement("hr"))}h=true}}((h)?document.getElementById("noLaunchers"):j).style.display="none";dojo.fadeIn({node:document.getElementById("remoteAccessInfo")}).play();return(l)})})}});