
//Pictures to switch inbetween

var Rollpic1 = "./Images/RollOver/Image1.gif";
var Rollpic2 = "./Images/RollOver/Image2.gif";
var Rollpic3 = "./Images/RollOver/Image3.gif";
var Rollpic4 = "./Images/RollOver/Image4.gif";
var Rollpic5 = "./Images/RollOver/Image5.gif";
var Rollpic6 = "./Images/RollOver/Image6.gif";
var Rollpic7 = "./Images/RollOver/Image7.gif";
var Rollpic8 = "./Images/RollOver/Image8.gif";
var Rollpic9 = "./Images/RollOver/Image9.gif";
var Rollpic10 = "./Images/RollOver/Image10.gif";
var Rollpic11 = "./Images/RollOver/Image11.gif";
var Rollpic12 = "./Images/RollOver/Image12.gif";
var Rollpic13 = "./Images/RollOver/Image13.gif";
var Rollpic14 = "./Images/RollOver/Image14.gif";
var Rollpic15 = "./Images/RollOver/Image15.gif";
var Rollpic16 = "./Images/RollOver/Image16.gif";
var Rollpic17 = "./Images/RollOver/Image17.gif";
var Rollpic18 = "./Images/RollOver/Image18.gif";
var Rollpic19 = "./Images/RollOver/Image19.gif";
var Rollpic20 = "./Images/RollOver/Image20.gif";
var Rollpic21 = "./Images/RollOver/Image21.gif";
var Rollpic22 = "./Images/RollOver/Image22.gif";
var Rollpic23 = "./Images/RollOver/Image23.gif";
var Rollpic24 = "./Images/RollOver/Image24.gif";
var Rollpic25 = "./Images/RollOver/Image25.gif";
var Rollpic26 = "./Images/RollOver/Image26.gif";
var Rollpic27 = "./Images/RollOver/Image27.gif";
var Rollpic28 = "./Images/RollOver/Image28.gif";
var Rollpic29 = "./Images/RollOver/Image29.gif";
var Rollpic30 = "./Images/RollOver/Image30.gif";
var Rollpic31 = "./Images/RollOver/Image31.gif";
var Rollpic32 = "./Images/RollOver/Image32.gif";




//Start at the what pic:
var PicNumber=1;
//Number of pics:
var NumberOfPictures=32;
//Time between pics switching in secs
var HowLongBetweenPic=3;




//SwitchPicFunction
function SwitchPic(counter){
	<!-- hide from other browsers	

	if(counter < HowLongBetweenPic){
	
		counter++;
		
		//DEBUG in the status bar at the bottom of the screen
		//window.status="Switch picture at 5 : "+counter+" PicNumber: "+PicNumber+" ";
		
		//Display pic in what <IMG> tag roll is what I called the image
		document.roll.src = eval("Rollpic" + PicNumber);
		
		//function calls itself
		CallSwitchPic=window.setTimeout("SwitchPic("+counter+")",1500);		
		
		
		}
		
		else{
			//if its not the last picture goto the next picture
			if(PicNumber < NumberOfPictures){
				PicNumber++;
				SwitchPic(0);
			}
			//its the last picture go to the first one
			else{
				PicNumber=1;
				SwitchPic(0);
				
				}
	
		}

}
// Stop hiding from old browsers -->

//SwitchPic for index Function
function SwitchPicindex(counter){
	<!-- hide from other browsers	

	if(counter < HowLongBetweenPic){
	
		counter++;
		
		//DEBUG in the status bar at the bottom of the screen
		//window.status="Switch picture at 5 : "+counter+" PicNumber: "+PicNumber+" ";
		
		//Display pic in what <IMG> tag roll is what I called the image
		document.roll.src = eval("Rollpic" + PicNumber);
		
		//function calls itself
		CallSwitchPic=window.setTimeout("SwitchPicindex("+counter+")",1500);
		document.form1.txtUserID.focus()
		
		
		
		}
		
		else{
			//if its not the last picture goto the next picture
			if(PicNumber < NumberOfPictures){
				PicNumber++;
				SwitchPicindex(0);
				
			}
			//its the last picture go to the first one
			else{
				PicNumber=1;
				SwitchPicindex(0);
				
				
				}
	
		}

}
// Stop hiding from old browsers -->




//SwitchPic for Registration Function
function SwitchPicReg(counter){
	<!-- hide from other browsers	

	if(counter < HowLongBetweenPic){
	
		counter++;
		
		//DEBUG in the status bar at the bottom of the screen
		//window.status="Switch picture at 5 : "+counter+" PicNumber: "+PicNumber+" ";
		
		//Display pic in what <IMG> tag roll is what I called the image
		document.roll.src = eval("Rollpic" + PicNumber);
		
		//function calls itself
		CallSwitchPic=window.setTimeout("SwitchPicReg("+counter+")",1500);
		document.form1.first_name.focus();
		
		
		}
		
		else{
			//if its not the last picture goto the next picture
			if(PicNumber < NumberOfPictures){
				PicNumber++;
				SwitchPicReg(0);
			}
			//its the last picture go to the first one
			else{
				PicNumber=1;
				SwitchPicReg(0);
				
				}
	
		}

}
// Stop hiding from old browsers -->



//SwitchPic for Change Password Function
function SwitchPicChgPas(counter){
	<!-- hide from other browsers	

	if(counter < HowLongBetweenPic){
	
		counter++;
		
		//DEBUG in the status bar at the bottom of the screen
		//window.status="Switch picture at 5 : "+counter+" PicNumber: "+PicNumber+" ";
		
		//Display pic in what <IMG> tag roll is what I called the image
		document.roll.src = eval("Rollpic" + PicNumber);
		
		//function calls itself
		CallSwitchPic=window.setTimeout("SwitchPicChgPas("+counter+")",1500);
		document.form1.txtUserID.focus();
		
		
		}
		
		else{
			//if its not the last picture goto the next picture
			if(PicNumber < NumberOfPictures){
				PicNumber++;
				SwitchPicChgPas(0);
			}
			//its the last picture go to the first one
			else{
				PicNumber=1;
				SwitchPicChgPas(0);
				
				}
	
		}

}
// Stop hiding from old browsers -->






//SwitchPic for Lost Password Function
function SwitchPicLotPas(counter){
	<!-- hide from other browsers	

	if(counter < HowLongBetweenPic){
	
		counter++;
		
		//DEBUG in the status bar at the bottom of the screen
		//window.status="Switch picture at 5 : "+counter+" PicNumber: "+PicNumber+" ";
		
		//Display pic in what <IMG> tag roll is what I called the image
		document.roll.src = eval("Rollpic" + PicNumber);
		
		//function calls itself
		CallSwitchPic=window.setTimeout("SwitchPicLotPas("+counter+")",1500);
		document.form1.txtUserID.focus();
		
		
		}
		
		else{
			//if its not the last picture goto the next picture
			if(PicNumber < NumberOfPictures){
				PicNumber++;
				SwitchPicLotPas(0);
			}
			//its the last picture go to the first one
			else{
				PicNumber=1;
				SwitchPicLotPas(0);
				
				}
	
		}

}
// Stop hiding from old browsers -->




