var picture = new Array();

var timerID = null;
var timerWait = 7000;

function changePicture()
{
	pictureCurr++;
	if (pictureCurr >= pictureCount) pictureCurr = 0;
	
	if (document.all.changablePhoto.readyState == "complete")
	{
		document.all.changablePhoto.src = picture[pictureCurr].src;
		document.all.changablePhoto.title = picture[pictureCurr].title;
	}
}


function initPictures()
{
	timerID = setTimeout("changePicture()", timerWait);
}
