
// +++++++++++++++++++ left-col thumb gallery ++++++++++++++++++++++ //

var thumbs=new Array()
var thumbslink=new Array()
var whicht=0

var preloadedtimages=new Array()
for (i=0;i<thumbs.length;i++){
preloadedtimages[i]=new Imaget()
preloadedtimages[i].src=thumbs[i]
}

function applyeffectt(){
if (document.all && photoslidert.filters){
photoslidert.filters.revealTrans.Transition=Math.floor(Math.random()*23)
photoslidert.filters.revealTrans.stop()
photoslidert.filters.revealTrans.apply()
}
}

function playeffectt(){
if (document.all && photoslidert.filters)
photoslidert.filters.revealTrans.play()
}


//define images. You can have as many as you want:
thumbs[0]="/images/gallery/pic01_b.jpg"
thumbs[1]="/images/gallery/pic02_b.jpg"
thumbs[2]="/images/gallery/pic03_b.jpg"
thumbs[3]="/images/gallery/pic04_b.jpg"
thumbs[4]="/images/gallery/pic05_b.jpg"
thumbs[5]="/images/gallery/pic06_b.jpg"
thumbs[6]="/images/gallery/pic07_b.jpg"
thumbs[7]="/images/gallery/pic09_b.jpg"
thumbs[8]="/images/gallery/pic10_b.jpg"
thumbs[9]="/images/gallery/pic11_b.jpg"
thumbs[10]="/images/gallery/pic12_b.jpg"
thumbs[11]="/images/gallery/pic13_b.jpg"
thumbs[12]="/images/gallery/pic14_b.jpg"
thumbs[13]="/images/gallery/pic15_b.jpg"
thumbs[14]="/images/gallery/pic16_b.jpg"
thumbs[15]="/images/gallery/pic17_b.jpg"
thumbs[16]="/images/gallery/pic18_b.jpg"
thumbs[17]="/images/gallery/pic19_b.jpg"
thumbs[18]="/images/gallery/pic20_b.jpg"
thumbs[19]="/images/gallery/pic21_b.jpg"
thumbs[20]="/images/gallery/pic22_b.jpg"
thumbs[21]="/images/gallery/pic23_b.jpg"
thumbs[22]="/images/gallery/pic24_b.jpg"
thumbs[23]="/images/gallery/pic25_b.jpg"
thumbs[24]="/images/gallery/pic26_b.jpg"
thumbs[25]="/images/gallery/pic27_b.jpg"
thumbs[26]="/images/gallery/pic28_b.jpg"
thumbs[27]="/images/gallery/pic29_b.jpg"
thumbs[28]="/images/gallery/pic30_b.jpg"
thumbs[29]="/images/gallery/pic31_b.jpg"
thumbs[30]="/images/gallery/pic32_b.jpg"
thumbs[31]="/images/gallery/pic33_b.jpg"
thumbs[32]="/images/gallery/pic34_b.jpg"
thumbs[33]="/images/gallery/pic35_b.jpg"/**/

function keeptrackt(){
window.status="Imaget "+(whicht+1)+" of "+thumbs.length
}

function backwardt(){
if (whicht>0){
whicht--
applyeffectt()
document.images.photoslidert.src=thumbs[whicht]
playeffectt()
keeptrackt()
}
}

function forwardt(){
if (whicht<thumbs.length-1){
whicht++
applyeffectt()
document.images.photoslidert.src=thumbs[whicht]
playeffectt()
keeptrackt()
}
}

function transportt(){
window.location=photoslinkt[whicht]
}
