var photos=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. make sure they all the same size*/

photos[0]="images/Peleliu-1.jpg"
photos[1]="images/Peleliu-2.jpg"
photos[2]="images/Peleliu-3.jpg"
photos[3]="images/Peleliu-4.jpg"
photos[4]="images/Peleliu-5.jpg"
photos[5]="images/Peleliu-6.jpg"
photos[6]="images/Peleliu-7.jpg"
photos[7]="images/Peleliu-9.jpg"
photos[8]="images/Peleliu-10.jpg"
photos[9]="images/Peleliu-12.jpg"
photos[10]="images/Peleliu-11.jpg"
photos[11]="images/Peleliu-13.jpg"
photos[12]="images/Peleliu-14.jpg"
photos[13]="images/Peleliu-15.jpg"

function backward(){
if (which>0){
	window.status=''
	which--
	document.images.photoslider.src=photos[which]
	}
}

function forward(){
if (which<photos.length-1){
	which++
	document.images.photoslider.src=photos[which]
	}
else window.status='End of gallery'
	}
