<!--

var stop = 0;

function getElementHeight(Elem) {
	var divh = document.getElementById(Elem).offsetHeight;

	return divh;
}


function scrollDown() {
	var elem = document.getElementById('scrolling');
	var height = getElementHeight('scrolling');
	var curTop = parseInt(elem.style.top);
	if(0-curTop < height - 300 ) {
		elem.style.top = curTop - 3.6 + "px";
	}
}

function scrollUp() {
	var elem = document.getElementById('scrolling');
	var curTop = parseInt(elem.style.top);
	if(curTop < 0 ) {
		elem.style.top = curTop + 3.6 + "px";
	}
}

function startScroll(direction) {
	if(direction == "up") {
		stop = setInterval("scrollUp()", 10 );
	}
	else if (direction == "down") {
		stop = setInterval( "scrollDown()", 10 );
	}
}

function stopScroll() {
	clearInterval(stop);
}

// -->
