

	
	function handleSliderChange(e, ui)
	{
	  var maxScroll = $("#images").attr("scrollWidth") -
	                  $("#images").width();
	  $("#images").animate({scrollLeft: ui.value *
	     (maxScroll / 100) }, 1000);
	}

	function handleSliderSlide(e, ui)
	{
	  var maxScroll = $("#images").attr("scrollWidth") -
	                  $("#images").width();
	  $("#images").attr({scrollLeft: ui.value * (maxScroll / 100) });
	}

