    var wndo = [];

    // Necessary to avoid errors before page loaded
    function dw_startScroll(num, dir, sp) {
      if ( wndo[num] && wndo[num].startScroll ) wndo[num].startScroll(dir, sp);
    }

    function dw_stopScroll(num) {
      if ( wndo[num] && wndo[num].stopScroll ) wndo[num].stopScroll();
    }

    // increase speed onmousedown of scroll links
    function dw_doubleSpeed(num) {
      if ( wndo[num] && wndo[num].speed ) wndo[num].speed *= 2;
    }

    function dw_resetSpeed(num) {
      if ( wndo[num] && wndo[num].speed ) wndo[num].speed /= 2;
    }

    function initScrollLayer() {
      // arguments: id of layer containing scrolling layers (clipped layer), id of layer to scroll,
      // if horizontal scrolling, id of element containing scrolling content (table?)
      wndo[0] = new dw_scrollLayer('wn', 'lyr1', 't1');

      // pass id's of any wndo's that scroll inside tables
      // i.e., if you have 3 (with id's wn1, wn2, wn3): GeckoTableBugFix('wn1', 'wn2', 'wn3');
      GeckoTableBugFix('wn');
    }
     function ETW_getElement(myelement) {
      if (document.getElementById) {
        return document.getElementById(myelement);
      } else if (document.all) {
        eval ('myresult = document.all.'+myelement);
        return myresult;
      } else if (document.layers) {
        return document.layers[myelement];
      }
      return;
    }
     function initPage() {
      if (ETW_getElement('lyr1')) initScrollLayer();
    }

