adImages = new Array(“liturgia1.jpg”,”liturgia2.jpg”,”liturgia3.jpg”,”liturgia4.jpg”)thisAd = 0imgCt = adImages.lengthfunction rotate() {if (document.images) {thisAd++if (thisAd == imgCt) {thisAd = 0}document.liturgia.src=adImages[thisAd]setTimeout(“rotate()”, 2000)}}