// (C) 2000 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this  header

// =======================================
// set the following variables
// =======================================

// Set speed (milliseconds)
var speed = 3000

// 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] = 'm_foto/0001.jpg'
Pic[1] = 'm_foto/001.jpg'
Pic[2] = 'm_foto/002.jpg'
Pic[3] = 'm_foto/003.jpg'
Pic[4] = 'm_foto/004.jpg'
Pic[5] = 'm_foto/005.jpg'
Pic[6] = 'm_foto/006.jpg'
Pic[7] = 'm_foto/007.jpg'
Pic[8] = 'm_foto/008.jpg'
Pic[9] = 'm_foto/009.jpg'
Pic[10] = 'm_foto/010.jpg'
Pic[11] = 'm_foto/011.jpg'
// =======================================
// 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(){
   document.images.SlideShow.src = preLoad[j].src
   j = j + 1
   if (j > (p-1)) j=0
   t = setTimeout('runSlideShow()', speed)
}
