

gSlideshowInterval = 2;
gNumberOfImages = 40;

gImages = new Array(gNumberOfImages);
gImages[0] = "supertherm/STrotimage/ST1.jpg";
gImages[1] = "supertherm/STrotimage/ST2.jpg";
gImages[2] = "supertherm/STrotimage/ST3.jpg";
gImages[3] = "supertherm/STrotimage/ST4.jpg";
gImages[4] = "supertherm/STrotimage/ST5.jpg";
gImages[5] = "supertherm/STrotimage/ST6.jpg";
gImages[6] = "supertherm/STrotimage/ST7.jpg";
gImages[7] = "supertherm/STrotimage/ST8.jpg";
gImages[8] = "supertherm/STrotimage/ST9.jpg";
gImages[9] = "supertherm/STrotimage/ST10.jpg";
gImages[10] = "supertherm/STrotimage/ST11.jpg";
gImages[11] = "supertherm/STrotimage/ST12.jpg";
gImages[12] = "supertherm/STrotimage/ST13.jpg";
gImages[13] = "supertherm/STrotimage/ST14.jpg";
gImages[14] = "supertherm/STrotimage/ST15.jpg";
gImages[15] = "supertherm/STrotimage/ST16.jpg";
gImages[16] = "supertherm/STrotimage/ST17.jpg";
gImages[17] = "supertherm/STrotimage/ST18.jpg";
gImages[18] = "supertherm/STrotimage/ST19.jpg";
gImages[19] = "supertherm/STrotimage/ST20.jpg";
gImages[20] = "supertherm/STrotimage/ST21.jpg";
gImages[21] = "supertherm/STrotimage/ST22.jpg";
gImages[22] = "supertherm/STrotimage/ST23.jpg";
gImages[23] = "supertherm/STrotimage/ST24.jpg";
gImages[24] = "supertherm/STrotimage/ST25.jpg";
gImages[25] = "supertherm/STrotimage/ST26.jpg";
gImages[26] = "supertherm/STrotimage/ST27.jpg";
gImages[27] = "supertherm/STrotimage/ST28.jpg";
gImages[28] = "supertherm/STrotimage/ST29.jpg";
gImages[29] = "supertherm/STrotimage/ST30.jpg";
gImages[30] = "supertherm/STrotimage/ST31.jpg";
gImages[31] = "supertherm/STrotimage/ST32.jpg";
gImages[32] = "supertherm/STrotimage/ST33.jpg";
gImages[33] = "supertherm/STrotimage/ST34.jpg";
gImages[34] = "supertherm/STrotimage/ST35.jpg";
gImages[35] = "supertherm/STrotimage/ST36.jpg";
gImages[36] = "supertherm/STrotimage/ST37.jpg";
gImages[37] = "supertherm/STrotimage/ST38.jpg";
gImages[38] = "supertherm/STrotimage/ST39.jpg";
gImages[39] = "supertherm/STrotimage/ST40.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);

