// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 8000

// Duration of crossfade (seconds)
var crossFadeDuration = 3

// Specify the image files
var Pic = new Array(); 

// don't touch this
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = 'images/tourindia_head1.jpg'
Pic[1] = 'images/tourindia_head2.jpg'
Pic[2] = 'images/tourindia_head3.jpg'
//Pic[3] = 'images/tourindia_head4.jpg'
Pic[3] = 'images/tourindia_head4.jpg'






// =======================================
// do not edit anything below this line
// =======================================

var t1
var j1 = 0
var p1 = Pic.length

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

function runSlideShow(){
if (document.all){
document.images.SlideShow.style.filter="revealTrans(duration=2)"
document.images.SlideShow.style.filter="revealTrans(duration=1,transition=75)"
document.images.SlideShow.filters.revealTrans.Apply() 
}
document.images.SlideShow.src = preLoad[j1].src
if (document.all){
//document.images.SlideShow.filters.blendTrans.Play()
}
j1 = j1 + 1
if (j1 > (p1-1)) j1=0
t1 = setTimeout('runSlideShow()', slideShowSpeed)
}



//======================== Right Side Slide========================================================







var slideShowSpeed1 = 15000

// Duration of crossfade (seconds)
var crossFadeDuration1 = 3

// Specify the image files
var Pic1 = new Array(); 

// don't touch this
// to add more images, just continue
// the pattern, adding to the array below

Pic1[0] = 'images/jaipur-add.jpg'
Pic1[1] = 'images/agra-taj-add.jpg'

Pic1[2] = 'images/add-main-wildlife.jpg'
Pic1[3] = 'images/yoga-tour.jpg'
Pic1[4] = 'images/spiritual.jpg'
Pic1[5] = 'images/spa_add.jpg'






// =======================================
// do not edit anything below this line
// =======================================

var t2
var j2 = 0
var p2 = Pic1.length

var preLoad1 = new Array()
for (n = 0; n < p2; n++){
preLoad1[n] = new Image()
preLoad1[n].src = Pic1[n]
}

function runSlideShow2(){
if (document.all){
document.images.SlideShow2.style.filter="revealTrans(duration=2)"
document.images.SlideShow2.style.filter="revealTrans(duration=1,transition=75)"
document.images.SlideShow2.filters.revealTrans.Apply() 
}
document.images.SlideShow2.src = preLoad1[j2].src
if (document.all){
//document.images.SlideShow.filters.blendTrans.Play()
}
j2 = j2 + 1
if (j2 > (p2-1)) j2=0
t1 = setTimeout('runSlideShow2()', slideShowSpeed1)
}







