var map = null;
var geocoder = null;
function initialize() {
    if (GBrowserIsCompatible()) {
        geocoder = new GClientGeocoder();
    }
}
function showAddress(evt) {
    kw = document.form1.kw.value;
    var address = kw;
    if (address != '') {

        if (geocoder) {
        
            geocoder.getLatLng(
					  address,
					  function (point) {
					      if (!point) {
					          alert(address + " not found");
					      } else {
					          document.form1.gll.value = point;
					          document.form1.submit();
					      }
					  }
					);
        } else {
            //alert("NO!");
        }
    } else {
        document.form1.submit();
    }
    evt.preventDefault();
}




