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};
