function dw_scrollObj(wndoId, lyrId, horizId) {
    var wn = document.getElementById(wndoId);
    this.id = wndoId; dw_scrollObj.col[this.id] = this;
    this.animString = "dw_scrollObj.col." + this.id;
    this.load(lyrId, horizId);
    
    if (wn.addEventListener) {
        wn.addEventListener('DOMMouseScroll', dw_scrollObj.doOnMouseWheel, false);
    } 
    wn.onmousewheel = dw_scrollObj.doOnMouseWheel;
}
// horizId only needed for horizontal scrolling
horizId only needed for horizontal scrolling
horizId only needed for horizontal scrolling
function dw_scrollObj(wndoId, lyrId, horizId) {
    var wn = document.getElementById(wndoId);
    this.id = wndoId; dw_scrollObj.col[this.id] = this;
    this.animString = "dw_scrollObj.col." + this.id;
    this.load(lyrId, horizId);
    if (wn.addEventListener) {
        wn.addEventListener('DOMMouseScroll', dw_scrollObj.doOnMouseWheel, false);
    } 
    wn.onmousewheel = dw_scrollObj.doOnMouseWheel;
}
function dw_scrollObj ( wndoId , lyrId , horizId ) { var wn = document . getElementById ( wndoId ) ; this . id = wndoId ; dw_scrollObj . col [ this . id ] = this ; this . animString = "dw_scrollObj.col." + this . id ; this . load ( lyrId , horizId ) ; if ( wn . addEventListener ) { wn . addEventListener ( 'DOMMouseScroll' , dw_scrollObj . doOnMouseWheel , false ) ; } wn . onmousewheel = dw_scrollObj . doOnMouseWheel ; }
horizId only needed for horizontal scrolling
horizId only needed for horizontal scrolling