// JavaScript Document

var t=0;
var time;
function moveIt_up(div,amm) {
	var divTop = document.getElementById(div).style.top;
	if (t>-1850){
		document.getElementById(div).style.top = t + "px";
		t=t-amm;
		time = window.setTimeout("moveIt_up('scrollerfooter','2')",50);
	} else {
		window.clearTimeout(time);
	}
}
function moveIt_down(div,amm) {
	var divTop = document.getElementById(div).style.top;
	if (t<0){
		document.getElementById(div).style.top = t + "px";
		k = amm;
		k = Number(k);
		t = t+k;
		time = window.setTimeout("moveIt_down('scrollerfooter','2')",50);
	} else {
		window.clearTimeout(time);
	}
}
function stopIt(ex) {
	if(ex=='exit'){
		window.clearTimeout(time);
	}
}
