/******************************************************************************************
 * JavaScript functions -- scrollList (scrolls verdict list)                              *
 * Purpose: Scroll verdict list on home page                                              *
 * Requirement: Must be placed at bottom of page
 * Created: 12/04/08                                                                     *
 ******************************************************************************************/

var repeatHeight; //= $('verdicts').scrollHeight; //get the current height so we know when to wrap
var stopScroll;// = 0;
var x;
function scrollList() {
	clearTimeout(x)
	if(stopScroll==1) {
		return
	}
	$('verdicts').scrollTop=$('verdicts').scrollTop+1
	if($('verdicts').scrollTop<=repeatHeight) {
		// keep on scrolin' 
		x = setTimeout("scrollList()",110)
	}
	else { //we have hit the wrap point
		$('verdicts').scrollTop=0
		x = setTimeout("scrollList()",110)
	}
}