<!--
var rotate_count = 0;
var rotate_max = pictures.length*3;
var picture_num = 99;
function start_show() {
	slideshow();
	setInterval("slideshow()", 4000);
}
function slideshow() {
	if (rotate_count<rotate_max) { // Stop after rotating x times
		rotate_count++;
		picture_num++;
		if (picture_num >= pictures.length)
			picture_num = 0
		document["rotating_picture"].src = pictures[picture_num];
		document.Main.imgText.value = Messages[picture_num];
	}
}
//-->