
<!-- hide from other browsers	

//Pictures to switch inbetween

var Rollpic1 = "Images/logo.jpeg";
var Rollpic2 = "Images/gates.jpeg";
var Rollpic3 = "Images/pool.jpeg";
var Rollpic4 = "Images/sauna.jpeg";
var Rollpic5 = "Images/playground.jpeg";
var Rollpic6 = "Images/playground1.jpeg";
var Rollpic7 = "Images/gym.jpeg";
var Rollpic8 = "Images/clubhouse.jpeg";
var Rollpic9 = "Images/fountains1.jpeg";
var Rollpic10 = "Images/woods.jpeg";
var Rollpic11 = "Images/club.jpeg";
var Rollpic12 = "Images/lake.jpeg";
var Rollpic13 = "Images/Fountains2.jpeg";
//Start at the what pic:
var PicNumber=1;
//Number of pics:
var NumberOfPictures=13;
//Time between pics switching in secs
var HowLongBetweenPic=2;

//SwitchPic Function
function SwitchPic(counter){

	if(counter < HowLongBetweenPic){
	
		counter++;
		
		//DEBUG in the status bar at the bottom of the screen
		window.status="Switch picture at 5 : "+counter+" PicNumber: "+PicNumber+" ";
		
		//Display pic in what <IMG> tag roll is what I called the image
		document.roll.src = eval("Rollpic" + PicNumber);
		
		//function calls itself
		CallSwitchPic=window.setTimeout("SwitchPic("+counter+")",1500); 
		
		}
		
		else{
			//if its not the last picture goto the next picture
			if(PicNumber < NumberOfPictures){
				PicNumber++;
				SwitchPic(0);
			}
			//its the last picture go to the first one
			else{
				PicNumber=1;
				SwitchPic(0);
				}
	
		}

}
// Stop hiding from old browsers -->

