	var map = null;
	var baseIcon = null;

    $(document).ready(function() 
	{
		if (GBrowserIsCompatible() && document.getElementById("maps_canvas_summary")) {
		    map = new GMap2(document.getElementById("maps_canvas_summary"));
		    var bounds = new GLatLngBounds(new GLatLng(min_coord_1, min_coord_2), new GLatLng(max_coord_1, max_coord_2));
			map.setCenter(bounds.getCenter(), map.getBoundsZoomLevel(bounds));

		    map.addControl(new GSmallMapControl());
    		map.addControl(new GMapTypeControl());
    		
    		// Create a base icon for all of our markers that specifies the
			// shadow, icon dimensions, etc.
			baseIcon = new GIcon(G_DEFAULT_ICON);
			baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";
			baseIcon.iconSize = new GSize(20, 34);
			baseIcon.shadowSize = new GSize(37, 34);
			baseIcon.iconAnchor = new GPoint(9, 34);
			baseIcon.infoWindowAnchor = new GPoint(9, 2);

    		for (var i=0; i<listings_markers_options.length; i++) {
    			point = new GLatLng(listings_markers_options[i][0], listings_markers_options[i][1]);
    			placeMarkerSummary(
    				point, 
    				i, 
    				listings_markers_options[i][2], 
    				listings_markers_options[i][3], 
    				listings_markers_options[i][4], 
    				listings_markers_options[i][5], 
    				listings_markers_options[i][6]
    			);
    		}
		}
	});

	function placeMarkerSummary(point, index, address, listing_title, listing_logo, listing_url, listing_anchor)
	{
		var letter = String.fromCharCode("A".charCodeAt(0) + index);
		var letteredIcon = new GIcon(baseIcon);
		letteredIcon.image = "http://www.google.com/mapfiles/marker" + letter + ".png";
		
		// Set up our GMarkerOptions object
		markerOptions = { icon:letteredIcon };
		var marker = new GMarker(point, markerOptions);
		GEvent.addListener(marker, "click", function() {
			var windowHtml = '';
			if (listing_logo != '')
				windowHtml = '<img width="70px" align="left" style="float:left; padding-right:10px;" src="' + global_server_path + '/users_images/logos/' + listing_logo + '">';
			windowHtml += '<b>' + listing_title + '</b><br />' + address + '<div class="clear_float"></div>';
			windowHtml += '<br /><b><a href="#listing_id-' + listing_anchor + '">' + view_summary + '</a>&nbsp;&nbsp;&nbsp;<a href="' + listing_url + '">' + view_listing + '</a></b>';
			
			marker.openInfoWindowHtml(windowHtml, {maxWidth:300});
		});

		map.addOverlay(marker);
	}
