// JavaScript Document
// JavaScript Document
var photos=new Array()
var photoslink=new Array()
var which=0

//define images. You can have as many as you want:
photos[0]="images/2006/1.GIF"
photos[1]="images/2006/2.GIF"
photos[2]="images/2006/3.GIF"
photos[3]="images/2006/4.GIF"
photos[4]="images/2006/5.GIF"
photos[5]="images/2006/6.GIF"
photos[6]="images/2006/7.GIF"
photos[7]="images/2006/8.GIF"
photos[8]="images/2006/9.GIF"
photos[9]="images/2006/10.GIF"
photos[10]="images/2006/11.GIF"
photos[11]="images/2006/12.GIF"
photos[12]="images/2006/13.GIF"
photos[13]="images/2006/14.GIF"
photos[14]="images/2006/15.GIF"
photos[15]="images/2006/16.GIF"
photos[16]="images/2006/17.GIF"
photos[17]="images/2006/18.GIF"
photos[18]="images/2006/19.GIF"
photos[19]="images/2006/20.GIF"
photos[20]="images/2006/21.GIF"
photos[21]="images/2006/22.GIF"
photos[22]="images/2006/23.GIF"
photos[23]="images/2006/24.GIF"
photos[24]="images/2006/25.GIF"
photos[25]="images/2006/26.GIF"
photos[26]="images/2006/27.GIF"
photos[27]="images/2006/28.GIF"
photos[28]="images/2006/29.GIF"
photos[29]="images/2006/30.GIF"
photos[30]="images/2006/31.GIF"
photos[31]="images/2006/32.GIF"
photos[32]="images/2006/33.GIF"
photos[33]="images/2006/34.GIF"
photos[34]="images/2006/35.GIF"
photos[35]="images/2006/36.GIF"
photos[36]="images/2006/37.GIF"
photos[37]="images/2006/38.GIF"
photos[38]="images/2006/39.GIF"
photos[39]="images/2006/40.GIF"
photos[40]="images/2006/41.GIF"
photos[41]="images/2006/42.GIF"
photos[42]="images/2006/43.GIF"
photos[43]="images/2006/44.GIF"
photos[44]="images/2006/45.GIF"
photos[45]="images/2006/46.GIF"
photos[46]="images/2006/47.GIF"
photos[47]="images/2006/48.GIF"
photos[48]="images/2006/49.GIF"
photos[49]="images/2006/47.GIF"
photos[50]="images/2006/48.GIF"
photos[51]="images/2006/49.GIF"
photos[52]="images/2006/50.GIF"
photos[53]="images/2006/51.GIF"
photos[54]="images/2006/52.GIF"
photos[55]="images/2006/53.GIF"
photos[56]="images/2006/54.GIF"
photos[57]="images/2006/55.GIF"
photos[58]="images/2006/56.GIF"
photos[59]="images/2006/57.GIF"
photos[60]="images/2006/58.GIF"
photos[61]="images/2006/59.GIF"
photos[62]="images/2006/60.GIF"
photos[63]="images/2006/61.GIF"
photos[64]="images/2006/62.GIF"
photos[65]="images/2006/63.GIF"
photos[66]="images/2006/64.GIF"
photos[67]="images/2006/65.GIF"
photos[68]="images/2006/66.GIF"
photos[69]="images/2006/67.GIF"
photos[70]="images/2006/68.GIF"
photos[71]="images/2006/69.GIF"



//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]=""
photoslink[1]=""
photoslink[2]=""

//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.location=photoslink[which]
}
