    var map = null;
    var geocoder = null;

    function load() {
      if (GBrowserIsCompatible()) {
        map = new GMap2(document.getElementById("map"));
        // map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        geocoder = new GClientGeocoder();
      }
    }

    function showAddress(street,city,state,zip) {
	  var address = street+', '+city+', '+state+' '+zip;
      if (geocoder) {
        geocoder.getLatLng(
          address,
          function(point) {
            if (!point) {
              alert(address + " not found");
            } else {
              map.setCenter(point, 13);
              var marker = new GMarker(point);
              map.addOverlay(marker);
			
			  var info_window = '<div style="color:#404040;padding-righ:8px;font-size:13px">'+street+'<br>'+city+', '+state+' '+zip+'<br><a href="http://maps.google.com/maps?f=d&amp;hl=en&amp;q='+address+'" style="color:#0000FF" target="_blank">Get Directions<\/a><\/div>';

              marker.openInfoWindowHtml(info_window);
            }
          }
        );
      }
    }


