
       /* code modifidied from ticker code found on http://www.tutorials.de/forum/javascript-ajax/147562-stinknormaler-ticker-mit-schleife.html */
        
         
        //tNews=new Array();
 
        //°°°°°°°°°°the News
        //tNews[0]='our news <a href="linkworked.html">it works</a>...neat Ticker!';
        //tNews[1]='the Ticker ticks, and it rolls :o)';
        //tNews[2]='i think i might have it if i can import strings from php';
        //tNews[3]='Update would then happen from the database';
 
        //°°°°°°°°°°Delimiter between News items
        tDelimiter  =' + + + ';
 
        //°°°°°°°°°°Interval in ms
        tInterval   =60;
 
        //°°°°°°°°°°Stop at mouseover?true:false
        tStop       =true;
 
        //°°°°°°°°°°If slide between News here value increase...minimum:1
        tRepeat     =2;
 
        //°°°°°°°°°°Frame
        tBorder     ='1px solid #2f28bc';
 
        //°°°°°°°°°°width
        tWidth      =500;
 
        //padding for content (top+bottom)
        tPadding    =1;
        
        //°°°°°°°°°°°color
        //color = '#1B5474';
 		color = '#fefefe';
 		
        //The appearance by CSS is adaptable using the Selectors #ticker 
 
        /* * * * * * * * * * * * * * * * * * T H E  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+tNews.join(tDelimiter);tNews=tTxt;
            for(i=1;i<tRepeat;++i){tNews+=tTxt;}
            document.write('<div style="position:relative; top:-22px; left:180px; overflow:hidden;border:'+tBorder+';width:'+
             tWidth+'px;padding:'+tPadding+'px 0px '+tPadding+'px 0px;color:'+ color+';">'+
             '<nobr><span id="ticker" style="position:relative"'+tStop+'>'+
             tNews+'</span></nobr></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--;
            }
            tGo=setInterval('DM_ticken()',tInterval);
            }
 
