var Contents     = document. getElementById("Ticker"). innerHTML;
var ticker_style = "font-family:Arial; font-size:12px;";
var ticker_wait  = false;

ticker_start ();

// ---------------------------------------------------------------------------
  
function ticker_start ()
{
	var Ticker_OK = false;
  var Ticker    = document. getElementById ("Ticker");
	var Width     = Ticker. style. width;
	var img       = "<img src='/images/space.gif' width=" + Width + " height=0>";

  Ticker. innerHTML = "<TABLE cellspacing='0' cellpadding='0' width='100%'><TR><TD nowrap='nowrap'>" + img + 
                      "<SPAN style='" + ticker_style + 
                      "' ID='ticker_main' width='100%'>&nbsp;</SPAN>" + img + 
                      "</TD></TR></TABLE>";

  document. getElementById ("ticker_main"). innerHTML = Contents;
  Ticker.   scrollLeft     = 0;
  Ticker.   style. display = "block";

  ticker_scroll ();
} // ticker_start

// ---------------------------------------------------------------------------
  
function ticker_scroll ()
{
  var Ticker  = document. getElementById ("Ticker");

	if (!ticker_wait) Ticker.scrollLeft += 2;

	if (Ticker. scrollLeft >= Ticker. scrollWidth - Ticker. offsetWidth) Ticker. scrollLeft = 0;

	window. setTimeout ("ticker_scroll ()", 30);
} // ticker_scroll

