// switchimages.js v1.8.2, Tue Feb 5 13:45

			
			// this array consists of the id attributes of the divs we wish to alternate between
			var divs_to_fade = new Array('box-1','box-2','box-3','box-4','box-5','box-6','box-7','box-8','box-9','box-10');
		
			// 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 dtime = 4;
			var atime = 4;
			// the number of milliseconds between swaps.  Default is five seconds.
			var wait = 7000;

			// the function that performs the fade
			function swapFade() {
				//switch (i) {
					// キャプション
				//	case 1: 
				//	case 4:
				//	case 7:
				//	dtime = 13; atime=5; 
				//	break;	
				
				//	case 2:
				//	case 3: 
				//	case 5:
				//	case 6:
				//	dtime = 4; atime=2; 
				//	break;
					
					
				//	default:
				//	dtime = 8; atime=3; 
				//}
				//if (i == 0) {dtime:1; atime=1;}
				//else {dtime:5;atime=5;}
				
				Effect.Fade(divs_to_fade[i], { duration:dtime, from:1.0, to:0.0 });
				
				i++;
				if (i == 10) i = 0;
				Effect.Appear(divs_to_fade[i], { duration:atime, from:0.0, to:1.0 });
				
			}			
			// the onload event handler that starts the fading.
			function startPage() {
				setInterval('swapFade()',wait);
			}

