//Change Images Starts

var theImages = new Array()
//Random-loading images
theImages[0] = '/gifs/dancer.gif' // replace with names of images
theImages[1] = '/gifs/sadhu.gif' // replace with names of images
theImages[2] = '/gifs/tigers.gif' // replace with names of images
theImages[3] = '/gifs/tourists-on-elephant.gif' // replace with names of images
 
var j = 0
var p = theImages.length;
var preBuffer = new Array()
 
for (i = 0; i < p; i++){
preBuffer[i] = new Image()
preBuffer[i].src = theImages[i]
}
var whichImage = Math.round(Math.random()*(p-1));
 
function showImage(){
    if(whichImage==0){
    document.write('<img src="'+theImages[whichImage]+'" border=0 width=153 height=228 hspace=0 vspace=0 >');
    }
    else if(whichImage==1){
    document.write('<img src="'+theImages[whichImage]+'" border=0 width=184 height=228 hspace=0 vspace=0 >');
    }
    else if(whichImage==2){
    document.write('<img src="'+theImages[whichImage]+'" border=0 width=291 height=228 hspace=0 vspace=0 >');
    }
    else if(whichImage==3){
    document.write('<img src="'+theImages[whichImage]+'" border=0 width=230 height=228 hspace=0 vspace=0 >');
    }
    else if(whichImage==4){
    document.write('<img src="'+theImages[whichImage]+'" border=0 width=304 height=228 hspace=0 vspace=0 >');
    }
}
//Change Images ends



 
//blowup Starts

 function openchild(sURL) { 
	var turl = "/"+sURL;
	window.open(turl, "one", 'toolbar=no,location=no,directories=no,status=no,scrollbars=no,menubar=no,resizable=no,width=500,height=454'); 
   }


//blowup ends





// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 3500;
// Duration of crossfade (seconds)
var crossFadeDuration = 3;
// Specify the image files
var Pic = new Array();
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = '/gifs/kerala-ayurveda.jpg'
Pic[1] = '/gifs/taj-mahal-agra.jpg'
Pic[2] = '/gifs/kerala-backwater2.jpg'


// do not edit anything below this line
var t;
var k = 0;
var q = Pic.length;
var preLoad = new Array();
for (l = 0; l < q; l++) {
preLoad[l] = new Image();
preLoad[l].src = Pic[l];
}
function runSlideShow() {
if (document.all) {
document.images.SlideShow.style.filter="blendTrans(duration=2)";
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow.filters.blendTrans.Apply();
}
document.images.SlideShow.src = preLoad[k].src;
if (document.all) {
document.images.SlideShow.filters.blendTrans.Play();
}
k = k + 1;
if (k > (q - 1)) k = 0;
t = setTimeout('runSlideShow()', slideShowSpeed);
}
//Slide Show ends

