var now = new Date().getTime();
for (var i=0; i<text.length; i++)
{
	if (out != '') out += ' +++ ';
	out += text[i];
}
out = '+++ ' + out + ' ';
var ticker0 = document.getElementById('ticker0');
var ticker1 = document.getElementById('ticker1');
var ticker2 = document.getElementById('ticker2');
//ticker0.style.top = '70px';
ticker0.style.left = '0px';
ticker0.style.height = '25px';
ticker0.style.width = '100%';
ticker0.style.backgroundColor = '#FFFFFF';
ticker0.style.overflow = 'hidden';
ticker1.style.top = '0px';
ticker1.style.left = '0px';
ticker1.style.paddingTop = '4px';
ticker1.style.paddingBottom = '4px';
ticker1.style.paddingLeft = '0px';
ticker1.style.paddingRight = '0px';
ticker1.style.color = '#000000';
ticker1.style.backgroundColor = '#FFFFFF';
ticker1.style.fontWeight = 'bold';
ticker1.style.fontSize = '10pt';
ticker1.style.fontFamily = 'monospace';
ticker2.style.top = '0px';
ticker2.style.left = '0px';
ticker2.style.paddingTop = '4px';
ticker2.style.paddingBottom = '4px';
ticker2.style.paddingLeft = '0px';
ticker2.style.paddingRight = '0px';
ticker2.style.color = '#000000';
ticker2.style.backgroundColor = '#FFFFFF';
ticker2.style.fontWeight = 'bold';
ticker2.style.fontSize = '10pt';
ticker2.style.fontFamily = 'monospace';
ticker1.innerHTML = 'A';
var charpixel = ticker1.offsetWidth;
var textpixel = charpixel * out.length;
var tickerpixel = ticker0.offsetWidth;
if (textpixel < tickerpixel) out = out + ' ' + out;
if (textpixel < tickerpixel) out = out + ' ' + out;
ticker1.innerHTML = '<nobr>' + out + ' +++</nobr>';
ticker2.innerHTML = '<nobr>' + out + ' +++</nobr>';
ticker1.style.left = '0px';
ticker2.style.left = '0px';
var position1 = 0;
var position2 = position1 + textpixel;
ticker1.style.left = position1 + 'px';
ticker2.style.left = position2 + 'px';
window.setTimeout('shift()',1000);
function back()
{
	window.setTimeout('shift()',33);
}
function shift()
{
	position1--;
	position2--;
	if (position1 <= 0) position2 = position1 + textpixel;
	if (position2 <= 0) position1 = position2 + textpixel;
	ticker1.style.left = position1 + 'px';
	ticker2.style.left = position2 + 'px';
	//if (position1 == 0 || position2 == 0) window.setTimeout('back()',2000);
	//else window.setTimeout('shift()',33);
	window.setTimeout('shift()',33);
}
var Zeilen = new Array();


