<!--	START CODE	:	DIV SCROLLER -->            

var ourInterval;
var scrollSpeed = 20;
var scrollHeight = 5;

function scrollStart(direction, divID, elementID) {
	// REPEATED CALL EITHER scrollUp OR scrollDown
	ourInterval = setInterval("scroll"+direction+"('"+divID+"')", scrollSpeed);
}

function scrollEnd(which) {
	// STOP CALLING THE SCROLL FUNCTION
	clearInterval(ourInterval);
}

function scrollUp(which) {
	// SET THE SCROLL TOP
	document.getElementById(which).scrollTop = document.getElementById(which).scrollTop - scrollHeight;
}

function scrollDown(which) {
	// SET THE SCROLL TOP
	document.getElementById(which).scrollTop = document.getElementById(which).scrollTop + scrollHeight;
}
<!--	END CODE	:	DIV SCROLLER -->

