<!--  Special News Ticker	var
//This is the text shown on the tape.
//One line of arbitrary size. Quotes etc. have to be escaped by a backslash.
//msg="NEU... +++ Eventcounter +++ Eventcounter +++ Eventcounter +++ ...";
separator=" +++ ";
//separates two instances of msg
SIZE=100;
//must be chosen in accordance with size of tickertape.text!!
whiteSpace=" ";
//initial blank
shownText="";
//text currently in tickertape.text
ptr=0;
//current position in msg
delay=0;

//is really set by parameter to startTicker()
function startTicker(d) {
	//set delay
	delay=d;
	//initialize msg
	msg=msg+separator
	//initialize shownText
	for (i=0;i<SIZE;i++) {shownText=shownText+whiteSpace;}
	document.tickertape.text.value=shownText;
	oneTick();
}

function oneTick() {
	shownText=shownText.substring(1, SIZE-1) + nextChar();   	      
	document.tickertape.text.value=shownText;
	timer=setTimeout("oneTick()", delay);
}

function nextChar() {
	ptr%=msg.length;
	return msg.charAt(ptr++);
}
//end of Special News Ticker -->

