
<!-- hide from other browsers	

//Pictures to switch inbetween

var Rollpic1 = "http://www.rwhart.com/images2/hd_40hart.jpg";
var Rollpic2 = "http://www.rwhart.com/images2/hd_muzzleloader.jpg";
var Rollpic3 = "http://www.rwhart.com/images2/hd_gun13.jpg";
var Rollpic4 = "http://www.rwhart.com/images2/hd_scopes.jpg";
var Rollpic5 = "http://www.rwhart.com/images2/hd_gun12.jpg";
var Rollpic6 = "http://www.rwhart.com/images2/school_hd1.jpg";
var Rollpic7 = "http://www.rwhart.com/images2/hd_gun11.jpg";
var Rollpic8 = "http://www.rwhart.com/images2/hd_gun10.jpg";
var Rollpic9 = "http://www.rwhart.com/images2/hd_gun8.jpg";
var Rollpic10 = "http://www.rwhart.com/images2/hd_gun9.jpg";
var Rollpic11 = "http://www.rwhart.com/images2/hd_gun14.jpg";
var Rollpic12 = "http://www.rwhart.com/images2/hd_gun2.jpg";


//Start at the what pic:
var PicNumber=1;
//Number of pics:
var NumberOfPictures=12;
//Time between pics switching in secs
var HowLongBetweenPic=3;

//SwitchPic Function
function SwitchPic(counter){

	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 -->

