// JavaScript Document

    function load() 
	{
      if (GBrowserIsCompatible()) 
	  {
        var map = new GMap2(document.getElementById("map"));
		map.addControl(new GLargeMapControl());
		map.addControl(new GMapTypeControl());
		map.enableContinuousZoom();
		map.enableDoubleClickZoom();
		
		var icon = new GIcon();
		icon.image = "images/general/map/marker.png";
		icon.shadow = "images/general/map/shadow.png";
		icon.iconSize = new GSize(20, 34);
		icon.shadowSize = new GSize(37, 34);
		// these are measured from the top-left, which is (1,1)
		icon.iconAnchor = new GPoint(11, 35);
		icon.infoWindowAnchor = new GPoint(11, 11);
		
		map.setCenter(new GLatLng(52.4283579563, 0.743749166413), 12);
	  	var marker = new GMarker(new GLatLng(52.4283579563, 0.743749166413), icon);
		GEvent.addListener(marker, 'click', function() {marker.openInfoWindowHtml(html);});
		map.addOverlay(marker);
		var html = "<div class=\"bubble\"><p><strong>Chill UK<br>10 Howlett Way<br>Thetford<br>Norfolk<br>IP24 1HZ</p></div>";
	  }
	  else
	  {
	  	alert("Sorry, Google Maps is not compatible with this browser");
	  }
    }
