window.addEvent('domready', function() {
	
	// Get the map container.
	var mapContainer = $('google_map');
	if (!mapContainer) return;
	
	// Set the initial marker position.
	var markerPosition = new google.maps.LatLng(50.90146690406711, -1.4414875209331512);
	var mapCentre = markerPosition;
	
	// Create the map.
	var map = new google.maps.Map(
		mapContainer,
		{
			zoom: 15,
			center: mapCentre,
			mapTypeId: google.maps.MapTypeId.HYBRID
		}
	);
	
	// Add the marker.
	var marker = new google.maps.Marker({
		position : markerPosition, 
		map : map
	});
});
