﻿function GoogleMapShowAddress(address) {
    if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        geocoder = new GClientGeocoder();
        if (geocoder) {
            geocoder.getLatLng(
        address,
        function(point) {
            if (!point) {
                alert(address + " not found");
            } else {
                map.setCenter(point, 13);
                var marker = new GMarker(point);
                map.addOverlay(marker);
                map.addControl(new GSmallMapControl());
                //marker.openInfoWindowHtml(address);
            }
        }
      );
        }
    }
}

