window.onload = initialize;
window.unload = GUnload;

function initialize()
{
	if (GBrowserIsCompatible())
	{
		var point = new GLatLng(51.123809,-0.008001);
		var map = new GMap2(document.getElementById("map_canvas"));
        map.setCenter(point, 16);
        map.setUIToDefault();
		map.addOverlay(new GMarker(point));
	}
	else
	{
		document.getElementById("map_canvas").innerHTML = "<div class='errorMsg'><p>Sorry your browser does not support Google maps.</p><p>Why not try Firefox a free cross-platform browser at  <a href='http://www.mozilla.com/firefox/'>http://www.mozilla.com/firefox/</a>.</p></div>";
	}
}

