// JavaScript Document
var ourInterval;
// var origColor = "#FFFFFF";
// var overColor = "#FFFFFF";
var scrollSpeed = 80;
var scrollHeight = 5;
var scrollWidth = 5;
function scrollStart(direction, divID, elementID){
//	document.getElementById(elementID).style.backgroundColor = overColor;
	ourInterval = setInterval("scroll"+direction+"('"+divID+"')", scrollSpeed);
	}
function scrollEnd(which){
//	document.getElementById(which).style.backgroundColor = origColor;
	clearInterval(ourInterval);
	}
function scrollUp(which){
	document.getElementById(which).scrollTop = document.getElementById(which).scrollTop - scrollHeight;
	}
function scrollDown(which){
	document.getElementById(which).scrollTop = document.getElementById(which).scrollTop + scrollHeight;
	}
function scrollLeft(which){
	document.getElementById(which).scrollLeft = document.getElementById(which).scrollLeft - scrollWidth;
	}
function scrollRight(which){
	document.getElementById(which).scrollLeft = document.getElementById(which).scrollLeft + scrollWidth;
	}
