// geocoder.js
	//var address = document.getElementById('database_address').innerHTML ;

	//function init() {		
	//var addressData = document.getElementById('database_address').innerHTML ; alert('hello');
		//showAddress(addressData) ;
	//}

    function showAddress(address) {
	  if (GBrowserIsCompatible()) {	
		var map = new GMap2(document.getElementById("map_canvas")); // Initiate GMap2 Object
			map.addControl(new GSmallMapControl()) ; // Add Controls (Pan & Zoom)
		var geocoder = new GClientGeocoder(); // Initiate Geocoder Object
		
		  if (geocoder) {
			geocoder.getLatLng(
			  address,
			  function(point) {
				if (!point) {
				  //alert(address + " not found");
				} else {
				  map.setCenter(point, 15);
				  var marker = new GMarker(point);
				  map.addOverlay(marker);
				  //marker.openInfoWindowHtml(address);
				}
			  }
			);
		  }
		}
	}

	
	//window.onload = init ;
	window.onunload = GUnload ; // Google function from api to free up javascript memory
