var step = 5;
var TOscrollDown;
var TOscrollUp;

function scrollDown() {
alert(document.getElementById('headertext').style.height);
	document.getElementById('headertext').scrollTop += step;
	TOscrollDown = window.setTimeout("scrollDown()", 100);
}

function scrollUp() {
	document.getElementById('headertext').scrollTop -= step;
	TOscrollUp = window.setTimeout("scrollUp()", 100);
}

function unsetTimeout() {
	window.clearTimeout(TOscrollDown);
	window.clearTimeout(TOscrollUp);
}

function headertextexpand(showScrollbar) {
	document.getElementById('headertextexpbutton').style.display = 'none';
	if(showScrollbar) {
		document.getElementById('headertext').style.overflow = "scroll";
		document.getElementById('headertext').style.height = '80px';
	}
	else {
		document.getElementById('headertext').style.height = '87px';
	}
}

