var scrollTextTimer;

function scrollText(divId,value){
	var divText = document.getElementById(divId);
	var top = divText.style.top ? parseInt(divText.style.top) : 0;
	var height = divText.clientHeight;
	var parentHeight = divText.parentNode.clientHeight;
	var minTop = -(height - parentHeight);
	if( top - value < 0 && top - value > minTop ){
		divText.style.top = (top - value) + 'px';
		scrollTextTimer = setTimeout("scrollText('"+divId+"',"+value+")", 40 );
	}
}
function noScrollText(){
	clearTimeout(scrollTextTimer);
}
