//define images. You can have as many as you want:
photos[0]="img/cap3/leather01.jpg"
photos[1]="img/cap3/leather02.jpg"
photos[2]="img/cap3/leather03.jpg"
photos[3]="img/cap3/leather04.jpg"
photos[4]="img/cap3/leather05.jpg"
photos[5]="img/cap3/leather06.jpg"


function forward(){
if (which == 5) {
	window.location='follar-con-leather40-b.asp';
} else if (which<photos.length-1){
which++
applyeffect()
document.images.photoslider.src=photos[which]
playeffect()
keeptrack()
}
}