// JavaScript Document
var map = null;
var geocoder = null;
function initialize() {
      if (GBrowserIsCompatible()) {
        map = new GMap2(document.getElementById("map_canvas"));
        map.setCenter(new GLatLng(0, 0), 13);
        geocoder = new GClientGeocoder();
      }
    }
    function showAddress(address,company) 
	 {
	      if (geocoder)
			{
				geocoder.getLatLng(address,function(point)
													{
														if (!point)
														{
															document.getElementById("map_canvas").style.display="none";
															document.getElementById("map_error").style.display="none";
														} 
														else 
														{
															map.setCenter(point, 13);
															var marker = new GMarker(point);
															map.addOverlay(marker);
															//marker.openInfoWindowHtml(company);
														}
													}
				);
			}
    }

