/* JavaScript Copyright Duncan Green and Tim Hill 2006 */
var t=0;
var time;
function move_up(div,amm) {
	if (t>-700){
		document.getElementById(div).style.top = t+"px";
		t=t-amm;
		time = window.setTimeout("move_up('"+div+"','"+amm+"')",30);
	} else {
		window.clearTimeout(time);
	}
}
function move_down(div,amm) {
	if (t<0){
		document.getElementById(div).style.top = t+"px";
		k = Number(amm);
		t = t+k;
		time = window.setTimeout("move_down('"+div+"','"+amm+"')",30);
	} else {
		window.clearTimeout(time);
	}
}
function stopani(ex) {
	if(ex=='exit'){
		window.clearTimeout(time);
	}
}
/* end of scroller code */