function onLoad(){
var imageH1 = document.getElementById("imageH1");
var imageH1Array = ["slideshow/H/DoorCountysunset.jpg","slideshow/H/Kurt-Anderson-CapeDunes-12x16-Oil.jpg","slideshow/H/Kurt-Anderson-Tanque-Verde-Cliffs-Oil-18x24.jpg","slideshow/H/Mountain-Glory-12x16.jpg","slideshow/H/phxedited.jpg","slideshow/H/ROCKY-MOUNTAIN-HIGH-Carol-Swinney.jpg" ,"slideshow/H/AN-ARIZONA-EVENING.jpg" ,"slideshow/H/yellowstoneriver.jpg", "slideshow/H/Barton_SnowSentries.jpg"];
var image2Index = 0;
function fadeOut2(){
	$(imageH1).fadeTo(400, 0, function(){
		imageH1.setAttribute("src",imageH1Array[image2Index]);
		image2Index++;
			if (image2Index >= imageH1Array.length) {
			image2Index = 0;
			}	
		$(this).fadeTo(400, 1);
		})		
	}	
	
intervalHandle = setInterval(fadeOut2,6500);

var imageH2 = document.getElementById("imageH2");
var imageH2Array = ["slideshow/H/RanchHouse.jpg","slideshow/H/xdesert-color.jpg" ,"slideshow/H/xPaloVerdeShadows.jpg" ,"slideshow/H/xWATER-UNDER-THE-BRIDGE.jpg" ,"slideshow/H/xWeb-Page.jpg" ,"slideshow/H/Web-Page.jpg" ,"slideshow/H/xdesert-color.jpg", "slideshow/H/SabinoSpringColors.jpg"];
var image3Index = 0;
function fadeOut3(){
	$(imageH2).fadeTo(400, 0, function(){
		imageH2.setAttribute("src",imageH2Array[image3Index]);
		image3Index++;
			if (image3Index >= imageH2Array.length) {
			image3Index = 0;
			}
		$(this).fadeTo(400, 1);
		})		
	}
intervalHandle = setInterval(fadeOut3,9200);

var imageV = document.getElementById("imageV");
var imageVArray = ["slideshow/V/bit-of-light.jpg", "slideshow/V/Kurt-Anderson-Paria-Point.jpg" , "slideshow/V/Desert-Climb.jpg" , "slideshow/V/MadiraSycamore.jpg", "slideshow/V/Spring-in-Sabino.jpg" , "slideshow/V/VALLEY-TRAIL-Carol-Swinney.jpg", "slideshow/V/BCAG-fall-08.jpg"];
var image1Index = 0;
function fadeOut1(){
	$(imageV).fadeTo(400, 0, function(){
		imageV.setAttribute("src",imageVArray[image1Index]);
		image1Index++;
			if (image1Index >= imageVArray.length) {
			image1Index = 0;
			}
		$(this).fadeTo(400, 1);
		})		
	}
intervalHandle = setInterval(fadeOut1,15000);
}

window.onload = onLoad;
