// Funciones para la galeria

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*/
photos[0]="images/galerias/jardines/nuestrosjardines1.jpg";
photos[1]="images/galerias/jardines/nuestrosjardines2.jpg";
photos[2]="images/galerias/jardines/nuestrosjardines3.jpg";
photos[3]="images/galerias/jardines/nuestrosjardines4.jpg";
photos[4]="images/galerias/jardines/nuestrosjardines5.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'
			which=1;
			backward();
			return false
		}
}

