var cycle;
var repeat = 0;
function DoTicker (pos)
{
        if (pos < 0)
        {
                pos = 0;
                browser = navigator.userAgent;
                if (browser.indexOf("MSIE") >= 0)
                {
                        document.ticker.ticktext.size = 40;
                        document.ticker.ticktext.maxsize = 40;
                        cycle = 170;
                }
                else
                        cycle = 130;
        }
		
        neu = info.substring(pos, info.length);
        if (pos > 0)
                neu = neu + info.substring(0, pos-1);
        document.ticker.ticktext.value = neu;
        neupos = pos + 1;
        if (neupos >= info.length)
        {
                neupos -= info.length;
                repeat = repeat + 1;
                if (repeat == 30)
                {
                        ns4 = (document.layers) ? 1:0;  
                        ie4 = (document.all)    ? 1:0;
                        if (ns4 || ie4)
                        {
                                repeat = 0;
                                self.location.reload();
                                window.setTimeout("DoTicker("+neupos+")",950000000);
                                return;
                        }
                }
        }
        window.setTimeout("DoTicker("+neupos+")",cycle);
}
