// JavaScript Document

/* OLD FUNCTION
hex=255 // Initial color value.

function fadetext(){ 
  if(hex>150) { //If color is not black yet
    hex-=11; // increase color darkness
    document.getElementById("content").style.color=
                      "rgb("+hex+","+hex+","+hex+")";
    setTimeout("fadetext()",200); 
  }
  else
    hex=255 //reset hex value
}
*/

//New Function
opac = 0;
function fadetext() { 
if(opac!= 100){ 
opac+=1; 
document.getElementById('content').style.opacity = opac;  
document.getElementById('content').style.MozOpacity = opac/100;  
document.getElementById('content').style.filter='alpha(opacity='+opac+')';  
setTimeout('fadetext()', 40); 
} 
} 

function waitForIt(){
fadetext();
}



