var scTimer; 

function fScroll(dir) {
	var cont = document.getElementById('scroller_container');
	var sc = document.getElementById('scroller');
	var newTop;
	var step;

	step = cont.clientHeight;

	if (dir=='UP'){
		newTop = sc.offsetTop - step;
		topLimit = -1 * (sc.scrollHeight - cont.clientHeight); 
		if (newTop < topLimit) newTop=topLimit;
	}
	else {
		newTop = sc.offsetTop + step;
		if (newTop>0) newTop=0;
	}
 
	sc.style.top = newTop + "px";
	
	// Scroll continuo
	//window.clearTimeout(scTimer);
	//scTimer = window.setTimeout("fScroll('"+dir+"')",100);
}

