// this array consists of the id attributes of the divs we wish to alternate between
		
			// the starting index in the above array.  It should be set to the value of the div which doesn't have the CSS Display property set to "none"
			var i = 0;
			var j = 0;
			var k = 0;
			
			// the number of milliseconds between swaps.  Default is three seconds.
			var wait = 3000;
			

			// the function that performs the fade
			function swapFade() {
				Effect.Fade(divs_to_fade[i], { duration:1, from:1.0, to:0.0 });
				i++;
				if (i == divs_to_fade.length) i = 0;
				Effect.Appear(divs_to_fade[i], { duration:1, from:0.0, to:1.0 });
				
				Effect.Fade(moredivs_to_fade[j], { duration:1, from:1.0, to:0.0 });
				j++;
				if (j == moredivs_to_fade.length) j = 0;
				Effect.Appear(moredivs_to_fade[j], { duration:1, from:0.0, to:1.0 });
				
				Effect.Fade(mostdivs_to_fade[k], { duration:1, from:1.0, to:0.0 });
				k++;
				if (k == mostdivs_to_fade.length) k = 0;
				Effect.Appear(mostdivs_to_fade[k], { duration:1, from:0.0, to:1.0 });
			
			
			
			
			
			}
			
			// the onload event handler that starts the fading.
			function startPage() {
				setInterval('swapFade()',wait);
			}

