if(typeof _123map=="undefined"){var _123map=new Object()}if(typeof _123map.v1=="undefined"){_123map.v1=new Object()}if(typeof _123map.v1.dat=="undefined"){_123map.v1.dat=new Object()}if(typeof _123map.v1.util=="undefined"){_123map.v1.dat.util=new Object()}_123map.v1.dat.env=function(){var L="http://www.123map.de/service/";var M="api/";var I="regsave.pl";var K="regload.pl";var G="mapdistricts.pl";var H="mapauth.pl";var A="http://www.123map.de/tools/geo01/";var D="proxy.pl";var F="geocoder_flash.pl";var B="geocoder_json.pl";var J="http://map01.123map.de/maps/";var C="root.swf";var E="distance.txt";this.getGeocJUrl=function(){return A+B};this.getGeocFUrl=function(){return A+F};this.getAuthUrl=function(){return L+M+H};this.getIndividual=function(){return""};this.getMapUrl=function(){return J+C};this.getDistanceUrl=function(){return J+E};this.getDistrictUrl=function(){return L+M+G};this.getRegSaveUrl=function(){return L+M+I+"?p=1"};this.getRegLoadUrl=function(){return L+M+K};this.getProxyUrl=function(){return A+D};this.getContainerPath=function(){return"http://www.123map.de/service/container/mc/"};this.getInf=function(){return _123map.v1.dat.env.tmp};this.rstInf=function(){_123map.v1.dat.env.tmp=""};this.getSwfId=function(){return"swf"+_123map.v1.dat.env.swfcnt++}};_123map.v1.dat.env.swfcnt=1;_123map.v1.dat.env.tmp="";_123map.v1.dat.env.district="";_123map.v1.dat.req=function(A){this.url=A;this.head=document.getElementsByTagName("head").item(0);this.sid="sid"+_123map.v1.dat.req.scnt++};_123map.v1.dat.req.scnt=1;_123map.v1.dat.req.map=new Array();_123map.v1.dat.req.mapidx=0;_123map.v1.dat.req.addr=new Array();_123map.v1.dat.req.addridx=0;_123map.v1.dat.req.prototype.delScript=function(){if(this.head){this.head.removeChild(this.callscript)}};_123map.v1.dat.req.prototype.addScript=function(){if(this.head){this.callscript=document.createElement("script");if(this.callscript){this.callscript.setAttribute("type","text/javascript");this.callscript.setAttribute("charset","utf-8");this.callscript.setAttribute("src",this.url);this.callscript.setAttribute("id",this.sid);this.head.appendChild(this.callscript)}}};_123map.v1.dat.selcontainer=function(){this.geoc_default=false;this.geoc_district=false;this.navi_fixed=false;this.scratchpad=false;this.getContainerUrl=function(){var A=new _123map.v1.dat.env();if(A.getIndividual().length>0){return A.getIndividual()}var C="-Gn";if(this.geoc_default){C="-Gr"}if(this.geoc_district){C="-Gf"}var D="-Nm";if(this.navi_fixed){D="-Nt"}var B="-Sn";if(this.scratchpad){B="-Sy"}return A.getContainerPath()+"123map"+C+D+B+".swf"}};_123map.v1.rgba=function(E,C,A,D){this.red=0;this.green=0;this.blue=0;this.alpha=null;if((typeof E=="string")&&(E.charAt(0)=="#")&&(!C)&&(!A)&&(!D)){var F=E.substring(1);E=null;if(F.length>=6){E=parseInt((F.substring(0,2)).toUpperCase(),16);C=parseInt((F.substring(2,4)).toUpperCase(),16);A=parseInt((F.substring(4,6)).toUpperCase(),16);if(F.length==8){D=parseInt((F.substring(6,8)).toUpperCase(),16)}}else{if(F.length>=3){E=parseInt((F.charAt(0)+F.charAt(0)).toUpperCase(),16);C=parseInt((F.charAt(1)+F.charAt(1)).toUpperCase(),16);A=parseInt((F.charAt(2)+F.charAt(2)).toUpperCase(),16);if(F.length==4){D=parseInt((F.charAt(3)+F.charAt(3)).toUpperCase(),16)}}}}if((E)&&(isFinite(E))){this.red=E%256}if((C)&&(isFinite(C))){this.green=C%256}if((A)&&(isFinite(A))){this.blue=A%256}if((D)&&(isFinite(D))){this.alpha=D%256}this.getUrlValue=function(){if(this.alpha){return this.red+"+"+this.green+"+"+this.blue+"+"+this.alpha}return this.red+"+"+this.green+"+"+this.blue};this.getHtmlValue=function(){return"#"+B(this.red)+B(this.green)+B(this.blue)};this.getXmlValue=function(){return"0x"+B(this.red)+B(this.green)+B(this.blue)};var B=function(H){var J="0123456789ABCDEF";var I=Math.floor(H>>4);var G=H-(I<<4);return J.charAt(I)+J.charAt(G)}};_123map.v1.areastyle=function(B,A,C){if(typeof B=="object"){this.fillcolor=B}else{if(B){this.fillcolor=new _123map.v1.rgba(B)}else{this.fillcolor=null}}if(typeof A=="object"){this.outlcolor=A}else{this.outlcolor=new _123map.v1.rgba(A)}if((C)&&(isFinite(C))&&(C>0)){this.outlwidth=(C>10)?10:C}else{this.outlwidth=0}this.addUrlParams=function(E,D){if((E)&&(D)&&(typeof D=="string")&&(D.length>0)){if(this.fillcolor){E.push("vp_"+D+"_fillcol="+this.fillcolor.getUrlValue())}else{E.push("vp_"+D+"_fillcol=")}if(this.outlwidth>=0){E.push("vp_"+D+"_outlwdt="+this.outlwidth);if((this.outlwidth>0)&&(this.outlcolor)){E.push("vp_"+D+"_outlcol="+this.outlcolor.getUrlValue())}}}}};_123map.v1.linestyle=function(A,B,C){if(typeof A=="object"){this.linecolor=A}else{this.linecolor=new _123map.v1.rgba(A)}if(typeof B=="object"){this.outlcolor=B}else{this.outlcolor=new _123map.v1.rgba(B)}if((C)&&(isFinite(C))&&(C>0)){this.outlwidth=(C>10)?10:C}else{this.outlwidth=0}this.addUrlParams=function(E,D){if((E)&&(D)&&(typeof D=="string")&&(D.length>0)){if(this.linecolor){E.push("vp_"+D+"_linecol="+this.linecolor.getUrlValue())}if(this.outlwidth>=0){E.push("vp_"+D+"_outlwdt="+this.outlwidth);if((this.outlwidth>0)&&(this.outlcolor)){E.push("vp_"+D+"_outlcol="+this.outlcolor.getUrlValue())}}}}};_123map.v1.hiddenstyle=function(){this.addUrlParams=function(B,A){if((B)&&(A)&&(typeof A=="string")&&(A.length>0)){B.push("vp_"+A+"_hide=1")}}};_123map.v1.trailer=function(){this.addUrlParams=function(C){if(C){if(this.bgcolor){B(C,"bgcolor",this.bgcolor)}else{B(C,"bgcolor",this.bgcolordefault)}B(C,"barcolor",this.barcolor);B(C,"barbordercolor",this.barbordercolor);B(C,"barbgcolor",this.barbgcolor);B(C,"textcolor",this.textcolor);A(C,"barwidth",this.barwidth,120,420);A(C,"barheight",this.barheight,15,48);A(C,"textsize",this.textsize,12,28);A(C,"cursorsize",this.cursorsize,19,52)}};var B=function(D,E,G){if(G){var F="";if((typeof G=="object")&&(G.getXmlValue)){F=G.getXmlValue()}else{if((typeof G=="string")&&(G.length>0)){var C=new _123map.v1.rgba(G);F=C.getXmlValue()}}if(F.length>0){D.push(E+"="+F)}}};var A=function(F,G,E,D,C){if((E)&&(isFinite(E))){if(E>C){E=C}if(E<D){E=D}F.push(G+"="+E)}}};_123map.v1.geocoderbar=function(I,C,K,D){var B=(typeof I=="string")&&(I.toLowerCase()=="district");var H;var F="";var A="";var J="Zielposition";var E="0";var G=new _123map.v1.dat.env();if(typeof C=="string"){C=encodeURIComponent(C)}else{C="deu"}if(D){if(typeof D.legend=="string"){J=D.legend}if((D.id)&&(isFinite(D.id))){E=String(D.id)}}this.getDistrictXmlUrl=function(){if(typeof K=="string"){if(K.toLowerCase().indexOf(".xml")>0){return K}return G.getDistrictUrl()+"?p=1&thm=112&key="+G.getInf()+"&dsctr="+C+"&dsname="+encodeURIComponent(K)}return""};this.getGeocUrl=function(){return G.getGeocFUrl()+"?country="+C};this.getGeocSymbolId=function(){return E};this.getGeocLegend=function(){return J};this.showDefaultType=function(){return !B};this.showDistrictType=function(){return(B)&&(typeof K=="string")&&(K.length>0)};this.addSwitch=function(L,M){if((typeof L=="string")&&(M)){if(!H){H=new Array()}H.push(encodeURIComponent("grp_"+L)+"="+encodeURIComponent(String(M)))}};this.getDistVars=function(){if((H)&&(H.length>0)){return H.join("&")}return""};this.getInitPlace=function(){return F};this.getInitStreet=function(){return A};this.setInitPlace=function(L){if((typeof L=="string")&&(L.length>0)){F=L}};this.setInitStreet=function(L){if((typeof L=="string")&&(L.length>0)){A=L}}};_123map.v1.imprintbar=function(B,D){var A;this.getLogoUrl=function(){return(typeof D=="string")?D:"logo.swf"};this.getImprintXmlUrl=function(){return(typeof B=="string")?B:""};this.addLink=function(F,E,G){if((typeof F=="string")&&(typeof E=="string")){if(typeof G!="string"){G="_blank"}if(!A){A=new Object();imprinturl=""}if(!A[F]){A[F]=new Object()}A[F]["url"]=E;A[F]["target"]=G}};this.getXml=function(){if(!A){return""}var F=new Array();F.push('<?xml version="1.0" encoding="UTF-8" ?>');F.push("<links>");for(var E in A){F.push('<a href="'+A[E].url+'" target="'+A[E].target+'">'+C(E)+"</a>")}F.push("</links>");return F.join("\n")};var C=function(E){E=E.replace(/&/,"&amp;");E=E.replace(/</,"&lt;");E=E.replace(/>/,"&gt;");return E}};_123map.v1.poicatbar=function(B){var A;this.getPoiCatXmlUrl=function(){return(typeof B=="string")?B:""};this.addEntry=function(E,D,G,F){if((typeof E=="string")&&(typeof D=="string")&&(typeof G=="string")&&((typeof F=="number")||((typeof F=="string")&&(isFinite(F))))){if(!A){A=new Object();poicaturl=""}if(!A[E]){A[E]=new Object()}if(!A[E][D]){A[E][D]=new Object()}A[E][D]["param"]=G;A[E][D]["value"]=F+""}};this.getXml=function(){if(!A){return""}var E=new Array();E.push('<?xml version="1.0" encoding="UTF-8" ?>');E.push("<categories>");for(var D in A){E.push('<category name="'+C(D)+'">');for(var F in A[D]){E.push('<poi name="'+C(F)+'"><layer group="'+C(A[D][F].param)+'" id="'+C(A[D][F].value)+'"/></poi>')}E.push("</category>")}E.push("</categories>");return E.join("\n")};var C=function(D){D=D.replace(/&/,"&amp;");D=D.replace(/"/,"&quot;");D=D.replace(/</,"&lt;");D=D.replace(/>/,"&gt;");return D}};_123map.v1.mapcontrol=function(D,J,N,B){var C=false;var M=D;var E=J;var K=N;var I=false;var H=false;var L=false;var F=function(){var Q;try{if(parent){Q=parent.location.href}else{Q=window.location.href}}catch(P){}if(typeof Q=="string"){var O;O=Q.indexOf("?");if(O>=0){Q=Q.substring(0,O)}O=Q.indexOf("#");if(O>=0){Q=Q.substring(0,O)}}else{Q=""}return Q};var G=F();if(typeof D=="string"){switch(D.toLowerCase()){case"variable":case"fixed-right":C=true;M=J;E=N;K=B;break}}if(typeof M=="string"){switch(M.toLowerCase()){case"custom":case"large":case"medium":case"small":M=M.toLowerCase();break;default:M="medium"}}else{M="medium"}this.setPrintControl=function(O){I=(O)?true:false};this.setDragControl=function(O){H=(O)?true:false};this.setScratchPadControl=function(O){L=(O)?true:false};this.setScratchPadLinkUrl=function(O){G=(typeof O=="string")?O:""};this.getFixed=function(){return C};this.getType=function(){return(C)?"fixed-right":"variable"};this.getSize=function(){return M};this.getHAlign=function(){var P=E;var O=15;if((typeof P=="string")&&(P.toLowerCase()=="left")){O=15}else{if((typeof P=="string")&&(P.toLowerCase()=="right")){O=-15}else{if((P)&&(isFinite(P))){if((P>-1024)&&(P<1024)){O=P}}}}return O};this.getVAlign=function(){var P=K;var O=15;if((typeof P=="string")&&(P.toLowerCase()=="top")){O=15}else{if((typeof P=="string")&&(P.toLowerCase()=="bottom")){O=-15}else{if((P)&&(isFinite(P))){if((P>-1024)&&(P<1024)){O=P}}}}return O};this.getPrintControl=function(){return(C)?I:false};this.getDragControl=function(){return(C)?H:false};this.getScratchPadControl=function(){return(C)?L:false};this.getScratchPadLinkUrl=function(){return G};var A=function(O){return((O)&&(isFinite(O)))?Number(O):-1}};_123map.v1.poi=function(D,B,E,A,C){this.lat=D;this.lng=B;this.title=E;if((typeof A=="string")&&(A.indexOf("<?xml")>=0)){this.url="";this.xml=A}else{this.url=A;this.xml=""}this.symbol=C};_123map.v1.symbol=function(B,A){this.id=B;this.legend="Zielposition";if(A){this.legend=A}};_123map.v1.swf=function(){var A=new Object();var B=new Object();A.id="swf";A.width="100%";A.height="100%";A.align="left";B.loop="false";B.menu="false";B.salign="TL";B.scale="noscale";B.quality="best";B.allowScriptAccess="always";this.setAttribute=function(C,D){A[C]=D};this.setParameter=function(C,D){B[C]=D};this.getHtml=function(G,E,D){var I="";if(G){var C=G.lastIndexOf("/");if(C>=0){I=G.substring(0,C+1)}}var F="";var H;if((D)&&(navigator)&&(navigator.plugins)&&(navigator.mimeTypes)&&(navigator.mimeTypes.length)){F='<embed type="application/x-shockwave-flash" ';F+='pluginspage="http://www.macromedia.com/go/getflashplayer" ';F+='src="'+G+'" base="'+I+'" id="'+A.id+'" name="'+A.id+'" ';F+='width="'+A.width+'" height="'+A.height+'" ';if(A.style){F+='style="'+A.style+'" '}if(A.align){F+='align="'+A.align+'" '}if(A.bgcolor){F+='bgcolor="'+A.bgcolor+'" '}for(H in B){F+=H+'="'+B[H]+'" '}if(E){F+='flashvars="'+E+'" '}F+="/>"}else{F="<object";if(D){F+=' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'}else{F+=' type="application/x-shockwave-flash"';F+=' data="'+G+'"'}F+=' codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"';for(H in A){F+=" "+H+'="'+A[H]+'"'}F+=">\n";if(A.bgcolor){F+='<param name="bgcolor" value="'+A.bgcolor+'" />\n'}F+='<param name="movie" value="'+G+'" />\n';F+='<param name="base" value="'+I+'" />\n';for(H in B){F+='<param name="'+H+'" value="'+B[H]+'" />\n'}if(E){F+='<param name="flashvars" value="'+E+'" />\n'}F+="</object>"}return F}};_123map.v1.notifier=function(C,B){var A=0;this.inc=function(D){A+=this.steps()};this.exec=function(){if(typeof C=="function"){C(A)}};this.steps=function(){if((B)&&(isFinite(B))){return B}return 1}};_123map.v1.map=function(J){var X=_123map.v1.dat.req.mapidx++;var S="";var K;var n;var D=false;var Z=false;var Q=false;var a;var m=false;var l;var d;var c;var i=0;var O;var R="";var F="Info";var f="";var A=false;var L="";var H="";var B;var g=false;var N=false;var U;var P;var M;var E;var h;var b=false;this.swf=new _123map.v1.swf();var T=false;var G=new Array();var W=new Object();var Y=new Array();var V=null;var j="";var k="";var C="";var e=0;var I;this.setBGColor=function(o){if(typeof o=="object"){l=o}else{l=new _123map.v1.rgba(o)}};this.setArea=function(q,p,o){if((typeof q=="string")&&(isNaN(q))&&(!o)){if((q=="fitin")&&(!p)){A=true}else{L=q;H=(typeof p=="string")?p:""}}else{d=p;c=q;i=o}};this.setRadius=function(o){if((o)&&(isFinite(o))&&(o>0)){i=o}};this.setRadiusMax=function(o){if((o)&&(isFinite(o))&&(o>0)){O=o}};this.setStartupInfo=function(p,o){if(typeof p=="string"){R=p}if(typeof o=="string"){F=o}};this.setMainPosition=function(p,s,r,q,o){if(p){K=p;K.moved=false;if(s){D=true}if(r){Z=true}if(q){Q=true}n=o}};this.setMapTrailer=function(o){if(typeof o=="object"){E=o}};this.setMapNotifier=function(o){if(typeof o=="object"){h=o}};this.setMapControl=function(o){if(typeof o=="object"){B=o}};this.setGeocoderBar=function(o){if(typeof o=="object"){U=o}};this.setImprintBar=function(o){if(typeof o=="object"){P=o}};this.setPoiCatBar=function(o){if(typeof o=="object"){M=o}};this.setShowMapControl=function(o){g=(o)?false:true};this.setEnableNavigation=function(o){N=(o)?false:true};this.setMouseZoom=function(o){m=(o)?true:false};this.setPoiListUID=function(o){if(typeof o=="string"){f=o}};this.setShowLegend=function(o){b=(o)?false:true};this.setMapSwitch=function(o,p){if(typeof o=="string"){if(p){G.push(encodeURIComponent("grp_"+o)+"="+encodeURIComponent(String(p)))}else{G.push(encodeURIComponent("grp_"+o)+"=1")}}};this.setMapBGColor=function(o){if(typeof o=="object"){a=o}else{a=new _123map.v1.rgba(o)}};this.setMapStyle=function(p,o){if((typeof p=="string")&&(typeof o=="object")){W[p]=o}};this.addPosition=function(o){if(typeof o=="object"){Y.push(o)}};this.setPositionsUrlPrefix=function(o){if(typeof o=="string"){j=o}};this.setPositionsUrlSuffix=function(o){if(typeof o=="string"){k=o}};this.setPositionsUrlTarget=function(o){if(typeof o=="string"){C=o}};this.setPositionsNetLines=function(p,o){if(typeof p=="object"){I=p}else{I=new _123map.v1.rgba(p)}if((o)&&(isFinite(o))&&(o>0)){e=o}};this.showMap=function(o){_123map.v1.dat.req.map[X]=this;if(o){T=true}if((_123map.v1.dat.env.tmp)&&(_123map.v1.dat.env.tmp.length>0)){this.showMapExec();return }var p=new _123map.v1.dat.env();var r="?p=1&thm=112&key=";try{if((parent)&&(parent.location)&&(parent.location.hostname)){r+="&hn="+parent.location.hostname}else{if((window)&&(window.location)&&(window.location.hostname)){r+="&hn="+window.location.hostname}}}catch(q){}r+="&callback=_123map.v1.dat.req.map%5B"+X+"%5D.cbauth&nocache="+(new Date()).getTime();this.callobj=new _123map.v1.dat.req(p.getAuthUrl()+r);this.callobj.addScript()};this.cbauth=function(o){_123map.v1.dat.env.tmp=o.key;S=o.conf;this.showMapExec();if(this.callobj){this.callobj.delScript()}};this.cbpos=function(o,r){if((K)&&(isFinite(o))&&(isFinite(r))){var p=false;if(Math.abs(K.lng-o)>1e-9){K.lng=o;K.moved=true;p=true}if(Math.abs(K.lat-r)>1e-9){K.lat=r;K.moved=true;p=true}if((p)&&(n)){try{n(o,r)}catch(q){}}}};this.cbflash=function(o){if(h){h.inc();h.exec()}};this.showMapExec=function(){var AC=new _123map.v1.dat.env();var AH=new _123map.v1.dat.selcontainer();var z=new Array();var AJ=new Array();var AF=new Array();if(E){E.bgcolordefault=l;E.addUrlParams(z)}else{if((l)&&(l.getXmlValue)){z.push("bgcolor="+l.getXmlValue())}}if((K)&&(K.lng)&&(K.lat)){AJ.push("px="+K.lng);AJ.push("py="+K.lat);if(K.title){AJ.push("pt="+encodeURIComponent(K.title))}if(K.url){AJ.push("purl="+encodeURIComponent(K.url))}if(D){AJ.push("pcpt=1")}if(K.symbol){if(K.symbol.id){AJ.push("pgrp="+K.symbol.id)}if(K.symbol.legend){AJ.push("pleg="+encodeURIComponent(K.symbol.legend))}}if(K.symbolscale){AJ.push("pscs="+encodeURIComponent(K.symbolscale))}if((e)&&(e>0)&&(Y)&&(Y.length>0)){AJ.push("pnshow=1");AJ.push("pnlinewidth"+encodeURIComponent(e));if((I)&&(I.getUrlValue)){AJ.push("pnlinecol="+I.getUrlValue())}}if(Q){AJ.push("pmov=1");AJ.push("pfct=_123map.v1.dat.req.map%5B"+X+"%5D.cbpos")}}if((l)&&(l.getUrlValue)){AJ.push("vp_frcol="+l.getUrlValue())}if((a)&&(a.getUrlValue)){AJ.push("vp_bgcol="+a.getUrlValue())}if(W){for(var AB in W){W[AB].addUrlParams(AJ,AB)}}if(G){for(var u=0;u<G.length;++u){AJ.push(G[u])}}if((Y)&&(Y.length>0)){var t;var p=new Object;var AA;var y=true;var AD=true;for(AA=0;AA<Y.length;AA++){if((typeof Y[AA].xml=="string")&&(Y[AA].xml.length>0)){Y[AA].url="";AF.push("i"+String(AA+1)+"="+encodeURIComponent(Y[AA].xml));y=false}else{if((typeof Y[AA].url=="string")&&(Y[AA].url.length>0)){Y[AA].xml="";AD=false}else{Y[AA].url="";Y[AA].xml=""}}}var x=1;for(AA=0;AA<Y.length;AA++){t=Y[AA];AJ.push("px"+x+"="+t.lng);AJ.push("py"+x+"="+t.lat);if((typeof t.title=="string")&&(t.title.length>0)){AJ.push("pt"+x+"="+encodeURIComponent(t.title))}if(AD){if(t.xml.length>0){AJ.push("purl"+x+"=i"+String(AA+1))}}else{if(y){if(t.url.length>0){AJ.push("purl"+x+"="+encodeURIComponent(t.url))}}else{if(t.xml.length>0){AJ.push("purl"+x+"=flash%3Axmlvars%3A%2F%2Fi"+String(AA+1))}else{if(t.url.length>0){AJ.push("purl"+x+"="+encodeURIComponent(j+t.url+k))}}}}if((typeof t.symbol=="object")&&(t.symbol.id)&&(t.symbol.id>0)){AJ.push("pgrp"+x+"="+t.symbol.id);p["s"+t.symbol.id]=t.symbol}x++}for(var AI in p){if((typeof p[AI].legend=="string")&&(p[AI].legend.length>0)){AJ.push("grpleg"+p[AI].id+"="+encodeURIComponent(p[AI].legend))}}p=null;if(AD){AJ.push("ppre=flash%3Axmlvars%3A%2F%2F");AJ.push("psuf=")}else{if(y){AJ.push("ppre="+encodeURIComponent(j));AJ.push("psuf="+encodeURIComponent(k));AJ.push("ptrg="+encodeURIComponent(C))}else{AJ.push("ppre=");AJ.push("psuf=")}}}var w=new Array();w.push("mapurl="+encodeURIComponent(AC.getMapUrl()));w.push("proxyurl="+encodeURIComponent(AC.getProxyUrl()));w.push("accthm=112");w.push("acckey="+AC.getInf());if((typeof S=="string")&&(S.length>0)){w.push("customconf="+encodeURIComponent(S))}if((d)&&(c)&&(i)&&(i>0)){w.push("startx="+d);w.push("starty="+c);w.push("startr="+i)}else{if((K)&&(K.lng)&&(K.lat)&&(i>0)){w.push("startx="+K.lng);w.push("starty="+K.lat);w.push("startr="+i)}}if((K)&&(K.lng)&&(K.lat)&&(K.url)&&(Z)){w.push("startpoidetailurl="+encodeURIComponent(K.url))}if(A){w.push("startshowpois=1")}if((O)&&(O>0)){w.push("maparmax="+O)}if(R.length>0){w.push("startmessagetitle="+encodeURIComponent(F));w.push("startmessagetext="+encodeURIComponent(R))}if(N){w.push("navi=off")}else{if(g){w.push("navi=hide")}}if(m){w.push("mapdragaction=zoom")}if(b){w.push("showlegend=0")}if((f)&&(f.length>0)){w.push("listuid="+encodeURIComponent(f))}if((B)&&(B.getFixed)&&(B.getScratchPadControl)&&(B.getScratchPadLinkUrl)){AH.navi_fixed=B.getFixed();AH.scratchpad=B.getScratchPadControl();if(B.getSize){w.push("navisize="+B.getSize())}if(B.getHAlign){w.push("navix="+B.getHAlign())}if(B.getVAlign){w.push("naviy="+B.getVAlign())}if((B.getDragControl)&&(B.getDragControl())){w.push("showdragcontrol=1")}if((B.getPrintControl)&&(B.getPrintControl())){w.push("showprintcontrol=1")}else{w.push("showprintcontrol=0")}if((B.getScratchPadControl())&&(B.getScratchPadLinkUrl().length>0)){w.push("listsaveurl="+encodeURIComponent(AC.getRegSaveUrl()));w.push("listloadurl="+encodeURIComponent(AC.getRegLoadUrl()));w.push("listlinkurl="+encodeURIComponent(B.getScratchPadLinkUrl()))}}if((U)&&(U.showDefaultType)&&(U.showDistrictType)&&((U.showDefaultType())||(U.showDistrictType()))){w.push("geourl="+encodeURIComponent(U.getGeocUrl()));var AG=U.getDistVars();if(AG.length>0){w.push("distanceurl="+encodeURIComponent(AC.getDistanceUrl()+"?op=or"));w.push("geodistancevars="+encodeURIComponent(AG))}if(U.showDefaultType()){AH.geoc_default=true;if(U.getInitPlace().length>0){w.push("startgeoplace="+encodeURIComponent(U.getInitPlace()));w.push("startgeostreet="+encodeURIComponent(U.getInitStreet()))}}if(U.showDistrictType()){AH.geoc_district=true;w.push("districturl="+encodeURIComponent(U.getDistrictXmlUrl()));if(L.length>0){w.push("startpos="+encodeURIComponent(L))}if(H.length>0){w.push("startposref="+encodeURIComponent(H))}}w.push("geoleg="+encodeURIComponent(U.getGeocLegend()));w.push("geogrp="+encodeURIComponent(U.getGeocSymbolId()));if((K)&&(Q)){w.push("jsshowposcallback=_123map.v1.dat.req.map%5B"+X+"%5D.cbpos")}}if((h)&&(h.steps()>0)){w.push("jsmaploadstep="+h.steps());w.push("jsmaploadcallback=_123map.v1.dat.req.map%5B"+X+"%5D.cbflash")}if(P){var r="";if(P.getLogoUrl){r=P.getLogoUrl()}var q="";if(P.getImprintXmlUrl){q=P.getImprintXmlUrl()}if(r.length>0){w.push("logourl="+encodeURIComponent(r))}if(q.length>0){w.push("imprinturl="+encodeURIComponent(q))}else{var o="";if(P.getXml){o=P.getXml()}if(o.length>0){w.push("imprinturl="+encodeURIComponent(o))}}}if(M){if((M.getPoiCatXmlUrl)&&(M.getPoiCatXmlUrl().length>0)){w.push("poicaturl="+encodeURIComponent(M.getPoiCatXmlUrl()))}else{var o=M.getXml();if(o.length>0){w.push("poicaturl="+encodeURIComponent(o))}}}if((l)&&(l.getXmlValue)){w.push("mapbgcolor="+l.getXmlValue())}if(z.length){w.push("preloadervars="+encodeURIComponent(z.join("&")))}if(AJ.length){w.push("mapvars="+encodeURIComponent(AJ.join("&")))}if(AF.length){w.push("xmlvars="+encodeURIComponent(AF.join("&")))}if(J){var v=AC.getSwfId();this.swf.setAttribute("id",v);if((l)&&(l.getHtmlValue)){this.swf.setAttribute("bgcolor",l.getHtmlValue())}while(J.hasChildNodes()){J.removeChild(J.firstChild)}var AE=document.createElement("div");AE.setAttribute("id","__map_region"+X);if(J.style){if((J.style.height)&&(J.style.height.length>0)){AE.setAttribute("style","height: 100%;")}}J.appendChild(AE);AE.innerHTML=this.swf.getHtml(AH.getContainerUrl(),w.join("&"),T)}AC.rstInf()};this.showHtmlText=function(p){if(J){var q=document.getElementById("__map_region");if(q){J.removeChild(q)}var o=document.createElement("div");o.setAttribute("id","__map_region"+X);if(J.style){if((J.style.height)&&(J.style.height.length>0)){o.setAttribute("style","height: 100%;")}}J.appendChild(o);o.innerHTML=p}}};_123map.v1.urlparameter=function(F){var B=new Object;var A=function(L){var J="";if(L){try{J=decodeURIComponent(L)}catch(K){J=unescape(L.replace(/\+/g,"%20"))}}return J};if(!(F)){try{if(parent){F=parent.location.search||parent.location.hash}else{F=window.location.search||window.location.hash}}catch(C){}}if(F){if(F.substring(0,1)=="?"){F=F.substring(1)}if(F.substring(0,1)=="#"){F=F.substring(1)}var I=F.split("&");var E;var D;var H;var G;for(var E=0;E<I.length;E++){D=I[E].indexOf("=");if(D>0){H=A(I[E].substring(0,D));G=A(I[E].substring(D+1))}else{H=A(I[E]);G=""}if((typeof H=="string")&&(H.length>0)){B[H]=G}}}this.value=function(J){return B[J]}};_123map.v1.address=function(D,B,A,E,C){this.country=D;this.place=B;this.postalcode=A;this.street=E;this.streetno=C;this.geocode=function(G,K,F,H){_123map.v1.dat.req.addr=this;var I=new _123map.v1.dat.env();var L="?thm=112&key=&callback=_123map.v1.dat.req.addr.callback&nocache="+(new Date()).getTime();try{if((parent)&&(parent.location)&&(parent.location.hostname)){L+="&hn="+parent.location.hostname}else{if((window)&&(window.location)&&(window.location.hostname)){L+="&hn="+window.location.hostname}}}catch(J){}switch(this.country.toLowerCase()){case"aut":case"che":case"deu":L+="&country="+this.country.toLowerCase();break;default:L+="&country=deu";break}if(this.place){L+="&place="+encodeURIComponent(this.place)}if(this.postalcode){L+="&zipcode="+encodeURIComponent(this.postalcode)}if(this.street){L+="&street="+encodeURIComponent(this.street)}if(this.streetno){L+="&streetno="+encodeURIComponent(this.streetno)}if(G){L+="&sos=1"}else{L+="&sos=0"}if(K){L+="&appr=1"}else{L+="&appr=0"}if(F){if(isNaN(F)){L+="&limit=1"}else{if((F<0)||(F>50)){L+="&limit=1"}else{L+="&limit="+F}}}else{L+="&limit=1"}this.callbackuser=H;this.callobj=new _123map.v1.dat.req(I.getGeocJUrl()+L);this.callobj.addScript()};this.callback=function(G){if(G){_123map.v1.dat.env.tmp=G.shift();G.state=G.shift();G.errmsg=G.shift();var F;var H="";var I="";for(F=0;F<G.length;F++){if(G[F].street){I=G[F].street;if(G[F].streetno){I+=" "+G[F].streetno}}if((G[F].zipcode)&&(G[F].zipcode.length>0)){switch(G[F].country){case"aut":H="A-"+G[F].zipcode;break;case"che":H="CH-"+G[F].zipcode;break;default:H="D-"+G[F].zipcode;break}}if(G[F].place){if(H.length>0){H+=" "+G[F].place}else{H=G[F].place}if((G[F].district)&&!(G[F].street)){H+="-"+G[F].district}}if((H.length>0)&&(I.length>0)){G[F].title=I+"\n"+H}else{G[F].title=I+H}G[F].url="";G[F].symbol=null}if(this.callbackuser){this.callbackuser(G)}}if(this.callobj){this.callobj.delScript()}}};if(!document.getElementById&&document.all){document.getElementById=function(A){return document.all[A]}};

