if(!inCMS()&&/\..*\./.test(document.domain)){document.domain=document.domain.replace(/^\w+\./,"")}function createXmlHttpRequest(){try{if(typeof ActiveXObject!="undefined"){return new ActiveXObject("Microsoft.XMLHTTP")}else{if(window.XMLHttpRequest){return new XMLHttpRequest()}}}catch(a){changeStatus(a)}return null}function downloadUrl(b,f){var a=-1;var c=createXmlHttpRequest();if(!c){return false}c.onreadystatechange=function(){if(c.readyState==4){try{a=c.status}catch(g){}if((a==200)||(a==0)){f(c.responseText,c.status);c.onreadystatechange=function(){}}}};c.open("GET",b,true);try{c.send(null)}catch(d){changeStatus(d)}}function xmlParse(b){if(typeof ActiveXObject!="undefined"&&typeof GetObject!="undefined"){var a=new ActiveXObject("Microsoft.XMLDOM");a.loadXML(b);return a}if(typeof DOMParser!="undefined"){return(new DOMParser()).parseFromString(b,"text/xml")}return createElement("div",null)}function downloadScript(b){var a=document.createElement("script");a.src=b;document.body.appendChild(a)};
