// JavaScript Document
// from mikeomatic.net/techtips/css-crossfader/
	
			// this array consists of the id attributes of the divs we wish to alternate between
			var divs_to_fade = new Array('box1', 'box2', 'box3');
		
			// 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 divCount = 0;
			
			// the number of milliseconds between swaps.  Default is five seconds.
			var wait = 6000;
			
			// the function that performs the fade
			function swapFade() {
				$(divs_to_fade[divCount]).fade({ duration:1, from:1.0, to:0.0 });
				divCount++;

				if (divCount == 3) divCount = 0;
				// Effect.Appear(divs_to_fade[i], { duration:1, from:0.0, to:1.0 });
				$(divs_to_fade[divCount]).appear({ duration:1, from:0.0, to:1.0 });
				syncLink(divCount);
			}
			
			// the onload event handler that starts the fading.
			function startPage() {
				setInterval('swapFade()',wait);
			}