function TextScroller(theid,scrollerdelay,scrollerwidth,scrollerheight,scrollerbgcolor,outputDiv) {	if (!document.getElementById) return false;	if (!document.getElementsByTagName) return false;	this.theid = theid;	this.scrollerdelay = scrollerdelay;	this.scrollerwidth = scrollerwidth;	this.scrollerheight = scrollerheight;	this.scrollerbgcolor = scrollerbgcolor;	this.outputDiv = outputDiv;	this.messages = new Array();	this.timer = new Timer(this);}var ie=document.allvar dom=document.getElementById//configure the below variable to change the contents of the scroller	TextScroller.prototype.initializeScroll = function() {		var getDiv = document.getElementById(this.theid);		var leDiv = getDiv.getElementsByTagName("div");		var leDivNum = 0;		while (leDivNum < leDiv.length) {			var leDivattr = leDiv[leDivNum].getAttribute("class");			if (ie) { leDivattr = leDiv[leDivNum].getAttribute("className") }			if (leDivattr == "scrollingContent") {				var mea = "hello";				var getthem = leDiv[leDivNum].getElementsByTagName("td");				var num = 0;				var arnum = 0;				var numlength = getthem.length;				while (num < numlength) {					var attr = getthem[num].getAttribute("class");					if (ie) { attr = getthem[num].getAttribute("className") }					if (attr == "evoArticleDescription") {						var text = getthem[num].childNodes[0].nodeValue;						this.messages[arnum] = text;						arnum++;					}					num++;				}			}			leDivNum++;		}		if (this.messages.length>2) {	    		this.i=2		} else {	    		this.i=0		}		this.hider();		this.initializeDivs();	    this.startscroll();	}				///////Do not edit pass this line///////////////////////TextScroller.prototype.hider = function() {	var toHide = document.getElementById(this.theid);	toHide.style.display = "none";}TextScroller.prototype.move = function() {    tdiv=this.first2_obj    if (parseInt(tdiv.style.top)>0&&parseInt(tdiv.style.top)<=5){        tdiv.style.top=0+"px"        this.timer.setTimeout("move",this.scrollerdelay)        this.timer.setTimeout("move2",this.scrollerdelay)        return    }    if (parseInt(tdiv.style.top)>=tdiv.offsetHeight*-1){        tdiv.style.top=parseInt(tdiv.style.top)-5+"px"        this.timer.setTimeout("move",50)    } else{        tdiv.style.top=parseInt(this.scrollerheight)+"px"        tdiv.innerHTML=this.messages[this.i]        if (this.i==this.messages.length-1)            this.i=0        else            this.i++    }}TextScroller.prototype.move2 = function(){    tdiv2=this.second2_obj    if (parseInt(tdiv2.style.top)>0&&parseInt(tdiv2.style.top)<=5){        tdiv2.style.top=0+"px"        this.timer.setTimeout("move2",this.scrollerdelay)        this.timer.setTimeout("move",this.scrollerdelay)        return    }    if (parseInt(tdiv2.style.top)>=tdiv2.offsetHeight*-1){        tdiv2.style.top=parseInt(tdiv2.style.top)-5+"px"        this.timer.setTimeout("move2",50)    } else{        tdiv2.style.top=parseInt(this.scrollerheight)+"px"        tdiv2.innerHTML=this.messages[this.i]        if (this.i==this.messages.length-1)            this.i=0        else            this.i++    }}TextScroller.prototype.startscroll = function(){    this.move()    this.second2_obj.style.top=this.scrollerheight    this.second2_obj.style.visibility='visible'}TextScroller.prototype.initializeDivs = function() {	if (ie||dom) {		var dmain2 = document.createElement("div");		dmain2.setAttribute("id","main2");		if (ie) {			dmain2.style.position = "relative";	        	dmain2.style.height = this.scrollerheight;	        	dmain2.style.width = this.scrollerwidth;	        	dmain2.style.overflow = "hidden";	        	dmain2.style.backgroundColor = this.scrollerbgcolor;		} else{			var smain2 = "position:relative;height:"+this.scrollerheight+";width:"+this.scrollerwidth+";overflow:hidden; background-color:"+this.scrollerbgcolor;			dmain2.setAttribute("style",smain2);		}		var ddiv = document.createElement("div");		if (ie) {	        	ddiv.style.position = "absolute";	        	ddiv.style.height = this.scrollerheight;	        	ddiv.style.width = this.scrollerwidth;	        	ddiv.style.left = "0px";	        	ddiv.style.top = "0px";	        	ddiv.style.clip.left = "0px";	        	ddiv.style.clip.right = this.scrollerwidth;	        	ddiv.style.clip.top = "0px";	        	ddiv.style.clip.bottom = this.scrollerheight;		} else {	        var sdiv = "position: absolute; height:"+this.scrollerheight+";width:"+this.scrollerwidth+";clip:rect(0 "+this.scrollerwidth+" "+this.scrollerheight+" 0);left:0px;top:0px";	        ddiv.setAttribute("style",sdiv);		}		var tdiv = document.createTextNode(sdiv);		this.first2_obj = document.createElement("div");		this.first2_obj.setAttribute("id","first2");		if (ie) {	        	this.first2_obj.style.position = "absolute";	        	this.first2_obj.style.width = this.scrollerwidth;	        	this.first2_obj.style.left = "0px";	        	this.first2_obj.style.top = "1px";		} else {			var sfirst2 = "position: absolute;;width:"+this.scrollerwidth+";left:0px;top:1px";			this.first2_obj.setAttribute("style",sfirst2);		}		var nfirst2 = document.createTextNode(this.messages[0]);		this.first2_obj.appendChild(nfirst2);		this.second2_obj = document.createElement("div");		this.second2_obj.setAttribute("id","second2");		if (ie) {	        	this.second2_obj.style.position = "absolute";	        	this.second2_obj.style.width = this.scrollerwidth;	        	this.second2_obj.style.left = "0px";	        	this.second2_obj.style.top = "0px";	        	this.second2_obj.style.visibility = "hidden";		} else {	        	var ssecond2 = "position:absolute;width:"+this.scrollerwidth+";left:0px;top:0px;visibility:hidden";	        	this.second2_obj.setAttribute("style",ssecond2);		}		var tsecond2 = this.messages[(this.messages.length==1)? 0 : 1];		var nsecond2 = document.createTextNode(tsecond2);		this.second2_obj.appendChild(nsecond2);		ddiv.appendChild(this.first2_obj);		ddiv.appendChild(this.second2_obj);		dmain2.appendChild(ddiv);		var positionDiv = document.getElementById(this.outputDiv);		positionDiv.appendChild(dmain2);    }}function Timer(){    this.obj = (arguments.length)?arguments[0]:window;    return this;}// The set functions should be called with:// - The name of the object method (as a string) (required)// - The millisecond delay (required)// - Any number of extra arguments, which will all be//   passed to the method when it is evaluated.Timer.prototype.setInterval = function(func, msec){    var i = Timer.getNew();    var t = Timer.buildCall(this.obj, i, arguments);    Timer.set[i].timer = window.setInterval(t,msec);    return i;}Timer.prototype.setTimeout = function(func, msec){    var i = Timer.getNew();    Timer.buildCall(this.obj, i, arguments);    Timer.set[i].timer = window.setTimeout("Timer.callOnce("+i+");",msec);    return i;}// The clear functions should be called with// the return value from the equivalent set function.Timer.prototype.clearInterval = function(i){    if(!Timer.set[i]) return;    window.clearInterval(Timer.set[i].timer);    Timer.set[i] = null;}Timer.prototype.clearTimeout = function(i){    if(!Timer.set[i]) return;    window.clearTimeout(Timer.set[i].timer);    Timer.set[i] = null;}// Private dataTimer.set = new Array();Timer.buildCall = function(obj, i, args){    var t = "";    Timer.set[i] = new Array();    if(obj != window){        Timer.set[i].obj = obj;        t = "Timer.set["+i+"].obj.";    }    t += args[0]+"(";    if(args.length > 2){        Timer.set[i][0] = args[2];        t += "Timer.set["+i+"][0]";        for(var j=1; (j+2)<args.length; j++){            Timer.set[i][j] = args[j+2];            t += ", Timer.set["+i+"]["+j+"]";    }}    t += ");";    Timer.set[i].call = t;    return t;}Timer.callOnce = function(i){    if(!Timer.set[i]) return;    eval(Timer.set[i].call);    Timer.set[i] = null;}Timer.getNew = function(){    var i = 0;    while(Timer.set[i]) i++;    return i;}