targetScroll = "";
targetDirection = 0;	

function setScroll(divID, direction) {
	targetScroll = document.getElementById(divID);
	targetDirection = direction;
}

function scrollStart() {
	scrollInterval = setInterval("doScroll()", 1);
}

function doScroll() {
	var top = targetScroll.scrollTop;
	if (targetDirection == 0) {
		targetScroll.scrollTop = (top + 3);
	} else {
		targetScroll.scrollTop = (top - 3);
	}
}

function scrollStop() {
	clearInterval(scrollInterval);
}
