		var delay = 6000; 
		var maxsteps=60; 
		var stepdelay=55; 
		var startcolor= new Array(255,255,255); 
		var endcolor=new Array(0,0,0); 

		var fcontent=new Array();
		begintag='<div style="font: normal 14px Arial; padding: 5px;">'; //set opening tag, such as font declarations
		fcontent[0]="<b>Did you know?</b><br />There are more humans alive now than all the humans that ever lived before WWII</a><br /><br />";
		fcontent[1]="Out of doubt, out of dark, to the day's rising<br />I came singing in the sun, sword unsheathing.<br />To hope's end I rode, and to heart's breaking<br />Now for wrath, now for ruin, and a red nightfall!<br />-The Song of the Čomer ";
		fcontent[2]="Life... is like a box of chocolates. A cheap, thoughtless, perfunctory gift that nobody ever asks for.   Unreturnable, because all you get back is another box of chocolates. You're stuck with this undefinable whipped-mint crap that you mindlessly wolf down when there's nothing else left to eat. Sure, once in a while, there's a peanut  butter cup, or an English toffee. But they're gone too fast, the taste is fleeting. So you end up with nothing but broken bits, filled with hardened jelly and teeth-crunching nuts, and if you're desperate enough to eat those, all you've got left is a... is an empty box... filled with useless, brown paper wrappers. -Musings of a Cigarette Smoking Man</a>";
		fcontent[3]="Over the land there lies a long shadow, westward reaching wings of darkness. The Tower trembles; to the tombs of kings doom approaches. The Dead awaken; for the hour is come for the oathbreakers; at the Stone of Erech they shall stand again and hear there a horn in the hills ringing. Whose shall the horn be? Who shall call them from the grey twilight, the forgotten people? The heir of him to whom the oath they swore. From the North shall he come, need shall drive him: he shall pass the Door to the Paths of the Dead.";
		fcontent[4]="All that is gold does not glitter, Not all those who wander are lost; The old that is strong does not wither, Deep roots are not reached by the frost. From the ashes a fire shall be woken, A light from the shadows shall spring; Renewed shall be blade that was broken: The crownless again shall be king.";
		
		closetag='</div>';

		var fwidth='172px'; //set scroller width
		var fheight='350px'; //set scroller height
		var fadelinks=1;  //should links inside scroller content also fade like text? 0 for no, 1 for yes.

		///No need to edit below this line/////////////////
var ie4=document.all&&!document.getElementById;
var DOM2=document.getElementById;
var faderdelay=0;
var index=0;
function changecontent(){
  if (index>=fcontent.length)
    index=0
  if (DOM2){
    document.getElementById("fscroller").style.color="rgb("+startcolor[0]+", "+startcolor[1]+", "+startcolor[2]+")"
    document.getElementById("fscroller").innerHTML=begintag+fcontent[index]+closetag
    if (fadelinks)
      linkcolorchange(1);
    colorfade(1, 15);
  }
  else if (ie4)
    document.all.fscroller.innerHTML=begintag+fcontent[index]+closetag;
  index++
}

function linkcolorchange(step){
  var obj=document.getElementById("fscroller").getElementsByTagName("A");
  if (obj.length>0){
    for (i=0;i<obj.length;i++)
      obj[i].style.color=getstepcolor(step);
  }
}

var fadecounter;
function colorfade(step) {
  if(step<=maxsteps) {	
    document.getElementById("fscroller").style.color=getstepcolor(step);
    if (fadelinks)
      linkcolorchange(step);
    step++;
    fadecounter=setTimeout("colorfade("+step+")",stepdelay);
  }else{
    clearTimeout(fadecounter);
    document.getElementById("fscroller").style.color="rgb("+endcolor[0]+", "+endcolor[1]+", "+endcolor[2]+")";
    setTimeout("changecontent()", delay);
	
  }   
}

function getstepcolor(step) {
  var diff
  var newcolor=new Array(3);
  for(var i=0;i<3;i++) {
    diff = (startcolor[i]-endcolor[i]);
    if(diff > 0) {
      newcolor[i] = startcolor[i]-(Math.round((diff/maxsteps))*step);
    } else {
      newcolor[i] = startcolor[i]+(Math.round((Math.abs(diff)/maxsteps))*step);
    }
  }
  return ("rgb(" + newcolor[0] + ", " + newcolor[1] + ", " + newcolor[2] + ")");
}

if (ie4||DOM2)
  document.write('<div id="fscroller" style="border:0px solid black;width:'+fwidth+';height:'+fheight+'"></div>');

if (window.addEventListener)
window.addEventListener("load", changecontent, false)
else if (window.attachEvent)
window.attachEvent("onload", changecontent)
else if (document.getElementById)
window.onload=changecontent
