window.addEvent('domready', function() {
	
	//var thePlayBtn = $('playbtn');
	var theItemsBox = $('things_box');
	theItemsBox.setStyle('overflow', "hidden");  //remove scrollbar(s)
	
	var upBtn = $('up_btn');
	var dwnBtn = $('dwn_btn');
	
	var moveAmt = theItemsBox.getSize().y;
	var maxOffset = theItemsBox.getScrollSize().y;
	var myScroll = new Fx.Scroll(theItemsBox, {
		duration: 1000,
		offset: {
			'x': 0,
			'y': 0
		},
		link: 'cancel'
	});
	
	upBtn.addEvents({
		click: function() {
			var scrollPos = theItemsBox.getScroll().y;
			myScroll.start(0,  scrollPos - moveAmt);
			//theItemsBox.scrollTo(0, scrollPos - 70);
		},
		mouseenter: function() {
			this.setStyle('cursor', 'pointer');
		}
	});
	
	dwnBtn.addEvents({
		click: function() {
			var scrollPos = theItemsBox.getScroll().y;
			myScroll.start(0,  scrollPos + moveAmt);
			//theItemsBox.scrollTo(0, scrollPos + 70);
		},
		mouseenter: function() {
			this.setStyle('cursor', 'pointer');
		}
	});
					 
});

