var divs_to_fade = new Array('box-1', 'box-2', 'box-3');
var i = 0;
var wait = 3500;

function swapFade() {
	Effect.Fade(divs_to_fade[i], { duration:1, from:1.0, to:0.0 });
	i++;
	if (i == 3) i = 0;
	Effect.Appear(divs_to_fade[i], { duration:1, from:0.0, to:1.0 });
}

function startPage() {
	setInterval('swapFade()',wait);
}