var GMaps = {
	
	positionMarkerFromAddress: function(address){
		var geocoder = new GClientGeocoder();
		geocoder.setBaseCountryCode('au');
		geocoder.getLatLng(address, this.updateMap);
	},

	updateMap: function(point){
		if (GBrowserIsCompatible()) {
			map = new GMap2(document.getElementById("salon_map"));
			map.clearOverlays();
			if (point === null) {
				alert("Google was unable to find this address on the map.");
			}
			else {
				var marker = new GMarker(point);
				map.setCenter(point, 16);
				map.addOverlay(marker);
				map.addControl(new GLargeMapControl());
				map.addControl(new GMapTypeControl());
			}
		}
	}
};
