<script type="text/javascript">
<!--
var zeitScrollen = %ld;
var SprungPixel = %ld;
var zeitLaden =  %ld;
var altePosition = -1;

function start() 
{
    var aktiv1 = window.setInterval("scrollen()",zeitScrollen);
    var aktiv2 = window.setInterval("laden()",zeitLaden);
}

function scrollen() 
{
    var neuePosition = 0;
    window.scrollBy(0,SprungPixel);
    if  (window.pageYOffset) 
        neuePosition = window.pageYOffset;
    else if (document.body && document.body.scrollTop) 
             neuePosition = document.body.scrollTop;
    if (altePosition == neuePosition)
    { 
        scrollTo(0, 0);
        altePosition = -1;
    }
    else 
    {
        window.scrollBy(0, SprungPixel);
        altePosition = neuePosition;
    }
}

function laden() 
{
    window.history.go(0);
}

// -->
</script>
