    function createMarker(point, html, icon) {
      var marker = new GMarker(point, icon);
    
      // Show this marker's index in the info window when it is clicked.
      GEvent.addListener(marker, 'click', function() {
    	marker.openInfoWindowHtml(html);
      });
    
      return marker;
    }
    
    function loadMap(latitude, longitude) {
    	
	    if (GBrowserIsCompatible()) {
	        var icon = new GIcon();
	        icon.image = "/hhbullet.png";
	        icon.iconSize = new GSize(16, 16);
	        icon.iconAnchor = new GPoint(6, 20);
	        icon.infoWindowAnchor = new GPoint(5, 1);
	        
	        var map = new GMap2(document.getElementById("map"));
	        var point = new GLatLng(latitude, longitude);
	        var html = '<div class="storeBubble"><img src="/hhbullet.png" /><br /></div>';
	        map.addControl(new GLargeMapControl());
	        map.addControl(new GMapTypeControl());
	        map.setCenter(point, 13);
	        map.addOverlay(createMarker(point, html, icon));
	    }
    }