// JavaScript Document
	function createMarker(point,html) {
			var marker = new GMarker(point);
			GEvent.addListener(marker, "click", function() {
			  marker.openInfoWindowHtml(html);
			});
			return marker;
		  }

    function load() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
		//http://www.satsig.net/maps/lat-long-finder.htm
		//location of map center
        map.setCenter(new GLatLng( 53.3520, -6.2669), 15);
		map.addControl(new GSmallMapControl());
		map.addControl(new GMapTypeControl ());
		//location of pointer
		var point= new GLatLng( 53.3532, -6.2702);
  		var marker = createMarker(point,'<div style="width:200px">We are here at the bottom of Henrietta Lane, on the left hand side! Please ring if the door is not open. Thank you.</div>');
		map.addOverlay(marker);
			}
	  // display warning if browser is incompatible
	  else { alert("Sorry, the Google Maps API is not compatible with this browser")
	  }
    }
