var imgs = new Array(); var imgcnt = 0; var thisimg = 0;
imgs[imgcnt++] = 'images/home/home1.jpg';
imgs[imgcnt++] = 'images/home/home2.jpg';
imgs[imgcnt++] = 'images/home/home4.jpg';
imgs[imgcnt++] = 'images/home/home5.jpg';
imgs[imgcnt++] = 'images/home/home6.jpg';
imgs[imgcnt++] = 'images/home/home7.jpg';
imgs[imgcnt++] = 'images/home/home8.jpg';
imgs[imgcnt++] = 'images/home/home9.jpg';

function rotate() {
if (document.images) {
thisimg++;
if (thisimg >= imgcnt) thisimg = 0;
document.rollimg.src = imgs[thisimg];
setTimeout("rotate();",5000);
}
}
setTimeout("rotate();",10000); 
