window.onload = function() {
	if (GBrowserIsCompatible()) {
		var map = new GMap2(document.getElementById('map'));
		map.addControl(new GSmallZoomControl3D());
		map.setCenter(new GLatLng(51.517716,-0.075359), 15);
		var jwIcon = new GIcon();
		jwIcon.image = '/images/markers/image.png';
		jwIcon.printImage = '/images/markers/printImage.gif';
		jwIcon.mozPrintImage = '/images/markers/mozPrintImage.gif';
		jwIcon.iconSize = new GSize(38, 46);
		jwIcon.shadow = '/images/markers/shadow.png';
		jwIcon.transparent = '/images/markers/transparent.png';
		jwIcon.shadowSize = new GSize(61, 46);
		jwIcon.printShadow = '/images/markers/printShadow.gif';
		jwIcon.iconAnchor = new GPoint(19, 46);
		jwIcon.infoWindowAnchor = new GPoint(19, 0);
		jwIcon.imageMap = [32, 0, 33, 1, 34, 2, 35, 3, 36, 4, 36, 5, 36, 6, 37, 7, 37, 8, 37, 9, 37, 10, 37, 11, 37, 12, 37, 13, 37, 14, 37, 15, 37, 16, 37, 17, 37, 18, 37, 19, 37, 20, 37, 21, 37, 22, 37, 23, 37, 24, 37, 25, 37, 26, 37, 27, 37, 28, 37, 29, 36, 30, 36, 31, 36, 32, 35, 33, 34, 34, 33, 35, 32, 36, 29, 37, 25, 38, 24, 39, 23, 40, 22, 41, 21, 42, 20, 43, 19, 44, 18, 45, 18, 45, 17, 44, 16, 43, 15, 42, 14, 41, 13, 40, 12, 39, 11, 38, 8, 37, 4, 36, 3, 35, 2, 34, 1, 33, 0, 32, 0, 31, 0, 30, 0, 29, 0, 28, 0, 27, 0, 26, 0, 25, 0, 24, 0, 23, 0, 22, 0, 21, 0, 20, 0, 19, 0, 18, 0, 17, 0, 16, 0, 15, 0, 14, 0, 13, 0, 12, 0, 11, 0, 10, 0, 9, 0, 8, 0, 7, 0, 6, 0, 5, 1, 4, 1, 3, 2, 2, 3, 1, 5, 0];
		map.addOverlay(new GMarker(new GLatLng(51.51938, -0.06968), {icon: jwIcon}));
	}
};
