
var slideShowSpeed = 5000;
var crossFadeDuration = 16;
var Pic = new Array();
var SName=new Array() ;
var SUnit=new Array() ;
// to add more images, just continue
// the pattern, adding to the array below
Pic[0]='';
SName[0]='';
SUnit[0]='';
Pic[1]='';
SName[1]='*';
SUnit[1]='';
Pic[2]='';
SName[2]='';
SUnit[2]='';
Pic[3]='';
SName[3]='';
SUnit[3]='';
Pic[4]='';
SName[4]='';
SUnit[4]='';
Pic[5]='';
SName[5]='';
SUnit[5]='';

// 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;

    //
    var e1 = document.getElementById("sname");
    e1.innerText=SName[j];
    //
    var e2 = document.getElementById("sunit");
    e2.innerText=SUnit[j];
    //
    var e3 = document.getElementById("rate");
    e3.innerText= " " + (j+1) + "/" + p;

    if (document.all) {
        document.images.SlideShow.filters.blendTrans.Play();
    }
    j = j + 1;
    if (j > (p - 1)) j = 0;
        t = setTimeout('runSlideShow()', slideShowSpeed);
}