
image00= new Image()
image00.src="images/name.gif"
image000= new Image()
image000.src="images/name2.gif"
image01= new Image()
image01.src="images/pictures.gif"
image02= new Image()
image02.src="images/pictures2.gif"
image03= new Image()
image03.src="images/listen.gif"
image04= new Image()
image04.src="images/listen2.gif"
image05= new Image()
image05.src="images/video.gif"
image06= new Image()
image06.src="images/video2.gif"
image07= new Image()
image07.src="images/bio.gif"
image08= new Image()
image08.src="images/bio2.gif"
image09= new Image()
image09.src="images/current.gif"
image10= new Image()
image10.src="images/current2.gif"
image11= new Image()
image11.src="images/archives.gif"
image12= new Image()
image12.src="images/archives2.gif"
image13= new Image()
image13.src="images/contact.gif"
image14= new Image()
image14.src="images/contact2.gif"
image15= new Image()
image15.src="images/links.gif"
image16= new Image()
image16.src="images/links2.gif"




var photos=new Array()
var photoslink=new Array()
var which=0

//define images. You can have as many as you want:
photos[0]="images/dna-portrait-01.jpg"
photos[1]="images/dna-portrait-02.jpg"
photos[2]="images/sirens-01.jpg"
photos[3]="images/dna-portrait-03.jpg"
photos[4]="images/dna-portrait-05.jpg"
photos[5]="images/dna-portrait-06.jpg"
photos[6]="images/dna-portrait-07.jpg"
photos[7]="images/dna-portrait-08.jpg"
photos[8]="images/dna-portrait-09.jpg"
photos[9]="images/chaos-bfly-01.jpg"
photos[10]="images/chaos-bfly-02.jpg"
photos[11]="images/chaos-bfly-03.jpg"
photos[12]="images/chaos-bfly-04.jpg"
photos[13]="images/chaos-bfly-05.jpg"
photos[14]="images/cirque-mystere-01.jpg"
photos[15]="images/cirque-mystere-02.jpg"
photos[16]="images/cirque-o-01.jpg"
photos[17]="images/dna-band-01.jpg"
photos[18]="images/dna-band-02.jpg"
photos[19]="images/dna-band-03.jpg"
photos[20]="images/dna-band-04.jpg"
photos[21]="images/dna-kb-01.jpg"
photos[22]="images/dna-mb-insf.jpg"
photos[23]="images/slater-01.jpg"
photos[24]="images/slater-02.jpg"
photos[25]="images/slater-03.jpg"
photos[26]="images/slater-04.jpg"
photos[27]="images/slater-05.jpg"
photos[28]="images/slater-06.jpg"
photos[29]="images/slater-07.jpg"
photos[30]="images/slater-08.jpg"
photos[31]="images/slater-09.jpg"
photos[32]="images/slater-10.jpg"
photos[33]="images/slater-11.jpg"
photos[34]="images/tone-test-01.jpg"
photos[35]="images/wine-glasses-01.jpg"
photos[36]="images/dna-portrait-04.jpg"
photos[37]="images/cirque-mystere-03.jpg"
photos[38]="images/cirque-mystere-04.jpg"
photos[39]="images/cirque-mystere-05.jpg"
photos[40]="images/cirque-mystere-06.jpg"
photos[41]="images/cirque-mystere-07.jpg"
photos[42]="images/qtv-01.jpg"
photos[43]="images/qtv-02.jpg"
photos[44]="images/dna-jk-01.jpg"
photos[45]="images/dna-jk-02.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]=""
photoslink[1]=""
photoslink[2]=""
photoslink[3]=""
photoslink[4]=""
photoslink[5]=""
photoslink[6]=""
photoslink[7]=""
photoslink[8]=""
photoslink[9]=""
photoslink[10]=""
photoslink[11]=""
photoslink[12]=""
photoslink[13]=""
photoslink[14]=""
photoslink[15]=""
photoslink[16]=""
photoslink[17]=""
photoslink[18]=""
photoslink[19]=""
photoslink[20]=""
photoslink[21]=""
photoslink[22]=""
photoslink[23]=""
photoslink[24]=""
photoslink[25]=""
photoslink[26]=""
photoslink[27]=""
photoslink[28]=""
photoslink[29]=""
photoslink[30]=""
photoslink[31]=""
photoslink[32]=""
photoslink[33]=""
photoslink[34]=""
photoslink[35]=""
photoslink[36]=""
photoslink[37]=""
photoslink[38]=""
photoslink[39]=""
photoslink[40]=""
photoslink[41]=""
photoslink[42]=""
photoslink[43]=""
photoslink[44]=""
photoslink[45]=""

//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]
}
