var foto=new Array()
var did=new Array()
var which=0
var what=0
var pre="fvg05/"

// Elenco foto
var foto=new Array()
foto[0]=pre+'01.jpg' 
foto[1]=pre+'02.jpg'
foto[2]=pre+'03.jpg'
foto[3]=pre+'04.jpg'
foto[4]=pre+'05.jpg'
foto[5]=pre+'06.jpg'
foto[6]=pre+'07.jpg'
foto[7]=pre+'08.jpg'


// Elenco didascalie
var did=new Array()
did[0]='1 / 8'
did[1]='2 / 8'
did[2]='3 / 8'
did[3]='4 / 8'
did[4]='5 / 8'
did[5]='6 / 8'
did[6]='7 / 8'
did[7]='8 / 8'





window.onload=new Function("document.rotater.description.value=did[0]")

function backward(){
if (which>0){
window.status=''
which--
document.images.photoslider.src=foto[which];
what--
document.rotater.description.value=did[what];
}
}

function forward(){
if (which<foto.length-1){
which++
document.images.photoslider.src=foto[which]
what++
document.rotater.description.value=did[what];
}
else window.status='FINE!'
}

function type()
	{
	alert("Errore!")
	}

