// JavaScript Document

function slideShow() {
    var $active = $('#slideshow LI.active');

    if ( $active.length == 0 ) $active = $('#slideshow li:last');

    var $next =  $active.next().length ? $active.next() : $('#slideshow LI:first');
	
	$next.css("left", "0px");
	
	$active.fadeOut(1000, function() {
		$active.css("left","-900px");		
	});	
	$next.fadeIn(1000, function() {
		$active.removeClass('active');
		$next.addClass('active');
	});
	
}

