jQuery Slideshow

jQuery

$('section#thumbs img').click(function(){
	$('section#thumbs img').fadeTo(100, 0.6);
	$(this).fadeTo(200, 1);
	var curPic = $(this).data('photo');
	$('section#slideshow img').stop().fadeTo(200, 0, function(){
		$('img.photo-' + curPic).fadeTo(200, 1);
	});
});