/* Transformed JS from: /shared/jslib/tools/ajaxroutine.js */
function createAjaxObj(){var a=false;if(window.XMLHttpRequest){a=new XMLHttpRequest();if(a.overrideMimeType){a.overrideMimeType("text/xml")}}else{if(window.ActiveXObject){try{a=new ActiveXObject("Msxml2.XMLHTTP")}catch(b){try{a=new ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}}}return a}function createAjaxPack(){var a=new Object();a.basedomain="//"+window.location.hostname;a.ajaxobj=createAjaxObj();a.filetype="txt";a.addrandomnumber=0;a.getAjaxRequest=function(c,e,b,d){a.ajaxobj=createAjaxObj();if(a.addrandomnumber==1){e=e+"&ajaxcachebust="+new Date().getTime()}if(this.ajaxobj){this.filetype=d;this.ajaxobj.onreadystatechange=b;this.ajaxobj.open("GET",c+"?"+e,true);this.ajaxobj.send(null)}};a.postAjaxRequest=function(c,e,b,d){a.ajaxobj=createAjaxObj();if(this.ajaxobj){this.filetype=d;this.ajaxobj.onreadystatechange=b;this.ajaxobj.open("POST",c,true);this.ajaxobj.setRequestHeader("Content-type","application/x-www-form-urlencoded");this.ajaxobj.setRequestHeader("Content-length",e.length);this.ajaxobj.setRequestHeader("Connection","close");this.ajaxobj.send(e)}};return a};
