$(function(){
	interval_slideshow = setInterval( "slideShow()", 4000 );
});
            
function slideShow() {
	var $active = $('#slideshow .slide.active');
	if ( $active.length == 0 ) $active = $('#slideshow .slide:last');
	var $next =  $active.next().length ? $active.next() : $('#slideshow .slide:first');

	$active.fadeOut(1000);
	$next.fadeIn(1000, function() {
		$active.removeClass('active');
		$next.addClass('active');
	});
}
