(function($){
			var showSlide = function(slide){
		        	$(slide).siblings('.active').hide().removeClass('active');
		        	$(slide).fadeIn().addClass('active');	        	
		        };
		        var getSlide = function(){
		        	var nextSlide, i;
		        	for(i=0; i < $('#holder li').length; i++) {
						if($('#holder li').eq(i).attr('class').indexOf('active') > -1){ 
							if( $('#holder li').length ===  i + 1 ){
								nextSlide = 0;
							}else{
								nextSlide = i + 1;
							}
						}
					}
					return $('#holder li').eq(nextSlide);
		        }
			var slideShow = setInterval(function() {				
				showSlide(getSlide());
            }, 12000);
            $("#leader").hover(function() {
                clearInterval(slideShow);
            }, function() {
            	clearInterval(slideShow);
				slideShow = setInterval(function() {
					showSlide(getSlide());
	            }, 6000);
            });

	})(jQuery);