

/*
var scrlStr ="Dieser Text wird auch englisch als Lauftext dargestellt +++ " +
" und hier ist noch mehr Lauftext +++ " +
" wir können hier beliebig viele Informationen anzeigen +++ " +
" und endlos laufen lassen ..."
*/

var width = 150;        //Beginn Lauftext Rechtswert im Fenster
var strLen = scrlStr.length;
var pos = 1 - width;

function scroll(){
var scroll = "";
pos++;
if (pos == strLen)
pos = 1 - width;

if (pos<0) {
for (var i=1; i<=Math.abs(pos); i++)
scroll = scroll + " ";
scroll = scroll + scrlStr.substring(0, width - i + 1);
}
else
{scroll = scroll + scrlStr.substring(pos, pos + width);}

document.scrollMsg.message.value = scroll;
setTimeout("scroll()",150);
}

