var photo=new Array()
var which=0

/*Change the below variables to reference your own images. You may have as many images in the slider as you wish*/
photo[0]="images/whirlpools/portable/whirlpools.jpg"
photo[1]="images/whirlpools/portable/port0.jpg"
photo[2]="images/whirlpools/portable/port8.jpg"


function backward(){
if (which>0){
window.status=''
which--
document.images.photoslider.src=photo[which]
}
}

function forward(){
if (which<photo.length-1){
which++
document.images.photoslider.src=photo[which]
}
else window.status='End of gallery'
}

