 
/***********************************************    
* DHTML slideshow script-  © Dynamic Drive DHTML code library (www.dynamicdrive.com)    
* This notice must stay intact for legal use    
* Visit http://www.dynamicdrive.com/ for full source code    
***********************************************/    
var photos=new Array()    
var photoslink=new Array()    
var which=0   
//define images. You can have as many as you want:    
photos[0]="images/galleryPhotos/gallery_t1.jpg"    
photos[1]="images/galleryPhotos/gallery_t2.jpg"    
photos[2]="images/galleryPhotos/gallery_t3.jpg"    
//Specify whether images should be linked or not (1=linked)    
var linkornot=0   
//Set corresponding URLs for above images. Define ONLY if variable linkornot equals "1"    
photoslink[0]="images/galleryPhotos/gallery_pic1.jpg"    
photoslink[1]="images/galleryPhotos/gallery_pic2.jpg"    
photoslink[2]="images/galleryPhotos/gallery_pic3.jpg"    
//do NOT edit pass this line    
var preloadedimages=new Array()    
for (i=0;i<photos.length;i++){    
preloadedimages[i]=new Image()    
preloadedimages[i].src=photos[i]    
}    
function applyeffect(){    
if (document.all && photoslider.filters){    
photoslider.filters.revealTrans.Transition=Math.floor(Math.random()*23)    
photoslider.filters.revealTrans.stop()    
photoslider.filters.revealTrans.apply()    
}    
}    
function playeffect(){    
if (document.all && photoslider.filters)    
photoslider.filters.revealTrans.play()    
}    
function keeptrack(){    
window.status="Image "+(which+1)+" of "+photos.length    
}    
function backward(){    
if (which>0){    
which--    
applyeffect()    
document.images.photoslider.src=photos[which]    
playeffect()    
keeptrack()    
}    
}    
function forward(){    
if (which<photos.length-1){    
which++    
applyeffect()    
document.images.photoslider.src=photos[which]    
playeffect()    
keeptrack()    
}    
}    
function transport(){   
window.open(photoslink[which],'mywindow','width=930,height=620,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no, resizable=no') 
}  

/***********************************************    
* DHTML slideshow script-  © Dynamic Drive DHTML code library (www.dynamicdrive.com)    
* This notice must stay intact for legal use    
* Visit http://www.dynamicdrive.com/ for full source code    
***********************************************/    
var photos2=new Array()    
var photoslink2=new Array()    
var which2=0   
//define images. You can have as many as you want:    
photos2[0]="images/galleryPhotos/gallery_t4.jpg"    
photos2[1]="images/galleryPhotos/gallery_t5.jpg"    
photos2[2]="images/galleryPhotos/gallery_t6.jpg"    
//Specify whether images should be linked or not (1=linked)    
var linkornot=1   
//Set corresponding URLs for above images. Define ONLY if variable linkornot equals "1"    
photoslink2[0]="images/galleryPhotos/gallery_pic4.jpg"    
photoslink2[1]="images/galleryPhotos/gallery_pic5.jpg"    
photoslink2[2]="images/galleryPhotos/gallery_pic6.jpg"    
//do NOT edit pass this line    
var preloadedimages=new Array()    
for (i=0;i<photos2.length;i++){    
preloadedimages[i]=new Image()    
preloadedimages[i].src=photos2[i]    
}    
function applyeffect2(){    
if (document.all && photoslider2.filters){    
photoslider2.filters.revealTrans.Transition=Math.floor(Math.random()*23)    
photoslider2.filters.revealTrans.stop()    
photoslider2.filters.revealTrans.apply()    
}    
}    
function playeffect2(){    
if (document.all && photoslider2.filters)    
photoslider2.filters.revealTrans.play()    
}    
function keeptrack2(){    
window.status="Image "+(which2+1)+" of "+photos2.length    
}    
function backward2(){    
if (which2>0){    
which2--    
applyeffect2()    
document.images.photoslider2.src=photos2[which]    
playeffect2()    
keeptrack2()    
}    
}    
function forward2(){    
if (which2<photos2.length-1){    
which2++    
applyeffect2()    
document.images.photoslider2.src=photos2[which]    
playeffect2()    
keeptrack2()    
}    
}    
function transport2(){   
window.open(photoslink2[which],'mywindow','width=930,height=620,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no, resizable=no') 
}  

/***********************************************    
* DHTML slideshow script-  © Dynamic Drive DHTML code library (www.dynamicdrive.com)    
* This notice must stay intact for legal use    
* Visit http://www.dynamicdrive.com/ for full source code    
***********************************************/    
var photos3=new Array()    
var photoslink3=new Array()    
var which3=0   
//define images. You can have as many as you want:    
photos3[0]="images/galleryPhotos/gallery_t7.jpg"    
photos3[1]="images/galleryPhotos/gallery_t8.jpg"    
photos3[2]="images/galleryPhotos/gallery_t9.jpg"    
//Specify whether images should be linked or not (1=linked)    
var linkornot=1   
//Set corresponding URLs for above images. Define ONLY if variable linkornot equals "1"    
photoslink3[0]="images/galleryPhotos/gallery_pic7.jpg"    
photoslink3[1]="images/galleryPhotos/gallery_pic8.jpg"    
photoslink3[2]="images/galleryPhotos/gallery_pic9.jpg"    
//do NOT edit pass this line    
var preloadedimages=new Array()    
for (i=0;i<photos3.length;i++){    
preloadedimages[i]=new Image()    
preloadedimages[i].src=photos3[i]    
}    
function applyeffect3(){    
if (document.all && photoslider3.filters){    
photoslider3.filters.revealTrans.Transition=Math.floor(Math.random()*23)    
photoslider3.filters.revealTrans.stop()    
photoslider3.filters.revealTrans.apply()    
}    
}    
function playeffect3(){    
if (document.all && photoslider3.filters)    
photoslider3.filters.revealTrans.play()    
}    
function keeptrack3(){    
window.status="Image "+(which3+1)+" of "+photos3.length    
}    
function backward3(){    
if (which3>0){    
which3--    
applyeffect3()    
document.images.photoslider3.src=photos3[which]    
playeffect3()    
keeptrack3()    
}    
}    
function forward3(){    
if (which3<photos3.length-1){    
which3++    
applyeffect3()    
document.images.photoslider3.src=photos3[which]    
playeffect3()    
keeptrack3()    
}    
}    
function transport3(){   
window.open(photoslink3[which],'mywindow','width=930,height=620,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no, resizable=no') 
}  