var imgs = new Array(); var imgcnt = 0; var thisimg = 0; // create an array with the images in
imgs[imgcnt++] = 'images/IMG_003211_index.jpg';
imgs[imgcnt++] = 'images/IMG_965511_index.jpg';
imgs[imgcnt++] = 'images/IMG_968811_index.jpg';
imgs[imgcnt++] = 'images/IMG_967011_index.jpg';

//the images tha will be displayed. If you want to add a new images just copy and paste while
//changing the file name. The file must also be in the 'images' folder on the server

function rotate() {
if (document.images) {
thisimg++;
if (thisimg >= imgcnt) thisimg = 0;
document.rollimg.src = imgs[thisimg];
setTimeout("rotate();",10000);//defines the time of the cycle transitions in milliseconds
}
}
setTimeout("rotate();",10000);// JavaScript Document

// Code supplied with help from http://javascript.about.com/library/blcyclet.htm
