// Load markers for restaurants
if (GBrowserIsCompatible()) {

	window.onload = function loadMap() {
		var map = new GMap2(document.getElementById("map"));
		var aLocations = [];
		var longitude = -122.439193;
		var latitude = 47.250712;

		// center map on default location
		map.addControl(new GSmallMapControl());
		map.setCenter(new GLatLng(latitude, longitude), 15);
		
		// default location
		var point = new GLatLng(latitude, longitude);	
		var title_main = 'Hotel Murano';
		/* NOTE!!! The main Google maps site currently can't find 'Broadway Plaza' but it can find 'Broadway',
		   so I'm leaving the string name alone here and chopping off the 'Plaza' part when we build the search link below. */
		var address_main = '1320 Broadway Plaza'; 
		var city_main = 'Tacoma';
		var state_main = 'Washington';
		var zip_main = '98402';			
		var html = 	"<div class=\"bubble\"><h2>" + title_main + "</h2><p>" + address_main + 
						"<br \/>" + city_main + ", " + state_main + " " + zip_main + "<\/p><a href=\"http://maps.google.com/maps?f=q&amp;hl=en&amp;q=" + address_main.substring(0,13) + "+" + zip_main + "\" target=\"_blank\">Get Directions<\/a><\/div>";
	    marker = createMarker(point, html, 'custom');
	    aLocations.push( marker );
	    map.addOverlay(aLocations[aLocations.length-1]);
	    // open the hotel preston bubble on load
	    marker.openInfoWindowHtml(html);
	}
}