// JavaScript Document


function scrollFrame(direction) {
	if(direction == 'up'){
	   timer = setInterval("doScroll('up');",20);
	}
	else if(direction == 'down'){
	   timer = setInterval("doScroll('down');",20);
	}
}

function stopScroll(){
	clearInterval(timer);
}

function doScroll(direction){
	if(direction == 'down'){
	   document.getElementById('contentContainer').scrollTop += 4;
	}
	else if(direction == 'up'){
	   document.getElementById('contentContainer').scrollTop -= 4;
	}
}