function loadgm() { if (GBrowserIsCompatible()) { var map = new GMap(document.getElementById("googlemap")); map.addControl(new GSmallZoomControl3D()); map.addControl(new GMapTypeControl()); map.setCenter(new GLatLng(53.927126,-0.95289), 11); // Set up one markers with info windows var point = new GLatLng(53.927126,-0.95289); var marker = createMarker(point,'') map.addOverlay(marker); } // display a warning if the browser was not compatible else { alert("Sorry, the Google Maps API is not compatible with this browser"); } } function createMarker(point,html,icon) { markerOptions = { icon:icon }; var marker = new GMarker(point,markerOptions); return marker; }