
$(document).ready(function()
	{	
		$("#slider").easySlider({
		auto: true,
		controlsShow: false,
		continuous: true,
		});


		$("#location").focus(function(){
		    // Select input field contents
	    this.select();
		});

		$('a.zoom').fancyZoom({closeOnClick: true});
		
		
		

	});	
	
    function blank(t)
    {
         t.value = "";
    }



	
   function loadGoogleMap(address) {
      if (GBrowserIsCompatible()) {
        showAddress(address);
      }
    }

    function showAddress(address) {

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


