function rotatePhoto() {
	photoIndex ++;

	if (photoIndex == photoObj.length)
		photoIndex = 0;

	BarElement.filters[0].apply();
	BarElement.style.backgroundImage = "url(http://www.mkbmedia.nl/storage/"+photoObj[photoIndex]+")";
	BarElement.filters[0].play();
}

function window.onload() {
	rotatePhoto();

	window.setInterval("rotatePhoto();", 5000);
}
