// JavaScript Document
///// Our Results /////
hexinput1=255 ; // Initial color value.
hexinput2=254 ; // Initial color value.
hexinput3=254;  // Initial color value.
var inc=-1; //increment variable

function fadingtext(){	         	
if(hexinput1>0 && hexinput2>0 && hexinput3>0) {	
hexinput1-=11; // increase color value
hexinput2-=11; // increase color value
hexinput3-=11; // increase color value
document.getElementById("faderClients").style.color="rgb("+hexinput1+","+hexinput2+","+hexinput3+")"; // Set color value.
setTimeout("fadingtext()",60);	
}
else
{
hexinput1=255 ; //reset hex value
hexinput2=254 ;//reset hex value
hexinput3=254 ; //reset hex value
}
}

function changetext()
{
	if (!document.getElementById) return
	inc++;
	if (inc==0)
	{
		document.getElementById("faderClients").innerHTML='"Our MegaSite is the lynchpin of our marketing campaign. Prospective clients are impressed by the artistic and content-filled design."<br><br>Nancy Adel, Adel & Pollack<br>apinjurylaw.com';
	}
	else if (inc==1)
	{
		document.getElementById("faderClients").innerHTML='"...I would recommend your services to others without question. Thank you."<br><br>Edward L. Amaral, Jr., Amaral & Associates, P.C.<br>amaralassociates.com';

	}
	else if (inc==2)
	{
		document.getElementById("faderClients").innerHTML='"I still cannot believe how fast you were able to get us the first draft. You were so nice to work with and patient with us."<br><br>John L. Lowery & Associates<br>jllowery.com';
	}
	else if (inc==3)
	{
		document.getElementById("faderClients").innerHTML='"...your thoughtful and timely assistance carried the day. Thanks."<br><br>James Wattigny, Wattigny Law<br>wattignylaw.com';
	}
	else if (inc==4)
	{
		document.getElementById("faderClients").innerHTML='"Wow, I wish I had found MegaHunter five years earlier. We are bubbling with the the possibilites associated with our new site."<br><br>Mark Underwood, Underwood Law Office, Inc.<br>underwoodlawoffice.com';
		inc=-1;
	}

fadingtext();
setTimeout("changetext()",10000);
}

window.onload=changetext;