function addInfoWindowToMarker(_1,_2,_3){GEvent.addListener(_1,"click",function(){_1.openInfoWindowHtml(_2,_3);});return _1;}function addInfoWindowTabsToMarker(_4,_5,_6){GEvent.addListener(_4,"click",function(){_4.openInfoWindowTabsHtml(_5,_6);});return _4;}function addPropertiesToLayer(_7,_8,_9,_a,_b){_7.getTileUrl=_8;_7.getCopyright=_9;_7.getOpacity=_a;_7.isPng=_b;return _7;}function addOptionsToIcon(_c,_d){for(var k in _d){_c[k]=_d[k];}return _c;}function addCodeToFunction(_f,_10){if(_f==undefined){return _10;}else{return function(){_f();_10();};}}function addGeocodingToMarker(_11,_12){_11.orig_initialize=_11.initialize;orig_redraw=_11.redraw;_11.redraw=function(_13){};_11.initialize=function(map){new GClientGeocoder().getLatLng(_12,function(_15){if(_15){_11.redraw=orig_redraw;_11.orig_initialize(map);_11.setPoint(_15);}});};return _11;}GMap2.prototype.centerAndZoomOnMarkers=function(_16){var _17=new GLatLngBounds(_16[0].getPoint(),_16[0].getPoint());for(var i=1,len=_16.length;i<len;i++){_17.extend(_16[i].getPoint());}this.centerAndZoomOnBounds(_17);};GMap2.prototype.centerAndZoomOnPoints=function(_19){var _1a=new GLatLngBounds(_19[0],_19[0]);for(var i=1,len=_19.length;i<len;i++){_1a.extend(_19[i]);}this.centerAndZoomOnBounds(_1a);};GMap2.prototype.centerAndZoomOnBounds=function(_1c){var _1d=_1c.getCenter();this.setCenter(_1d,this.getBoundsZoomLevel(_1c));};function setWindowDims(_1e){if(window.innerWidth){_1e.style.height=(window.innerHeight)+"px;";_1e.style.width=(window.innerWidth)+"px;";}else{if(document.body.clientWidth){_1e.style.width=(document.body.clientWidth)+"px";_1e.style.height=(document.body.clientHeight)+"px";}}}ManagedMarker=function(_1f,_20,_21){this.markers=_1f;this.minZoom=_20;this.maxZoom=_21;};function addMarkersToManager(_22,_23){for(var i=0,length=_23.length;i<length;i++){mm=_23[i];_22.addMarkers(mm.markers,mm.minZoom,mm.maxZoom);}_22.refresh();return _22;}var INVISIBLE=new GLatLng(0,0);if(self.Event&&Event.observe){Event.observe(window,"unload",GUnload);}else{window.onunload=GUnload;}function GMarkerGroup(_1,_2,_3){this.active=_1;this.markers=_2||new Array();this.markersById=_3||new Object();}GMarkerGroup.prototype=new GOverlay();GMarkerGroup.prototype.initialize=function(_4){this.map=_4;if(this.active){for(var i=0,len=this.markers.length;i<len;i++){this.map.addOverlay(this.markers[i]);}for(var id in this.markersById){this.map.addOverlay(this.markersById[id]);}}};GMarkerGroup.prototype.remove=function(){this.deactivate();};GMarkerGroup.prototype.redraw=function(_7){};GMarkerGroup.prototype.copy=function(){var _8=new GMarkerGroup(this.active);_8.markers=this.markers;_8.markersById=this.markersById;return _8;};GMarkerGroup.prototype.clear=function(){this.deactivate();this.markers=new Array();this.markersById=new Object();};GMarkerGroup.prototype.addMarker=function(_9,id){if(id==undefined){this.markers.push(_9);}else{this.markersById[id]=_9;}if(this.active&&this.map!=undefined){this.map.addOverlay(_9);}};GMarkerGroup.prototype.showMarker=function(id){var _c=this.markersById[id];if(_c!=undefined){GEvent.trigger(_c,"click");}};GMarkerGroup.prototype.activate=function(_d){_d=(_d==undefined)?true:_d;if(!_d){if(this.active){if(this.map!=undefined){for(var i=0,len=this.markers.length;i<len;i++){this.map.removeOverlay(this.markers[i]);}for(var id in this.markersById){this.map.removeOverlay(this.markersById[id]);}}this.active=false;}}else{if(!this.active){if(this.map!=undefined){for(var i=0,len=this.markers.length;i<len;i++){this.map.addOverlay(this.markers[i]);}for(var id in this.markersById){this.map.addOverlay(this.markersById[id]);}}this.active=true;}}};GMarkerGroup.prototype.centerAndZoomOnMarkers=function(){if(this.map!=undefined){var _12=this.markers.slice();for(var id in this.markersById){_12.push(this.markersById[id]);}if(_12.length>0){this.map.centerAndZoomOnMarkers(_12);}}};GMarkerGroup.prototype.deactivate=function(){this.activate(false);};