var ourInterval
var scrollSpeed = 60;
var scrollHeight = 5;

function scrollStart(direction, divID, elementID){
	ourInterval = setInterval("scroll"+direction+"('"+divID+"')", scrollSpeed);
	var curElem = document.getElementById(elementID);
	curElem.className =elementID+"Over";
}

function scrollEnd(which){
	clearInterval(ourInterval);
	var curElem = document.getElementById(which);
	curElem.className =which;
}


function scrollUp(which){
	document.getElementById(which).scrollTop = document.getElementById(which).scrollTop - scrollHeight;
}

function scrollDown(which){
	document.getElementById(which).scrollTop = document.getElementById(which).scrollTop + scrollHeight;
}