
    var map = null;
    var geocoder = null;
	var add = null;
    function initialize() {
        map = new GMap2(document.getElementById("map_canvas"));
		add='71 Noosa Drive Noosa Heads QLD 4567';
		map.addControl(new GLargeMapControl());
		map.addControl(new GMapTypeControl());
		geocoder = new GClientGeocoder();
		showAddress(add);

    }

    function showAddress(address) {

	  if (geocoder) {
        geocoder.setBaseCountryCode("AU");
		geocoder.getLatLng(
          address,
          function(point) {
            if (!point) {
              alert("Sorry we couldn't locate "+address +" on Google Map");
            } else {
			  map.setCenter(point, 13);
              var marker = new GMarker(point);
              map.addOverlay(marker);
			  
            }
          }
        );
      }
    }

