var thisImg;
var iImgs=35;
thisImg=Math.floor((Math.random() * iImgs))
var thisSpace;
thisSpace=Math.floor((Math.random() * 4))

function CycleTop(){
	thisSpace++;

	if(thisSpace==0)
		{thisSpace=1};
	if(thisSpace==4)
		{thisSpace=1};

	var top=document.getElementById("top" + thisSpace);

	thisImg++;

	if(thisImg==iImgs)
		{thisImg=1};

	top.src="../images/top" + thisImg + ".jpg";

	setTimeout("CycleTop()",3*1000);
}

