
// script to call crossfade on the image


var imgs = new Array(); var imgcnt = 0; var thisimg = 0;
imgs[imgcnt++] = 'photos\/home.jpg';
imgs[imgcnt++] = 'photos\/home2.jpg';
imgs[imgcnt++] = 'photos\/home3.jpg';
imgs[imgcnt++] = 'photos\/home4.jpg';
imgs[imgcnt++] = 'photos\/home5.jpg';
imgs[imgcnt++] = 'photos\/home6.jpg';

function rotate() {
if (document.images) {
 thisimg++;
 if (thisimg >= imgcnt) thisimg = 0;
 crossfade(document.getElementById('home'), imgs[thisimg], '2');

/*
13 if (document.rollimg.filters){
14 document.rollimg.style.filter="blendTrans(duration=3)";
15 document.rollimg.style.filter="blendTrans(duration=crossFadeDuration)";
16 document.rollimg.filters.blendTrans.Apply();
17 }
18 document.rollimg.src = imgs[thisimg];
19 if (document.rollimg.filters){
20 document.rollimg.filters.blendTrans.Play();}
21*/
 setTimeout("rotate();",6500);
}
}
setTimeout("rotate();",10000);