var timerid = 0;
var images = new Array("images/buxtontownhall.jpg", "images/ashfordinthewater.jpg", "images/lymehall.jpg", "images/howdendam.jpg", "images/ladybowerreservoir.jpg", "images/highpeak.jpg");
var countimages = 0;

function startTime()
{
	if(timerid)
	{
		timerid = 0;
	}
	var tDate = new Date();
	
	if(countimages == images.length)
	{
		countimages = 0;
	}
	if(tDate.getSeconds() % 6 == 0)
	{
		document.getElementById("img1").src = images[countimages];
	}
	countimages++;
	
	timerid = setTimeout("startTime()", 900);
}
