// Google Map 

function load() {

	if (GBrowserIsCompatible()) {
    var map = new GMap2(document.getElementById("map"));
		map.setCenter(new GLatLng(45.416045,-75.716743), 11);
		map.addControl(new GLargeMapControl());
		map.addControl(new GMapTypeControl());
      
		// The Village
		var text1 = "<div class=popup> <h1><a href='/our-communities/properties/village.aspx'>The Village</a></h1> <div class=location> <b>Location:</b><br /> Richmond Road at Island Park Drive<br /> 93 Richmond Road, Ottawa ON <div class=sales><b>Sales Centre:</b> 613-798-2686</div> </div> <ul> <li>The Village Seniors' Suites and Retirement Residence</li> </ul> </div>";
		var icon1 = new GIcon();
		icon1.image = "/images/pins/thevillage.png";
		icon1.iconSize = new GSize(92, 44);
		icon1.iconAnchor = new GPoint(15, 44);
		icon1.infoWindowAnchor = new GPoint(15, 44);
		var marker1 = new GMarker(new GLatLng(45.396639,-75.743526), icon1);
		GEvent.addListener(marker1, "click", function() { marker1.openInfoWindowHtml(text1); });
		map.addOverlay(marker1);

		// The Ravines
		var text2 = "<div class=popup> <h1><a href='/our-communities/properties/ravines.aspx'>The Ravines</a></h1> <div class=location> <b>Location:</b><br /> Colonnade and Prince of Wales Drive<br /> 626 Prado Private, Ottawa ON <div class=sales><b>Sales Centre:</b> 613-798-2686</div> </div> <ul> <li>The Ravines Seniors' Suites and Retirement Residence</li> <li>Located in an Ashcroft Homes Community</li> </ul> </div>";
		var icon2 = new GIcon();
		icon2.image = "/images/pins/ravines.png";
		icon2.iconSize = new GSize(94, 46);
		icon2.iconAnchor = new GPoint(15, 46);
		icon2.infoWindowAnchor = new GPoint(15, 46);
		var marker2 = new GMarker(new GLatLng(45.346590,-75.701230), icon2);
		GEvent.addListener(marker2, "click", function() { marker2.openInfoWindowHtml(text2); });
		map.addOverlay(marker2);
		
		// Promenade
		var text3 = "<div class=popup> <h1><a href='/our-communities/properties/promenade.aspx'>The Promenade</a></h1> <div class=location> <b>Location:</b><br /> Rossignol near Petrie Island <br /> 100 Rossignol, Ottawa ON <div class=sales><b>Sales Centre:</b> 613-798-2686</div> </div> <ul> <li>The Promenade Seniors' Suites and Retirement Residence</li> </ul> </div>";
		var icon3 = new GIcon();
		icon3.image = "/images/pins/promenade.png";
		icon3.iconSize = new GSize(114, 45);
		icon3.iconAnchor = new GPoint(15, 45);
		icon3.infoWindowAnchor = new GPoint(15, 45);
		var marker3 = new GMarker(new GLatLng(45.493924,-75.488348), icon3);
		GEvent.addListener(marker3, "click", function() { marker3.openInfoWindowHtml(text3); });
		map.addOverlay(marker3);

		// Promenade Arrow
		var icon6 = new GIcon();
		icon6.image = "/images/pins/promenade-arrow.png";
		icon6.iconSize = new GSize(109, 37);
		icon6.iconAnchor = new GPoint(55, 18);
		icon6.infoWindowAnchor = new GPoint(55, 18);
		var marker6 = new GMarker(new GLatLng(45.464947,-75.569801), icon6);
		GEvent.addListener(marker6, "click", function() { map.panTo(new GLatLng(45.493924,-75.488348)); });
		map.addOverlay(marker6);
		
		// Central Park
		var text4 = "<div class=popup style='width:300px;'> <h1>Central Park</h1> <div class=location> <b>Location:</b><br /> Merivale and Baseline Road<br /> Ottawa, ON <div class=sales><b>Sales Centre:</b> 613-798-2686</div> </div> <ul> <li>130 Central Park, <a href='/our-communities/properties/the-astoria.aspx'>The Astoria Lifestyle Equity Lease</a></li> <li>120 Central Park, <a href='/our-communities/properties/park-place-seniors-suites.aspx'>Park Place Seniors' Suites</a></li> <li>110 Central Park, <a href='/our-communities/properties/park-place-retirement-residence.aspx'>Park Place Retirement Residence</a></li> <li>Alavida Lifestyles Sales Centre at Park Place Seniors' Suites</li> <li>Located in an Ashcroft Homes Community</li> </ul> </div>";
		var icon4 = new GIcon();
		icon4.image = "/images/pins/centralpark.png";
		icon4.iconSize = new GSize(93, 58);
		icon4.iconAnchor = new GPoint(15, 58);
		icon4.infoWindowAnchor = new GPoint(15, 58);
		var marker4 = new GMarker(new GLatLng(45.368888,-75.736282), icon4);
		GEvent.addListener(marker4, "click", function() { marker4.openInfoWindowHtml(text4); });
		map.addOverlay(marker4);
		
		// Carillon
		var text5 = "<div class=popup> <h1><a href='/our-communities/properties/carillon.aspx'>The Carillon</a></h1> <div class=location> <b>Location:</b><br /> 330 Gilmore, Ottawa ON <div class=sales><b>Sales Centre:</b> 613-798-2686</div> </div> <ul> <li>Carillon Seniors' Suites and Retirement Residence</li> </ul> </div>";
		var icon5 = new GIcon();
		icon5.image = "/images/pins/carillon.png";
		icon5.iconSize = new GSize(79, 43);
		icon5.iconAnchor = new GPoint(15, 43);
		icon5.infoWindowAnchor = new GPoint(15, 43);
		var marker5 = new GMarker(new GLatLng(45.415024,-75.693051), icon5);
		GEvent.addListener(marker5, "click", function() { marker5.openInfoWindowHtml(text5); });
		map.addOverlay(marker5);
		
	  }
		
}