// JavaScript Document

var count=0;
 
if (navigator.appName=="Netscape" && navigator.appVersion >= "5")
{
	app = "ff";
}
else
{
	app = "ie";
}

function init_news_bar()
{
if(app == "ff")
  document.getElementById("tdWinners").textContent=msgs[count];
else
  document.getElementById("tdWinners").innerText=msgs[count];
}
 
function prev_news()
{ 
 if(count>0)
  count-=1;
 else
  count = msgs.length-1;;
 if(app == "ff")
  document.getElementById("tdWinners").textContent=msgs[count];
else
 document.getElementById("tdWinners").innerText=msgs[count];
}
 
function next_news()
{
 if(count<msgs.length-1)
  count+=1;
 else
  count = 0;
 if(app == "ff")
  document.getElementById("tdWinners").textContent=msgs[count];
else
document.getElementById("tdWinners").innerText=msgs[count];
} 