<!--
var timerONE;
var timerTwo;

function laufschrift(seed) {
	if (typeof(String.fromCharCode) == "undefined") {
		Ae = "Ae";
		Oe = "Oe";
		Ue = "Ue";
		ae = "ae";
		oe = "oe";
		ue = "ue";
		sz = "ss";
	}
	else {
		Ae = String.fromCharCode(196);
		Oe = String.fromCharCode(214);
		Ue = String.fromCharCode(220);
		ae = String.fromCharCode(228);
		oe = String.fromCharCode(246);
		ue = String.fromCharCode(252);
		sz = String.fromCharCode(223);
	}

	var msg = "Klick auf den Clown um einzutreten...";
//	var msg = "R "+Ae+" U M U N G S V E R K A U F !   Alles muss raus!!! Wegen Umbau vom 11. Juni bis 30. Juni 2007";

	var out = "";
	var c   = 1;

	if (seed > 100) {
		seed--;
		var cmd="laufschrift(" + seed + ")";
		timerTwo=window.setTimeout(cmd,100);
	}
	else if (seed <= 100 && seed > 0) {
		for (c=0 ; c < seed ; c++) {
			out+=" ";
		}
		out+=msg;
		seed--;
		var cmd="laufschrift(" + seed + ")";
		window.status=out;
		timerTwo=window.setTimeout(cmd,100);
	}
	else if (seed <= 0) {
		if (-seed < msg.length) {
			out+=msg.substring(-seed,msg.length);
			seed--;
			var cmd="laufschrift(" + seed + ")";
			window.status=out;
			timerTwo=window.setTimeout(cmd,100);
		}
		else {
			window.status=" ";
			timerTwo=window.setTimeout("laufschrift(100)",75);
		}
	}
}

function startlauf() {
	timerONE=window.setTimeout('laufschrift(100)',500);
}

function stoplauf() {
	clearTimeout(timerTwo);
	clearTimeout(timerONE);
}
// -- End code -->
