﻿<!--
//variable that will increment through the images
var step1=1
//variable that hold number of images
var pictures=6
function slideit(){
//if browser does not support the image object, exit.
if (!document.images)
return

step2=step1+1
if (step2>pictures)
{
	step2=step2-pictures
}

step3=step1+2
if (step3>pictures)
{
	step3=step3-pictures
}
document.images.slide1.src=eval("image"+step1+".src")
document.images.slide2.src=eval("image"+step2+".src")
document.images.slide3.src=eval("image"+step3+".src")

if (step1<pictures)
step1++
else
step1=1
//call function "slideit()" every 2.5 seconds
setTimeout("slideit()",3500)
}
slideit()
//-->


