function verweisfader(anzahl, FadeIn, Dauer) {
		if (FadeIn == null) {
			FadeIn = 1000;
		}
		if (Dauer == null) {
			Dauer = 4000;
		}
		i=1;
		setTimeout("an_1st_time("+i+","+anzahl+","+FadeIn+","+Dauer+");", 100);
}

function an_1st_time(i, anzahl, FadeIn, Dauer) {
	i = eval(i);
	anzahl = eval(anzahl);
	FadeIn = eval(FadeIn);
	Dauer = eval(Dauer);

	position_left = -60;
	position_top = 80;
	document.getElementById("zitate").style.left = position_left + "px";
	document.getElementById("zitate").style.top = position_top + "px";

	$("#zitat"+i).fadeIn(FadeIn);
	setTimeout("aus("+i+","+anzahl+","+FadeIn+","+Dauer+");", Dauer);
}

function an(i, anzahl, FadeIn, Dauer) {
	i = eval(i);
	anzahl = eval(anzahl);
	FadeIn = eval(FadeIn);
	Dauer = eval(Dauer);
	
	// Position zufaellig ermitteln
	position_left = 399 * ( Math.random() );
	position_left = Math.round( position_left )-260; // position_left anpassen: (-260) bis (139)
	position_top = 130 * ( Math.random() );
	position_top = Math.round( position_top )+10; // position_top anpassen: (10) bis (140)
	// position_left = 139;
	// position_top = 140;
	if ( (position_left < -250) && (position_top < 20) ) {
		position_left = position_left + 20;
		position_top = position_top + 15;
	}
	// position_left = 129;
	// position_top = 200;
	document.getElementById("zitate").style.left = position_left + "px";
	document.getElementById("zitate").style.top = position_top + "px";
	$("#zitat"+i).fadeIn(FadeIn);
	setTimeout("aus("+i+","+anzahl+","+FadeIn+","+Dauer+");", Dauer);
}

function aus(i, anzahl, FadeIn, Dauer) {
	i = eval(i);
	anzahl = eval(anzahl);
	FadeIn = eval(FadeIn);
	Dauer = eval(Dauer);
	$("#zitat"+i).fadeOut(FadeIn);
	i++;
	if (i > anzahl) {
		i = 1;
	}
	setTimeout("an("+i+","+anzahl+","+FadeIn+","+Dauer+");", (FadeIn*3/2));
}