var mycolorNumbers = new Array('00CC33','FF9900','0066FF','C063C0','00CC33');

var adamwyattscolors = new Array('03CB35','03A22B','027820','014713','03CB35','000000','000000');
var henryscolors = new Array('D17E02','9D5F02','653D02','3A2301','D17E02','000000','000000');
var lexicolors = new Array('0357D4','0346AA','02337C','022151','0357D4','000000','000000');
var nealcolors = new Array('CE04CE','A004A0','6E036E','410241','CE04CE','000000','000000');

var myText;
var myText1;
var myText2;
var myText3;
var myText4;
var myText5;
var myText6;
var myText7;
var myText8;
var myText9;
var myText10;
var myText11;
var myText12;
var myTextFill;

var myTopVara = 384;
var myTopVarb = 384;
var myTopVarc = 384;
var myTopVard = 384;
var myTopVare = 384;
var myTopVarf = 384;
var myTopVarba = 384;
var myTopVarbb = 384;
var myTopVarbc = 384;
var myTopVarbd = 384;
var myTopVarbe = 384;
var myTopVarbf = 384;

var someNumberVar = 0;

function fadetext(numberforNameVar)
{ 
	//alert(numberforNameVar);

	myName = new Array('Adam','Henry','Lexi','Neal','Wyatt');
	
	mysampleArray = new Array('"sample1"','"sample2"','"sample3"','"sample4"','"sample5"','"sample6"');
	mysampleArrayb = new Array('"sample7"','"sample8"','"sample9"','"sample10"','"sample11"','"sample12"');
	
	mytextArray = new Array(myText1,myText2,myText3,myText4,myText5,myText6,myTextFill);	
	mytextArrayb = new Array(myText7,myText8,myText9,myText10,myText11,myText12,myTextFill);
	

	var myText = document.getElementById('sample');
	var myText1 = document.getElementById('sample1');
	var myText2 = document.getElementById('sample2');
	var myText3 = document.getElementById('sample3');
	var myText4 = document.getElementById('sample4');
	var myText5 = document.getElementById('sample5');
	var myText6 = document.getElementById('sample6');
	var myText7 = document.getElementById('sample7');
	var myText8 = document.getElementById('sample8');
	var myText9 = document.getElementById('sample9');
	var myText10 = document.getElementById('sample10');
	var myText11 = document.getElementById('sample11');
	var myText12 = document.getElementById('sample12');
	
		var tempVar = eval(mytextArray[someNumberVar]);
		 tempVar = document.getElementById(eval(mysampleArray[someNumberVar]));
		//alert(mytextArray[someNumberVar]);
		tempVar.innerHTML = '';

		var tempVarb = eval(mytextArrayb[someNumberVar]);
		 tempVarb = document.getElementById(eval(mysampleArrayb[someNumberVar]));
		//alert(mytextArray[someNumberVar]);
		tempVarb.innerHTML = '';


			if(someNumberVar<5)
			{
			tempVar.innerHTML = '';
			tempVar.innerHTML += myName[numberforNameVar];
/*			myText.innerHTML = '';
			myText.innerHTML += 	 myName[numberforNameVar];	*/
	
				if(navigator.appName == 'Microsoft Internet Explorer')
				{
/*				myText.style.fontWeight = 'bold';
				myText.style.top = '108px';*/
				myText1.style.top = myTopVara +'px';
				myText2.style.top = myTopVarb +'px';
				myText3.style.top = myTopVarc +'px';
				myText4.style.top = myTopVard +'px';
				myText5.style.top = eval(myTopVare + 90) +'px';
				myText6.style.top = eval(myTopVarf + 50) +'px';				
				tempVar.style.position = 'absolute';
				tempVar.style.left = '400px';
				tempVar.style.fontSize = '56px';
				tempVar.style.fontWeight = 'bold';
				tempVar.style.fontFamily = 'Arial, Helvetica, sans-serif';
					if(numberforNameVar==0)
					{
					/* tempVar.style.color = '#' + adamwyattscolors[someNumberVar]; */
/*					myText.style.color = '#04FA41';*/
					myText1.style.color = '#' + adamwyattscolors[0];
					myText2.style.color = '#' + adamwyattscolors[1];
					myText3.style.color = '#' + adamwyattscolors[2];
					myText4.style.color = '#' + adamwyattscolors[3];
					myText5.style.color = '#' + adamwyattscolors[4];					
					myText6.style.color = '#' + adamwyattscolors[5];
					} 
					else if(numberforNameVar==1)
					{
/*					myText.style.color = '#FF9900';*/
					myText1.style.color = '#' + henryscolors[0];
					myText2.style.color = '#' + henryscolors[1];
					myText3.style.color = '#' + henryscolors[2];
					myText4.style.color = '#' + henryscolors[3];
					myText5.style.color = '#' + henryscolors[4];	
					myText6.style.color = '#' + henryscolors[5];
					}
					else if(numberforNameVar==2)
					{
/*					myText.style.color = '#0066FF';*/
					myText1.style.color = '#' + lexicolors[0];
					myText2.style.color = '#' + lexicolors[1];
					myText3.style.color = '#' + lexicolors[2];
					myText4.style.color = '#' + lexicolors[3];
					myText5.style.color = '#' + lexicolors[4];	
					myText6.style.color = '#' + lexicolors[5];
					}
					else if(numberforNameVar==3)
					{
/*					myText.style.color = '#F905F9';*/
					myText1.style.color = '#' + nealcolors[0];
					myText2.style.color = '#' + nealcolors[1];
					myText3.style.color = '#' + nealcolors[2];
					myText4.style.color = '#' + nealcolors[3];
					myText5.style.color = '#' + nealcolors[4];						
					myText6.style.color = '#' + nealcolors[5];
					}
					else if(numberforNameVar==4)
					{
/*					myText.style.color = '#04FA41';*/
					myText1.style.color = '#' + adamwyattscolors[0];
					myText2.style.color = '#' + adamwyattscolors[1];
					myText3.style.color = '#' + adamwyattscolors[2];
					myText4.style.color = '#' + adamwyattscolors[3];
					myText5.style.color = '#' + adamwyattscolors[4];	
					myText6.style.color = '#' + adamwyattscolors[5];
					}		
				}
				else
				{
/*				myText.style.top = '108px';*/
				myText1.style.top = myTopVara +'px';
				myText2.style.top = myTopVarb +'px';
				myText3.style.top = myTopVarc +'px';
				myText4.style.top = myTopVard +'px';
				myText5.style.top = '384px';
				myText6.style.top = myTopVarf +'px';	

				tempVar.setAttribute('style','position:absolute;left:400px;font-size:56px; font-family:Arial, Helvetica, sans-serif;');
					if(numberforNameVar==0)
					{
					/* tempVar.style.color = '#' + adamwyattscolors[someNumberVar]; */
/*					myText.style.color = '#04FA41';*/
					myText1.style.color = '#' + adamwyattscolors[0];
					myText2.style.color = '#' + adamwyattscolors[1];
					myText3.style.color = '#' + adamwyattscolors[2];
					myText4.style.color = '#' + adamwyattscolors[3];
					myText5.style.color = '#' + adamwyattscolors[4];					
					myText6.style.color = '#' + adamwyattscolors[5];
					} 
					else if(numberforNameVar==1)
					{
/*					myText.style.color = '#FF9900';*/
					myText1.style.color = '#' + henryscolors[0];
					myText2.style.color = '#' + henryscolors[1];
					myText3.style.color = '#' + henryscolors[2];
					myText4.style.color = '#' + henryscolors[3];
					myText5.style.color = '#' + henryscolors[4];	
					myText6.style.color = '#' + henryscolors[5];
					}
					else if(numberforNameVar==2)
					{
/*					myText.style.color = '#0066FF';*/
					myText1.style.color = '#' + lexicolors[0];
					myText2.style.color = '#' + lexicolors[1];
					myText3.style.color = '#' + lexicolors[2];
					myText4.style.color = '#' + lexicolors[3];
					myText5.style.color = '#' + lexicolors[4];	
					myText6.style.color = '#' + lexicolors[5];
					}
					else if(numberforNameVar==3)
					{
/*					myText.style.color = '#F905F9';*/
					myText1.style.color = '#' + nealcolors[0];
					myText2.style.color = '#' + nealcolors[1];
					myText3.style.color = '#' + nealcolors[2];
					myText4.style.color = '#' + nealcolors[3];
					myText5.style.color = '#' + nealcolors[4];						
					myText6.style.color = '#' + nealcolors[5];
					}
					else if(numberforNameVar==4)
					{
/*					myText.style.color = '#04FA41';*/
					myText1.style.color = '#' + adamwyattscolors[0];
					myText2.style.color = '#' + adamwyattscolors[1];
					myText3.style.color = '#' + adamwyattscolors[2];
					myText4.style.color = '#' + adamwyattscolors[3];
					myText5.style.color = '#' + adamwyattscolors[4];	
					myText6.style.color = '#' + adamwyattscolors[5];
					}						
				}
				myTopVara += 14;
				myTopVarb += 28;
				myTopVarc += 42;
				myTopVard += 56;
				myTopVare += 60;
				myTopVarf += 74;
				
			tempVarb.innerHTML = '';
			tempVarb.innerHTML += myName[numberforNameVar];		
					
				if(navigator.appName == 'Microsoft Internet Explorer')
				{
				myText7.style.top = myTopVarba +'px';
				myText8.style.top = myTopVarbb +'px';
				myText9.style.top = myTopVarbc +'px';
				myText10.style.top = myTopVarbd +'px';
				myText11.style.top = '384px';
				myText12.style.top = eval(myTopVarbf - 50) +'px';
				tempVarb.style.position = 'absolute';
				tempVarb.style.left = '400px';
				tempVarb.style.fontSize = '56px';
				tempVarb.style.fontWeight = 'bold';
				tempVarb.style.fontFamily = 'Arial, Helvetica, sans-serif';
					if(numberforNameVar==0)
					{
					/* tempVar.style.color = '#' + adamwyattscolors[someNumberVar]; */
					myText7.style.color = '#' + adamwyattscolors[0];
					myText8.style.color = '#' + adamwyattscolors[1];
					myText9.style.color = '#' + adamwyattscolors[2];
					myText10.style.color = '#' + adamwyattscolors[3];
					myText11.style.color = '#' + adamwyattscolors[4];
					myText12.style.color = '#' + adamwyattscolors[5];					
					} 
					else if(numberforNameVar==1)
					{
					myText7.style.color = '#' + henryscolors[0];
					myText8.style.color = '#' + henryscolors[1];
					myText9.style.color = '#' + henryscolors[2];
					myText10.style.color = '#' + henryscolors[3];
					myText11.style.color = '#' + henryscolors[4];
					myText12.style.color = '#' + henryscolors[5];	
					}
					else if(numberforNameVar==2)
					{
					myText7.style.color = '#' + lexicolors[0];
					myText8.style.color = '#' + lexicolors[1];
					myText9.style.color = '#' + lexicolors[2];
					myText10.style.color = '#' + lexicolors[3];
					myText11.style.color = '#' + lexicolors[4];
					myText12.style.color = '#' + lexicolors[5];	
					}
					else if(numberforNameVar==3)
					{
					myText7.style.color = '#' + nealcolors[0];
					myText8.style.color = '#' + nealcolors[1];
					myText9.style.color = '#' + nealcolors[2];
					myText10.style.color = '#' + nealcolors[3];
					myText11.style.color = '#' + nealcolors[4];
					myText12.style.color = '#' + nealcolors[5];						
					}
					else if(numberforNameVar==4)
					{
					myText7.style.color = '#' + adamwyattscolors[0];
					myText8.style.color = '#' + adamwyattscolors[1];
					myText9.style.color = '#' + adamwyattscolors[2];
					myText10.style.color = '#' + adamwyattscolors[3];
					myText11.style.color = '#' + adamwyattscolors[4];
					myText12.style.color = '#' + adamwyattscolors[5];	
					}		
				}
				else
				{
				myText7.style.top = myTopVarba +'px';
				myText8.style.top = myTopVarbb +'px';
				myText9.style.top = myTopVarbc +'px';
				myText10.style.top = myTopVarbd +'px';
				myText11.style.top = '384px';
				myText12.style.top = myTopVarbf +'px';

			 tempVarb.setAttribute('style','position:absolute;left:400px;font-size:56px; font-family:Arial, Helvetica, sans-serif;');
					if(numberforNameVar==0)
					{
					/* tempVar.style.color = '#' + adamwyattscolors[someNumberVar]; */
					myText7.style.color = '#' + adamwyattscolors[0];
					myText8.style.color = '#' + adamwyattscolors[1];
					myText9.style.color = '#' + adamwyattscolors[2];
					myText10.style.color = '#' + adamwyattscolors[3];
					myText11.style.color = '#' + adamwyattscolors[4];
					myText12.style.color = '#' + adamwyattscolors[5];					
					} 
					else if(numberforNameVar==1)
					{
					myText7.style.color = '#' + henryscolors[0];
					myText8.style.color = '#' + henryscolors[1];
					myText9.style.color = '#' + henryscolors[2];
					myText10.style.color = '#' + henryscolors[3];
					myText11.style.color = '#' + henryscolors[4];
					myText12.style.color = '#' + henryscolors[5];	
					}
					else if(numberforNameVar==2)
					{
					myText7.style.color = '#' + lexicolors[0];
					myText8.style.color = '#' + lexicolors[1];
					myText9.style.color = '#' + lexicolors[2];
					myText10.style.color = '#' + lexicolors[3];
					myText11.style.color = '#' + lexicolors[4];
					myText12.style.color = '#' + lexicolors[5];	
					}
					else if(numberforNameVar==3)
					{
					myText7.style.color = '#' + nealcolors[0];
					myText8.style.color = '#' + nealcolors[1];
					myText9.style.color = '#' + nealcolors[2];
					myText10.style.color = '#' + nealcolors[3];
					myText11.style.color = '#' + nealcolors[4];
					myText12.style.color = '#' + nealcolors[5];						
					}
					else if(numberforNameVar==4)
					{
					myText7.style.color = '#' + adamwyattscolors[0];
					myText8.style.color = '#' + adamwyattscolors[1];
					myText9.style.color = '#' + adamwyattscolors[2];
					myText10.style.color = '#' + adamwyattscolors[3];
					myText11.style.color = '#' + adamwyattscolors[4];
					myText12.style.color = '#' + adamwyattscolors[5];	
					}		
				}
				myTopVarba -= 14;
				myTopVarbb -= 28;
				myTopVarbc -= 42;
				myTopVarbd -= 56;
				myTopVarbe -= 60;
				myTopVarbf -= 74;
				
			someNumberVar+=1;

			var t = setTimeout("fadetext("+numberforNameVar+")",130);
			}
			else
			{
			clearTimeout(t);
			myTopVara = 384;
			myTopVarb = 384;
			myTopVarc = 384;
			myTopVard = 384;
			myTopVare = 384;
			myTopVarf = 384;
			myTopVarba = 384;
			myTopVarbb = 384;
			myTopVarbc = 384;
			myTopVarbd = 384;
			myTopVarbe = 384;
			myTopVarbf = 384;
			someNumberVar = 0;
			} 
}