var $ss_active = 0;
function slideShow($current) {
	$(document).ready(function(){
		$total = $(".slideshow img").size();
		if ($current >= $total) $current = 0;
		$(".slideshow img").eq($ss_active).fadeOut(2000);
		$(".slideshow img").eq($current).fadeIn(2000);
		$ss_active = $current;
	});
	
	return false;
}

$(function() {
	slideShow(0);
	setInterval( "slideShow($ss_active + 1)", 5000 );
});
