var divs_to_fade = new Array('box-1', 'box-2', 'box-3');
var i = 0;
var wait = 4000; 
function swapFade() {
	Effect.SlideUp(divs_to_fade[i], { duration:0.2 });
	i++;
	if (i == 3) i = 0;
	Effect.Appear(divs_to_fade[i], { duration:1, from:0.0, to:1.0 });
}
// the onload event handler that starts the fading.
function startPage() {
	setInterval('swapFade()',wait);
}
