var barOne, barTwo;


// layout vars, defined in scrollbar.js, overwrite here.
scrollerBG = "scrollbg.jpg";  // scrollbar background
upSRC      = "up.jpg";  // scroll up arrow
downSRC    = "down.jpg";  // scroll down arrow
scrollSRC  = "bar.gif"; // draggable scroll element

scrollerHeight = 25;  // height of draggable scroll element
leftOffset = 0;       // distance the content layer is from the clipped container, usually 0;
extraSpace = 0;      // extra space at the bottom, can be used if the scrollbar's height does
                      // not correspond with the clipped height.

function init() {	
	// init() is called onload automatically

	// new scrollbar(x,y,w,h, nest)
	// you can nest the scrollbar in another layer by passing that
	// layer's ID as 5th parameter. (ideal for draggable windows etc)
	barOne = new scrollbar(445,0,25,355);

	// Assign a layer to be scrolled by the scrollbar. height
	// and everything else is automatically calculated.
	// scrollbar.setLayer('layerID');
	barOne.setLayer('content');
}