// JavaScript Document

    function load() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("mapBlock"));
				map.enableContinuousZoom();
	  	  map.enableDoubleClickZoom();
        map.addControl(new GSmallMapControl());
				map.addControl(new GMapTypeControl());
				map.addControl(new GOverviewMapControl());
				var geocoder = new GClientGeocoder();
			
			var icon = new GIcon();
			var markerStyle = 'Google Traditional (flat)';
			var markerColor = 'Pacifica';
			icon.image = 'http://google.webassist.com/google/markers/traditionalflat/pacifica.png';
			icon.shadow = 'http://google.webassist.com/google/markers/traditionalflat/shadow.png';
			icon.iconSize = new GSize(34,35);
			icon.shadowSize = new GSize(34,35);
			icon.iconAnchor = new GPoint(9,23);
			icon.infoWindowAnchor = new GPoint(19,0);
			icon.printImage = 'http://google.webassist.com/google/markers/traditionalflat/pacifica.gif';
			icon.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalflat/pacifica_mozprint.png';
			icon.printShadow = 'http://google.webassist.com/google/markers/traditionalflat/shadow.gif';
			icon.transparent = 'http://google.webassist.com/google/markers/traditionalflat/pacifica_transparent.png';
		
			var address = {
			  street: 'Eastcoast Road',
			  city: 'Point Lookout',
			  state: 'Queensland',
			  zip: '4183',
			  country: 'Australia',
			  infowindow: 'default',
			  infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: #000;"><strong>Manta Lodge & Scuba Centre</strong><br />1 Eastcoast Road<br />Point Lookout, QLD 4183<br />Tel: (07) 3409 8888</span>',
			  full: '132 Dickson Way, Point Lookout, QLD, 4183, Australia',
			  isdefault: true
			};
			
			geocoder.getLatLng (
			  address.full,
			  function(point) {
				if(point) {
				  map.setCenter(point, 9);
				  var marker = new GMarker(point, icon);
				  GEvent.addListener(marker, 'click', function() {
					marker.openInfoWindowHtml(address.infowindowtext);
				  });
				  map.addOverlay(marker);
				}
				else {
				  map.setCenter(new GLatLng(-27.590000, 153.320000), 13);
				}
			  }
			);
		
			
      }
    }