
<!-- SCRIPT FOR CYCLING PICS -->
picImages1 = new Array("homes/before2.gif","homes/before3.gif","homes/before1.gif");
picImages2 = new Array("homes/after2.gif","homes/after3.gif","homes/after1.gif");
currentPic1 = 0;
currentPic2 = 0;
picCt1 = picImages1.length;
picCt2 = picImages2.length;

function rotate1()
{
	if (document.images)
	{
		if (document.picShow1.complete)
		{
			currentPic1++;		
			if (currentPic1 == picCt1)
			{
				currentPic1 = 0;
			}
			document.picShow1.src=picImages1[currentPic1];
		}
		setTimeout("rotate1()", 7 * 1000);
	}
}

function rotate2()
{
	if (document.images)
	{
		if (document.picShow2.complete)
		{
			currentPic2++;		
			if (currentPic2 == picCt2)
			{
				currentPic2 = 0;
			}
			document.picShow2.src=picImages2[currentPic2];
		}
		setTimeout("rotate2()", 7 * 1000);
	}
}
// END OF CYCLE PICS SCRIPT -->
