// 设置轮番显示速度 Set slideShowSpeed (milliseconds)
var slideShowSpeed = 5000;
// 匀滑转换时间 Duration of crossfade (seconds)
var crossFadeDuration = 1;
// 指定图像文件 Specify the image files
var Pic = new Array();
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = '../common/images/newlogo.jpg'
Pic[1] = '../common/images/newlogo.jpg'

// do not edit anything below this line
var t;
var s_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=0)";
        document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
        document.images.SlideShow.filters.blendTrans.Apply();
    }
    document.images.SlideShow.src = preLoad[s_j].src;
    if (document.all) {
        document.images.SlideShow.filters.blendTrans.Play();
    }
    s_j = s_j + 1;
    if (s_j > (p - 1)) s_j = 0;
    t = setTimeout('runSlideShow()', slideShowSpeed);
}