// Google Map - Home

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);			
			
        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]);
        		
        openWindowHTML(0);


	}
}