function ExtLargeMapControl(){this.sliderStep=9;this.imgSrc="http://maps.google.com/intl/en_ALL/mapfiles/mapcontrols3d.png"}ExtLargeMapControl.prototype=new GControl();ExtLargeMapControl.prototype._map=null;ExtLargeMapControl.prototype._container=null;ExtLargeMapControl.prototype._slider=null;ExtLargeMapControl.prototype._keyboardhandler=null;ExtLargeMapControl.prototype.initialize=function(E){ExtLargeMapControl.prototype._map=E;var u={};this._keyboardhandler=new GKeyboardHandler(E);var f=navigator.userAgent.toLowerCase();this._is_ie=((f.indexOf("msie")!==-1)&&(f.indexOf("opera")===-1));this._is_gecko=(f.indexOf("gecko")!==-1);this._is_opera=(f.indexOf("opera")!==-1);var q=new Image();q.src=this.imgSrc;var D=E.getCurrentMapType();var n=parseInt(D.getMinimumResolution(),10);var s=0;var l=E.getMapTypes();for(var x=0;x<l.length;x++){if(l[x].getMaximumResolution()>s){s=l[x].getMaximumResolution()}}ExtLargeMapControl.prototype._maxZoom=parseInt(s,10);ExtLargeMapControl.prototype._step=this.sliderStep;var y=(86+5)+(s-n+1)*this.sliderStep+5;var o=document.createElement("div");o.style.width="59px";o.style.height=(y+this.sliderStep+2)+"px";o.style.overflow="hidden";o.style.padding="0";o.style.MozUserSelect="none";o.style.textAlign="left";u.container=o;ExtLargeMapControl.prototype._container=o;var v=document.createElement("div");v.style.width="59px";v.style.height="62px";v.style.overflow="hidden";if(this._is_ie){v.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+this.imgSrc+"')"}o.appendChild(v);if(!this._is_ie){var A=q.cloneNode(false);A.style.position="absolute";A.style.left="0px";A.style.top="0px";A.style.width="59px";A.style.height="458px";v.appendChild(A)}var a=document.createElement("div");a.style.position="absolute";a.style.left="20px";a.style.top="0px";a.style.width="18px";a.style.height="18px";a.style.cursor="pointer";a.style.overflow="hidden";a.title="up";o.appendChild(a);var w=a.cloneNode(true);w.style.left="0px";w.style.top="20px";w.title="left";o.appendChild(w);var C=a.cloneNode(true);C.style.left="40px";C.style.top="20px";C.title="right";o.appendChild(C);var c=a.cloneNode(true);c.style.left="20px";c.style.top="40px";c.title="bottom";o.appendChild(c);var j=a.cloneNode(true);j.style.left="20px";j.style.top="20px";j.title="home position";o.appendChild(j);u.topBtn=a;u.leftBtn=w;u.rightBtn=C;u.bottomBtn=c;u.homeBtn=j;var h=document.createElement("div");h.style.position="absolute";h.style.left="19px";h.style.top="86px";h.style.width="22px";h.style.height=((s-n+1)*this.sliderStep)+"px";h.style.overflow="hidden";h.style.cursor="pointer";o.appendChild(h);u.slideBar=h;var r=E.getZoom();var p=document.createElement("div");p.style.position="absolute";p.style.left=0;p.style.top=((s-r)*this.sliderStep+1)+"px";p.style.width="22px";p.style.height="14px";p.style.overflow="hidden";p.style.cursor="url(http://maps.google.com/intl/en_ALL/mapfiles/openhand.cur), default";h.appendChild(p);u.slideBarContainer=p;if(this._is_ie){var z=document.createElement("div");z.style.position="relative";z.style.left=0;z.style.top="-384px";z.style.width="22px";z.style.height="14px";z.style.overflow="hidden";z.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src = '"+this.imgSrc+"')";p.appendChild(z);u.zoomSlider=z}else{var B=q.cloneNode(false);B.style.position="absolute";B.style.left="0px";B.style.top="-384px";B.style.MozUserSelect="none";B.style.border="0px none";B.style.margin="0px";B.style.padding="0px";B.style.width="59px";B.style.height="458px";p.appendChild(B);u.zoomSlider=B}var t=document.createElement("div");t.style.position="absolute";t.style.left=0;t.style.top=(86+(s-n+1)*this.sliderStep)+"px";t.style.width="59px";t.style.height="23px";t.style.overflow="hidden";o.appendChild(t);if(this._is_ie){var b=document.createElement("div");b.style.position="relative";b.style.left=0;b.style.top="-360px";b.style.width="59px";b.style.height="23px";b.style.overflow="hidden";b.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+this.imgSrc+"')";t.appendChild(b)}else{var d=q.cloneNode(false);d.style.position="absolute";d.style.left="0px";d.style.top="-360px";d.style.width="59px";d.style.height="458px";t.appendChild(d)}var k=document.createElement("div");k.style.position="absolute";k.style.left="20px";k.style.top=(91+(s-n+1)*this.sliderStep)+"px";k.style.width="18px";k.style.height="23px";k.style.cursor="pointer";k.style.overflow="hidden";k.title="zoom out";o.appendChild(k);u.zoomOutBtn=k;var m=document.createElement("div");m.style.position="absolute";m.style.left="20px";m.style.top="65px";m.style.width="18px";m.style.height="23px";m.style.cursor="pointer";m.style.overflow="hidden";m.title="zoom in";o.appendChild(m);u.zoomInBtn=m;GEvent.addDomListener(u.topBtn,"click",GEvent.callback(this,this._eventTop));GEvent.addDomListener(u.leftBtn,"click",GEvent.callback(this,this._eventLeft));GEvent.addDomListener(u.rightBtn,"click",GEvent.callback(this,this._eventRight));GEvent.addDomListener(u.bottomBtn,"click",GEvent.callback(this,this._eventBottom));GEvent.addDomListener(u.homeBtn,"click",GEvent.callback(this,this._eventHome));GEvent.addDomListener(u.zoomOutBtn,"click",GEvent.callback(this,this._eventZoomOut));GEvent.addDomListener(u.zoomInBtn,"click",GEvent.callback(this,this._eventZoomIn));GEvent.addDomListener(u.slideBar,"click",GEvent.callback(this,this._eventSlideBar));GEvent.addListener(E,"zoomend",GEvent.callback(this,this._eventZoomEnd));var e={container:u.slideBar};var g=new GDraggableObject(u.slideBarContainer,e);GEvent.addDomListener(g,"dragend",GEvent.callback(this,this._eventSlideDragEnd));ExtLargeMapControl.prototype._slider=g;this._eventZoomEnd(E.getZoom(),E.getZoom());E.getContainer().appendChild(o);return o};ExtLargeMapControl.prototype._eventTop=function(){ExtLargeMapControl.prototype._map.panDirection(0,1)};ExtLargeMapControl.prototype._eventLeft=function(){ExtLargeMapControl.prototype._map.panDirection(1,0)};ExtLargeMapControl.prototype._eventRight=function(){ExtLargeMapControl.prototype._map.panDirection(-1,0)};ExtLargeMapControl.prototype._eventBottom=function(){ExtLargeMapControl.prototype._map.panDirection(0,-1)};ExtLargeMapControl.prototype._eventZoomOut=function(){ExtLargeMapControl.prototype._map.zoomOut()};ExtLargeMapControl.prototype._eventZoomIn=function(){ExtLargeMapControl.prototype._map.zoomIn()};ExtLargeMapControl.prototype._eventSlideBar=function(h){var g=this._map;var c=h.clientY;var f=this._step;var b=this._maxZoom;var a=this._container;var d=this._getDomPosition(a);c-=(d.y+91);var i=Math.floor(b-(c/f));i=i<0?0:i;g.setZoom(i)};ExtLargeMapControl.prototype._getDomPosition=function(b){var a=b;var d={x:0,y:0};while(a){d.x+=a.offsetLeft;d.y+=a.offsetTop;a=a.offsetParent;if(a&&this._is_ie){d.x+=(parseInt(ExtLargeMapControl.getElementStyle(a,"borderLeftWidth","border-left-width"),10)||0);d.y+=(parseInt(ExtLargeMapControl.getElementStyle(a,"borderTopWidth","border-top-width"),10)||0)}}if(this._is_gecko){var c=document.getElementsByTagName("BODY")[0];d.x+=2*(parseInt(ExtLargeMapControl.getElementStyle(c,"borderLeftWidth","border-left-width"),10)||0);d.y+=2*(parseInt(ExtLargeMapControl.getElementStyle(c,"borderTopWidth","border-top-width"),10)||0)}return d};ExtLargeMapControl.getElementStyle=function(e,b,c){var d=e;if(d.currentStyle){return d.currentStyle[b]}else{if(window.getComputedStyle){var a=window.getComputedStyle(d,"");return a.getPropertyValue(c)}}};ExtLargeMapControl.prototype._eventSlideDragEnd=function(d){var a=this._maxZoom;var b=this._slider.top;var c=this._step;var f=Math.floor(a-(b/c));f=f<0?0:f;this._map.setZoom(f)};ExtLargeMapControl.prototype._eventHome=function(){this._map.returnToSavedPosition()};ExtLargeMapControl.prototype._eventZoomEnd=function(d,b){var a=this._maxZoom;var c=this._step;this._slider.moveTo(new GPoint(0,(a-b)*c))};ExtLargeMapControl.prototype.getDefaultPosition=function(){return new GControlPosition(G_ANCHOR_TOP_LEFT,new GSize(10,10))};ExtLargeMapControl.prototype.selectable=function(){return false};ExtLargeMapControl.prototype.printable=function(){return true};function ExtInfoWindow(a,b,c,d){this.html_=c;this.marker_=a;this.infoWindowId_=b;this.options_=d==null?{}:d;this.ajaxUrl_=this.options_.ajaxUrl==null?null:this.options_.ajaxUrl;this.callback_=this.options_.ajaxCallback==null?null:this.options_.ajaxCallback;this.borderSize_=this.options_.beakOffset==null?0:this.options_.beakOffset;this.paddingX_=this.options_.paddingX==null?0+this.borderSize_:this.options_.paddingX+this.borderSize_;this.paddingY_=this.options_.paddingY==null?0+this.borderSize_:this.options_.paddingY+this.borderSize_;this.map_=null;this.container_=document.createElement("div");this.container_.style.position="relative";this.container_.style.display="none";if(c&&c.nodeType){this.contentParentNode=c.parentNode;this.contentNodeId=c.id;this.contentDiv_=this.container_.appendChild(c)}else{this.contentDiv_=document.createElement("div");this.contentDiv_.innerHTML=this.html_}this.contentDiv_.id=this.infoWindowId_+"_contents";this.contentDiv_.style.display="block";this.contentDiv_.style.visibility="hidden";this.wrapperDiv_=document.createElement("div")}ExtInfoWindow.prototype=new GOverlay();ExtInfoWindow.prototype.initialize=function(map){this.map_=map;this.defaultStyles={containerWidth:this.map_.getSize().width/2,borderSize:1};this.wrapperParts={tl:{t:0,l:0,w:0,h:0,domElement:null},t:{t:0,l:0,w:0,h:0,domElement:null},tr:{t:0,l:0,w:0,h:0,domElement:null},l:{t:0,l:0,w:0,h:0,domElement:null},r:{t:0,l:0,w:0,h:0,domElement:null},bl:{t:0,l:0,w:0,h:0,domElement:null},b:{t:0,l:0,w:0,h:0,domElement:null},br:{t:0,l:0,w:0,h:0,domElement:null},beak:{t:0,l:0,w:0,h:0,domElement:null},close:{t:0,l:0,w:0,h:0,domElement:null}};for(var i in this.wrapperParts){var tempElement=document.createElement("div");tempElement.id=this.infoWindowId_+"_"+i;tempElement.style.visibility="hidden";document.body.appendChild(tempElement);tempElement=document.getElementById(this.infoWindowId_+"_"+i);var tempWrapperPart=eval("this.wrapperParts."+i);tempWrapperPart.w=parseInt(this.getStyle_(tempElement,"width"));tempWrapperPart.h=parseInt(this.getStyle_(tempElement,"height"));document.body.removeChild(tempElement)}for(var i in this.wrapperParts){if(i=="close"){this.wrapperDiv_.appendChild(this.contentDiv_)}var wrapperPartsDiv=null;if(this.wrapperParts[i].domElement==null){wrapperPartsDiv=document.createElement("div");this.wrapperDiv_.appendChild(wrapperPartsDiv)}else{wrapperPartsDiv=this.wrapperParts[i].domElement}wrapperPartsDiv.id=this.infoWindowId_+"_"+i;wrapperPartsDiv.style.position="absolute";wrapperPartsDiv.style.width=this.wrapperParts[i].w+"px";wrapperPartsDiv.style.height=this.wrapperParts[i].h+"px";wrapperPartsDiv.style.top=this.wrapperParts[i].t+"px";wrapperPartsDiv.style.left=this.wrapperParts[i].l+"px";this.wrapperParts[i].domElement=wrapperPartsDiv}this.map_.getPane(G_MAP_FLOAT_PANE).appendChild(this.container_);this.container_.id=this.infoWindowId_;var containerWidth=this.getStyle_(document.getElementById(this.infoWindowId_),"width");this.container_.style.width=(containerWidth==null?this.defaultStyles.containerWidth:containerWidth);this.map_.getContainer().appendChild(this.contentDiv_);this.contentWidth=this.getDimensions_(this.container_).width;this.contentDiv_.style.width=this.contentWidth+"px";this.contentDiv_.style.position="absolute";this.container_.appendChild(this.wrapperDiv_);GEvent.bindDom(this.container_,"mousedown",this,this.onClick_);GEvent.bindDom(this.container_,"dblclick",this,this.onClick_);GEvent.bindDom(this.container_,"DOMMouseScroll",this,this.onClick_);GEvent.trigger(this.map_,"extinfowindowopen");if(this.ajaxUrl_!=null){this.ajaxRequest_(this.ajaxUrl_)}};ExtInfoWindow.prototype.onClick_=function(a){if(navigator.userAgent.toLowerCase().indexOf("msie")!=-1&&document.all){window.event.cancelBubble=true;window.event.returnValue=false}else{a.stopPropagation()}};ExtInfoWindow.prototype.remove=function(){if(this.map_.getExtInfoWindow()!=null){GEvent.trigger(this.map_,"extinfowindowbeforeclose");if(this.contentParentNode){var a=this.contentParentNode.appendChild(this.contentDiv_);a.id=this.contentNodeId;a.style.width="";a.style.height="";a.style.left="";a.style.top="";this.contentParentNode=null}GEvent.clearInstanceListeners(this.container_);if(this.container_.outerHTML){this.container_.outerHTML=""}if(this.container_.parentNode){this.container_.parentNode.removeChild(this.container_)}this.container_=null;GEvent.trigger(this.map_,"extinfowindowclose");this.map_.setExtInfoWindow_(null)}};ExtInfoWindow.prototype.copy=function(){return new ExtInfoWindow(this.marker_,this.infoWindowId_,this.html_,this.options_)};ExtInfoWindow.prototype.redraw=function(f){if(!f||this.container_==null){return}var e=this.contentDiv_.offsetHeight;this.contentDiv_.style.height=e+"px";this.contentDiv_.style.left=this.wrapperParts.l.w+"px";this.contentDiv_.style.top=this.wrapperParts.tl.h+"px";this.contentDiv_.style.visibility="visible";this.wrapperParts.tl.t=0;this.wrapperParts.tl.l=0;this.wrapperParts.t.l=this.wrapperParts.tl.w;this.wrapperParts.t.w=(this.wrapperParts.l.w+this.contentWidth+this.wrapperParts.r.w)-this.wrapperParts.tl.w-this.wrapperParts.tr.w;this.wrapperParts.t.h=this.wrapperParts.tl.h;this.wrapperParts.tr.l=this.wrapperParts.t.w+this.wrapperParts.tl.w;this.wrapperParts.l.t=this.wrapperParts.tl.h;this.wrapperParts.l.h=e;this.wrapperParts.r.l=this.contentWidth+this.wrapperParts.l.w;this.wrapperParts.r.t=this.wrapperParts.tr.h;this.wrapperParts.r.h=e;this.wrapperParts.bl.t=e+this.wrapperParts.tl.h;this.wrapperParts.b.l=this.wrapperParts.bl.w;this.wrapperParts.b.t=e+this.wrapperParts.tl.h;this.wrapperParts.b.w=(this.wrapperParts.l.w+this.contentWidth+this.wrapperParts.r.w)-this.wrapperParts.bl.w-this.wrapperParts.br.w;this.wrapperParts.b.h=this.wrapperParts.bl.h;this.wrapperParts.br.l=this.wrapperParts.b.w+this.wrapperParts.bl.w;this.wrapperParts.br.t=e+this.wrapperParts.tr.h;this.wrapperParts.close.l=this.wrapperParts.tr.l+this.wrapperParts.tr.w-this.wrapperParts.close.w-this.borderSize_;this.wrapperParts.close.t=this.borderSize_;this.wrapperParts.beak.l=2+(this.contentWidth/2)-(this.wrapperParts.beak.w/2);this.wrapperParts.beak.t=this.wrapperParts.bl.t+this.wrapperParts.bl.h-this.borderSize_;for(var d in this.wrapperParts){if(d=="close"){this.wrapperDiv_.insertBefore(this.contentDiv_,this.wrapperParts[d].domElement)}var c=null;if(this.wrapperParts[d].domElement==null){c=document.createElement("div");this.wrapperDiv_.appendChild(c)}else{c=this.wrapperParts[d].domElement}c.id=this.infoWindowId_+"_"+d;c.style.position="absolute";c.style.width=this.wrapperParts[d].w+"px";c.style.height=this.wrapperParts[d].h+"px";c.style.top=this.wrapperParts[d].t+"px";c.style.left=this.wrapperParts[d].l+"px";this.wrapperParts[d].domElement=c}var h=this.marker_;var g=this.map_;GEvent.addDomListener(this.wrapperParts.close.domElement,"click",function(){g.closeExtInfoWindow()});var b=this.map_.fromLatLngToDivPixel(this.marker_.getPoint());this.container_.style.position="absolute";var a=this.marker_.getIcon();this.container_.style.left=(b.x-(this.contentWidth/2)-a.iconAnchor.x+a.infoWindowAnchor.x)+"px";this.container_.style.top=(b.y-this.wrapperParts.bl.h-e-this.wrapperParts.tl.h-this.wrapperParts.beak.h-a.iconAnchor.y+a.infoWindowAnchor.y+this.borderSize_)+"px";this.container_.style.display="block";if(this.map_.getExtInfoWindow()!=null){this.repositionMap_()}};ExtInfoWindow.prototype.resize=function(){var a=this.contentDiv_.cloneNode(true);a.id=this.infoWindowId_+"_tempContents";a.style.visibility="hidden";a.style.height="auto";document.body.appendChild(a);a=document.getElementById(this.infoWindowId_+"_tempContents");var e=a.offsetHeight;document.body.removeChild(a);this.contentDiv_.style.height=e+"px";var b=this.contentDiv_.offsetWidth;var d=this.map_.fromLatLngToDivPixel(this.marker_.getPoint());var c=this.wrapperParts.t.domElement.offsetHeight+this.wrapperParts.l.domElement.offsetHeight+this.wrapperParts.b.domElement.offsetHeight;var g=this.wrapperParts.t.domElement.offsetTop;this.wrapperParts.l.domElement.style.height=e+"px";this.wrapperParts.r.domElement.style.height=e+"px";var f=this.wrapperParts.b.domElement.offsetTop-e;this.wrapperParts.l.domElement.style.top=f+"px";this.wrapperParts.r.domElement.style.top=f+"px";this.contentDiv_.style.top=f+"px";windowTHeight=parseInt(this.wrapperParts.t.domElement.style.height);f-=windowTHeight;this.wrapperParts.close.domElement.style.top=f+this.borderSize_+"px";this.wrapperParts.tl.domElement.style.top=f+"px";this.wrapperParts.t.domElement.style.top=f+"px";this.wrapperParts.tr.domElement.style.top=f+"px";this.repositionMap_()};ExtInfoWindow.prototype.repositionMap_=function(){var j=this.map_.fromLatLngToDivPixel(this.map_.getBounds().getNorthEast());var a=this.map_.fromLatLngToDivPixel(this.map_.getBounds().getSouthWest());var h=this.map_.fromLatLngToDivPixel(this.marker_.getPoint());var p=0;var n=0;var l=this.paddingX_;var k=this.paddingY_;var d=this.marker_.getIcon().infoWindowAnchor;var c=this.marker_.getIcon().iconAnchor;var f=this.wrapperParts.t.domElement;var i=this.wrapperParts.l.domElement;var q=this.wrapperParts.b.domElement;var g=this.wrapperParts.r.domElement;var b=this.wrapperParts.beak.domElement;var m=h.y-(-d.y+c.y+this.getDimensions_(b).height+this.getDimensions_(q).height+this.getDimensions_(i).height+this.getDimensions_(f).height+this.paddingY_);if(m<j.y){n=j.y-m}else{var r=h.y+this.paddingY_;if(r>=a.y){n=-(r-a.y)}}var o=Math.round(h.x+this.getDimensions_(this.container_).width/2+this.getDimensions_(g).width+this.paddingX_+d.x-c.x);if(o>j.x){p=-(o-j.x)}else{var e=-(Math.round((this.getDimensions_(this.container_).width/2-this.marker_.getIcon().iconSize.width/2)+this.getDimensions_(i).width+this.borderSize_+this.paddingX_)-h.x-d.x+c.x);if(e<a.x){p=a.x-e}}if(p!=0||n!=0&&this.map_.getExtInfoWindow()!=null){this.map_.panBy(new GSize(p,n))}};ExtInfoWindow.prototype.ajaxRequest_=function(a){var c=this.map_;var b=this.callback_;GDownloadUrl(a,function(e,d){var f=document.getElementById(c.getExtInfoWindow().infoWindowId_+"_contents");if(e==null||d==-1){f.innerHTML='<span class="error">ERROR: The Ajax request failed to get HTML content from "'+a+'"</span>'}else{f.innerHTML=e}if(b!=null){b()}c.getExtInfoWindow().resize();GEvent.trigger(c,"extinfowindowupdate")})};ExtInfoWindow.prototype.getDimensions_=function(c){var g=this.getStyle_(c,"display");if(g!="none"&&g!=null){return{width:c.offsetWidth,height:c.offsetHeight}}var b=c.style;var f=b.visibility;var d=b.position;var a=b.display;b.visibility="hidden";b.position="absolute";b.display="block";var h=c.clientWidth;var e=c.clientHeight;b.display=a;b.position=d;b.visibility=f;return{width:h,height:e}};ExtInfoWindow.prototype.getStyle_=function(b,c){var e=false;c=this.camelize_(c);var d=b.style[c];if(!d){if(document.defaultView&&document.defaultView.getComputedStyle){var a=document.defaultView.getComputedStyle(b,null);d=a?a[c]:null}else{if(b.currentStyle){d=b.currentStyle[c]}}}if((d=="auto")&&(c=="width"||c=="height")&&(this.getStyle_(b,"display")!="none")){if(c=="width"){d=b.offsetWidth}else{d=b.offsetHeight}}return(d=="auto")?null:d};ExtInfoWindow.prototype.camelize_=function(c){var e=c.split("-"),a=e.length;if(a==1){return e[0]}var d=c.charAt(0)=="-"?e[0].charAt(0).toUpperCase()+e[0].substring(1):e[0];for(var b=1;b<a;b++){d+=e[b].charAt(0).toUpperCase()+e[b].substring(1)}return d};GMap.prototype.ExtInfoWindowInstance_=null;GMap.prototype.ClickListener_=null;GMap.prototype.InfoWindowListener_=null;GMarker.prototype.openExtInfoWindow=function(b,d,a,c){if(!a){return false}if(b==null){throw"Error in GMarker.openExtInfoWindow: map cannot be null";return false}if(d==null||d==""){throw"Error in GMarker.openExtInfoWindow: must specify a cssId";return false}b.closeInfoWindow();if(b.getExtInfoWindow()!=null){b.closeExtInfoWindow()}if(b.getExtInfoWindow()==null){b.setExtInfoWindow_(new ExtInfoWindow(this,d,a,c));if(b.ClickListener_==null){b.ClickListener_=GEvent.addListener(b,"click",function(e){if(!e&&b.getExtInfoWindow()!=null){b.closeExtInfoWindow()}})}if(b.InfoWindowListener_==null){b.InfoWindowListener_=GEvent.addListener(b,"infowindowopen",function(e){if(b.getExtInfoWindow()!=null){b.closeExtInfoWindow()}})}b.addOverlay(b.getExtInfoWindow())}};GMarker.prototype.closeExtInfoWindow=function(a){if(a.getExtInfWindow()!=null){a.closeExtInfoWindow()}};GMap2.prototype.getExtInfoWindow=function(){return this.ExtInfoWindowInstance_};GMap2.prototype.setExtInfoWindow_=function(a){this.ExtInfoWindowInstance_=a};GMap2.prototype.closeExtInfoWindow=function(){if(this.getExtInfoWindow()!=null){this.ExtInfoWindowInstance_.remove()}};myDeco.postcode={init:function(){myDeco.postcode.restore();myDeco.postcode.addFormHandler()},restore:function(){if(!myDeco.readCookie("geolocation")){return}$$("input#postcode").each(function(a){if(a.getValue()){return}a.setValue(myDeco.readCookie("geolocation"))})},addFormHandler:function(){$$("input#postcode").each(function(b){var a=b.up("form");if(a){a.observe("submit",function(d){var c=d.element().select("input#postcode");if(c.length){myDeco.createCookie("geolocation",c[0].getValue(),60)}})}})}};addLoadEvent(myDeco.postcode.init);