function load() {
	if (GBrowserIsCompatible()) {
		var map = new GMap2(document.getElementById("map"));	
		function addGMapOverlays(map) {
			var map = new GMap2(document.getElementById("map"));
			var gpoints = new Array(); 
			var gpoly = new Array(); 
			var gtext = new Array();
			var poly;
			
			map.setCenter(new GLatLng(36.033796, -114.982964), 15);
			
			map.addControl(new GLargeMapControl());
			map.addControl(new GMapTypeControl());
		
			
			gpoints [0] = new GPoint (36.033180, -114.985584);
            gpoly [0]= null;
            gtext [0]="<span style=\"font-weight: bold;\"><span class=\"Title\">Coo Coo's Gourmet Coffee Cafe</span></span><br />19 W. Pacific Avenue Henderson, NV 89015 <br /> 702-568-5069";
		
			
			gpoints [1] = new GPoint (-114.979948, 36.029704);
            gpoly [1]= null;
            gtext [1]="<span style=\"font-weight: bold;\"><span class=\"Title\">CityCenter Café</span></span><br />303 S. Water Street Henderson, NV 89105 <br /> 568-2008";
		
			
			gpoints [2] = new GPoint (-114.982964, 36.032656);
            gpoly [2]= null;
            gtext [2]="<span style=\"font-weight: bold;\"><span class=\"Title\">Dos Potrillos</span></span><br />139 S. Water Street Henderson, NV 89015 <br /> 702-558-9994";
		
			
			gpoints [3] = new GPoint (-114.985584, 36.033180);
            gpoly [3]= null;
            gtext [3]="<span style=\"font-weight: bold;\"><span class=\"Title\">El Mexicano</span></span><br />18 W. Pacific Ave. Henderson, NV 89015 <br /> 702-568-7791";
		
			
			gpoints [4] = new GPoint (-114.987978, 36.036843);
            gpoly [4]= null;
            gtext [4]="<span style=\"font-weight: bold;\"><span class=\"Title\">Huli's Hawiian Style Restaurant</span></span><br />113 W. Lake Mead Dr Henderson, NV 89015 <br /> 702-567-5353";
		
			
			gpoints [5] = new GPoint (-114.977618, 36.031273);
            gpoly [5]= null;
            gtext [5]="<span style=\"font-weight: bold;\"><span class=\"Title\">Our Place Restaurant</span></span><br />35 E. Basic Henderson, NV 89015 <br /> 702-856-0017";
		
			
			gpoints [6] = new GPoint (-114.985430, 36.033327);
            gpoly [6]= null;
            gtext [6]="<span style=\"font-weight: bold;\"><span class=\"Title\">Sam Pan Chinese Restaurant</span></span><br />14 W. Pacific Ave. Henderson, NV 89015 <br /> 702-565-8985";
		
			
			gpoints [7] = new GPoint (-114.979948, 36.029704);
            gpoly [7]= null;
            gtext [7]="<span style=\"font-weight: bold;\"><span class=\"Title\">Mojo Bean Coffee House</span></span><br />303 S. Water Street Henderson, NV 89015 <br /> 702-568-1203";
		
			
			gpoints [8] = new GPoint (-114.986934, 36.036537);
            gpoly [8]= null;
            gtext [8]="<span style=\"font-weight: bold;\"><span class=\"Title\">La Puma Bakery</span></span><br />7 Water Street Suite B Henderson, NV 89105 <br /> 702-452-7862";
		
			
			gpoints [9] = new GPoint (-114.979870, 36.029628);
            gpoly [9]= null;
            gtext [9]="<span style=\"font-weight: bold;\"><span class=\"Title\">Emery’s La Barrista</span></span><br />306 S. Water Street Henderson, NV 89015 <br /> 702-558-5488";
		
			
			gpoints [10] = new GPoint (-114.978262, 36.030856);
            gpoly [10]= null;
            gtext [10]="<span style=\"font-weight: bold;\"><span class=\"Title\">Santa Rosa Taco Shop</span></span><br />23 E. Basic Road Henderson, NV 89015 <br /> 702-558-7540";
		
			
			gpoints [11] = new GPoint (-114.981972, 36.031684);
            gpoly [11]= null;
            gtext [11]="<span style=\"font-weight: bold;\"><span class=\"Title\">The Lotus Chinese Restaurant</span></span><br />215 S. Water Street Henderson, NV 89015 <br /> 702-566-6238";
		
			
			gpoints [12] = new GPoint (-114.986343, 36.035962);
            gpoly [12]= null;
            gtext [12]="<span style=\"font-weight: bold;\"><span class=\"Title\">Detroit Motor City Coney Island Hot Dogs</span></span><br />19 W. Water Street Henderson, NV 89015 <br /> 702-353-7911";
		
			
			gpoints [13] = new GPoint (-114.982781, 36.032477);
            gpoly [13]= null;
            gtext [13]="<span style=\"font-weight: bold;\"><span class=\"Title\">Lenny’s Subs</span></span><br />155 Water Street Henderson, NV 89015 <br /> 702-457-8200";
		var encodedPolyline = new GPolyline.fromEncoded({
    color: "#6A0D28",
    weight: 10,
    points: "_b{zEdvw|TaOsBmV{a@_u@pz@pMhc@dL`oAxCnA~FcBpF}NnOil@r[ejA",
    levels: "BBBBBBBBBBB",
    zoomFactor: 32,
    numLevels: 4
});
	
		
			// Generate Overlays
			for (i=0; i<gpoints.length; i++){	
				var marker = createMarker(gpoints[i],gtext[i],i);
				map.addOverlay (marker);
				// Add Routes
				if (gpoly[i] != null){
					poly = gpoly[i];
					map.addOverlay(new GPolyline(poly));
				}
			}
		}
		
		// Create a base icon for all of our markers that specifies the
		// shadow, icon dimensions, etc.
		var baseIcon = new GIcon();
		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);
		baseIcon.infoShadowAnchor = new GPoint(18, 25);

		function createMarker(point, html, index){
			var letter = String.fromCharCode("A".charCodeAt(0) + index);
			var icon = new GIcon(baseIcon);
			icon.image = "http://www.google.com/mapfiles/marker" + letter + ".png";
			var marker = new GMarker(point, icon);
			
			GEvent.addListener(marker, "click", function() {
				marker.openInfoWindowHtml(html);
			});
			return marker;
		}
	}
	addGMapOverlays();


}

