$(document).ready(function(){
  
	$('#visitorComments').innerfade({			//	News Ticker
		animationtype: 'fade',
		speed: 222,
		timeout: 7777,
		containerheight: '165px'
	});
	
	$('#slider').s3Slider({
      timeOut: 8000
   });
	 
	 $('#stage').mouseover(function() {			//	Show Thumbnail Strip on Mouseover 
		$('#stage #thumbs').animate(
			{ bottom:"0px" },
			{ queue:false, duration:300, easing:'swing' }
		);		
	});
	
	$('#stage').mouseout(function() {			//	Hide Thumbnail Strip on Mouseout
		$('#stage #thumbs').animate(
			{ bottom:"-110px" },
			{ queue:false, duration:300, easing:'swing' }
		);		
	});
	
	$('#stage #thumbs img').click(function() {		
		var idx = $('#stage #thumbs img').index(this);
		$('#sliderContent li').hide();
		$('#sliderContent li:eq('+idx+')').fadeIn(3000);
	});
	
});