<!--

// (C) 2000 www.CodeLifter.com

// http://www.codelifter.com

// Free for all users, but leave in this  header

// NS4-6,IE4-6

// Fade effect only in IE; degrades gracefully



// =======================================

// set the following variables

// =======================================



// Set slideShowSpeed (milliseconds)

var slideShowSpeed = 2500

// Duration of crossfade (seconds)

var crossFadeDuration = 1500



// Specify the image files

var Pic = new Array() // don't touch this

// to add more images, just continue

// the pattern, adding to the array below



Pic[0] = 'pix/z1.jpg'
Pic[1] = 'pix/z2.jpg'
Pic[2] = 'pix/z3.jpg'
Pic[3] = 'pix/z4.jpg'
Pic[4] = 'pix/z5.jpg'
Pic[5] = 'pix/z6.jpg'
Pic[6] = 'pix/z7.jpg'
Pic[7] = 'pix/z8.jpg'
Pic[8] = 'pix/z9.jpg'
Pic[9] = 'pix/z10.jpg'


// =======================================

// do not edit anything below this line

// =======================================



var t

var j = 0
var k = 1
var l = 2
var m = 3
var n = 4
var o = 5

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)
}

function runSlideShow1(){
   if (document.all){
      document.images.SlideShow1.style.filter="blendTrans(duration=2)"
      document.images.SlideShow1.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.SlideShow1.filters.blendTrans.Apply()
   }
   document.images.SlideShow1.src = preLoad[k].src
   if (document.all){
      document.images.SlideShow1.filters.blendTrans.Play()
   }
   k = k + 1
   if (k > (p-1)) k=0
   t = setTimeout('runSlideShow1()', 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 = preLoad[l].src
   if (document.all){
      document.images.SlideShow2.filters.blendTrans.Play()
   }
   l = l + 1
   if (l > (p-1)) l=0
   t = 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 = preLoad[m].src
   if (document.all){
      document.images.SlideShow3.filters.blendTrans.Play()
   }
   m = m + 1
   if (m > (p-1)) m=0
   t = setTimeout('runSlideShow3()', slideShowSpeed)
}

function runSlideShow4(){
   if (document.all){
      document.images.SlideShow4.style.filter="blendTrans(duration=2)"
      document.images.SlideShow4.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.SlideShow4.filters.blendTrans.Apply()
   }
   document.images.SlideShow4.src = preLoad[n].src
   if (document.all){
      document.images.SlideShow4.filters.blendTrans.Play()
   }
   n = n + 1
   if (n > (p-1)) n=0
   t = setTimeout('runSlideShow4()', slideShowSpeed)
}

function runSlideShow5(){
   if (document.all){
      document.images.SlideShow5.style.filter="blendTrans(duration=2)"
      document.images.SlideShow5.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.SlideShow5.filters.blendTrans.Apply()
   }
   document.images.SlideShow5.src = preLoad[o].src
   if (document.all){
      document.images.SlideShow5.filters.blendTrans.Play()
   }
   o = o + 1
   if (o > (p-1)) o=0
   t = setTimeout('runSlideShow5()', slideShowSpeed)
}


function Pokaz(){
   runSlideShow()
   runSlideShow1()
   runSlideShow2()
   runSlideShow3()
   runSlideShow4()
   //runSlideShow5()

   //  setTimeout('runSlideShow('+24+')', slideShowSpeed/2)

}

//-->
