aImages = new Array("images/sunset_wide.jpg","images/beach_wide.jpg","images/sunset2_wide.jpg","images/beach2_wide.jpg")

thisImage = 0
imgCt = aImages.length


aImages2 = new Array("images/frontelev.jpg","images/sideelev.jpg","images/backelev.jpg","images/firstfloor.jpg","images/secondfloor.jpg","images/thirdfloor.jpg")

thisImage2 = 0
imgCt2 = aImages2.length

function multionloads() {
    rotate()
    rotate2()
}


function rotate() {
	if (document.images) {thisImage++
		if (thisImage == imgCt) {thisImage = 0}
		document.rotatingimg.src = aImages[thisImage]
		setTimeout("rotate()", 5 * 1000)
	}
}

function rotate2() {
	if (document.images) {thisImage2++
		if (thisImage2 == imgCt2) {thisImage2 = 0}
		document.rotatingimg2.src = aImages2[thisImage2]
		setTimeout("rotate2()", 2 * 1000)
	}
}

