/* Not cached; obfuscated; added to cache.
 */
function CDebugConsoleDummy(){}CDebugConsoleDummy.prototype.Info=function(){};CDebugConsoleDummy.prototype.Warning=function(){};
CDebugConsoleDummy.prototype.Error=function(){};function CDebugConsole(A,B){this._a=B;this._b=document.getElementById(A);
if(this._b){this._b.style.display="block"}}CDebugConsole.prototype._c=function(A){if(this._b){var B=document.createElement("span");
B.innerHTML=A;this._b.appendChild(B)}};CDebugConsole.prototype.Info=function(A){if(this._a>=3){this._c("INFO: "+A)}};CDebugConsole.prototype.Warning=function(A){if(this._a>=2){this._c("WARN: "+A)
}};CDebugConsole.prototype.Error=function(A){if(this._a>=1){this._c("ERROR: "+A)}};function CPoiJSServiceClient(A,B,C){this._d="YM_PoiJSServiceClient";
this._e=B;this._f="";this._g=null;this._h=0;this._i=false;this.Debug=C;this.DataHandler=function(D,E){alert(E)};this.InfoHandler=function(D,F,E){alert(E)
};this.ErrorHandler=function(D,F,E){alert(E)};this.BaseUrl=A+"?SessionGuid="+B;this.RunningRequests=0;this.LastRequestData=null
}CPoiJSServiceClient.prototype.State=function(){return(this._g?1:0)};CPoiJSServiceClient.prototype.AbortRequest=function(){try{this._g.abort();
this.RunningRequests--;if(this.RunningRequests<0){this.RunningRequests=0}}catch(A){}this._g=null};CPoiJSServiceClient.prototype.Enable=function(){this._i=true
};CPoiJSServiceClient.prototype.IsEnabled=function(){return this._i};CPoiJSServiceClient.prototype._j=function(B){var A="";
for(var C in B){A=A+"&"+C+"="+encodeURIComponent(B[C])}return A};CPoiJSServiceClient.prototype.InvokeRequest=function(K,J,A,C){if(this.State()==1){var D=this;
setTimeout(function(){D.InvokeRequest(K,J,A,C)},100);return}this.LastRequestData=K;if((J==null)||(J!="POST")){J="GET"}if(!this._i){return
}this._k=K;this._l=A?A:this.DataHandler;this._m=A;var N=this._j(K);var F=this.BaseUrl+N;var M=F.replace(/([\?&])timestamp=[\d]*[\w&]/ig,"$1")==this._f.replace(/([\?&])timestamp=[\d]*[\w&]/ig,"$1")||(K["DataSetIds"]&&this._f.indexOf(K["DataSetIds"])>-1);
if(!this._g||!M){this.Debug.Info("InvokeRequest("+F+")");this._f=F;if(this._g){this.AbortRequest()}try{if(typeof XMLHttpRequest!=="undefined"){this._g=new XMLHttpRequest()
}else{this._g=new ActiveXObject("Microsoft.XMLHttp")}}catch(I){this.Debug.Warning("Could not create XMLHttpRequest: "+I.message);
var L=["Msxml2.XMLHTTP","Microsoft.XMLHTTP"];for(var G in L){try{this._g=new ActiveXObject(G);break}catch(I){}}}if(F.indexOf("?")<0){F+="?"
}else{F+="&"}F+="timestamp="+(new Date()).getTime();if(this._g){try{this.RunningRequests++;if(J=="GET"){this._g.open("GET",F)
}else{this._g.open("POST",this.BaseUrl)}var H=this;this._g.onreadystatechange=function(){try{H.OnReadyStateChange()}catch(E){}if(this.readyState==4&&typeof C==="function"){C()
}};if(/MSIE 6/i.test(navigator.userAgent)&&typeof C==="function"){(function(E){if(E.readystate==4){try{H.OnReadyStateChange()
}catch(P){}C()}else{var O=arguments.callee;setTimeout(function(){O(E)},100)}})(this._g)}}catch(I){this.Debug.Warning("Could not execute HTTP-Request: "+I+" "+I.message)
}}if(this._g){this.StartTime=new Date().getTime();if(J=="GET"){this._g.send(null)}else{this._g.setRequestHeader("Content-type","application/x-www-form-urlencoded");
this._g.setRequestHeader("Content-length",N.length-1);this._g.setRequestHeader("Connection","close");this._g.send(N.substring(1))
}}else{this.Debug.Warning("Falling back to IFRAME");if(!this.IFrame){this.IFrame=document.createElement("iframe");this.IFrame.frameBorder=0;
this.IFrame.style.width=this.IFrame.style.height=1;document.body.appendChild(this.IFrame)}this.StartTime=new Date().getTime();
var B=this._d;window[B]=this;this.IFrame.src=F+"&JSCall=parent."+B+".DataReady";this._g=true}}};CPoiJSServiceClient.prototype.OnReadyStateChange=function(){if(this._g&&(this._g.readyState==4)){if(this._g.responseText!=""){this.DataReady(this._g.responseText);
this.RunningRequests--;if(this.RunningRequests<0){this.RunningRequests=0}}}};CPoiJSServiceClient.prototype.DataReady=function(ResponseStr){var Data=null;
this._g=null;if(this._m){this._m(ResponseStr);return}try{if(!ResponseStr.match(/^\s*$/)){if(ResponseStr.charAt(0)=="D"){try{Data=eval("("+ResponseStr.substring(1)+")")
}catch(E){this.Debug.Error(E+": "+ResponseStr)}}else{if(ResponseStr.charAt(0)=="I"&&ResponseStr.length>=4){this._h--;this.InfoHandler(this._k,ResponseStr.substring(1,4),ResponseStr.substring(4))
}else{if(ResponseStr.charAt(0)=="E"&&ResponseStr.length>=4){this._h++;this.ErrorHandler(this._k,ResponseStr.substring(1,4),ResponseStr.substring(4))
}else{this._h++;this.ErrorHandler(this._k,"500","Invalid Response")}}}}else{}}catch(E){alert(E+":\n"+Data)}if(Data){var LoadTime=new Date().getTime()-this.StartTime;
if((typeof Data=="object")){this._h--;this._l(this._k,Data)}else{this._h++;this.Debug.Error("Data Type: "+typeof Data)}}};
function CResourceManager(A){this._n=A;this._o={}}CResourceManager.prototype.Init=function(A){this._o=A};CResourceManager.prototype.GetString=function(C){try{var B=this._o[this._n+C];
if(B!=undefined){return B}}catch(A){}return this._n+C};var AutoCompleteCounter=0;function CAutoComplete(B){AutoCompleteCounter++;
this._p=AutoCompleteCounter;this._e=B;var C="../../YM/Poi/PoiJSService.aspx";if(typeof YMBaseUrl!="undefined"&&YMBaseUrl!=""){C=YMBaseUrl+"YM/Poi/PoiJSService.aspx"
}this.PoiClient=new CPoiJSServiceClient(C,B,new CDebugConsoleDummy());var A=this;this.PoiClient.DataHandler=function(D,E){return A.PoiDataHandler(D,E)
};this.PoiClient.InfoHandler=function(D,F,E){return A.PoiInfoHandler(D,F,E)};this.PoiClient.ErrorHandler=function(D,F,E){return A.PoiErrorHandler(D,F,E)
};this._q=null;this._r=null;this._s=null;this._t=null;this._u=new Array();this._v=0;this._w=false;this._x=false;this._y=false;
this.Options={MaxEntries:10}}CAutoComplete.prototype._z=function(A){var E=null;if(this._r==null){E=document.createElement("div");
this._r=E;E.className="AutoCompletePopUp";E.id="AutoCompletePopUp"+this._p;E.style.position="absolute";E.style.z_index=1000;
E.style.display="none";document.body.appendChild(E);Position.clone(this._q,E,{setHeight:false,offsetTop:this._q.offsetHeight})
}else{E=this._r;E.innerHTML=""}var B=document.createElement("div");B.innerHTML=(A.length==201?"&gt; ":"")+(A.length-1)+" Vorschl\u00E4ge";
if(A.length>this.Options.MaxEntries+1){B.innerHTML+=" (es werden die ersten "+this.Options.MaxEntries+" Treffen gezeigt)"
}E.appendChild(B);var H=document.createElement("ul");E.appendChild(H);var G=this;for(var D=0;D<A.length&&D<this.Options.MaxEntries+1;
D++){var C=A[D];if(C){var F=document.createElement("li");if(D==0){F.innerHTML=C+" (aktuelle Eingabe)"}else{F.innerHTML=C}F.autocompleteIndex=D;
Event.observe(F,"mouseover",this.OnHover.bindAsEventListener(this));Event.observe(F,"click",this.OnClick.bindAsEventListener(this));
H.appendChild(F)}}if(E.style.display=="none"){new Effect.Appear("AutoCompletePopUp"+this._p,{duration:0.15})}};CAutoComplete.prototype.PoiDataHandler=function(A,B){if(B.length>0&&!this._x&&this._y){B.unshift(this._q.value);
this._u=B;this._v=0;this._z(B);this._aa()}else{this.HidePopUp()}};CAutoComplete.prototype.PoiInfoHandler=function(A,D,B){var C=B;
alert(C)};CAutoComplete.prototype.PoiErrorHandler=function(A,D,B){var C=B;alert(C)};CAutoComplete.prototype.ApplySuggestion=function(A){if(!A){A=this._u[this._v]
}this._q.value=A;this.HidePopUp();this._t=A};CAutoComplete.prototype.HidePopUp=function(){this._w=false;if(this._r){new Effect.Fade("AutoCompletePopUp"+this._p,{duration:0.15})
}};CAutoComplete.prototype.Attach=function(C,B){this._q=B;this._ab=C;var A=this;this.PoiClient.Enable();Event.observe(this._q,"blur",this.OnBlur.bindAsEventListener(this));
Event.observe(this._q,"keypress",this.OnKeyPress.bindAsEventListener(this))};CAutoComplete.prototype.Update=function(){var A=this._q.value;
if(A.length>1){if(this._s!=A){this.OnFieldChange()}}else{this.HidePopUp();this._t=null}this._s=A};CAutoComplete.prototype.OnFieldChange=function(){var A={Action:"AutoComplete",FieldName:this._ab,FieldText:this._q.value,NewSession:"No"};
this.PoiClient.InvokeRequest(A)};CAutoComplete.prototype.OnHover=function(A){var B=Event.findElement(A,"LI");if(this._v!=B.autocompleteIndex){this._v=B.autocompleteIndex;
this._aa()}Event.stop(A)};CAutoComplete.prototype.OnClick=function(A){var B=Event.findElement(A,"LI");this._v=B.autocompleteIndex;
this.ApplySuggestion()};CAutoComplete.prototype.OnBlur=function(A){setTimeout(this.HidePopUp.bind(this),250);this._y=false;
this._w=false};CAutoComplete.prototype.OnObserverEvent=function(){this._x=false;this.Update()};CAutoComplete.prototype.OnKeyPress=function(A){if(this._w){switch(A.keyCode){case Event.KEY_TAB:case Event.KEY_RETURN:if(this._v>0){this.ApplySuggestion();
Event.stop(A)}return;case Event.KEY_ESC:this.HidePopUp();Event.stop(A);return;case Event.KEY_LEFT:case Event.KEY_RIGHT:return;
case Event.KEY_UP:this.MarkPrevious();this._aa();if(navigator.appVersion.indexOf("AppleWebKit")>0){Event.stop(A)}return;case Event.KEY_DOWN:this.MarkNext();
this._aa();if(navigator.appVersion.indexOf("AppleWebKit")>0){Event.stop(A)}return}}else{if(A.keyCode==Event.KEY_TAB||A.keyCode==Event.KEY_RETURN||(navigator.appVersion.indexOf("AppleWebKit")>0&&A.keyCode==0)){return
}}this._x=true;this._y=true;if(this.observer){clearTimeout(this.observer)}this.observer=setTimeout(this.OnObserverEvent.bind(this),400)
};CAutoComplete.prototype._aa=function(){if(this._u.length>0){for(var A=0;A<this._u.length;A++){this._v==A?Element.addClassName(this.GetEntry(A),"Selected"):Element.removeClassName(this.GetEntry(A),"Selected")
}if(this._y){this._w=true}}else{this.HidePopUp()}};CAutoComplete.prototype.GetEntry=function(A){return this._r.childNodes[1].childNodes[A]
};CAutoComplete.prototype.MarkPrevious=function(){if(this._v>0){this._v--}else{this._v=this._u.length-1}};CAutoComplete.prototype.MarkNext=function(){if(this._v<this._u.length-1){this._v++
}else{this._v=0}};