if ( dw_scrollObj.isSupported() ) {
    dw_writeStyleSheet('css/scroll.css');
    dw_Event.add( window, 'load', init_dw_Scroll);
}

function init_dw_Scroll() {
    // Initialize scroll area
    // id of outer div, id of content div, id of table containing images
    var wndo1 = new dw_scrollObj('ScrollCont', 'Scr', 'ScrTab');
    
    // Initialize scroll links
    // id of element within which to locate scroll controls
	wndo1.setUpScrollControls('scrollbar');	
	
    // Initialize scrollbar
    // id of dragbar, id of track, 
    // axis ('v' for vertical scrolling, 'h' for horizontal)
    // horizontal offset of dragbar in track, vertical offset
    // size dragBar according to amount of content? (boolean)
    wndo1.setUpScrollbar('dragBar', 'track', 'h', 0, 0, true);

	// arguments: scroll area id, id of element to scroll to,
	// id of content div, duration of glide
	//dw_scrollObj.scrollToId('ScrollCont', 'ImgId', 'Scr', 500);
	
	
	// scroll to x,y,duration
	// wndo1.initScrollToVals(600,0, 1);
	}
