function Newsticker(Nachricht, VerzoegerungInMs) {
   var Nachricht = Nachricht;
   var VerzoegerungInMs = VerzoegerungInMs;
   var pos = 1;
   var ShowTextLen = 30;
   var ShowText = '';

   this.SetShowTestLen = function(inLen) {
      ShowTextLen = inLen;
   };

   this.start = function() {
      if(Nachricht.length > 0) {
         walk();
      } else {
         document.getElementById('news').firstChild.data =  'FEHLER: Die Nachricht muss mindestens aus einem Zeichen bestehen';
      }
   };

   var walk = function() {
      while (ShowText.length < ShowTextLen) {
        ShowText = ShowText + Nachricht;
      }
      document.getElementById('news').firstChild.data =  ShowText.substring(0, ShowTextLen);
      ShowText = ShowText.substring(1, ShowText.length);
      window.setTimeout(walk, VerzoegerungInMs);
   };

}
