hexinput=100 // Initial color value.
var inc=-1 //increment variable

function fadingtext(){	         	
if(hexinput<230) {	
hexinput+=2; // increase color value
document.getElementById("fader").style.color="rgb("+hexinput+","+hexinput+","+hexinput+")"; // Set color value.
setTimeout("fadingtext()",45);	
}
else
hexinput=100  //reset hex value
}

function changetext(){
if (!document.getElementById) return
inc++
if (inc==0)
document.getElementById("fader").innerHTML="Understanding THE LAW OF ATTRACTION.  It's working in your life, whether you are aware of it or not.  Learn to Attract what you Desire."
else if (inc==1)
document.getElementById("fader").innerHTML="What are you thankful for today?  Gratitude tunes you into receiving what you desire!  Why not create a gratitiude list and See and what you attract?"
else if (inc==1)
document.getElementById("fader").innerHTML="If 90% of your life appears to be wonderful, and 10% appears to be pessimistic, where do you focus your attention; on the 90% or 10%?  Do your thoughts uplift you or bring you down?"
else{
document.getElementById("fader").innerHTML="Learn to transfrom decades of unsuccessful patterns in your Spirit, Mind and Body.  Expand possibilites in you relationships, home, career, finances and the community you live in."
inc=-1
}
fadingtext()
setTimeout("changetext()",10000)
}