		function load() {
			if (GBrowserIsCompatible()) { 
			
				var map = new GMap2(document.getElementById("map"));
				map.addControl(new GLargeMapControl());
				map.addControl(new GMapTypeControl());
				map.addControl(new GScaleControl()) ;
				//var point = new GLatLng(53.372678592569365, -6.329841613769531) // Center on the property address
				var point = new GLatLng(parseFloat({{property.lat}}), parseFloat({{property.long}})); // Center on the property address
				map.setCenter(point, 15);
				var marker = createMarker(point,'<div class="window"><span class="bold">Address:</span><br />{{property.address}}<div>')
				map.addOverlay(marker);
				
				/* A function to create the marker and set up the event window
				function createMarker(point,html) {
					var marker = new GMarker(point);
					GEvent.addListener(marker, "click", function() {
						marker.openInfoWindowHtml(html);
					});
					return marker;
				}*/
				
				function createMarker(point, html) {
					var marker = new GMarker(point);
					GEvent.addListener(marker, "click", function()
					{
						marker.openInfoWindowHtml(html);
					});
					return marker;
				}
			}		
		
			// display a warning if the browser was not compatible
			else {
				alert("Sorry, the Google Maps API is not compatible with this browser");
			}
		
			// This Javascript is based on code provided by the
			// Blackpool Community Church Javascript Team
			// http://www.commchurch.freeserve.co.uk/   
			// http://www.econym.demon.co.uk/googlemaps/
		}
