function addInfoWindowToMarker(a,c,b){GEvent.addListener(a,"click",function(){a.openInfoWindowHtml(c,b)});return a}function addInfoWindowTabsToMarker(a,c,b){GEvent.addListener(a,"click",function(){a.openInfoWindowTabsHtml(c,b)});return a}function addPropertiesToLayer(d,e,c,a,b){d.getTileUrl=e;d.getCopyright=c;d.getOpacity=a;d.isPng=b;return d}function addOptionsToIcon(c,b){for(var a in b){c[a]=b[a]}return c}function addCodeToFunction(b,a){if(b==undefined){return a}else{return function(){b();a()}}}function addGeocodingToMarker(b,a){b.orig_initialize=b.initialize;orig_redraw=b.redraw;b.redraw=function(c){};b.initialize=function(c){new GClientGeocoder().getLatLng(a,function(d){if(d){b.redraw=orig_redraw;b.orig_initialize(c);b.setPoint(d)}})};return b}GMap2.prototype.centerAndZoomOnMarkers=function(d){var c=new GLatLngBounds(d[0].getPoint(),d[0].getPoint());for(var b=1,a=d.length;b<a;b++){c.extend(d[b].getPoint())}this.centerAndZoomOnBounds(c)};GMap2.prototype.centerAndZoomOnPoints=function(c){var d=new GLatLngBounds(c[0],c[0]);for(var b=1,a=c.length;b<a;b++){d.extend(c[b])}this.centerAndZoomOnBounds(d)};GMap2.prototype.centerAndZoomOnBounds=function(b){var a=b.getCenter();this.setCenter(a,this.getBoundsZoomLevel(b))};function setWindowDims(a){if(window.innerWidth){a.style.height=(window.innerHeight)+"px;";a.style.width=(window.innerWidth)+"px;"}else{if(document.body.clientWidth){a.style.width=(document.body.clientWidth)+"px";a.style.height=(document.body.clientHeight)+"px"}}}ManagedMarker=function(b,c,a){this.markers=b;this.minZoom=c;this.maxZoom=a};function addMarkersToManager(b,d){for(var a=0,c=d.length;a<c;a++){mm=d[a];b.addMarkers(mm.markers,mm.minZoom,mm.maxZoom)}b.refresh();return b}var INVISIBLE=new GLatLng(0,0);if(self.Event&&Event.observe){Event.observe(window,"unload",GUnload)}else{window.onunload=GUnload};
