         /* * * * * * * * * * * * * * * * D I E  V A R I A B L E N * * * * * * * * * * * * * * * * * */
TickerText=new Array();
//°°°°°°°°°°Die News
TickerText.push('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
TickerText.push('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
TickerText.push('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
TickerText.push('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
TickerText.push('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
TickerText.push('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
TickerText.push('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
TickerText.push('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
TickerText.push('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
TickerText.push('<span class="grey bold">Das besondere Angebot</span>&nbsp;-&nbsp;');
TickerText.push('Das ganze Jahr gepr&uuml;fte Sonne&nbsp;-&nbsp;');
TickerText.push('<span class="black bold pt14">Solarium</span><span class="grey bold pt12">&Ouml;hningen</span>&nbsp;-&nbsp;');
TickerText.push('&Ouml;ffnungszeiten: Mo. Bis Fr. 09.00 Uhr bis 21.00 Uhr&nbsp;-&nbsp;');
TickerText.push('Samstag 09.00 Uhr bis 13.00 Uhr&nbsp;&nbsp;-&nbsp;&nbsp;');
TickerText.push('<span class="black bold pt14">Solarium</span><span class="grey bold pt12">&Ouml;hningen</span>');

//°°°°°°°°°°Delimiter zwischen den einzelnen News
tDelimiter  ='  ';

//°°°°°°°°°°Interval in ms
//tInterval   =10;
tInterval   = 6;

//°°°°°°°°°°Stop bei mouseover?true:false
//tStop       = true;
tStop       = false;

//°°°°°°°°°°Falls Leeraum zwischen News...hier Wert erhoehen...minimum:1
tRepeat     =2;

//°°°°°°°°°°Rahmen
//tBorder     ='3px solid green';
tBorder     = '0';

//°°°°°°°°°°Breite
tWidth      =700;

//°°°°°°°°°°Höhe
//tHeight     =20;
tHeight     =30;

//Abstand Rahmen->Inhalt (top+bottom)
tPadding    =1;

//Das Aussehen per CSS anpassbar unter Verwendung des Selectors #ticker

/* * * * * * * * * * * * * * * * * * D E R  T I C K E R * * * * * * * * * * * * * * * * * * * * * */
IE  = document.all&&!window.opera;
DOM = document.getElementById&&!IE;

if(DOM||IE) {
   var tGo,
      tPos  = 0,
      tStop = tStop?'onmouseover="clearInterval(tGo)"'+ 'onmouseout="tGo=setInterval(\'DM_ticken()\','+tInterval+')"':'',
      tTxt  = tDelimiter+TickerText.join(tDelimiter),
      TickerText = tTxt;
        
   for(i = 1; i < tRepeat; ++i) {
      TickerText+=tTxt;
   }
          
   document.write('<div style="overflow:hidden;border:' + tBorder +
                 ';width:' + tWidth + 'px;height:' + tHeight + 'px;' +
                 'padding:' + tPadding + 'px 0px ' + tPadding + ' px 0px;">' +
                 '<div style="position:absolute;width:' + tWidth + 'px;height:' + tHeight + 'px;'+
                 'overflow:hidden;clip:rect(0px '+tWidth+'px '+tHeight+'px 0px)">'+
                 '<span id="ticker" style="white-space:nowrap;position:relative;"' + tStop + '>' + TickerText + 
                 '</span></div></div>');
        
   tObj = IE ? document.all.ticker : document.getElementById('ticker');
    
   function DM_ticken() {
      tOffset = tObj.offsetWidth/tRepeat;
      if(Math.abs(tPos) > tOffset) {
         tPos=0;
      }
      tObj.style.left=tPos+'px';
      tPos=parseInt(tPos)-1;
   }
    
   tGo=setInterval('DM_ticken()',tInterval);
}   

