var Connect=function(b){var d=b;var f="application/x-www-form-urlencoded;charset=UTF-8";var e="POST";var a=0;function c(){var h="div";var g="<"+h+" id='layerGoogleMap' style='padding-top:10px;'><div style='padding-left:20px;float:left'><img style='border:0px;' src='./images/w8x.32x32.png'></div><div style='padding-top:5px;padding-left:10px;float:left;'>пожалуйста подождите...</div></"+h+">";return g}this.request=function(k,h,g){if(a==0){if(h!="-"){if((typeof(window.Modalbox)==="undefined")&&(typeof(Modalbox)==="undefined")){}else{try{Modalbox.show(c(),{title:this.title,width:300})}catch(j){}}}}a=a+1;var m=false;if(window.XMLHttpRequest){m=new XMLHttpRequest()}else{if(window.ActiveXObject){try{m=new ActiveXObject("Msxml2.XMLHTTP")}catch(l){try{m=new ActiveXObject("Microsoft.XMLHTTP")}catch(i){m=false}}}}if(h!="-"){m.onreadystatechange=this.state(m,h,g)}else{}m.open(e,d+"/"+k,true);m.setRequestHeader("Content-Type",f);m.send(g)};this.state=function(i,h,g){return function(){if(i.readyState==4){if(i.status==200){h(parser.readerPool(i.responseXML))}else{}a=a-1;if(a==0){try{if((typeof(window.Modalbox)==="undefined")&&(typeof(Modalbox)==="undefined")){}else{Modalbox.hide()}}catch(j){}}}}}};
