function pase_imaxe (mover) {
  var anterior = posicion;
  
  eval('posicion'+mover+mover);
  
  if (posicion < 1) {
    posicion = total - 1;
  } else if (posicion >= total) {
    posicion = 1;
  }

  document.getElementById('pase_imaxes').src = imaxes[posicion];
}

