//
// Copyright 2004 Linuxbolaget Igiro AB
// All Rights Reserved
// Author: Anders Lindbäck anders.lindback@linuxbolaget.se
// Last Changed: 2004-11-07
//
c=255; t=1;
//
// Make text visible by slowly changing color from white to black
// block by block. 
// All text must be given an elementID of t<1-9> to be affected.
//
function morphtext() 
{ 
  text = document.getElementById("t"+t);
  if(text) text.style.color="rgb(" + c + "," + c + "," + c + ")"; 
  c-=7; 
  if(c < 10){c=255;t+=1;};
  if(t < 10)setTimeout('morphtext()',10);
}
//
// Make text visible by slowly changing color from white to black
// all text at once. 
// All text must be given an elementID of t<1-9> to be affected.
//
function morphalltext() 
{ 
  for (t = 1; t <= 10; t++)
  {
     text = document.getElementById("t"+t);
     if(text) text.style.color="rgb(" + c + "," + c + "," + c + ")"; 
  }	       
  c-=5; 
  if(c>10) setTimeout('morphalltext()', 10); 
}    
