  function loadMap(elementid, streetaddress, cityaddress, locationname) {
    if (GBrowserIsCompatible()) {
      var map = new GMap2(document.getElementById(elementid));
      map.addControl(new GSmallMapControl());
      map.addControl(new GMapTypeControl());      
      geocoder = new GClientGeocoder();
      geocoder.getLatLng(
        streetaddress,
        function(point) {
          if (point) {
            map.setCenter(point, 13);
            var marker = new GMarker(point);
            map.addOverlay(marker);
            //marker.openInfoWindowHtml("<h3>" + locationname + "</h3><br>" + streetaddress);
          } else {
              geocoder.getLatLng(
                cityaddress,
                function(point) {
                  if (point) {
                    map.setCenter(point, 9);
                    var marker = new GMarker(point);
                    map.addOverlay(marker);
                    //marker.openInfoWindowHtml("<h3>" + locationname + "</h3><br>" + cityaddress);
                  }/* else {
                    document.getElementById(elementid).style.display = "none";
                  }*/
                }
              );
          }
        }
      );
    }
  }
