    //<![CDATA[
    var map = null;
    var geocoder = null;
	
	function load() 
    {
      if (GBrowserIsCompatible()) 
      {
        map = new GMap2(document.getElementById("map"));
        map.addControl(new GSmallMapControl());
        map.addControl(new GMapTypeControl());
        geocoder = new GClientGeocoder();
      }
    }

    function showAddress(address,html,zoom) 
    {
		if(zoom == 'undefined' || zoom == '' || zoom == 0 || zoom == null)
		{
			zoom = 13;
		}
      if (geocoder) 
      {
        geocoder.getLatLng (address,
          function (point) 
          {
      	    if (point == null){
              /*document.location.href= 
                '/maps/geoZoom.php?agencyId=OM3&error=1';*/
				/*document.location.href='plan_zoom.php';*/
			}
	          else
	          {
              map.setCenter(point, zoom);
              var marker = new GMarker(point);
              map.addOverlay(marker);
			  
			  GEvent.addListener(marker, "click", function() {
            marker.openInfoWindowHtml(html);
          });
              //marker.openInfoWindowHtml(html);
	     }
          }
        );
      }
    }
    //]]>
