var ourInterval;
var scrollSpeed	= 50;
var scrollWidth	= 10;
var divID	= "PortfolioThumbs";

function scrollStart(direction, NewSpeed)
{
ourInterval = setInterval("scroll"+direction+"('"+divID+"')", scrollSpeed);
}

function scrollEnd()
{
clearInterval(ourInterval);
}

function scrollLeft(which)
{
document.getElementById(which).scrollLeft = document.getElementById(which).scrollLeft - scrollWidth;
}

function scrollRight(which)
{
document.getElementById(which).scrollLeft = document.getElementById(which).scrollLeft + scrollWidth;
}