
	news_lines = new Array ();
	news_trobj = null;
	news_lnobj = null;
	news_itrvl = null;
	news_index = 0;
	news_dt    = 15;
	news_dx    = 2;

	function initMarquee ()
	{
		news_trobj = document.getElementById ('news_ticker');

		// Found it? Give'r.
		if (news_trobj != null && typeof (news_trobj) != 'undefined')
		{
			// Get a list of items to tick
			lis = news_trobj.getElementsByTagName ('li');

			for (var i = 0, j = lis.length; i < j; i++)
			{
				news_lines[news_lines.length] = lis[i].innerHTML;
			}

			// Empty the ticker of its children
			news_trobj.innerHTML = '<li id="news_lnobj"></li>';

			news_lnobj = document.getElementById ('news_lnobj');

			// Setup the first line
			news_lnobj.innerHTML = news_lines[0];
			news_trobj.style.textIndent = news_trobj.offsetWidth + 'px';

			news_itrvl = setInterval ('animateMarquee ();', news_dt);

			news_trobj.onmouseover = function () { clearInterval (news_itrvl); }
			news_trobj.onmouseout = function () { news_itrvl = setInterval ('animateMarquee ();', news_dt); }
		}
	}

	function animateMarquee ()
	{
		// Move onto the next news line
		if (parseInt (news_trobj.style.textIndent) <= news_lnobj.offsetWidth * -1)
		{
			if (news_index + 1 > news_lines.length - 1)
			{
				news_lnobj.innerHTML = news_lines[0];
				news_index = 0;
			}
			else
			{
				news_lnobj.innerHTML = news_lines[++news_index];
			}

			news_trobj.style.textIndent = news_trobj.offsetWidth + 'px';
		}

		// Decrement the object's textIndent property by 5
		news_trobj.style.textIndent = (parseInt (news_trobj.style.textIndent) - news_dx) + 'px';
	}

	addHandler (window, 'load', initMarquee);