
divs_to_fade = new Array('blank','rot1', 'rot2', 'rot3','rot4', 'rot5', 'rot6', 'rot7', 'rot8');
i = 0;
wait = 3500;


// the function that performs the fade
function swapFade() {

Effect.Fade(divs_to_fade[i], { duration:2, from:1.0, to:0.0 });
i = i+1;
if (i == 9) i = 1;
Effect.Appear(divs_to_fade[i], { duration:1, from:0.0, to:1.0 });
}

// the onload event handler that starts the fading.
function startSlideShow() {
setInterval('swapFade()',wait);
}
