// Google Map - Places to Eat

function LoadMap() {
    
    
	if (GBrowserIsCompatible()) {
		
		// Display the map, with some controls and set the start location
		var map = new GMap(document.getElementById("map"));
		var longitude = -122.686921;
		var latitude = 45.521040;
		var point = new GPoint(longitude, latitude);
		map.addControl(new GSmallMapControl());
		map.centerAndZoom(point, 3);			
			
			
		// Load Markers
		
		// start location
		var point = new GPoint(longitude, latitude);
		var title_main = 'Hotel deLuxe';
		var address_main = '729 SW 15th Avenue';
		var city_main = 'Portland';
		var state_main = 'Oregon';
		var zip_main = '97205';				
		var html = 	"<div style='width: 13em;'><h2>" + title_main + "</h2><p>" + address_main + 
						"<br \/>" + city_main + ", " + state_main + " " + zip_main + "<\/p><a href='http://maps.google.com/maps?f=q&hl=en&q=" + address_main + "+" + zip_main + "' target='_blank'>Get Directions<\/a><\/div>";				
		aLocations.push(createMarkerWithMsg(point, html, 'custom'));
		map.addOverlay(aLocations[aLocations.length-1]);
						
		
		// load markers for all attractions
		var point = new GPoint(-122.679950,	45.519954);
		var title = 'Daily Grill';
		var address = '614 SW Park Avenue';
		var city = 'Portland';
		var state = 'Oregon';
		var zip = '97205';				
		var html = 	"<div style='width: 13em;'><h2>" + title + "</h2><p>" + address + 
						"<br \/>" + city + ", " + state + " " + zip + "<\/p><a href='http://maps.google.com/maps?f=q&hl=en&q="+ address_main + "+" + zip_main + "+to+" + address + "+" + zip + "' target='_blank'>Get Directions<\/a><\/div>";
		aLocations.push(createMarkerWithMsg(point, html, 1));
		map.addOverlay(aLocations[aLocations.length-1]);	
		
		
		var point = new GPoint(-122.683919,	45.522791);
		var title = 'Masu';
		var address = '406 SW 13th Avenue';
		var city = 'Portland';
		var state = 'Oregon';
		var zip = '97205';				
		var html = 	"<div style='width: 13em;'><h2>" + title + "</h2><p>" + address + 
						"<br \/>" + city + ", " + state + " " + zip + "<\/p><a href='http://maps.google.com/maps?f=q&hl=en&q="+ address_main + "+" + zip_main + "+to+" + address + "+" + zip + "' target='_blank'>Get Directions<\/a><\/div>";
		aLocations.push(createMarkerWithMsg(point, html, 2));
		map.addOverlay(aLocations[aLocations.length-1]);	
		
		
		/*
var point = new GPoint(-122.678248,	45.521169);
		var title = 'Typhoon!';
		var address = '410 SW Broadway';
		var city = 'Portland';
		var state = 'Oregon';
		var zip = '97205';				
		var html = 	"<div style='width: 13em;'><h2>" + title + "</h2><p>" + address + 
						"<br \/>" + city + ", " + state + " " + zip + "<\/p><a href='http://maps.google.com/maps?f=q&hl=en&q="+ address_main + "+" + zip_main + "+to+" + address + "+" + zip + "' target='_blank'>Get Directions<\/a><\/div>";
		aLocations.push(createMarkerWithMsg(point, html, 3));
		map.addOverlay(aLocations[aLocations.length-1]);
*/									
	
	
		var point = new GPoint(-122.684150,	45.526340);
		var title = 'Andina';
		var address = '1314 NW Glisan';
		var city = 'Portland';
		var state = 'Oregon';
		var zip = '97209';				
		var html = 	"<div style='width: 13em;'><h2>" + title + "</h2><p>" + address + 
						"<br \/>" + city + ", " + state + " " + zip + "<\/p><a href='http://maps.google.com/maps?f=q&hl=en&q="+ address_main + "+" + zip_main + "+to+" + address + "+" + zip + "' target='_blank'>Get Directions<\/a><\/div>";
		aLocations.push(createMarkerWithMsg(point, html, 3));
		map.addOverlay(aLocations[aLocations.length-1]);				

       
	}
	
	
}