 $(document).ready(function(){ 
 	switching_stopped = false;
 		if($(".fader").length) 
 		{  
 			$('.fader').innerfade({ speed: 'slow', timeout: 5000, type: 'sequence', containerheight: '402px' }); 
 		} 
 		
 		$(".thumbs a").click(function(){
 			clearInterval(faderinterval);
 			switching_stopped = true;
 			var crt = $(this).attr('class');
 			$('.fader li').fadeOut('slow');
 			var children = $('.fader').children();
 			$(children[crt]).fadeIn('slow');
 			$(this).parent().parent().children().removeClass("on");
 			$(this).parent().addClass('on');
 			
 			return false;
 		});
 		$("body").fadeTo("fast",.9999);
 });