function enlaceSeleccionado(idCapa) {
    /*
       var idCapas = new Array("subPlanHidrologico","subEsquemaProvisional","subArticulos5y6","subAnalisisEconomico",
                               "subCondicionesDeReferencia","subAguasSubterraneas","subAguasCosteras","subCalendario",
                               "subEvaluacionAmbiental","subActualizacionCalendario","subDemarcacionHidrografica","subPropuestaIndice", 
                               "subParticipacionPublica", "subEstatutos");
       
       for (i=0; i<idCapas.length;i++) {
            if (idCapas[i] == idCapa) {
                document.getElementById(idCapas[i]).className="Seleccionada";
            }
            else {
                 document.getElementById(idCapas[i]).className="subtitulo";
             }
       }*/
}

function enlaceSeleccionadoBoton(idCapa) {   

  /*
       var idCapas = new Array("subPlanHidrologico","subEsquemaProvisional","subArticulos5y6","subAnalisisEconomico",
                               "subCondicionesDeReferencia","subAguasSubterraneas","subAguasCosteras","subCalendario",
                               "subEvaluacionAmbiental","subActualizacionCalendario","subDemarcacionHidrografica","subPropuestaIndice", 
                               "subParticipacionPublica", "subEstatutos");
       
       for (i=0; i<idCapas.length;i++) {
            if (idCapas[i] == idCapa) {
                window.parent.document.getElementById(idCapas[i]).className="Seleccionada";
            }
            else {
                 window.parent.document.getElementById(idCapas[i]).className="subtitulo";
             }
       } */
}

function obtenerFechaYHora() {
	var miFecha = new Date();
	var dia = miFecha.getDate();		
	var year = miFecha.getYear();
        var minutos = miFecha.getMinutes();

	if (year < 1000)
		year+=1900;
            
        if (minutos < 10)
            minutos = "0" + minutos;

	var mes = miFecha.getMonth();
	var arrayMes=new Array("Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre")
	
    return "<img src=imagenes/imagenCalendario.png />&nbsp;" + dia+" de "+ arrayMes[mes]+ " de "+year + "&nbsp;&nbsp;&nbsp;&nbsp;<img src=imagenes/imagenReloj.gif />&nbsp;" + miFecha.getHours() + ":" + minutos;	
}

function mostrarImagenSiguienteMolinos(imagen_visible) {
   var imagenes = new Array("001.png","002.png","003.png","004.png","005.png");

   if (!((parseInt(imagen_visible) + 1) == imagenes.length)) {
      posicion = parseInt(imagen_visible) + 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/Fotos_PresaLosMolinos/" + imagenes[posicion];
   }

}

function mostrarImagenAnteriorMolinos(imagen_visible) {
   var imagenes = new Array("001.png","002.png","003.png","004.png","005.png");

   if (!((parseInt(imagen_visible)) == 0)) {
      posicion = parseInt(imagen_visible) - 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/Fotos_PresaLosMolinos/" + imagenes[posicion];
   }

}

function mostrarImagenSiguientePresaHerradura(imagen_visible) {
   var imagenes = new Array("001.png","002.png","003.png");

   if (!((parseInt(imagen_visible) + 1) == imagenes.length)) {
      posicion = parseInt(imagen_visible) + 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/Fotos_PresaLaHerradura/" + imagenes[posicion];
   }

}

function mostrarImagenAnteriorPresaHerradura(imagen_visible) {
   var imagenes = new Array("001.png","002.png","003.png");

   if (!((parseInt(imagen_visible)) == 0)) {
      posicion = parseInt(imagen_visible) - 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/Fotos_PresaLaHerradura/" + imagenes[posicion];
   }

}

function mostrarImagenSiguienteCabras(imagen_visible) {
   var imagenes = new Array("001.png","002.png","003.png","004.png","005.png","006.png","007.png","008.png","009.png","010.png","011.png","012.png","013.png"
                            ,"014.png","015.png","016.png","017.png","018.png","019.png","020.png","021.png","022.png","023.png","024.png","025.png"
                            ,"026.png","027.png");

   if (!((parseInt(imagen_visible) + 1) == imagenes.length)) {
      posicion = parseInt(imagen_visible) + 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/Fotos_PresaRioCabras/" + imagenes[posicion];
   }

}

function mostrarImagenAnteriorCabras(imagen_visible) {
   var imagenes = new Array("001.png","002.png","003.png","004.png","005.png","006.png","007.png","008.png","009.png","010.png","011.png","012.png","013.png"
                            ,"014.png","015.png","016.png","017.png","018.png","019.png","020.png","021.png","022.png","023.png","024.png","025.png"
                            ,"026.png","027.png");

   if (!((parseInt(imagen_visible)) == 0)) {
      posicion = parseInt(imagen_visible) - 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/Fotos_PresaRioCabras/" + imagenes[posicion];
   }

}


function mostrarImagenSiguienteDPH(imagen_visible) {
   var imagenes = new Array("001.png","002.png","003.png","004.png","005.png","006.png","007.png","008.png","009.png","010.png","011.png","012.png","013.png"
                            ,"014.png","015.png","016.png","017.png","018.png","019.png","020.png","021.png","022.png","023.png","024.png","025.png"
                            ,"026.png","027.png","028.png","029.png","030.png","031.png","032.png","033.png");

   if (!((parseInt(imagen_visible) + 1) == imagenes.length)) {
      posicion = parseInt(imagen_visible) + 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/Fotos_Danos_DPH/" + imagenes[posicion];
   }

}

function mostrarImagenAnteriorDPH(imagen_visible) {
   var imagenes = new Array("001.png","002.png","003.png","004.png","005.png","006.png","007.png","008.png","009.png","010.png","011.png","012.png","013.png"
                            ,"014.png","015.png","016.png","017.png","018.png","019.png","020.png","021.png","022.png","023.png","024.png","025.png"
                            ,"026.png","027.png","028.png","029.png","030.png","031.png","032.png","033.png");

   if (!((parseInt(imagen_visible)) == 0)) {
      posicion = parseInt(imagen_visible) - 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/Fotos_Danos_DPH/" + imagenes[posicion];
   }

}

function mostrarImagenSiguienteVarios(imagen_visible) {
   var imagenes = new Array("001.png","002.png","003.png","004.png","005.png","006.png","007.png","008.png","009.png","010.png","011.png","012.png","013.png"
                            ,"014.png","015.png","016.png","017.png","018.png","019.png","020.png","021.png","022.png","023.png","024.png","025.png"
                            ,"026.png");

   if (!((parseInt(imagen_visible) + 1) == imagenes.length)) {
      posicion = parseInt(imagen_visible) + 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/Varios/" + imagenes[posicion];
   }

}

function mostrarImagenAnteriorVarios(imagen_visible) {
   var imagenes = new Array("001.png","002.png","003.png","004.png","005.png","006.png","007.png","008.png","009.png","010.png","011.png","012.png","013.png"
                            ,"014.png","015.png","016.png","017.png","018.png","019.png","020.png","021.png","022.png","023.png","024.png","025.png"
                            ,"026.png");

   if (!((parseInt(imagen_visible)) == 0)) {
      posicion = parseInt(imagen_visible) - 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/Varios/" + imagenes[posicion];
   }

}


function mostrarImagenSiguienteBcoGranTarajal(imagen_visible) {
   var imagenes = new Array("001.png","002.png","003.png","004.png","005.png","006.png","007.png","008.png","009.png","010.png","011.png","012.png","013.png"
                            ,"014.png","015.png","016.png","017.png","018.png","019.png","020.png","021.png","022.png","023.png","024.png","025.png"
                            ,"026.png","027.png","028.png","029.png","030.png","031.png","032.png","033.png","034.png","035.png","036.png","037.png"
                            ,"038.png","039.png","040.png","041.png","042.png","043.png","044.png");

   if (!((parseInt(imagen_visible) + 1) == imagenes.length)) {
      posicion = parseInt(imagen_visible) + 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/Bco_de_Gran_Tarajal/" + imagenes[posicion];
  }

}

function mostrarImagenAnteriorBcoGranTarajal(imagen_visible) {
   var imagenes = new Array("001.png","002.png","003.png","004.png","005.png","006.png","007.png","008.png","009.png","010.png","011.png","012.png","013.png"
                            ,"014.png","015.png","016.png","017.png","018.png","019.png","020.png","021.png","022.png","023.png","024.png","025.png"
                            ,"026.png","027.png","028.png","029.png","030.png","031.png","032.png","033.png","034.png","035.png","036.png","037.png"
                            ,"038.png","039.png","040.png","041.png","042.png","043.png","044.png");

 if (!(parseInt(imagen_visible) == 0)) {
      posicion = parseInt(imagen_visible) - 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/Bco_de_Gran_Tarajal/" + imagenes[posicion];
  }

}

function mostrarImagenSiguienteTMPRosario(imagen_visible) {
   var imagenes = new Array("001.png","002.png","003.png","004.png","005.png","006.png","007.png","008.png","009.png","010.png","011.png","012.png","013.png"
                            ,"014.png","015.png","016.png","017.png","018.png","019.png","020.png","021.png","022.png","023.png","024.png","025.png"
                            ,"026.png","027.png","028.png","029.png","030.png","031.png","032.png","033.png","034.png","035.png","036.png","037.png"
                            ,"038.png","039.png","040.png","041.png","042.png","043.png","044.png","045.png","046.png","047.png","048.png","050.png"
                            ,"051.png","052.png","053.png","054.png","055.png","056.png","057.png","058.png","059.png","060.png","061.png","062.png"
                            ,"063.png","064.png","065.png","066.png","067.png","068.png","069.png","070.png","071.png","072.png");

   if (!((parseInt(imagen_visible) + 1) == imagenes.length)) {
      posicion = parseInt(imagen_visible) + 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/Fotos_Barrancos/Fotos_Bcos_TMPRosario/" + imagenes[posicion]
  }

}

function mostrarImagenAnteriorTMPRosario(imagen_visible) {
var imagenes = new Array("001.png","002.png","003.png","004.png","005.png","006.png","007.png","008.png","009.png","010.png","011.png","012.png","013.png"
                            ,"014.png","015.png","016.png","017.png","018.png","019.png","020.png","021.png","022.png","023.png","024.png","025.png"
                            ,"026.png","027.png","028.png","029.png","030.png","031.png","032.png","033.png","034.png","035.png","036.png","037.png"
                            ,"038.png","039.png","040.png","041.png","042.png","043.png","044.png","045.png","046.png","047.png","048.png","050.png"
                            ,"051.png","052.png","053.png","054.png","055.png","056.png","057.png","058.png","059.png","060.png","061.png","062.png"
                            ,"063.png","064.png","065.png","066.png","067.png","068.png","069.png","070.png","071.png","072.png");

 if (!(parseInt(imagen_visible) == 0)) {
      posicion = parseInt(imagen_visible) - 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/Fotos_Barrancos/Fotos_Bcos_TMPRosario/" + imagenes[posicion];
  }

}

function mostrarImagenSiguienteTMAntigua(imagen_visible) {
   var imagenes = new Array("001.png","002.png","003.png","004.png","005.png","006.png","007.png","008.png","009.png");

   if (!((parseInt(imagen_visible) + 1) == imagenes.length)) {
      posicion = parseInt(imagen_visible) + 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/Fotos_Barrancos/Fotos_Bcos_TMAntigua/" + imagenes[posicion];
   }

}

function mostrarImagenAnteriorTMAntigua(imagen_visible) {
   var imagenes = new Array("001.png","002.png","003.png","004.png","005.png","006.png","007.png","008.png","009.png");

   if (!((parseInt(imagen_visible)) == 0)) {
      posicion = parseInt(imagen_visible) - 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/Fotos_Barrancos/Fotos_Bcos_TMAntigua/" + imagenes[posicion];
   }

}

function mostrarImagenSiguienteTMTuineje(imagen_visible) {
   var imagenes = new Array("001.png","002.png","003.png","004.png","005.png","006.png","007.png","008.png","009.png","010.png","011.png","012.png");

   if (!((parseInt(imagen_visible) + 1) == imagenes.length)) {
      posicion = parseInt(imagen_visible) + 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/Fotos_Barrancos/Fotos_Bcos_TMTuineje/" + imagenes[posicion];
   }

}

function mostrarImagenAnteriorTMAntigua(imagen_visible) {
   var imagenes = new Array("001.png","002.png","003.png","004.png","005.png","006.png","007.png","008.png","009.png","010.png","011.png","012.png");

   if (!((parseInt(imagen_visible)) == 0)) {
      posicion = parseInt(imagen_visible) - 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/Fotos_Barrancos/Fotos_Bcos_TMTuineje/" + imagenes[posicion];
   }

}



function mostrarImagenSiguienteCMG(imagen_visible) {
   var imagenes = new Array("001.png","002.png","003.png","004.png","005.png","006.png","007.png","008.png","009.png","010.png","011.png","012.png","013.png"
                            ,"014.png","015.png","016.png","017.png","018.png","019.png","020.png","021.png","022.png","023.png","024.png","025.png"
                            ,"026.png","027.png","028.png","029.png","030.png","031.png","032.png","033.png","034.png","035.png","036.png","037.png"
                            ,"038.png","039.png","040.png","041.png","042.png","043.png","044.png","045.png","046.png","047.png","048.png","050.png"
                            ,"051.png","052.png","053.png","054.png","055.png","056.png","057.png","058.png","059.png","060.png","061.png","062.png"
                            ,"063.png","064.png","065.png","066.png","067.png","068.png","069.png","070.png","071.png","072.png","073.png","074.png"
                            ,"075.png","076.png","077.png","078.png","079.png","080.png","081.png","082.png","083.png","084.png","085.png","086.png"
                            ,"087.png","088.png","089.png","090.png","091.png","092.png","093.png","094.png","095.png");

   if (!((parseInt(imagen_visible) + 1) == imagenes.length)) {
      posicion = parseInt(imagen_visible) + 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/Fotos_Charcas_Maretas_Gavias/" + imagenes[posicion];
  }

}

function mostrarImagenAnteriorCMG(imagen_visible) {
   var imagenes = new Array("001.png","002.png","003.png","004.png","005.png","006.png","007.png","008.png","009.png","010.png","011.png","012.png","013.png"
                            ,"014.png","015.png","016.png","017.png","018.png","019.png","020.png","021.png","022.png","023.png","024.png","025.png"
                            ,"026.png","027.png","028.png","029.png","030.png","031.png","032.png","033.png","034.png","035.png","036.png","037.png"
                            ,"038.png","039.png","040.png","041.png","042.png","043.png","044.png","045.png","046.png","047.png","048.png","050.png"
                            ,"051.png","052.png","053.png","054.png","055.png","056.png","057.png","058.png","059.png","060.png","061.png","062.png"
                            ,"063.png","064.png","065.png","066.png","067.png","068.png","069.png","070.png","071.png","072.png","073.png","074.png"
                            ,"075.png","076.png","077.png","078.png","079.png","080.png","081.png","082.png","083.png","084.png","085.png","086.png"
                            ,"087.png","088.png","089.png","090.png","091.png","092.png","093.png","094.png","095.png");

 if (!(parseInt(imagen_visible) == 0)) {
      posicion = parseInt(imagen_visible) - 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/Fotos_Charcas_Maretas_Gavias/" + imagenes[posicion];
  }

}

function mostrarImagenSiguienteValhondo(imagen_visible) {
    var imagenes = new Array("001.png","002.png","003.png","004.png","006.png","007.png","008.png","009.png","010.png","011.png","012.png","013.png"
                            ,"014.png","015.png","016.png","017.png","018.png","019.png","020.png","021.png","022.png","023.png","024.png","025.png"
                            ,"026.png","027.png","028.png","029.png","030.png","031.png","032.png","033.png","034.png","035.png","036.png","037.png"
                            ,"038.png","039.png","040.png","041.png","042.png","043.png","044.png","045.png","046.png","047.png","048.png","050.png"
                            ,"051.png","052.png","053.png","054.png","055.png","056.png","057.png","058.png","059.png","060.png","061.png","062.png"
                            ,"063.png","064.png","065.png");
       
    if (!((parseInt(imagen_visible) + 1) == imagenes.length)) {
      posicion = parseInt(imagen_visible) + 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/Valhondo_Guisguey_Barlondo/" + imagenes[posicion];
  }
}

function mostrarImagenAnteriorValhondo(imagen_visible) {
    var imagenes = new Array("001.png","002.png","003.png","004.png","006.png","007.png","008.png","009.png","010.png","011.png","012.png","013.png"
                            ,"014.png","015.png","016.png","017.png","018.png","019.png","020.png","021.png","022.png","023.png","024.png","025.png"
                            ,"026.png","027.png","028.png","029.png","030.png","031.png","032.png","033.png","034.png","035.png","036.png","037.png"
                            ,"038.png","039.png","040.png","041.png","042.png","043.png","044.png","045.png","046.png","047.png","048.png","050.png"
                            ,"051.png","052.png","053.png","054.png","055.png","056.png","057.png","058.png","059.png","060.png","061.png","062.png"
                            ,"063.png","064.png","065.png");
    
    if (!(parseInt(imagen_visible) == 0)) {
      posicion = parseInt(imagen_visible) - 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/Valhondo_Guisguey_Barlondo/" + imagenes[posicion];
  }
}

function mostrarImagenSiguienteLaAsomada(imagen_visible) {
    var imagenes = new Array("001.png","002.png","003.png","005.png","004.png","006.png","007.png","008.png","009.png","010.png","011.png","012.png"
                            ,"013.png","014.png","015.png","016.png","017.png","018.png","019.png","020.png","021.png","022.png","023.png","024.png"
                            ,"025.png","026.png","027.png","028.png","029.png","030.png","031.png","032.png","033.png","034.png");
       
    if (!((parseInt(imagen_visible) + 1) == imagenes.length)) {
      posicion = parseInt(imagen_visible) + 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/LaAsomada_LosEstancos/" + imagenes[posicion];
  }
}

function mostrarImagenAnteriorLaAsomada(imagen_visible) {
    var imagenes = new Array("001.png","002.png","003.png","005.png","004.png","006.png","007.png","008.png","009.png","010.png","011.png","012.png"
                            ,"013.png","014.png","015.png","016.png","017.png","018.png","019.png","020.png","021.png","022.png","023.png","024.png"
                            ,"025.png","026.png","027.png","028.png","029.png","030.png","031.png","032.png","033.png","034.png");
    
    if (!(parseInt(imagen_visible) == 0)) {
      posicion = parseInt(imagen_visible) - 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/LaAsomada_LosEstancos/" + imagenes[posicion];
  }
}

function mostrarImagenSiguienteLaHerradura(imagen_visible) {
    var imagenes = new Array("001.png","002.png","003.png","005.png","004.png","006.png");
       
    if (!((parseInt(imagen_visible) + 1) == imagenes.length)) {
      posicion = parseInt(imagen_visible) + 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/LaHerradura/" + imagenes[posicion];
  }
}

function mostrarImagenAnteriorLaHerradura(imagen_visible) {
    var imagenes = new Array("001.png","002.png","003.png","005.png","004.png","006.png");
    
    if (!(parseInt(imagen_visible) == 0)) {
      posicion = parseInt(imagen_visible) - 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/LaHerradura/" + imagenes[posicion];
  }
}

function mostrarImagenSiguienteJaifa(imagen_visible) {
    var imagenes = new Array("001.png","002.png","003.png","004.png","005.png","006.png","007.png","008.png","009.png");
       
    if (!((parseInt(imagen_visible) + 1) == imagenes.length)) {
      posicion = parseInt(imagen_visible) + 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/Jaifa/" + imagenes[posicion];
  }
}

function mostrarImagenAnteriorJaifa(imagen_visible) {
    var imagenes = new Array("001.png","002.png","003.png","004.png","005.png","006.png","007.png","008.png","009.png");
    
    if (!(parseInt(imagen_visible) == 0)) {
      posicion = parseInt(imagen_visible) - 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/Jaifa/" + imagenes[posicion];
  }
}

function mostrarImagenSiguienteLosPozos(imagen_visible) {
    var imagenes = new Array("001.png","002.png","003.png","004.png","005.png","006.png","007.png","008.png","009.png","010.png","011.png","012.png"
                            ,"013.png","014.png","015.png","016.png","017.png","018.png","019.png","020.png");
       
    if (!((parseInt(imagen_visible) + 1) == imagenes.length)) {
      posicion = parseInt(imagen_visible) + 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/LosPozos_JuanaSanchez_PuertoLajas/" + imagenes[posicion];
  }
}

function mostrarImagenAnteriorLosPozos(imagen_visible) {
    var imagenes = new Array("001.png","002.png","003.png","004.png","005.png","006.png","007.png","008.png","009.png","010.png","011.png","012.png"
                            ,"013.png","014.png","015.png","016.png","017.png","018.png","019.png","020.png");
    
    if (!(parseInt(imagen_visible) == 0)) {
      posicion = parseInt(imagen_visible) - 1;
      document.getElementById("imagenGrande").name = posicion;
      document.getElementById("imagenGrande").src = "imagenes/Dossier/Lluvias/LosPozos_JuanaSanchez_PuertoLajas/" + imagenes[posicion];
  }
}

/*
function mostrarVideoSiguienteGuisguey(video_visible) {
    var videos = new Array("001.avi","002.avi","003.avi","004.avi","005.avi");
    
    if (!((parseInt(video_visible) + 1) == videos.length)) {
      posicion = parseInt(video_visible) + 1;
      document.getElementById("videoGrande").name = posicion;
      document.getElementById("videoGrande").src = "videos/barranco_guisguey/" + videos[posicion];      
  }
}

function mostrarVideoAnteriorGuisguey(video_visible) {
    var videos = new Array("001.avi","002.avi","003.avi","004.avi","005.avi");
    
    if (!(parseInt(video_visible) == 0)) {
      posicion = parseInt(video_visible) - 1;     
      document.getElementById("videoGrande").name = posicion;
      document.getElementById("videoGrande").src = "videos/barranco_guisguey/" + videos[posicion]; 
  }
}


function mostrarVideoSiguienteLosPozos(video_visible) {
    var videos = new Array("001.avi");   
    
    if (!((parseInt(video_visible) + 1) == videos.length)) {
      posicion = parseInt(video_visible) + 1;
      document.getElementById("videoGrande").name = posicion;
      document.getElementById("videoGrande").src = "videos/barranco_LosPozos/" + videos[posicion];
  }
}

function mostrarVideoAnteriorLosPozos(video_visible) {
    var videos = new Array("001.avi");
    
    if (!(parseInt(video_visible) == 0)) {
      posicion = parseInt(video_visible) - 1;
      document.getElementById("videoGrande").name = posicion;
      document.getElementById("videoGrande").src = "videos/barranco_LosPozos/" + videos[posicion];
  }
}

function mostrarVideoSiguienteLasGavias(video_visible) {
    var videos = new Array("001.avi", "002.avi");
    
    if (!((parseInt(video_visible) + 1) == videos.length)) {
      posicion = parseInt(video_visible) + 1;
      document.getElementById("videoGrande").name = posicion;
      document.getElementById("videoGrande").src = "videos/barranco_LasGavias/" + videos[posicion];
  }
}

function mostrarVideoAnteriorLasGavias(video_visible) {
    var videos = new Array("001.avi", "002.avi");
    
    if (!(parseInt(video_visible) == 0)) {
      posicion = parseInt(video_visible) - 1;
      document.getElementById("videoGrande").name = posicion;
      document.getElementById("videoGrande").src = "videos/barranco_LasGavias/" + videos[posicion];
  }
}

function mostrarVideoSiguienteLaHerradura(video_visible) {
    var videos = new Array();
    
    if (!((parseInt(video_visible) + 1) == videos.length)) {
      posicion = parseInt(video_visible) + 1;
      document.getElementById("videoGrande").name = posicion;
      document.getElementById("videoGrande").src = "videos/barranco_LasHerradura/" + videos[posicion];
  }
}

function mostrarVideoAnteriorLaHerradura(video_visible) {
    var videos = new Array();
    
    if (!(parseInt(video_visible) == 0)) {
      posicion = parseInt(video_visible) - 1;
      document.getElementById("videoGrande").name = posicion;
      document.getElementById("videoGrande").src = "videos/barranco_LaHerradura/" + videos[posicion];
  }
}
*/

