var timerONE
var timerTWO
var defStatus = 'Alles über die Harzer Schmalspurbahnen GmbH (HSB) - Alles über Europas größtes Dampfeisenbahnnetz'
function ShowStatus(newstat)        
{    
//kill old timers    
clearTimeout(timerONE)          
clearTimeout(timerTWO)    
//set the window to default status on idle    
if (newstat != defStatus)        
{        
var cmd1 = 'ShowStatus("' + defStatus + '")'        
timerONE = window.setTimeout(cmd1,10000)        
}     
scrllStatus(newstat,newstat.length)
}
function scrllStatus(scrllStat,i)
{
    if (i >= 0)        
{        
if      (i >= 2) i = i - 2       
 else    --i        
window.status = scrllStat.substring(i,scrllStat.length)        
cmd2='scrllStatus("'+ scrllStat +'",'+ i +')'        
timerTWO = window.setTimeout(cmd2,10)        
}
}