 function avanzar()
 {
    
   var Foto = MM_findObj('Fotorama','');
   
   if (posFotorama == totalFotorama)
   {
    Foto.src = arrImagen[posFotorama].Nombre;
    
   }
   else
   {
    posFotorama++;
    posInicio++;
    escribenavegador(posInicio,total);
    Foto.src = arrImagen[posFotorama].Nombre;
    
   }   
 }
 
 function retroceder()
 { var Foto = MM_findObj('Fotorama','');
   if (posFotorama <= 0)
   {
    Foto.src = arrImagen[posFotorama].Nombre;
   }
   else
   {
    posFotorama--;
    posInicio--;
    escribenavegador(posInicio,total);
    Foto.src = arrImagen[posFotorama].Nombre;
   }   
 }
 
 function inicial()
 {
   var Foto = MM_findObj('Fotorama','');
   Foto.src = arrImagen[posFotorama].Nombre;
   
   escribenavegador(posInicio,total);
  
 }
 
 function escribenavegador(pos,total)
 {
  document.getElementById('etiqueta').innerHTML = '' + pos + ' de ' + total + '';
 
 } 