//<!--
var speed=1;
var movevar;

function scrollDown(){
	if(parseInt(document.getElementById("news").style.top)>=(document.getElementById("news").offsetHeight*(-1)+225)){
		document.getElementById("news").style.top=parseInt(document.getElementById("news").style.top)-speed+"px";
		movevar=setTimeout("scrollDown()",20);
	}
}

function scrollUp(){
	if (parseInt(document.getElementById("news").style.top)<=0){
		document.getElementById("news").style.top=parseInt(document.getElementById("news").style.top)+speed+"px";
		movevar=setTimeout("scrollUp()",20);
	}
}

function scrollOff(){
	clearTimeout(movevar);
}

function chgSpeed(i){
	if(i)
		speed=5;
	else
		speed=1;
}
//-->