<!--//
$(document).ready(function() {

	// create the map
	var map = new GMap2(document.getElementById("gMap"));
	var mapname = 'gMap';

	var info = "<b>Bodyflight Bedford</b><small><br />Twinwoods Business Park<br />Thurleigh Road<br />Milton Earnest<br />Bedfordshire<br />MK44 1RF<br />0845 200 2960</small>";
    var centre = new GLatLng(52.19599,-0.491554);


	if (GBrowserIsCompatible()) {

		// add the nav control
		map.addControl(new GSmallMapControl());

		// add the map type control
		map.addControl(new GMapTypeControl());

		// set the centre of the map
		map.setCenter(centre, 8);

		// create the market
		var marker = new GMarker(centre, {draggable:false});

		// add the marker to the map
		map.addOverlay(marker);

		// show the map window
		marker.openInfoWindowHtml(info);

		GEvent.addListener(marker, "click", function() {
			marker.openInfoWindowHtml(info);
			});
	}
});
//-->

