//
	// Google maps
	// Use the Google maps API to point out the Nildram offices
	// @author Simon C
//

	//<![CDATA[
	function googleMaps() {
	  if (GBrowserIsCompatible()) {
			// Create map
			var map = new GMap(document.getElementById("locationMap"));
			// Add controsl
			map.addControl(new GSmallMapControl());
			map.addControl(new GMapTypeControl());
			
			// Center and zoom in on Nildram HQ
			map.centerAndZoom(new GPoint(-0.772887504531688, 51.7796948337179), 4);
	
	
			// Add marker to point out Nildram HQ
			var bounds = map.getBoundsLatLng();
			var width = bounds.maxX - bounds.minX;
			var height = bounds.maxY - bounds.minY;
			
			// point to 1Tb
			var point = new GPoint(bounds.minX + width * 0.487, bounds.minY + height * 0.523);
			var marker = new GMarker(point);
		  map.addOverlay(marker);
	  }
	}
	//]]>
	
	//  window.onload = googleMaps(); <- used to load the function