    var map;
    var geocoder;


    function load(address) {
      if (GBrowserIsCompatible()) {
         map = new GMap2(document.getElementById("map"));
	 map.addControl(new GSmallMapControl());
	 map.addControl(new GMapTypeControl());
         geocoder = new GClientGeocoder();
        showAddress(address);
      }
    }

    function showAddress(address) {
      geocoder.getLatLng(
        address,
        function(point) {
          if (!point) {
            alert(address + " not found");
          } else {
            map.setCenter(point, 4);
            var marker = new GMarker(point);
            map.addOverlay(marker);
            //marker.openInfoWindowHtml(address);
          }
        }
      );
    }

