function showGoogleMap(container,name,address,city,state,zip) {
	
	//Check for browser compatibility
	if (GBrowserIsCompatible()) {
		
		var location = address + " " + city +  " " + state + " " + zip;
		
		// ====== Get the container object ======
		container = document.getElementById(container);

		// ====== Get a map object ======
		var map = new GMap2(container);
		
		// ====== Set map controls ======
		map.addControl(new GSmallZoomControl(),new GControlPosition(G_ANCHOR_BOTTOM_RIGHT, new GSize(10,10)));
		
		// ====== Define local search options ======
		var local_search_options = {resultList : google.maps.LocalSearch.RESULT_LIST_SUPPRESS};
	  
	  	// ====== Create local search controls ======
		var local_search = new google.maps.LocalSearch(local_search_options);
		
		// ====== Add local search to map ======
		map.addControl(local_search,new GControlPosition(G_ANCHOR_TOP_RIGHT, new GSize(10,10)));
		
		// ====== Create a Client Geocoder ======
		geo = new GClientGeocoder();
		
		// ====== Array for decoding the failure codes ======
		var reasons = [];
		reasons[G_GEO_SUCCESS]            = "Success";
		reasons[G_GEO_MISSING_ADDRESS]    = "Missing Address: The address was either missing or had no value.";
		reasons[G_GEO_UNKNOWN_ADDRESS]    = "Unknown Address:  No corresponding geographic location could be found for the specified address.";
		reasons[G_GEO_UNAVAILABLE_ADDRESS]= "Unavailable Address:  The geocode for the given address cannot be returned due to legal or contractual reasons.";
		reasons[G_GEO_BAD_KEY]            = "Bad Key: The API key is either invalid or does not match the domain for which it was given";
		reasons[G_GEO_TOO_MANY_QUERIES]   = "Too Many Queries: The daily geocoding quota for this site has been exceeded.";
		reasons[G_GEO_SERVER_ERROR]       = "Server error: The geocoding request could not be successfully processed.";
		
		function addToMap(response) {
		
			// If that was successful
			if (response.Status.code == G_GEO_SUCCESS) {
			
				var place = response.Placemark[0];
				
				var point = new GLatLng(place.Point.coordinates[1],place.Point.coordinates[0]);
			
				map.setCenter(point, 13);
				
				var loc_address = place.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.Thoroughfare.ThoroughfareName;
				var loc_city = place.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.LocalityName;
				var loc_state = place.AddressDetails.Country.AdministrativeArea.AdministrativeAreaName;
				var loc_zip = place.AddressDetails.Country.AdministrativeArea.SubAdministrativeArea.Locality.PostalCode.PostalCodeNumber;
				
			// ====== Decode the error status ======
			} else {
				
				var reason = "Code " + response.Status.code;
			  
				if (reasons[response.Status.code]) {
					
					reason = reasons[response.Status.code];
					
				}
				
				alert(reason);
				
			}
		
		}
		
		geo.getLocations(location, addToMap);
		
	} else {
		
		alert("Sorry, the Google Maps API is not compatible with this browser");
		
	}
		
	function load(){
		
		local_search.execute(name);
		
	}
	
	GSearch.setOnLoadCallback(load);

}
