/* Google Map Api */
var map = null;
var geocoder = null;
function showAddress(address,scale) {
  if (GBrowserIsCompatible()) {
    geocoder = new GClientGeocoder();
    if (geocoder) {
      geocoder.getLatLng(
        address,
        function(point) {
          if (!point) {
            alert(address + " \u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002");
          } else {
            map = new GMap2(document.getElementById("map"));
//            map.addControl(new GLargeMapControl());
//            map.addControl(new GOverviewMapControl());
//            map.addControl(new GMapTypeControl());
            map.setCenter(new GLatLng(point.y,point.x,136), scale);
            map.addOverlay(new GMarker(new GLatLng(point.y,point.x)));
            map.disableDoubleClickZoom()
            geocoder = new GClientGeocoder();
          }
        }
      );
    }
  }
}

