//<![CDATA[
    var map = null;
    var geocoder = null;
        
    function loadMap() {
      if (GBrowserIsCompatible()) {
        map = new GMap2(document.getElementById("map"));
		map.addControl(new GLargeMapControl());
		map.addControl(new GMapTypeControl());
        	geocoder = new GClientGeocoder();
		var myPos = "75 Pacific Drive Port Macquarie NSW Australia";
		showAddress(myPos);
      }
    }

    function showAddress(address) {
      if (geocoder) {
        geocoder.getLatLng(
          address,
          function(point) {
            if (!point) {
              alert(address + " not found");
            } else {
              map.setCenter(point, 14);
              var marker = new GMarker(point);
              map.addOverlay(marker);
		  var myString = '<p style="font-size:12px;">Lavender Cottage Beach House<br /><span style="font-size:10px;">75 Pacific Drive, Port Macquarie</span></p>';
              marker.openInfoWindowHtml(myString);
            }
          }
        );
      }
    }
	function addAddressToMap(response) {
	  map.clearOverlays();
	  if (!response || response.Status.code != 200) {
	    alert("\"" + address + "\" not found");
	  } else {
	    place = response.Placemark[0];
	    point = new GLatLng(place.Point.coordinates[1],
					place.Point.coordinates[0]);
	    marker = new GMarker(point);
	    map.addOverlay(marker);
	    marker.openInfoWindowHtml(place.address);
	  }
	}
    function findThis (place){
    	geocoder.getLocations(place, addAddressToMap);
    }

//]]>