// set these variables 		
var numberOfLastImage = 11;	
var numberOfFirstImage = 1;	
var delayIn100thSeconds = 750;

var destination = new Array();
var slide = new Array();

slide[1] = "image/homeRotation/outside_02.jpg";

slide[2] = "image/homeRotation/inside_01.jpg";

slide[3] = "image/homeRotation/outside_01.jpg";

slide[4] = "image/homeRotation/inside_02.jpg";

slide[5] = "image/homeRotation/outside_04.jpg";

slide[6] = "image/homeRotation/inside_04.jpg";
 
slide[7] = "image/homeRotation/outside_03.jpg";

slide[8] = "image/homeRotation/inside_05.jpg";

slide[9] = "image/homeRotation/outside_05.jpg";

slide[10] = "image/homeRotation/inside_03.jpg";

slide[11] = "image/homeRotation/outside_02.jpg";


var slideNumber = 0;



function showNextSlide()
{	
	slideNumber++
	
	if(slideNumber > numberOfLastImage )	// if past last slide
		{
			slideNumber = 11 ; // was -> slideNumber = numberOfFirstImage ;
		}

	document.screen.src = slide[slideNumber]; 	// send slide to screen
	
	setTimeout("showNextSlide()",delayIn100thSeconds * 5);

}
