hex=0 // Initial color value.

function FadeProfile(){
if(hex<255) { //If color is not black yet
hex+=11; // increase color darkness
document.getElementById('profile').style.color="rgb("+hex+","+hex+","+hex+")";
setTimeout("FadeProfile()",20); 
}
else
hex=0 //reset hex value
}
//-------------------------------
function FadePortfolio(){
if(hex<255) { //If color is not black yet
hex+=11; // increase color darkness
document.getElementById('Portfolio').style.color="rgb("+hex+","+hex+","+hex+")";
setTimeout("FadePortfolio()",20); 
}
else
hex=0 //reset hex value
}
//-------------------------------
function FadeMedia(){
if(hex<255) { //If color is not black yet
hex+=11; // increase color darkness
document.getElementById('media').style.color="rgb("+hex+","+hex+","+hex+")";
setTimeout("FadeMedia()",20); 
}
else
hex=0 //reset hex value
}
//-------------------------------
function FadeNews(){
if(hex<255) { //If color is not black yet
hex+=11; // increase color darkness
document.getElementById('news').style.color="rgb("+hex+","+hex+","+hex+")";
setTimeout("FadeNews()",20); 
}
else
hex=0 //reset hex value
}
//-------------------------------
function FadeNews(){
if(hex<255) { //If color is not black yet
hex+=11; // increase color darkness
document.getElementById('news').style.color="rgb("+hex+","+hex+","+hex+")";
setTimeout("FadeNews()",20); 
}
else
hex=0 //reset hex value
}
//-------------------------------
function FadeFeed(){
if(hex<255) { //If color is not black yet
hex+=11; // increase color darkness
document.getElementById('feed').style.color="rgb("+hex+","+hex+","+hex+")";
setTimeout("FadeFeed()",20); 
}
else
hex=0 //reset hex value
}
//-------------------------------
function FadeGuest(){
if(hex<255) { //If color is not black yet
hex+=11; // increase color darkness
document.getElementById('guest').style.color="rgb("+hex+","+hex+","+hex+")";
setTimeout("FadeGuest()",20); 
}
else
hex=0 //reset hex value
}
//-------------------------------
function FadePurchase(){
if(hex<255) { //If color is not black yet
hex+=11; // increase color darkness
document.getElementById('purchase').style.color="rgb("+hex+","+hex+","+hex+")";
setTimeout("FadePurchase()",20); 
}
else
hex=0 //reset hex value
}
