var position=0;lauf=0;msg="+++  NEU: SPANNUNGSWÄCHTER UC 12 für AMS KOMBIALARM  +++  NEU: MFA 2001 mit Profibus-Schnittstelle  +++  NEU: \"Light\" Version - MFA 1001";field_length=40;ff=0;f=field_length/msg;for(i=0;i<=f+1;i++){msg=msg+msg};position=0;speed=100;id=0;function start()
{lauf=1}
function stop()
{lauf=0;ticker();}
function ticker()
{if(lauf==1)
{m=msg.substring(position,position+ff);if(m.length<field_length&&ff==field_length)
{x=field_length-m.length;m+=msg.substring(0,x);};if(ff<field_length){ff++}else{position++};if(position>msg.length){position=0;ff=40;}
if(document.getElementById)
{dd=document.getElementById("ticker");z=dd.childNodes[0];z.nodeValue=m;}
else
{self.document.tickerns.document.open();self.document.tickerns.document.write("<div class='newsticker'>"+m+"</div>");self.document.tickerns.document.close();};id=setTimeout("ticker()",speed);}};