
// HOME PAGE

divs_to_fade = new Array('f1p1','f1p2', 'f1p3', 'f1p4', 'f1p5');
i = 0;
wait = 4500;


// the function that performs the fade
function swapFade() {
Effect.Fade(divs_to_fade[i], { duration:2, from:1.0, to:0.0 });
i = i+1;
if (i == 5) i = 0;
Effect.Appear(divs_to_fade[i], { duration:1, from:0.0, to:1.0 });
}
// the onload event handler that starts the fading.
function startSlideShow() {
setInterval('swapFade()',wait);
}


divs_to_fade2 = new Array('f2p1','f2p2', 'f2p3', 'f2p4','f2p5');
i2 = 0;
wait2 = 4500;


// the function that performs the fade
function swapFade2() {
Effect.Fade(divs_to_fade2[i2], { duration:2, from:1.0, to:0.0 });
i2 = i2+1;
if (i2 == 5) i2 = 0;
Effect.Appear(divs_to_fade2[i2], { duration:1, from:0.0, to:1.0 });
}
// the onload event handler that starts the fading.
function startSlideShow2() {
setInterval('swapFade2()',wait2);
}

//ACCOMMODATIONS

ac1 = new Array('f1p1','f1p2', 'f1p3');
ac1i = 0;
ac1wait = 4500;
// the function that performs the fade
function ac1swapFade() {
Effect.Fade(ac1[ac1i], { duration:2, from:1.0, to:0.0 });
ac1i = ac1i+1;
if (ac1i == 3) ac1i = 0;
Effect.Appear(ac1[ac1i], { duration:1, from:0.0, to:1.0 });
}
// the onload event handler that starts the fading.
function startSlideShowac1() {
setInterval('ac1swapFade()',ac1wait);
}

ac2 = new Array('f2p1','f2p2', 'f2p3');
ac2i = 0;
ac2wait = 4500;
// the function that performs the fade
function ac2swapFade() {
Effect.Fade(ac2[ac2i], { duration:2, from:1.0, to:0.0 });
ac2i = ac2i+1;
if (ac2i == 3) ac2i = 0;
Effect.Appear(ac2[ac2i], { duration:1, from:0.0, to:1.0 });
}
// the onload event handler that starts the fading.
function startSlideShowac2() {
setInterval('ac2swapFade()',ac2wait);
}

ac3 = new Array('f3p1','f3p2', 'f3p3');
ac3i = 0;
ac3wait = 4500;
// the function that performs the fade
function ac3swapFade() {
Effect.Fade(ac3[ac3i], { duration:2, from:1.0, to:0.0 });
ac3i = ac3i+1;
if (ac3i == 3) ac3i = 0;
Effect.Appear(ac3[ac3i], { duration:1, from:0.0, to:1.0 });
}
// the onload event handler that starts the fading.
function startSlideShowac3() {
setInterval('ac3swapFade()',ac3wait);
}




