// JavaScript Document
window.onload = rotate;

var homeImages = new Array("images/homepage/home1.png","images/homepage/home2.png","images/homepage/home3.png");
var thisImage = 0;

function rotate() {
	thisImage++;
	if (thisImage == homeImages.length) {
		thisImage = 0;
	}
	document.getElementById("imageleft").src = homeImages[thisImage];
	
	setTimeout("rotate()", 3 * 1000);
}
