// Load markers for sightseeing
if (GBrowserIsCompatible()) {
	var aLocations = [];
	
	window.onload = function loadMap() {
		var map = new GMap2(document.getElementById("map"));

        var latitude = 47.613931;
        var longitude = -122.337087;
		
		// center map on default location
		map.addControl(new GSmallMapControl());
		map.setCenter(new GLatLng(latitude, longitude), 13);
		
		// default location
		var point = new GLatLng(latitude, longitude);	
		var title_main = 'Hotel Max';
		var address_main = '620 Stewart St';
		var city_main = 'Seattle';
		var state_main = 'Washington';
		var zip_main = '98101';				
		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 + "+" + 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);
		
		
		// restaurant markers
		
		var point = new GLatLng(47.608825,-122.333858);
		var title = '5th Avenue Theatre ';
		var address = '1308 5th Avenue';
		var city = 'Seattle';
		var state = 'Washington';
		var zip = '98101';				
		var html = 	"<div class=\"bubble\"><h2>" + title + "</h2><p>" + address + 
						"<br \/>" + city + ", " + state + " " + zip + "<\/p><a href=\"http://maps.google.com/maps?f=q&amp;hl=en&amp;q="+ address_main + "+" + zip_main + "+to+" + address + "+" + zip + "\" target=\"_blank\">Get Directions<\/a><\/div>";
		aLocations.push(createMarker(point, html, 1));
		map.addOverlay(aLocations[aLocations.length-1]);	
		
		var point = new GLatLng(47.621156,-122.347634);
		var title = 'Experience Music Project';
		var address = '325 5th Avenue N';
		var city = 'Seattle';
		var state = 'Washington';
		var zip = '98101';				
		var html = 	"<div class=\"bubble\"><h2>" + title + "</h2><p>" + address + 
						"<br \/>" + city + ", " + state + " " + zip + "<\/p><a href=\"http://maps.google.com/maps?f=q&amp;hl=en&amp;q="+ address_main + "+" + zip_main + "+to+" + address + "+" + zip + "\" target=\"_blank\">Get Directions<\/a><\/div>";
		aLocations.push(createMarker(point, html, 2));
		map.addOverlay(aLocations[aLocations.length-1]);		
		
		var point = new GLatLng(47.656976,-122.312068);
		var title = 'Henry Art Gallery';
		var address = '15th Ave NE and NE 41st St';
		var city = 'Seattle';
		var state = 'Washington';
		var zip = '98195';				
		var html = 	"<div class=\"bubble\"><h2>" + title + "</h2><p>" + address + 
						"<br \/>" + city + ", " + state + " " + zip + "<\/p><a href=\"http://maps.google.com/maps?f=q&amp;hl=en&amp;q="+ address_main + "+" + zip_main + "+to+" + address + "+" + zip + "\" target=\"_blank\">Get Directions<\/a><\/div>";
		aLocations.push(createMarker(point, html, 3));
		map.addOverlay(aLocations[aLocations.length-1]);
		
		var point = new GLatLng(47.607234,-122.337871);
		var title = 'Seattle Art Museum';
		var address = '100 University Street';
		var city = 'Seattle';
		var state = 'Washington';
		var zip = '98101';				
		var html = 	"<div class=\"bubble\"><h2>" + title + "</h2><p>" + address + 
						"<br \/>" + city + ", " + state + " " + zip + "<\/p><a href=\"http://maps.google.com/maps?f=q&amp;hl=en&amp;q="+ address_main + "+" + zip_main + "+to+" + address + "+" + zip + "\" target=\"_blank\">Get Directions<\/a><\/div>";
		aLocations.push(createMarker(point, html, 4));
		map.addOverlay(aLocations[aLocations.length-1]);		
		
		var point = new GLatLng(47.606206,-122.332903);
		var title = 'Seattle Public Library';
		var address = '1000 Fourth Avenue';
		var city = 'Seattle';
		var state = 'Washington';
		var zip = '98104';				
		var html = 	"<div class=\"bubble\"><h2>" + title + "</h2><p>" + address + 
						"<br \/>" + city + ", " + state + " " + zip + "<\/p><a href=\"http://maps.google.com/maps?f=q&amp;hl=en&amp;q="+ address_main + "+" + zip_main + "+to+" + address + "+" + zip + "\" target=\"_blank\">Get Directions<\/a><\/div>";
		aLocations.push(createMarker(point, html, 5));
		map.addOverlay(aLocations[aLocations.length-1]);
		
		var point = new GLatLng(47.591332,-122.331895);
		var title = 'Safeco Field';
		var address = '1250 1st Ave S';
		var city = 'Seattle';
		var state = 'Washington';
		var zip = '98134';				
		var html = 	"<div class=\"bubble\"><h2>" + title + "</h2><p>" + address + 
						"<br \/>" + city + ", " + state + " " + zip + "<\/p><a href=\"http://maps.google.com/maps?f=q&amp;hl=en&amp;q="+ address_main + "+" + zip_main + "+to+" + address + "+" + zip + "\" target=\"_blank\">Get Directions<\/a><\/div>";
		aLocations.push(createMarker(point, html, 6));
		map.addOverlay(aLocations[aLocations.length-1]);		
		
		var point = new GLatLng(47.610416,-122.33301);
		var title = 'Key Arena';
		var address = '305 Harrison Street';
		var city = 'Seattle';
		var state = 'Washington';
		var zip = '98109';				
		var html = 	"<div class=\"bubble\"><h2>" + title + "</h2><p>" + address + 
						"<br \/>" + city + ", " + state + " " + zip + "<\/p><a href=\"http://maps.google.com/maps?f=q&amp;hl=en&amp;q="+ address_main + "+" + zip_main + "+to+" + address + "+" + zip + "\" target=\"_blank\">Get Directions<\/a><\/div>";
		aLocations.push(createMarker(point, html, 7));
		map.addOverlay(aLocations[aLocations.length-1]);		
		
		var point = new GLatLng(47.608138,-122.339405);
		var title = 'The Showbox';
		var address = '1426 1st Ave';
		var city = 'Seattle';
		var state = 'Washington';
		var zip = '98101';				
		var html = 	"<div class=\"bubble\"><h2>" + title + "</h2><p>" + address + 
						"<br \/>" + city + ", " + state + " " + zip + "<\/p><a href=\"http://maps.google.com/maps?f=q&amp;hl=en&amp;q="+ address_main + "+" + zip_main + "+to+" + address + "+" + zip + "\" target=\"_blank\">Get Directions<\/a><\/div>";
		aLocations.push(createMarker(point, html, 8));
		map.addOverlay(aLocations[aLocations.length-1]);
		
		var point = new GLatLng(47.636109,-122.353139);
		var title = 'Moore Theater';
		var address = '1932 2nd Ave';
		var city = 'Seattle';
		var state = 'Washington';
		var zip = '98107';				
		var html = 	"<div class=\"bubble\"><h2>" + title + "</h2><p>" + address + 
						"<br \/>" + city + ", " + state + " " + zip + "<\/p><a href=\"http://maps.google.com/maps?f=q&amp;hl=en&amp;q="+ address_main + "+" + zip_main + "+to+" + address + "+" + zip + "\" target=\"_blank\">Get Directions<\/a><\/div>";
		aLocations.push(createMarker(point, html, 9));
		map.addOverlay(aLocations[aLocations.length-1]);	
		
		var point = new GLatLng(47.613781,-122.331814);
		var title = 'Paramount Theater';
		var address = '911 Pine St';
		var city = 'Seattle';
		var state = 'Washington';
		var zip = '98101';				
		var html = 	"<div class=\"bubble\"><h2>" + title + "</h2><p>" + address + 
						"<br \/>" + city + ", " + state + " " + zip + "<\/p><a href=\"http://maps.google.com/maps?f=q&amp;hl=en&amp;q="+ address_main + "+" + zip_main + "+to+" + address + "+" + zip + "\" target=\"_blank\">Get Directions<\/a><\/div>";
		aLocations.push(createMarker(point, html, 10));
		map.addOverlay(aLocations[aLocations.length-1]);				

		var point = new GLatLng(47.616420,-122.353338);
		var title = 'Olympic Sculpture Park';
		var address = '2901 Western Avenue';
		var city = 'Seattle';
		var state = 'Washington';
		var zip = '98121';				
		var html = 	"<div class=\"bubble\"><h2>" + title + "</h2><p>" + address + 
						"<br \/>" + city + ", " + state + " " + zip + "<\/p><a href=\"http://maps.google.com/maps?f=q&amp;hl=en&amp;q="+ address_main + "+" + zip_main + "+to+" + address + "+" + zip + "\" target=\"_blank\">Get Directions<\/a><\/div>";
		aLocations.push(createMarker(point, html, 11));
		map.addOverlay(aLocations[aLocations.length-1]);	
		
		var point = new GLatLng(47.608730,-122.340477);
		var title = 'Savor Seattle Food Tours';
		var address = '85 Pike Street';
		var city = 'Seattle';
		var state = 'Washington';
		var zip = '98121';				
		var html = 	"<div class=\"bubble\"><h2>" + title + "</h2><p>" + address + 
						"<br \/>" + city + ", " + state + " " + zip + "<\/p><a href=\"http://maps.google.com/maps?f=q&amp;hl=en&amp;q="+ address_main + "+" + zip_main + "+to+" + address + "+" + zip + "\" target=\"_blank\">Get Directions<\/a><\/div>";
		aLocations.push(createMarker(point, html, 12));
		map.addOverlay(aLocations[aLocations.length-1]);			
	}
}