// JavaScript Document

    $(document).ready(function() {

		var count = 1;
		var reset = 8;
		var z = 1;
		 
		next();

		window.setInterval(function() {
		 	next();
		}, 2000);

		function next() {

			if(count > reset) {
				count = 1;
			}

			$("#img" + count).hide();
			$("#img" + count).fadeIn("slow");
			$("#img" + count).css('z-index', z);

			count++;
			z++;
		}

	});
	
	
	$(document).ready(function(){ $('#thumbFeatures').jshowoff({ 
			cssClass: 'thumbFeatures',
			effect: 'slideLeft'
	}); 
});	

