var myScrollWidth="500px";
var myScrollHeight="25px";
var myScrollspeed=2;
var myScrollbgcolor="#DEFDD9";
var pauseit=1;

//Specify the myScroll's content (don't delete <nobr> tag)
//Keep all content on ONE line, and backslash any single quotations (ie: that\'s great):


var myScrollContent="";

////NO NEED TO EDIT BELOW THIS LINE////////////
myScrollspeed =(document.all)? myScrollspeed : Math.max(1, myScrollspeed-1) //slow speed down by 1 for NS

var copyspeed=myScrollspeed;
var pausespeed=(pauseit==0)? copyspeed: 0
var iedom=document.all||document.getElementById
var actualwidth=''
var oSCROLL, oNSSCROLL;
var firsttime = true;

function initScroller(){
	if (iedom) {
		oSCROLL=document.getElementById? document.getElementById("ticktext") : document.all.ticktext;
    oSCROLL.style.visibility = "visible";
		oSCROLL.style.left=parseInt(myScrollWidth)+8+"px";
		oSCROLL.innerHTML=myScrollContent;
		actualwidth=document.all? myTICK.offsetWidth : document.getElementById("myTICK").offsetWidth;
	} else if (document.layers) { 
		oNSSCROLL=document.oNSSCROLL.document.oNSSCROLL2;
		oNSSCROLL.left=parseInt(myScrollWidth)+8;
		oNSSCROLL.document.write(myScrollContent);
		oNSSCROLL.document.close();
		actualwidth=oNSSCROLL.document.width;
	}
	lefttime=setInterval("myNSScroller()",20);
}

function myNSScroller(){
	if(firsttime) {
		initScroller();
    firsttime=false;
  }
  if (iedom) {
    if (parseInt(oSCROLL.style.left)>(actualwidth*(-1)+8))  oSCROLL.style.left=parseInt(oSCROLL.style.left)-copyspeed+"px"
    else oSCROLL.style.left=parseInt(myScrollWidth)+8+"px"
  } else if (document.layers) {
   if (oNSSCROLL.left>(actualwidth*(-1)+8)) oNSSCROLL.left-=copyspeed
   else oNSSCROLL.left=parseInt(myScrollWidth)+8
  }
}
