//<![CDATA[

function load() {	
  if (GBrowserIsCompatible()) {	  
	var map = new GMap2(document.getElementById("map"));
	map.addControl(new GSmallMapControl());
	map.setCenter(new GLatLng(51.01479,-2.5754), 9);	
	
	// create the variables for the custom icon
	var ufo = new GIcon();
	ufo.image = "http://www.thefabricbarn.co.uk/images/map-normal.png";
	ufo.shadow = "http://www.thefabricbarn.co.uk/images/map-shadow.png";
	ufo.shadowSize = new GSize(50, 90);
	ufo.iconSize = new GSize(50, 90);
	ufo.iconAnchor = new GPoint(25, 45);
	ufo.infoWindowAnchor = new GPoint(50, 90);
	
	// setup our GMarkerOptions object literal - no idea what this means!
	markerOptions = { icon:ufo };
	
	var point = new GLatLng(51.01479,-2.5754);	
	map.addOverlay(new GMarker(point, markerOptions));
  }	
}

//]]>