//<![CDATA[

specialMarker = {};		
    if (GBrowserIsCompatible()) { 

		var map = new GMap2(document.getElementById("map"));
		var geocoder = new GClientGeocoder();

  	function showAddress(address, name) {
  geocoder.getLatLng(
    address,
    function(point) {
      if (!point) {
        alert(address + " not found");
      } else {
		  
		  if (specialMarker[address] != undefined) {
        	var marker = new GMarker(point, new GIcon(G_DEFAULT_ICON, "http://www.google.com/uds/samples/places/temp_marker.png"));
		  }
		  else {
	        var marker = new GMarker(point);
		  }
       
				GEvent.addListener(marker, "click", function() {
          marker.openInfoWindowHtml(name);
					})
				;
				map.addOverlay(marker);
      }
    }
  );
}


	 	function setCenter(address) {
  geocoder.getLatLng(
    address,
    function(point) {
      if (!point) {
        alert(address + " not found");
      } else {
				map.setCenter(point, 14);
      }
    }
  );
}

		function createMarker(point,html) {
        var marker = new GMarker(point);
       
        return marker;
      }

      var map = new GMap2(document.getElementById("map"));
      map.addControl(new GLargeMapControl());
      map.addControl(new GMapTypeControl());
    	setCenter('194 McLeod Street, Cairns, QLD, 4870 Australia');
    	showAddress('194 McLeod Street, Cairns, QLD, 4870 Australia','<b>Health Management Dietetics</b><br />Find us here');
    }
    
    else {
      alert("The Google Maps API is not compatible with this browser");
    }
