// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 2000;
// Duration of crossfade (seconds)
var crossFadeDuration = 3;
// Specify the image files
var Pic1 = new Array();
// to add more images, just continue
// the pattern, adding to the array below

Pic1[0] = 'image/1.gif'
Pic1[1] = 'image/2.gif'
Pic1[2] = 'image/3.gif'
Pic1[3] = 'image/4.gif'
Pic1[4] = 'image/5.gif'
// do not edit anything below this line
var t;
var j = 0;
var p = Pic1.length;
var preLoad1 = new Array();
for (i = 0; i < p; i++) {
preLoad1[i] = new Image();
preLoad1[i].src = Pic1[i];
}



function runSlideShow1()
{
	//alert("hello");
if (document.all) {
document.images.SlideShow1.style.filter="revealTrans(duration=2)";
document.images.SlideShow1.style.filter="revealTrans(duration=crossFadeDuration)";
document.images.SlideShow1.filters.revealTrans.Apply();
}
document.images.SlideShow1.src = preLoad1[j].src;
if (document.all) {
document.images.SlideShow1.filters.revealTrans.Play();
}
j = j + 1;
if (j > (p - 1)) j = 0; t = setTimeout('runSlideShow1()', slideShowSpeed);
}

function runSlideShowc() {
if (document.all) {
document.images.SlideShowc.style.filter="blendTrans(duration=2)";
document.images.SlideShowc.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShowc.filters.blendTrans.Apply();
}
document.images.SlideShowc.src = preLoad1[j].src;
if (document.all) {
document.images.SlideShowc.filters.blendTrans.Play();
}
j = j + 1;
if (j > (p - 1)) j = 0;
t = setTimeout('runSlideShowc()', slideShowSpeed);
}

function runSlideShowb() {
if (document.all) {
document.images.SlideShowb.style.filter="blendTrans(duration=2)";
document.images.SlideShowb.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShowb.filters.blendTrans.Apply();
}
document.images.SlideShowb.src = preLoad1[j].src;
if (document.all) {
document.images.SlideShowb.filters.blendTrans.Play();
}
j = j + 1;
if (j > (p - 1)) j = 0;
t = setTimeout('runSlideShowb()', slideShowSpeed);
}

function runSlideShowa() {
if (document.all) {
document.images.SlideShowa.style.filter="blendTrans(duration=2)";
document.images.SlideShowa.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShowa.filters.blendTrans.Apply();
}
document.images.SlideShowa.src = preLoad1[j].src;
if (document.all) {
document.images.SlideShowa.filters.blendTrans.Play();
}
j = j + 1;
if (j > (p - 1)) j = 0;
t = setTimeout('runSlideShowa()', slideShowSpeed);
}



//  End -->

function runSlideShow() {
	//alert("good");
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 = preLoad1[k].src;
//document.images.SlideShow1.src = preLoad12[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);
}

