var photos=new Array()
var text=new Array()
var which=0
var what=0

//Change the below variables to reference your own images. You may have as many images in the slider as you wish
photos[0]="pic9.jpg"
photos[1]="pic10.jpg"
photos[2]="pic1.jpg"
photos[3]="pic8.jpg"
photos[4]="pic2.jpg"
photos[5]="pic3.jpg"
photos[6]="pic4.jpg"
photos[7]="pic6.jpg"
photos[8]="pic7.jpg"

//change coresponding description
text[0]="Rutas urbanas - Gran Vía y aledaños."
text[1]="Paseo sobre Misterios y Secretos de Madrid."
text[2]="Visitas con grupos reducidos."
text[3]="Equipo de CarpetaniaMadrid en el Ateneo de Madrid."
text[4]="Rutas nocturnas."
text[5]="Recorridos artísticos."
text[6]="Paradas 'técnicas' para reponer fuerzas."
text[7]="Recorridos literarios."
text[8]="Estos somos nosotros..."


window.onload=new Function("document.rotater.description.value=text[0]")

function backward(){
if (which>0){
window.status=''
which--
document.images.photoslider.src=photos[which];
what--
document.rotater.description.value=text[what];
}
}

function forward(){
if (which<photos.length-1){
which++
document.images.photoslider.src=photos[which]
what++
document.rotater.description.value=text[what];
}
else window.status='End of gallery'
}

function type()
	{
	alert("This textbox will only display default comments")
	}
