hexinput=0  // Initial color value.
var inc=-1 //increment variable
function fadingtext(){	         	
if(hexinput>0) {	
hexinput-=11; // increase color value
document.getElementById("fader").style.color="rgb("+hexinput+","+hexinput+","+hexinput+")"; // Set color value.
setTimeout("fadingtext()",20);	
}
else
hexinput=0  //reset hex value
}
function changetext(){
if (!document.getElementById) return
inc++
if (inc==0)
document.getElementById("fader").innerHTML="<h3 class='shadow'>Unmet customer needs spark creativity<\/h3><h2>Unmet customer needs spark creativity<\/h2>"
else if (inc==1)
document.getElementById("fader").innerHTML="<h3 class='shadow'>Creative insight unlocks innovative solutions<\/h3><h2>Creative insight unlocks innovative solutions<\/h2>"
else{
document.getElementById("fader").innerHTML="<h3 class='shadow'>Innovation drives profitable growth!<\/h3><h2>Innovation drives profitable growth!<\/h2>"
inc=-1
}
fadingtext()
setTimeout("changetext()",4000)
}
window.onload=changetext
