    var map = null;
    var geocoder = null;
/*	
     function initialize() {
      if (GBrowserIsCompatible()) {
        map = new GMap2(document.getElementById("map_canvas"));
        map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        geocoder = new GClientGeocoder();
      }
    }
*/	
    function initialize() {
      if (GBrowserIsCompatible()) {
        map = new GMap2(document.getElementById("map_canvas"),
            { size: new GSize(530,400) } );
			
		map.setCenter(new GLatLng(54.96,82.9278181), 10);
		geocoder = new GClientGeocoder();
		
        map.addControl(new GMapTypeControl());
		map.setUIToDefault();

		map.addControl(new google.maps.LocalSearch(), new GControlPosition(G_ANCHOR_BOTTOM_RIGHT, new GSize(10,20)));
		
        var customUI = map.getDefaultUI();
        customUI.maptypes.hybrid = false;
		customUI.maptypes.physical = false;
		//customUI.maptypes.smallzoomcontrol3d   = false;
        map.setUI(customUI);
			


      }
	  GSearch.setOnLoadCallback(initialize);

    }

	function showAddress(address) {
      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);
              marker.openInfoWindowHtml(address);
            }
          }
        );
      }
    }

	
	

