var whatsnew_waitOut=1;
var whatsnew_cDivN=1;
function newsMouseOut(){
 whatsnew_waitOut=1;
}
function newsMouseOver(){
 whatsnew_waitOut=0;
 whatsnew_stoppedYet=1;
}

function whatsnew_scrollmarquee(){
 if (parseInt(whatsnew_cross_marquee.style.top)>(-whatsnew_cross_marquee.offsetHeight)){
  whatsnew_cross_marquee.style.top=parseInt(whatsnew_cross_marquee.style.top)-whatsnew_waitOut+"px"
 } else {
  whatsnew_cross_marquee.style.top=parseInt(whatsnew_marqueeheight)+"px"
  whatsnew_cDivN++;
  if (document.getElementById("newsDiv"+whatsnew_cDivN)==null) whatsnew_cDivN=1;
  whatsnew_cross_marquee=document.getElementById("newsDiv"+whatsnew_cDivN)
 }
}

var whatsnew_cross_marquee;
function whatsnew_initializemarquee(){
 whatsnew_cross_marquee = document.getElementById("newsDiv"+whatsnew_cDivN)
 whatsnew_cross_marquee.style.top=-whatsnew_cross_marquee.offsetHeight
 whatsnew_marqueeheight = document.getElementById("ExNewsDiv").offsetHeight;
 if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1){ //if Opera or Netscape 7x, add scrollbars to scroll and exit
  document.getElementById("ExNewsDiv").style.height=whatsnew_marqueeheight+"px"
  document.getElementById("ExNewsDiv").style.overflow="scroll"
  return
 }
 setTimeout('whatsnew_lefttime=setInterval("whatsnew_scrollmarquee()",30)', 0)
}

if (window.addEventListener)
window.addEventListener("load", whatsnew_initializemarquee, false)
else if (window.attachEvent)
window.attachEvent("onload", whatsnew_initializemarquee)
else if (document.getElementById)
window.onload=whatsnew_initializemarquee
