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/slide_show/pic1.jpg"
photos[1]="images/slide_show/pic2.jpg"
photos[2]="images/slide_show/pic3.jpg"
photos[3]="images/slide_show/pic4.jpg"
photos[4]="images/slide_show/pic5.jpg"
photos[5]="images/slide_show/pic6.jpg"
photos[6]="images/slide_show/pic7.jpg"
photos[7]="images/slide_show/pic8.jpg"
photos[8]="images/slide_show/pic9.jpg"
photos[9]="images/slide_show/pic10.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'
	}
