var status = new Array();
function clearField(name)
{
if (!status[name.name])
name.value = '';
status[name.name] = 'edited';
}

document.write("<style>");
document.write("	.ticker");
document.write("	{");
document.write("		position:relative;");
document.write("		visibility:hidden;");
document.write("		left:0px;");
document.write("		top:0px;");
document.write("		border-width:0px;");
document.write("		border-style: none;");
document.write("		font-size:11px;");
document.write("		font-weight:bold;");
document.write("		width:462px;");
document.write("		height:14px;");
document.write("	}");
document.write("	.container");
document.write("	{");
document.write("		position:relative;");
document.write("		height:14px;");
document.write("		width:710px;");
document.write("		overflow:hidden;");
document.write("</style>");

function Ticker(name, id, shiftBy, interval)
{
  this.name     = name;
  this.id       = id;
  this.shiftBy  = shiftBy ? shiftBy : 1;
  this.interval = interval ? interval : 100;
  this.runId	= null;

  this.div = document.getElementById(id);
  var node = this.div.firstChild;
  var next;
  while (node)
  {
    next = node.nextSibling;
    if (node.nodeType == 3)
      this.div.removeChild(node);
    node = next;
  }
  this.left = 0;
  this.shiftLeftAt = this.div.firstChild.offsetWidth;
  this.div.style.height	= this.div.firstChild.offsetHeight;
  this.div.style.width = 2 * screen.availWidth;
  this.div.style.visibility = 'visible';
}

function startTicker()
{
  this.stop();
  this.left -= this.shiftBy;
  if (this.left <= -this.shiftLeftAt)
  {
    this.left = 0;
    this.div.appendChild(this.div.firstChild);
  
    this.shiftLeftAt = this.div.firstChild.offsetWidth;
  }
  this.div.style.left = (this.left + 'px');
  this.runId = setTimeout(this.name + '.start()', this.interval);
}

function stopTicker()
{
  if (this.runId)
    clearTimeout(this.runId);
  this.runId = null;
}

function changeTickerInterval(newinterval)
{
  if (typeof(newinterval) == 'string')
    newinterval =  parseInt('0' + newinterval, 10); 
	
  if (typeof(newinterval) == 'number' && newinterval > 0)
    this.interval = newinterval;
    
    this.stop();
    this.start();
}

Ticker.prototype.start = startTicker;
Ticker.prototype.stop = stopTicker;
Ticker.prototype.changeInterval = changeTickerInterval;

if (window.tickercolor) {var farbe='bgcolor="'+tickercolor+'"';}
else {var tickercolor="#ffffff";} 

if (window.tickercolor){var farbe='bgcolor="'+tickercolor+'"';}
else {var farbe="";} 

if (window.transparent)
{
if (transparent==1) { var farbe="";}
else {var farbe='bgcolor="'+tickercolor+'"';}
}
else {var farbe='bgcolor="'+tickercolor+'"';}

if (rollover_underline==false) { var textdecoration_underline = 'none';}
else {var textdecoration_underline = 'underline';}

if (rollover_underline==null) { var rollover_underline =1;}
if (font_underline==null) { var font_underline =0;}
if (fontbold==null) { var fontbold=0;}
if (rollover_underline==0) { var textdecoration_underline = 'none';}
else {var textdecoration_underline = 'underline';}
if (font_underline==1) { var font_underline = 'underline';}
else {var font_underline = 'none';}
if (fontbold==1) { var textdecoration_fontbold = 'bold';}
else {var textdecoration_fontbold = 'normal';}

var textcontent;

var i = 0;

textcontent="";

 for(i = 0; i <= 15; i++)
  {
   if (news[i]==null) {break;}

textcontent+="&nbsp;&nbsp;"+news[i]+"&nbsp;&nbsp;&nbsp;+&nbsp;+&nbsp;+&nbsp;"
   textcontent+"&nbsp;&nbsp;"

}	
textcontent+"";

m=textcontent;
	var ticker = null; /* ticker object */
	function init()
	{
		ticker = new Ticker('ticker', 'tickerID', 1, 22);
		ticker.start();
	}
	
document.open();
document.write("<div align='left' class='container'>");
document.write("<div class='ticker' id='tickerID' onMouseOver='ticker.stop();' onMouseOut='ticker.start();'>");
document.write("<nobr>");
document.write(m+m+m+m+m+m+m);
document.write("</nobr>");
document.write("</div>");
document.write("</div>");
document.close();