//<![CDATA[

    function load() {
    if (GBrowserIsCompatible()) { 

      // A function to create the marker and set up the event window 
      function createMarker(point,html) {
        var marker = new GMarker(point);
        GEvent.addListener(marker, "click", function() {
          marker.openInfoWindowHtml(html);
        });
        return marker;
      }

      // Display the map, with some controls and set the initial location 
      var map = new GMap2(document.getElementById("contact_map"));
      map.addControl(new GSmallMapControl());
	  map.setCenter(new GLatLng(33.892332, -118.297202), 15);

	  // Add marker(s) from PHP database.
	
	var point = new GLatLng(33.892332, -118.297202);
      var marker = createMarker(point,'<div id="marker"><img src="image/pic_ext.png"><strong>DMM</strong><br>1251 W. Redondo Beach Blvd.<br>Gardena, CA 90247<br><b>Phone:</b> 310-532-6369<br><b>Fax:</b> 310-217-1329<br><b>Email:</b> info@dmmgt.com<br><a href="http://maps.google.com/maps?f=q&hl=en&geocode=&q=1251+W.+Redondo+Beach+Blvd.,+Gardena,+CA&sll=37.0625,-95.677068&sspn=48.15347,105.029297&ie=UTF8&z=16&iwloc=addr&iwstate1=dir">Get Directions</a></div>')
      map.addOverlay(marker);
      GEvent.trigger(marker, "click");
    
      // Add Marker(s)
    
      
    }
    
    // display a warning if the browser was not compatible
    else {
      alert("Sorry, the Google Maps API is not compatible with this browser");
    }

}
    //]]>
