
divs_to_fade = new Array('slide_1','slide_2','slide_3','slide_4','slide_5','slide_6','slide_7','slide_8','slide_9','slide_10');
i = 0;
wait = 5500;


// 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 == 10) i = 0;
Effect.Appear(divs_to_fade[i], { duration:2, from:0.0, to:1.0 });
}

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