	$outer_container=$("#outer_container");
	$thumbScroller=$("#thumbScroller");
	$thumbScroller_container=$("#thumbScroller .container");
	$thumbScroller_content=$("#thumbScroller .content");
	$thumbScroller_thumb=$("#thumbScroller .thumb");

	$(window).load(function() {
		sliderTop=$thumbScroller_container.position().top;
		sliderHeight=$(window).height();
		$thumbScroller.css("height",sliderHeight);
		$('#yearNav').css("height",sliderHeight);
		$('#showHide').css("height",sliderHeight);
		var itemHeight=$thumbScroller_content.height();

		$thumbScroller_content.each(function (i) {
			totalContent=i*itemHeight;
		});

		$thumbScroller.mousemove(function(e){
			if($thumbScroller_container.height()>sliderHeight){
	  			var mouseCoords=(e.pageY - this.offsetTop);
	  			var mousePercentY=mouseCoords/sliderHeight;
	  			var destY=-(((totalContent-(sliderHeight-itemHeight))-sliderHeight)*(mousePercentY));
	  			var thePosA=mouseCoords-destY;
	  			var thePosB=destY-mouseCoords;
	  			var animSpeed=600; //ease amount
	  			var easeType="easeOutCirc";
	  			if(mouseCoords>destY){
		  			//$thumbScroller_container.css("top",-thePosA); //without easing
		  			$thumbScroller_container.stop().animate({top: -thePosA}, animSpeed,easeType); //with easing
	  			} else if(mouseCoords<destY){
		  			//$thumbScroller_container.css("top",thePosB); //without easing
		  			$thumbScroller_container.stop().animate({top: thePosB}, animSpeed,easeType); //with easing
	  			} else {
					$thumbScroller_container.stop();
	  			}
			}
		});

		var fadeSpeed=600;
		opacity = .4;

		$thumbScroller_thumb.each(function () {
			var $this=$(this);
			$this.fadeTo(fadeSpeed, opacity);
		});

		$thumbScroller_thumb.hover(
			function(){ //mouse over
				var $this=$(this);
				$this.stop().fadeTo(fadeSpeed, 1);
			},
			function(){ //mouse out
				var $this=$(this);
				$this.stop().fadeTo(fadeSpeed, opacity);
			}
		);
	});

	$(window).resize(function() {
		//$thumbScroller_container.css("top",sliderTop); //without easing
		$thumbScroller_container.stop().animate({top: sliderTop}, 400,"easeOutCirc"); //with easing
		var newHeight=$(window).height();
		$thumbScroller.css("height",newHeight);
		sliderHeight=newHeight;
	});
