// JavaScript Document
	var map = null;
    var geocoder = null;
    function load() {
      if (GBrowserIsCompatible()) {
        map = new GMap2(document.getElementById("map"));	
		map.addControl(new GSmallZoomControl());
        geocoder = new GClientGeocoder();
      }
    }
    function showAddress(address,content) {
      if (geocoder) {
        geocoder.getLatLng(
          address,
          function(point) {
            if (!point) {
              //alert(address + " not found");
            } else {
			  map.checkResize();
              map.setCenter(point, 14);  
			  // Create Guy Icon Home
				homeIcon = new GIcon(G_DEFAULT_ICON);
				homeIcon.image = "/js/map/map_icons/house_big.png";
				homeIcon.shadow = "http://maps.google.com/intl/en_us/mapfiles/cb/man-pick.png";	
				homeIcon.imageMap = [0,0, 112,0, 112,38, 0,112];
				homeIcon.iconSize = new GSize(112, 38);
				homeIcon.iconAnchor = new GPoint(56, 38);  // near base of home's feet
				homeIcon.infoWindowAnchor = new GPoint(56, 38);  // top of home's head
			    var marker = new GMarker(point,homeIcon);
			  
                map.addOverlay(marker);
            }
          }
        );
      }
    }