var cw=((document.all)&&(navigator.userAgent.indexOf("MSIE")!=-1));var cJ=((document.getElementById)&&(!document.all)&&(!(navigator.userAgent.indexOf("Safari")!=-1)));var ViaM_saf=(navigator.userAgent.indexOf("Safari")!=-1);var ViaM_op=(navigator.appName=="Opera");var _FwkRoot="";var cV="";var qD="";ihmGet=function(id){return document.getElementById(id);};Function.prototype.ir=function(np){for(var item in np.prototype)this.prototype[item]=np.prototype[item];};Object.prototype.ci=function(tF){tF.call(this);};String.prototype.oQ=function(regExp,string){var str=this;while(str.search(regExp)!=-1)str=str.replace(regExp,string);return str;};function ck(){this.gq=new Array();};ck.prototype.xZ=function(wb){this.gq[wb]=new Array();};ck.prototype.dI=function(wb,uD,uY,wq){var wp=false;if(typeof(wq)=="boolean")wp=wq;if(!this.gq[wb])this.xZ(wb);this.gq[wb].push(new Array(uD,uY,wp));};ck.prototype.sa=function(wb,uD,uY){if(this.gq[wb]){var wm=new Array();for(var i=0;i<this.gq[wb].length;i++){if((this.gq[wb][i][0]!=uD)||(this.gq[wb][i][1]!=uY))wm.push(this.gq[wb][i]);}this.gq[wb]=wm;}};ck.prototype.rW=function(wb){if(typeof(DebugModule)!="undefined")qC.wQ(wb,this,this.mr);var wo=new Array();var tD=new Array();if(!this.gq[wb])this.xZ(wb);for(var i=0;i<this.gq[wb].length;i++){if(this.gq[wb][i][2])wo.push(this.gq[wb][i]);tD.push(this.gq[wb][i]);}for(var i=0;i<wo.length;i++){this.sa(wb,wo[i][0],wo[i][1]);}for(var i=0;i<tD.length;i++){var tF=tD[i][0][tD[i][1]];if(typeof(DebugModule)!="undefined")qC.wR("On event: "+wb+", call: "+tD[i][1],this.mr);tF.apply(tD[i][0],Array.prototype.slice.apply(arguments,[1]));}};gb.ir(ck);function gb(){this.ci(ck);if(typeof(qC)!="undefined")qC.addModule(this);this.mr="anonymous";this.bG=document.createElement("DIV");this.bG.jsObject=this;this.xZ("DOMEvent_mouseover");this.xZ("DOMEvent_mouseout");this.xZ("DOMEvent_mouseclick");this.xZ("DOMEvent_mousemove");this.xZ("DOMEvent_mousedown");this.xZ("DOMEvent_mouseup");this.bG.onmousemove=function(e){if(cw)e=window.event;this.jsObject.rW("DOMEvent_mousemove",e,this.jsObject);};this.bG.onclick=function(e){if(cw)e=window.event;this.jsObject.rW("DOMEvent_mouseclick",e,this.jsObject);};this.bG.onmouseover=function(e){if(cw)e=window.event;this.jsObject.rW("DOMEvent_mouseover",e,this.jsObject);};this.bG.onmouseout=function(e){if(cw)e=window.event;this.jsObject.rW("DOMEvent_mouseout",e,this.jsObject);};this.bG.onmousedown=function(e){if(cw)e=window.event;this.jsObject.rW("DOMEvent_mousedown",e,this.jsObject);};this.bG.onmouseup=function(e){if(cw)e=window.event;this.jsObject.rW("DOMEvent_mouseup",e,this.jsObject);};this.dC=function(id){ihmGet(id).appendChild(this.bG);};this.dB=function(){document.body.appendChild(this.bG);};this.cancelBubbling=function(e){if(cw)event.cancelBubble=true;else e.stopPropagation();};this.bf=function(e){if(cw)event.returnValue=false;else e.preventDefault();};};cj.ir(gb);function cj(){this.ci(gb);this.xZ("remoteJSCallInitiated");this.xZ("remoteJSLoaded");this.xZ("remoteCallRequested");this.sn=true;this.ur=false;var dynNumber=(new Date()).getTime()+parseInt(Math.random()*10000);this.bG.id="remoteCaller"+dynNumber;this.bG.style.display="none";this.vt=false;};cj.prototype.oL=function(sj,nI){if(!this.vt){if(typeof(DebugModule)!="undefined")qC.wO(sj+"?lang="+cV+"&divId="+this.bG.id+"&from="+qD+((typeof(nI)!="undefined")?"&"+nI:""),this,this.mr);if(this.sn){var nn=document.createElement("IMG");nn.src="../../img/map/progress.gif";nn.id="progress"+this.bG.id;this.progressId=nn.id;nn.style.zIndex=1500;nn.style.position="absolute";nn.style.width=128;nn.style.height=128;nn.style.backgroundColor="#fff";nn.style.left=document.body.clientWidth/2-64;nn.style.top=document.body.clientHeight/2-64+document.body.scrollTop;document.body.appendChild(nn);setTimeout("if (ihmGet('"+nn.id+"')) { document.body.removeChild(ihmGet('"+nn.id+"'));}",20000);}var cook=document.cookie;var YMTC="";if(cook.indexOf("yMTC=")!=-1)YMTC="&"+cook.substring(cook.indexOf("yMTC="),cook.indexOf(";",cook.indexOf("yMTC=")));var nu=document.createElement("SCRIPT");nu.tG=this;nu.id=this.bG.id+"script"+(new Date()).getTime();nu.progress="progress"+this.bG.id;nu.setAttribute("language","JavaScript");nu.setAttribute("type","text/javascript");nu.setAttribute("src",sj+"?lang="+cV+"&divId="+this.bG.id+"&from="+qD+((typeof(nI)!="undefined")?"&"+nI:"")+YMTC);if(cw)nu.onreadystatechange=function(){if((this.readyState=="loaded")||(this.readyState=="complete")){this.tG.rW("remoteJSLoaded",this);if(!this.tG.ur)setTimeout("ihmGet('"+this.tG.bG.id+"').removeChild(ihmGet('"+this.id+"'))",200);}};else nu.onload=function(){this.tG.rW("remoteJSLoaded",this);if(!this.tG.ur)setTimeout("ihmGet('"+this.tG.bG.id+"').removeChild(ihmGet('"+this.id+"'))",200);};this.rW("remoteJSCallInitiated",this);if(!ihmGet(this.bG.id))this.dB();this.bG.appendChild(nu);}else{this.rW("remoteCallRequested",sj+"?divId="+this.bG.id,nI,this);}};gU.ir(cj);function gU(){this.ci(cj);this.vB=new Array();this.vC=new Array();this.vD=-1;this.tl=-1;this.uI=false;this.mr="zA";this.xZ("moduleLoaded");this.xZ("HTMLLoaded");this.dI("remoteJSLoaded",this,"qN");this.oW="";this.ur=true;if(!ihmGet("__moduleLoader")){this.bG.style.display="none";this.bG.id="__moduleLoader";}else{this.bG=ihmGet("__moduleLoader");}};gU.prototype.lc=function(src){if(!ViaM_saf)this.oL(src,"");else{if(!ihmGet("__moduleLoader"))this.dB();qE=new XMLHttpRequest();qE.onreadystatechange=function(){if(qE.readyState==4){ihmGet("__moduleLoader").jsObject.ux=qE.responseText;setTimeout('eval(ihmGet("__moduleLoader").jsObject.ux);ihmGet("__moduleLoader").jsObject.qN();',10);}};qE.open("GET",src,true);qE.send(null);}};gU.prototype.qN=function(){this.rW("moduleLoaded",this);if((this.sn)&&(ihmGet(this.progressId)))document.body.removeChild(ihmGet(this.progressId));};gU.prototype.kU=function(sj){if(!ihmGet("__moduleLoader"))this.dB();if(typeof(DebugModule)!="undefined")qC.wO(sj,this,this.mr);if(window.XMLHttpRequest){qE=new XMLHttpRequest();qE.onreadystatechange=function(){if(qE.readyState==4){ihmGet("__moduleLoader").jsObject.oW=qE.responseText;ihmGet("__moduleLoader").jsObject.rW("HTMLLoaded",ihmGet("__moduleLoader").jsObject);}};qE.open("GET",sj,true);qE.send(null);}else if(window.ActiveXObject){qE=new ActiveXObject("Microsoft.XMLHTTP");if(qE){qE.onreadystatechange=function(){if(qE.readyState==4){ihmGet("__moduleLoader").jsObject.oW=qE.responseText;ihmGet("__moduleLoader").jsObject.rW("HTMLLoaded",ihmGet("__moduleLoader").jsObject);}};qE.open("GET",sj,true);qE.send();}}};gU.prototype.uF=function(sj,np,sY){if(!ihmGet("__moduleLoader"))this.dB();if(typeof(DebugModule)!="undefined")qC.wO(sj,this,this.mr);this.vD++;this.vB.push(sj);this.xZ("HTMLLoaded"+this.vD);this.dI("HTMLLoaded"+this.vD,np,sY,true);this.tb();return this.vD;};gU.prototype.tb=function(){if((!this.uI)&&(this.vB[0])){this.uI=true;var sj=this.vB[0];this.tl++;if(window.XMLHttpRequest){qE=new XMLHttpRequest();qE.onreadystatechange=function(){if(qE.readyState==4){document.getElementById("__moduleLoader").jsObject.oW=qE.responseText;ihmGet("__moduleLoader").jsObject.vl();}};qE.open("GET",sj,true);qE.send(null);}else if(window.ActiveXObject){qE=new ActiveXObject("Microsoft.XMLHTTP");if(qE){qE.onreadystatechange=function(){if(qE.readyState==4){ihmGet("__moduleLoader").jsObject.oW=qE.responseText;ihmGet("__moduleLoader").jsObject.vl();}};qE.open("GET",sj,true);qE.send();}}}};gU.prototype.vl=function(){this.vC.push(this.oW);this.rW("HTMLLoaded"+this.tl,this);this.vB.shift();this.uI=false;this.tb();};zA=new gU();function _getPNG(vI,src,width,height,style){if(cw){var we="<img src='"+vI+"' style=\""+"width:"+width+"px; height:"+height+"px;"+style+"filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"+"(src=\'"+src+"\', sizingMethod='scale');\"/>";return we;}else return "<img src='"+src+"' "+((style!="")?"style='"+style+"'":"")+" width='"+width+"' height='"+height+"'/>";}