if($$('.slide')[0])
{
slideTime = 5.0; //Zeit nach wieviel Sekunden der slide gemacht werden soll
$$('.load_slide')[0].style.display = "none";
$$('.slide')[0].style.display = "block";
if($$('.slide').length > 1)
setInterval('doSlide', (slideTime*1000));
}
function doSlide()
{
for(i=0 ; i < $$('.slide').length ; i++)
if($$('.slide')[i].style.display == "block")
var slideNumber = i;
if(slideNumber == $$('.slide').length)
var nextSlideNumber = 0;
else
var nextSlideNumber = slideNumber+1;
Effect.Opacity($$('.slide')[slideNumber], { from: 1, to: 0 });
setTimeout('$$(".slide")[' + slideNumber + '].style.display = "none";',1000);
Effect.Opacity($$('.slide')[nextSlideNumber], { from: 0, to: 1 });
$$(".slide")[nextSlideNumber].style.display = "block";
}