// Set slideShowSpeed (milliseconds)毫秒为单位
var slideShowSpeed = 7000;
// Duration of crossfade (seconds)秒为单位
var crossFadeDuration = 7;
// Specify the image files
var Pic = new Array();
// to add more images, just continue
// the pattern, adding to the array below
Pic[0] = 'tu/pic_top02.jpg'
Pic[1] = 'tu/pic_top03.jpg'
Pic[2] = 'tu/pic_top04.jpg'
Pic[3] = 'tu/pic_top05.jpg'
Pic[4] = 'tu/pic_top06.jpg'
Pic[5] = 'tu/pic_top07.jpg'
Pic[6] = 'tu/pic_top08.jpg'
Pic[7] = 'tu/pic_top09.jpg'
Pic[8] = 'tu/pic_top10.jpg'
Pic[9] = 'tu/pic_top11.jpg'
Pic[10] = 'tu/pic_top12.jpg'
Pic[11] = 'tu/pic_top13.jpg'
Pic[12] = 'tu/pic_top14.jpg'
Pic[13] = 'tu/pic_top15.jpg'
Pic[14] = 'tu/pic_top16.jpg'
Pic[15] = 'tu/pic_top17.jpg'
Pic[16] = 'tu/pic_top18.jpg'
Pic[17] = 'tu/pic_top19.jpg'
Pic[18] = 'tu/pic_top20.jpg'
Pic[19] = 'tu/pic_top01.jpg'
// do not edit anything below this line
var t;
var j = 0;
var p = Pic.length;
var preLoad = new Array();
for (i = 0; i < p; i++) {
preLoad[i] = new Image();
preLoad[i].src = Pic[i];
}
function runSlideShow() {
if (document.all) {
document.images.SlideShow.style.filter="blendTrans(duration=2)";
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow.filters.blendTrans.Apply();
}
document.images.SlideShow.src = preLoad[j].src;
if (document.all) {
document.images.SlideShow.filters.blendTrans.Play();
}
j = j + 1;
if (j > (p - 1)) j = 0;
t = setTimeout('runSlideShow()', slideShowSpeed);
}