//<![CDATA[

function load() {	
  if (GBrowserIsCompatible()) {	  
	var map = new GMap2(document.getElementById("map-inner"));
	map.addControl(new GSmallMapControl());
	map.setCenter(new GLatLng(51.434651, -0.531866), 12);	
	
	// create the variables for the custom icon
	var ufo = new GIcon();
	ufo.image = "http://www.aad.co.uk/images/icon-map.png";
	ufo.shadow = "http://www.aad.co.uk/images/icon-map-shadow.png";
	ufo.shadowSize = new GSize(80, 60);
	ufo.iconSize = new GSize(80, 60);
	ufo.iconAnchor = new GPoint(40, 30);
	ufo.infoWindowAnchor = new GPoint(80, 60);
	
	// setup our GMarkerOptions object literal - no idea what this means!
	markerOptions = { icon:ufo };
	
	var point = new GLatLng(51.434651, -0.531866);	
	map.addOverlay(new GMarker(point, markerOptions));
  }	
}

//]]>