// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 3000;
// Duration of crossfade (seconds)
var crossFadeDuration = 4;
// Specify the image files
var Pic1 = new Array();
var Pict1 = new Array();
var Picture1 = new Array();
// to add more images, just continue
// the pattern, adding to the array below

Pic1[0] = 'images/hotel.png';
Pic1[1] = 'images/hotel-1.png';
Pic1[2] = 'images/hotel-2.png';
Pic1[3] = 'images/hotel-3.png';
Pic1[4] = 'images/hotel-4.png';
Pic1[5] = 'images/hotel-5.png';




// do not edit anything below this line

var t;
var j = 0,k=0;
var p = Pic1.length;
var q = Pict1.length;
var r = Picture1.length;

var preLoad1 = new Array();
var preLoad12 = new Array();
var preLoad13 = new Array();

for (i = 0; i < p; i++) {
preLoad1[i] = new Image();
preLoad1[i].src = Pic[i];
}

for (i = 0; i < q; i++) {
preLoad12[i] = new Image();
preLoad12[i].src = Pict[i];
}

for (i = 0; i < r; i++) {
preLoad13[i] = new Image();
preLoad13[i].src = Picture[i];
}

function runSlideShowhotel() {
if (document.all) {
document.images.hotel.style.filter="blendTrans(duration=2)";
document.images.hotel.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.hotel.filters.blendTrans.Apply();

}
document.images.hotel.src = preLoad1[k].src;

if (document.all) {
document.images.hotel.filters.blendTrans.Play();

}
j = j + 1;
k = k + 1;
if (j > (q - 1))j = 0;
if(k>(p-1)) k=0;
{
}
t = setTimeout('runSlideShowhotel()', slideShowSpeed);
}
//  End -->

