
timer=null;
text="+++ ITP Felgen SS112   +++   Quadrax Box   +++   ";
ii=0;
ll=text.length;

function lauf()
{self.document.laufschrift.zeile.value=text.substring(ii,ll)+" "+text.substring(0,ii);
ii++;
if(ii > ll)ii=0;
      timer=setTimeout("lauf()", 100);
}

function stop()
{wahl='0';
if(timer != null)
         {
         clearTimeout(timer);
         timer=null;
         }
}

function link(zeichen)
{cursorpos = Math.round(zeichen / 7.05)
cursorpos = cursorpos + ii

if(cursorpos > ll)
     {cursorpos = ll - cursorpos
     }

if(cursorpos < 9) var datei = "http://www.quad-gigastore.de";
else if(cursorpos < 84) var datei = "http://www.quad-gigastore.de/quad-teile/Felgen/Felgen/ITP_SS112_10_Zoll.html";else if(cursorpos < 104) var datei = "http://www.quad-gigastore.de/quad-teile/ATV_Zubehoer/ATV_Boxen/ATV_Front_und_Heckboxen/Quadrax_Box_Gross_ATV_Quad.html";

NewsFenster = window.open(datei, "News")
}
lauf();
