// JavaScript Document
///// Our Results /////
hexinput1=193 ; // Initial color value.
hexinput2=193 ; // Initial color value.
hexinput3=193;  // 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("faderResults").style.color="rgb("+hexinput1+","+hexinput2+","+hexinput3+")"; // Set color value.
document.getElementById("faderClients").style.color="rgb("+hexinput1+","+hexinput2+","+hexinput3+")"; // Set color value.
setTimeout("fadingtext()",60);	
}
else
{
hexinput1=193 ; //reset hex value
hexinput2=193 ;//reset hex value
hexinput3=193 ; //reset hex value
}
}

function changetext()
{
	if (!document.getElementById) return
	inc++;
	if (inc==0)
	{
		document.getElementById("faderResults").innerHTML="<b>$1,250,000</b><br />For wrongful death of a man hit by an 18 wheeler.";
		document.getElementById("faderClients").innerHTML='"I was extremely pleased with the service provided by VanDerGinst Law..."<br /><br /><a href=http://www.vlaw.com/Testimonials-content.html>Read more</a>';
	}
	else if (inc==1)
	{
		document.getElementById("faderResults").innerHTML="<b>$90,000</b><br />For man with foot fracture due to a motorcycle accident.";
		document.getElementById("faderClients").innerHTML='"Dennis VanDerGinst is an incredibly caring man. He and his office helped..."<br /><br /><a href=http://www.vlaw.com/Testimonials-content.html>Read more</a>';
	}
	else if (inc==2)
	{
		document.getElementById("faderResults").innerHTML="<b>Confidential Settlement</b><br />On behalf of class of workers made ill from exposure to toxic mold.";
		document.getElementById("faderClients").innerHTML='"Very impressed with how professional the staff handled my case..."<br /><br /><a href=http://www.vlaw.com/Testimonials-content.html>Read more</a>';
	}
	else if (inc==3)
	{
		document.getElementById("faderResults").innerHTML="<b>$200,000</b><br />Policy limit recovery for man and woman who each suffered leg fractures as a result of an automobile accident.";
		document.getElementById("faderClients").innerHTML='"I was impressed with the service I received from Dennis VanDerGinst on my lawsuit..."<br /><br /><a href=http://www.vlaw.com/Testimonials-content.html>Read more</a>';
	}
	else if (inc==4)
	{
		document.getElementById("faderResults").innerHTML="<b>$100,000</b><br />Recovery for woman who suffered a broken ankle from a fall on another person's premises.";
		document.getElementById("faderClients").innerHTML='"I was extremely pleased with the service provided by VanDerGinst Law..."<br /><br /><a href=http://www.vlaw.com/Testimonials-content.html>Read more</a>';
	}
	else if (inc==5)
	{
		document.getElementById("faderResults").innerHTML="<b>$1,400,000</b><br />Verdict for medical malpractice wrongful death case.";
		document.getElementById("faderClients").innerHTML='"Dennis VanDerGinst is an incredibly caring man. He and his office helped..."<br /><br /><a href=http://www.vlaw.com/Testimonials-content.html>Read more</a>';
	}
	else if (inc==6)
	{
		document.getElementById("faderResults").innerHTML="<b>$100,000</b><br />Policy limit recovery for a man injured in a motorcycle accident.";
		document.getElementById("faderClients").innerHTML='"Very impressed with how professional the staff handled my case..."<br /><br /><a href=http://www.vlaw.com/Testimonials-content.html>Read more</a>';
	}
	else if (inc==7)
	{
		document.getElementById("faderResults").innerHTML="<b>$39,000</b><br />For a girl attacked by a dog.";
		document.getElementById("faderClients").innerHTML='"I was impressed with the service I received from Dennis VanDerGinst on my lawsuit..."<br /><br /><a href=http://www.vlaw.com/Testimonials-content.html>Read more</a>';
	}
	else if (inc==8)
	{
		document.getElementById("faderResults").innerHTML="<b>$140,000</b><br />To the estate of a man killed in an accident where liability was hotly contested.";
		document.getElementById("faderClients").innerHTML='"I was extremely pleased with the service provided by VanDerGinst Law..."<br /><br /><a href=http://www.vlaw.com/Testimonials-content.html>Read more</a>';
	}
	else if (inc==9)
	{
		document.getElementById("faderResults").innerHTML="<b>$63,000</b><br />Settlement for medical malpractice case involving comatose patient.";
		document.getElementById("faderClients").innerHTML='"Dennis VanDerGinst is an incredibly caring man. He and his office helped..."<br /><br /><a href=http://www.vlaw.com/Testimonials-content.html>Read more</a>';
	}
	else if (inc==10)
	{
		document.getElementById("faderResults").innerHTML="<b>$4,000,000</b><br />For man seriously injured by falling merchandise, a Knox County, Illinois record settlement.";
		document.getElementById("faderClients").innerHTML='"Very impressed with how professional the staff handled my case..."<br /><br /><a href=http://www.vlaw.com/Testimonials-content.html>Read more</a>';
	}
	else if (inc==11)
	{
		document.getElementById("faderResults").innerHTML="<b>$114,000</b><br />For man with back injury due to car accident.";
		document.getElementById("faderClients").innerHTML='"I was impressed with the service I received from Dennis VanDerGinst on my lawsuit..."<br /><br /><a href=http://www.vlaw.com/Testimonials-content.html>Read more</a>';
	}
	else if (inc==12)
	{
		document.getElementById("faderResults").innerHTML="<b>$40,000</b><br />For man with torn achilles due to unsafe stairs.";
		document.getElementById("faderClients").innerHTML='"I was extremely pleased with the service provided by VanDerGinst Law..."<br /><br /><a href=http://www.vlaw.com/Testimonials-content.html>Read more</a>';
	}
	else if (inc==13)
	{
		document.getElementById("faderResults").innerHTML="<b>$1,250,000</b><br />For wrongful death of a man hit by an 18 wheeler.";
		document.getElementById("faderClients").innerHTML='"Dennis VanDerGinst is an incredibly caring man. He and his office helped..."<br /><br /><a href=http://www.vlaw.com/Testimonials-content.html>Read more</a>';
	}
	else if (inc==14)
	{
		document.getElementById("faderResults").innerHTML="<b>$90,000</b><br />For man with foot fracture due to a motorcycle accident.";
		document.getElementById("faderClients").innerHTML='"Very impressed with how professional the staff handled my case..."<br /><br /><a href=http://www.vlaw.com/Testimonials-content.html>Read more</a>';
	}
	else
	{
		document.getElementById("faderResults").innerHTML="<b>Confidential Settlement</b><br />On behalf of class of workers made ill from exposure to toxic mold.";
		document.getElementById("faderClients").innerHTML='"I was impressed with the service I received from Dennis VanDerGinst on my lawsuit..."<br /><br /><a href=http://www.vlaw.com/Testimonials-content.html>Read more</a>';
		inc=-1;
	}

fadingtext();
setTimeout("changetext()",10000);
}

window.onload=changetext;
