
//Pictures to switch inbetween

var Rollpica1 = "./images/Isoceritificate.gif";
var Rollpica2 = "./images/Governoraward.gif";
var Rollpica3 = "./images/Team.gif";
var Rollpica4 = "./images/Number1.gif";

//Start at the what pic:
var PicNumber1=4;
//Number of pics:
var NumberOfPictures1=4;
//Time between pics switching in secs
var HowLongBetweenPic1=2;




//SwitchPicFunction
function SwitchPic1(counter){
	<!-- hide from other browsers	

	if(counter < HowLongBetweenPic1){
	
		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.roll1.src = eval("Rollpica" + PicNumber1);
		if (PicNumber1 == 1)
		{
				//alert(PicNumber1);
				document.roll1.title = "Click here for ISO certification details"
				
		}
		else if (PicNumber1 == 2)
		{
			//alert(PicNumber1);
			document.roll1.title = "Click here for Governors Award details"
		}
		else if (PicNumber == 3)
		{
			document.roll.title = "Click here for Team Showcase details"
		}
		else if (PicNumber == 4)
		{
			document.roll.title = "Click here for  '#1 Government website in U.S.A. for the year 2007' details"
		}
		else
		{
			//alert(PicNumber1);
			document.roll1.title = ""
		}

		//function calls itself
		CallSwitchPic1=window.setTimeout("SwitchPic1("+counter+")",1500);		
		
		
		}
		
		else{
			//if its not the last picture goto the next picture
			if(PicNumber1 < NumberOfPictures1){
				PicNumber1++;
				SwitchPic1(0);
			}
			//its the last picture go to the first one
			else{
				PicNumber1=1;
				SwitchPic1(0);
				
				}
	
		}

}
// Stop hiding from old browsers -->

//SwitchPic for index Function
function SwitchPicindex1(counter){
	<!-- hide from other browsers	

	if(counter < HowLongBetweenPic1){
	
		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.roll1.src = eval("Rollpica" + PicNumber1);
		
		//function calls itself
		CallSwitchPic1=window.setTimeout("SwitchPicindex1("+counter+")",1500);
		document.form1.txtUserID.focus()
		
		
		
		}
		
		else{
			//if its not the last picture goto the next picture
			if(PicNumber1 < NumberOfPictures1){
				PicNumber1++;
				SwitchPicindex1(0);
				
			}
			//its the last picture go to the first one
			else{
				PicNumber1=1;
				SwitchPicindex1(0);
				
				
				}
	
		}

}
// Stop hiding from old browsers -->




//SwitchPic for Registration Function
function SwitchPicReg1(counter){
	<!-- hide from other browsers	

	if(counter < HowLongBetweenPic1){
	
		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.roll1.src = eval("Rollpica" + PicNumber1);
		
		//function calls itself
		CallSwitchPic1=window.setTimeout("SwitchPicReg1("+counter+")",1500);
		document.form1.first_name.focus();
		
		
		}
		
		else{
			//if its not the last picture goto the next picture
			if(PicNumber1 < NumberOfPictures1){
				PicNumber1++;
				SwitchPicReg1(0);
			}
			//its the last picture go to the first one
			else{
				PicNumbe1r=1;
				SwitchPicReg1(0);
				
				}
	
		}

}
// Stop hiding from old browsers -->



//SwitchPic for Change Password Function
function SwitchPicChgPas1(counter){
	<!-- hide from other browsers	

	if(counter < HowLongBetweenPic1){
	
		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.roll1.src = eval("Rollpica" + PicNumber1);
		
		//function calls itself
		CallSwitchPic1=window.setTimeout("SwitchPicChgPas1("+counter+")",1500);
		document.form1.txtUserID.focus();
		
		
		}
		
		else{
			//if its not the last picture goto the next picture
			if(PicNumber1 < NumberOfPictures1){
				PicNumber1++;
				SwitchPicChgPas1(0);
			}
			//its the last picture go to the first one
			else{
				PicNumber1=1;
				SwitchPicChgPas1(0);
				
				}
	
		}

}
// Stop hiding from old browsers -->






//SwitchPic for Lost Password Function
function SwitchPicLotPas1(counter){
	<!-- hide from other browsers	

	if(counter < HowLongBetweenPic1){
	
		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.roll1.src = eval("Rollpica" + PicNumber1);
		
		//function calls itself
		CallSwitchPic1=window.setTimeout("SwitchPicLotPas1("+counter+")",1500);
		document.form1.txtUserID.focus();
		
		
		}
		
		else{
			//if its not the last picture goto the next picture
			if(PicNumber1 < NumberOfPictures1){
				PicNumber1++;
				SwitchPicLotPas1(0);
			}
			//its the last picture go to the first one
			else{
				PicNumber1=1;
				SwitchPicLotPas1(0);
				
				}
	
		}

}
// Stop hiding from old browsers -->




