// JavaScript Document
// =======================================
// do not edit anything below this line
// =======================================



var preLoad = new Array()
var preLoad2 = new Array()
var preLoad3 = new Array()

for (i = 0; i < p; i++){
   preLoad[i] = new Image()
   preLoad[i].src = Pic[i]
   preLoad[i].alt = AltTxt[i]
   preLoad2[i] = new Image()
   preLoad2[i].src = Pic2[i]
   preLoad3[i] = new Image()
   preLoad3[i].src = Pic3[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;
   document.images.SlideShow.alt=[j];
   document.images.SlideShow.alt=AltTxt[j];

   if (document.all){
      document.images.SlideShow.filters.blendTrans.Play()

   }
   j = j + 1
   if (j > (p-1)) j=0
   t = setTimeout('runSlideShow()', slideShowSpeed)
}
function runSlideShow2(){
   if (document.all){
      document.images.SlideShow2.style.filter="blendTrans(duration=2)"
      document.images.SlideShow2.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.SlideShow2.filters.blendTrans.Apply()
   }
   document.images.SlideShow2.src = preLoad2[j].src;
   document.images.SlideShow2.alt=[j];
   document.images.SlideShow2.alt=AltTxt[j];

   if (document.all){
      document.images.SlideShow2.filters.blendTrans.Play()
   }
   j2 = j2 + 1
   if (j2 > (p-1)) j2=0
   t2 = setTimeout('runSlideShow2()', slideShowSpeed)
}
function runSlideShow3(){
   if (document.all){
      document.images.SlideShow3.style.filter="blendTrans(duration=2)"
      document.images.SlideShow3.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.SlideShow3.filters.blendTrans.Apply()
   }
   document.images.SlideShow3.src = preLoad3[j].src;
   document.images.SlideShow3.alt=[j];
   document.images.SlideShow3.alt=AltTxt[j];

   if (document.all){
      document.images.SlideShow3.filters.blendTrans.Play()
   }
   j3 = j3 + 1
   if (j3 > (p-1)) j3=0
   t3 = setTimeout('runSlideShow3()', slideShowSpeed)
}
