// JavaScript Document

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?)
   var wndo = new dw_scrollObj('wn', 'lyr1', 't1');
   // arguments: dragBar id, track id, axis ("v" or "h"), x offset, y offset
  // (x/y offsets of dragBar in track)
  wndo.setUpScrollbar("dragBar", "track", "h", 1, 1);
  
  // Read instructions if your scrolling layers are inside tables 
}

