var ourInterval;

var scrollSpeed = 90;
var scrollHeight = 10;
var scrollHeightMouseWheel = 50;

function scrollStart( direction, divID, elementID ){
    ourInterval = setInterval("scroll"+direction+"('"+divID+"')", scrollSpeed);
}
function scrollEnd(which){
    clearInterval(ourInterval);
}

function scrollUp(which){
    document.getElementById(which).scrollTop = document.getElementById(which).scrollTop - scrollHeightMouseWheel;
}
function scrollDown(which){
    document.getElementById(which).scrollTop = document.getElementById(which).scrollTop + scrollHeightMouseWheel;
}

function rolloverDiv(currdiv,newstyle) {
	if (currdiv && newstyle) currdiv.className = newstyle
}
