var slideShowSpeed = 1800
var crossFadeDuration = 3
var Pix = new Array()
// ADD DELETE PICS HERE

Pix[0] = 'slide/1.jpg'
Pix[1] = 'slide/2.jpg'
Pix[2] = 'slide/3.jpg'
Pix[3] = 'slide/4.jpg'
Pix[4] = 'slide/5.jpg'
Pix[5] = 'slide/6.jpg'
Pix[6] = 'slide/7.jpg'



var t
var j = 0
var p = Pix.length
var preLoad = new Array()
for (i = 0; i < p; i++){
   preLoad[i] = new Image()
   preLoad[i].src = Pix[i]
}
function slide(){
   if (document.all){
      document.images.cifvideo.style.filter="blendTrans(duration=2)"
      document.images.cifvideo.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.cifvideo.filters.blendTrans.Apply()      
   }
   document.images.cifvideo.src = preLoad[j].src
   if (document.all){
      document.images.cifvideo.filters.blendTrans.Play()
   }
   j = j + 1
   if (j > (p-1)) j=0
   t = setTimeout('slide()', slideShowSpeed)
}


    function Toggle(id, srcpath){
    document.getElementById(id).setAttribute('src', srcpath);
    }





