<!--
var curr_pos = 0;
var step = 0;
var target_pos = 0;
function ScrollTo(pos) {
	if (-pos != curr_pos) {
		step = 0;
		target_pos = -pos;
		radius = (target_pos - curr_pos) / 2;
		window.setTimeout("MoveElement();", 100);
	}
}

function MoveElement() {
	if (document.getElementById) {
		var last_pos = radius * Math.cos(step * Math.PI/180);
		step+= 8;
		var new_pos = radius * Math.cos(step * Math.PI/180);
		var movement = last_pos - new_pos;
		var elem = document.getElementById("scroller");
		curr_pos += movement;
		if (step >= 180) {
			curr_pos = target_pos;
		}
		elem.style.left = curr_pos + "px";
		if (step < 180) {
			window.setTimeout("MoveElement();", 10);
		}
	}
}
// -->