var bgPos = -540;
        var scrollDelay = 50;
        var direction = 1;
        
        function scroller(){
            var bgr = new getObj('pnrm');
            if (direction == 1 && bgPos == 0) direction = 2;
            if (direction == 2 && bgPos == -752) direction = 1;
            if (direction==1) bgPos++;
            else bgPos--;
            
            eval('bgr.style.backgroundPosition="'+bgPos+'px 0px";');
                window.interval = setTimeout("scroller()", scrollDelay);
           }
            
            // the following function's taken from QuirksMode website:
            function getObj(name) {
            var o = 'this.obj = document.';
            var s = 'this.style = document.';
            if (document.getElementById) {
            eval(o + 'getElementById(name);');
            eval(s + 'getElementById(name).style;');
            }
            else if (document.all) {
            eval(o + 'all[name];');
            eval(s + 'all[name].style;');
            }
            else if (document.layers) {
            eval(o + 'layers[name];');
            eval(s + 'layers[name];');
            }
        }
        function zaspu () {
            if (window.interval > 0) {window.clearTimeout(window.interval);window.interval=0;}
            else scroller();
        }