// this array consists of the id attributes of the divs we wish to alternate between
var divs_to_fade = new Array('box-3', 'box-4');
// 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 wait = 7000;
function swapFade() {
Effect.Fade(divs_to_fade[i], { duration:1, from:1.0, to:0.0 });
i++;
if (i == 2) i = 0;
Effect.Appear(divs_to_fade[i], { duration:1, from:0.0, to:1.0 });
}
function startPage() {
setInterval('swapFade()',wait);
} 
