// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 3500;
// Duration of crossfade (seconds)
var crossFadeDuration = 3;
// Specify the image files
var Pic = new Array();
var Pict = new Array();

// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = 'images/slide1.jpg';
Pic[1] = 'images/slide2.jpg';
Pic[2] = 'images/slide3.jpg';
Pic[3] = 'images/slide4.jpg';
Pic[4] = 'images/slide5.jpg';
Pic[5] = 'images/slide6.jpg';
Pic[6] = 'images/slide7.jpg';
Pic[7] = 'images/slide8.jpg';
Pic[8] = 'images/slide9.jpg';
Pic[9] = 'images/slide10.jpg';
Pic[10] = 'images/1.gif';
Pic[11] = 'images/2.gif';
Pic[12] = 'images/3.gif';
Pic[13] = 'images/4.gif';
Pic[14] = 'images/5.gif';
Pic[15] = 'images/6.gif';
Pic[16] = 'images/7.gif';
Pic[17] = 'images/8.gif';
Pic[18] = 'images/9.gif';
Pic[19] = 'images/10.gif';
Pic[20] = 'images/11.gif';
Pic[21] = 'images/12.gif';
Pic[22] = 'images/13.gif';
Pic[23] = 'images/14.gif';
Pic[24] = 'images/15.gif';
Pic[25] = 'images/16.gif';
Pic[26] = 'images/17.gif';
Pic[27] = 'images/18.gif';
Pic[28] = 'images/19.gif';
Pic[29] = 'images/20.gif';
Pic[30] = 'images/21.gif';
Pic[31] = 'images/22.gif';
Pic[32] = 'images/23.gif';
Pic[33] = 'images/24.gif';
Pic[34] = 'images/25.gif';
Pic[35] = 'images/26.gif';


Pict[0] = 'images/slide-6.jpg';
Pict[1] = 'images/slide-7.jpg';
Pict[2] = 'images/slide-8.jpg';
Pict[3] = 'images/slide-9.jpg';
Pict[4] = 'images/slide-10.jpg';
Pict[5] = 'images/slide-11.jpg';
Pict[6] = 'images/slide-1.jpg';
Pict[7] = 'images/slide-2.jpg';
Pict[8] = 'images/slide-3.jpg';
Pict[9] = 'images/slide-4.jpg';
Pict[10] = 'images/slide-5.jpg';
Pict[11] = 'images/27.gif';
Pict[12] = 'images/28.gif';
Pict[13] = 'images/29.gif';
Pict[14] = 'images/30.gif';
Pict[15] = 'images/31.gif';
Pict[16] = 'images/32.gif';
Pict[17] = 'images/33.gif';
Pict[18] = 'images/34.gif';
Pict[19] = 'images/35.gif';
Pict[20] = 'images/36.gif';
Pict[21] = 'images/37.gif';
Pict[22] = 'images/38.gif';
Pict[23] = 'images/39.gif';
Pict[24] = 'images/40.gif';
Pict[25] = 'images/41.gif';
Pict[26] = 'images/42.gif';
Pict[27] = 'images/43.gif';
Pict[28] = 'images/44.gif';
Pict[29] = 'images/45.gif';
Pict[30] = 'images/46.gif';
Pict[31] = 'images/47.gif';
Pict[32] = 'images/48.gif';
Pict[33] = 'images/49.gif';
Pict[34] = 'images/50.gif';
Pict[35] = 'images/51.gif';
Pict[36] = 'images/52.gif';




// do not edit anything below this line
var t;
var j = 0,k=0,u=0,h=0,a=0;
var p = Pic.length;
var q = Pict.length;


var preLoad = new Array();
var preLoad2 = new Array();


for (i = 0; i < p; i++) {
preLoad[i] = new Image();
preLoad[i].src = Pic[i];
}

for (i = 0; i < q; i++) {
preLoad2[i] = new Image();
preLoad2[i].src = Pict[i];
}


function runSlideShow() {
if (document.all) {
document.images.SlideShow.style.filter="revealTrans(duration=2)";
document.images.SlideShow.style.filter="revealTrans(duration=2,transition=1)";
document.images.SlideShow.filters.revealTrans.Apply();

document.images.SlideShow1.style.filter="revealTrans(duration=2)";
document.images.SlideShow1.style.filter="revealTrans(duration=2,transition=1)";
document.images.SlideShow1.filters.revealTrans.Apply();


}
document.images.SlideShow.src = preLoad[k].src;
document.images.SlideShow1.src = preLoad2[j].src;

if (document.all) {
document.images.SlideShow.filters.revealTrans.Play();
document.images.SlideShow1.filters.revealTrans.Play();

}
j = j + 1;
k = k + 1;
u = u + 1;
h = h + 1;
a = a + 1;
if (j > (q - 1))j = 0;
if(k>(p-1)) k=0;

{
}
t = setTimeout('runSlideShow()', slideShowSpeed);
}
//  End -->
