jQuery(function() { 
	currentSlide = 0;
	play = true;

	if (play){
		setTimeout(playSlides, 5000);
	}else{
		
	}
	
	jQuery('ul.slideshow li').eq(currentSlide).fadeIn(1000);

}); 
function playSlides(){
	if (play){
		jQuery('ul.slideshow li').eq(currentSlide).fadeOut(1000);
		currentSlide++;
		if (currentSlide > jQuery('ul.slideshow li').length - 1)
			currentSlide = 0;
		jQuery('ul.slideshow li').eq(currentSlide).fadeIn(1000);
		setTimeout(playSlides, 5000);
	}
}
