
// (C) 2003 by CodeLifter.com
// Free for all users, but leave in this header.

// ==============================
// Set the following variables...
// ==============================

// Set the slideshow speed (in milliseconds)
var slideShowSpeed = 3800;

// Set the duration of crossfade (in seconds)
var CrossFadeDuration = 3;

var Picture = new Array(); // don't change this
var Caption = new Array(); // don't change this
var showHot = false;       // don't change this

// Specify the image files...
// To add more images, just continue
// the pattern, adding to the array below.
// To use fewer images, remove lines
// starting at the end of the Picture array.
// Caution: The number of Pictures *must*
// equal the number of Captions!

Picture[0]  = 'img/principal/lago.jpg';
Picture[1]  = 'img/principal/pedregal.jpg';
Picture[2]  = 'img/principal/fontana.jpg';



// Specify the Captions...
// To add more captions, just continue
// the pattern, adding to the array below.
// To use fewer captions, remove lines
// starting at the end of the Caption array.
// Caution: The number of Captions *must*
// equal the number of Pictures!




// =====================================
// Do not edit anything below this line!
// =====================================


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




