var photo=new Array()
var num=0
photo[0]="rr1.jpg"
photo[1]="rr2.jpg"
photo[2]="rr3.jpg"
numero=num+1

function precedente() {
  if (num>0) {
    num--
      document.image.src=photo[num];
    numero=num+1
  }
}
function suivante() {
  if(num<photo.length-1) {
    num++
      document.image.src=photo[num];
    numero=num+1
  }
}
