<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
// Courtesy of SimplytheBest.net -
http://simplythebest.net/scripts/
gSlideshowInterval = 5;
gNumberOfImages = 4;
gImages = new Array(gNumberOfImages);
gImages[0] = "imagescajun/image1.jpg";
gImages[1] = "imagescajun/image2.jpg";
gImages[2] = "imagescajun/image3.jpg";
gImages[3] = "imagescajun/image4.jpg";
function canManipulateImages() {
if (document.images)
return true;
else
return false;
}
function loadSlide(imageURL) {
if (gImageCapableBrowser) {
document.slide.src = imageURL;
return false;
}
else {
return true;
}
}
function nextSlide() {
gCurrentImage = (gCurrentImage + 1) % gNumberOfImages;
loadSlide(gImages[gCurrentImage]);
}
gImageCapableBrowser = canManipulateImages();
gCurrentImage = 0;
setInterval("nextSlide()",gSlideshowInterval * 1000);
// -->
</SCRIPT>