var boxHeight = $('newsscroller').style.height.replace('px','')
var repeatHeight = $('newsscroller').scrollHeight //get the current height so we know when to wrap
$('newsscroller').innerHTML = $('newsscroller').innerHTML + $('newsscroller').innerHTML  //add a second copy so we can scroll down to the wrap point
var stopScroll = 0
var x
function scrollMe() {
	clearTimeout(x)
	if(stopScroll==1) {
		return
	}
	$('newsscroller').scrollTop=$('newsscroller').scrollTop+1
	if($('newsscroller').scrollTop<=repeatHeight) {
		// Keep on scrollin' 
		x = setTimeout("scrollMe()",40)
	}
	else { 
		// We have hit the wrap point
		$('newsscroller').scrollTop=0
		x = setTimeout("scrollMe()",40)
	}
}
// Start scrolling after five seconds
x = setTimeout("scrollMe()",5000)