	if (GBrowserIsCompatible()) {

			function createMarker(point,html) {
				var marker = new GMarker(point);
				GEvent.addListener(marker, "click", function() {
					marker.openInfoWindowHtml(html);
				});
				return marker;
			}

			var map = new GMap2(document.getElementById("map"));
			map.addControl(new GSmallZoomControl());
//			map.addControl(new GMapTypeControl());

			map.setCenter(new GLatLng(mapLat,mapLng), mapZoom);


			//enable smooth zooming
			map.enableContinuousZoom();
			map.enableDoubleClickZoom();

			var point = new GLatLng(mapLat,mapLng);
			var marker = createMarker(point, mapAddress);
			map.addOverlay(marker);

		}

		else {
			alert("Sorry, the Google Maps API is not compatible with this browser");
	}

// This Javascript is based on code provided by the
// Blackpool Community Church Javascript Team
// http://www.commchurch.freeserve.co.uk/   
// http://www.econym.demon.co.uk/googlemaps/
