// GOOGLE MULTI-MAP GENERATOR
  var map;
  var geocoder;
  var bubbleContent = '<span  class="googleAddress">Address:</span><br /><span  class="bubbleText">' + streetAddress + '<br />' + city + ', ' +state + ' ' + zip + '<br />' + 'Ph: ' + phone + '<br /> Fx: ' +  fax +  '</span>';
  var address = streetAddress + ' ' + zip;
  
    function initialize() {
      if (GBrowserIsCompatible()) {
        // Creates a new Map object
        map = new GMap2(document.getElementById("map_canvas"));
        
        //Specifies which controls to display on the map
        map.addControl(new GSmallMapControl());
        map.addControl(new GMapTypeControl());
        
        //Submits Address to Google Geocoder (Latitute/Longitude Conversion)
        geocoder = new GClientGeocoder();
        geocoder.getLocations(address, makeDefaultLocation);
      }
    }

   function makeDefaultLocation(response){
      place = response.Placemark[0];
      point = new GLatLng(place.Point.coordinates[1],
                          place.Point.coordinates[0]);
      map.setCenter(point, 13);
      marker = new GMarker(point);
      map.addOverlay(marker);
      bubbleContent = streetAddress + '<br />' + city + ', ' + state + ' ' + zip + '<br /><br />' + 'Ph: ' + phone + '<br />' + 'Fx: ' + fax;
      marker.openInfoWindowHtml(bubbleContent);
      GEvent.addListener(marker, "click", function() {
                map.openInfoWindowHtml(point, bubbleContent); });
   }

    function showAddress(address) {
      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);
              marker.openInfoWindowHtml(address);
              GEvent.addListener(marker, "click", function() {
                map.openInfoWindowHtml(point, address); });
            }
          }
        );
      }
    }

