$(document).ready(function() {
	// put all your jQuery goodness in here.
	$anzahl = 8;
	$act = 0;
	$array = [];
	$("#slide li").css('display','none');
	$i = 0;
	$("#slide li").map(function() {
		$array[$i] = $(this);
		$i++;
	});
	fadeIn();
	
});
function fadeIn() {
	$old = $act-1;
	$old = $old<0 ? $anzahl-1 : $old;
	$array[$act].fadeIn('slow');
	$array[$old].fadeOut('slow');
	$act++;
	$act = $act>=$anzahl ? 0 : $act;
	window.setTimeout(fadeIn, 4000);
}

