<!--

var scroll_interval;
var top_position		= 0;	
var scroll_speed		= 30;	// Speed at which the content scrolls


function initialize_auto_scroll() 
{
	document.getElementById('scrolling_news').onmouseover = function() { stop_scrolling(); }
	document.getElementById('scrolling_news').onmouseout = function() { start_scrolling(); }
	
	var scrolling_txt_node	= document.getElementById('scrolling_news');		
	var sidebar_node		= document.getElementById('sidebar');		
	var container_height 	= document.getElementById('scrolling_container').offsetHeight;
	
	scrolling_txt_node.style.paddingTop = container_height + "px";
	sidebar_node.style.height 			= container_height + 100 + "px";
}

function auto_scroll()
{
	var scrolling_txt_node 	= document.getElementById('scrolling_news');
	var scrolling_height 	= scrolling_txt_node.offsetHeight;
	
	if (Math.abs(top_position) < scrolling_height)
		top_position -= 1;
	else
		top_position = 0;
	
	scrolling_txt_node.style.top = top_position + "px"; 	
	start_scrolling();		
}

function stop_scrolling()
{	clearTimeout(scroll_interval);	}

function start_scrolling()
{	scroll_interval = setTimeout("auto_scroll()",scroll_speed);	}

//-->