/***************Libreria Javascript ************************************************/


/**********************************************************************************/
var photos=new Array()
var tituloFotos=new Array()
var descFotos=new Array()
var which=1
var what=1
var isForward = false;
var isBackward = false;

//Change the below variables to reference your own images. You may have as many images in the slider as you wish
photos[0]="images/obras/20055.jpg"
photos[1]="images/obras/20056.jpg"
photos[2]="images/obras/20057.jpg"
photos[3]="images/obras/20058.jpg"
photos[4]="images/obras/20059.jpg"
photos[5]="images/obras/20060.jpg"
photos[6]="images/obras/20061.jpg"
photos[7]="images/obras/20001.jpg"
photos[8]="images/obras/20002.jpg"
photos[9]="images/obras/20003.jpg"
photos[10]="images/obras/20004.jpg"
photos[11]="images/obras/20005.jpg"
photos[12]="images/obras/20006.jpg"
photos[13]="images/obras/20007.jpg"
photos[14]="images/obras/20008.jpg"
photos[15]="images/obras/20009.jpg"
photos[16]="images/obras/20010.jpg"
photos[17]="images/obras/20011.jpg"
photos[18]="images/obras/20012.jpg"
photos[19]="images/obras/20013.jpg"
photos[20]="images/obras/20014.jpg"
photos[21]="images/obras/20015.jpg"
photos[22]="images/obras/20016.jpg"
photos[23]="images/obras/20017.jpg"
photos[24]="images/obras/20018.jpg"
photos[25]="images/obras/20019.jpg"
photos[26]="images/obras/20020.jpg"
photos[27]="images/obras/20021.jpg"
photos[28]="images/obras/20022.jpg"
photos[29]="images/obras/20023.jpg"
photos[30]="images/obras/20024.jpg"
photos[31]="images/obras/20025.jpg"
photos[32]="images/obras/20026.jpg"
photos[33]="images/obras/20027.jpg"
photos[34]="images/obras/20028.jpg"
photos[35]="images/obras/20029.jpg"
photos[36]="images/obras/20030.jpg"
photos[37]="images/obras/20031.jpg"
photos[38]="images/obras/20032.jpg"
photos[39]="images/obras/20033.jpg"
photos[40]="images/obras/20034.jpg"
photos[41]="images/obras/20035.jpg"
photos[42]="images/obras/20036.jpg"
photos[43]="images/obras/20037.jpg"
photos[44]="images/obras/20038.jpg"
photos[45]="images/obras/20039.jpg"
photos[46]="images/obras/20040.jpg"
photos[47]="images/obras/20041.jpg"
photos[48]="images/obras/20042.jpg"
photos[49]="images/obras/20043.jpg"
photos[50]="images/obras/20044.jpg"
photos[51]="images/obras/20045.jpg"
photos[52]="images/obras/20046.jpg"
photos[53]="images/obras/20047.jpg"//cambiar repetida
photos[54]="images/obras/20048.jpg"
photos[55]="images/obras/20049.jpg"
photos[56]="images/obras/20050.jpg"
photos[57]="images/obras/20051.jpg"
photos[58]="images/obras/20052.jpg"
photos[59]="images/obras/20053.jpg"
//photos[60]="images/obras/20054.jpg"

//change coresponding title
tituloFotos[0]=""
tituloFotos[1]=""
tituloFotos[2]=""
tituloFotos[3]=""
tituloFotos[4]=""
tituloFotos[5]=""
tituloFotos[6]=""
tituloFotos[7]="ALTO PARANÁ HORNO ROTATIVO"
tituloFotos[8]="ALTO PARANÁ HORNO ROTATIVO"
tituloFotos[9]="CEMENTO PORTLAND - Minas Uruguay"
tituloFotos[10]="FANAPEL S.A."
tituloFotos[11]="PLANTA INCINERADORA PETROBRAS"
tituloFotos[12]="PETROBRAS"
tituloFotos[13]="PETROBRAS HORNO ROTATIVO"
tituloFotos[14]="PETROBRAS HORNO ROTATIVO"
tituloFotos[15]="PETROBRAS HORNO ROTATIVO"
tituloFotos[16]="HORNO ROTATIVO Y CÁMARA INCINERADORA"
tituloFotos[17]="PETROBRAS"
tituloFotos[18]="PETROBRAS"
tituloFotos[19]="PLANTA MENDOZA HORNO ROTATIVO DIÁMETRO 5.40"
tituloFotos[20]="LOMA NEGRA C.I.A.S.A. Planta L'AMALI"
tituloFotos[21]="LOMA NEGRA C.I.A.S.A. Planta L'AMALI"
tituloFotos[22]="LOMA NEGRA C.I.A.S.A. Planta L'AMALI"
tituloFotos[23]="ALTO PARANA Planta MISIONES"
tituloFotos[24]="RECYCOMB S.A."
tituloFotos[25]="LOMA NEGRA C.I.A.S.A. Planta L'AMALI"
tituloFotos[26]="LOMA NEGRA C.I.A.S.A. Planta L'AMALI"
tituloFotos[27]="LOMA NEGRA C.I.A.S.A. Planta L'AMALI"
tituloFotos[28]="LOMA NEGRA C.I.A.S.A. Planta L'AMALI"
tituloFotos[29]="LOMA NEGRA C.I.A.S.A. Planta L'AMALI"
tituloFotos[30]="LOMA NEGRA C.I.A.S.A. Planta L'AMALI"
tituloFotos[31]="TUBO ROTATIVO"
tituloFotos[32]="LOMA NEGRA C.I.A.S.A. Planta L'AMALI"
tituloFotos[33]="CIMBRA NEUMÁTICA"
tituloFotos[34]="LOMA NEGRA C.I.A.S.A. Planta OLAVARRIA"
tituloFotos[35]="PLACAS  AISLANTES MAS HORMIGÓN"
tituloFotos[36]="POGO-STIK"
tituloFotos[37]="LOMA NEGRA C.I.A.S.A. Planta L'AMALI"
tituloFotos[38]="LOMA NEGRA C.I.A.S.A. Planta L'AMALI"
tituloFotos[39]="LOMA NEGRA C.I.A.S.A. Planta L'AMALI"
tituloFotos[40]="ZONA DE CADENAS CON ANCLAS"
tituloFotos[41]="LOMA NEGRA C.I.A.S.A. Planta L'AMALI"
tituloFotos[42]="LOMA NEGRA C.I.A.S.A. Planta L'AMALI"
tituloFotos[43]="LOMA NEGRA C.I.A.S.A. Planta L'AMALI"
tituloFotos[44]="CIMBRA REFRATECHNIK"
tituloFotos[45]="CONO DE ENTRADA"
tituloFotos[46]="PLACAS DE BASALTO"
tituloFotos[47]="FANAPEL S.A."
tituloFotos[48]="FANAPEL S.A."
tituloFotos[49]="FANAPEL S.A."
tituloFotos[50]="MINETTI S.A."
tituloFotos[51]="CEMENTO PORTLAND - Minas Uruguay."
tituloFotos[52]="COLOCACION HORNO ROTATIVO"
tituloFotos[53]="REVESTIMIENTO CICLON"
tituloFotos[54]="LOMA NEGRA C.I.A.S.A. Planta SAN JUAN"
tituloFotos[55]="CEMENTOS AVELLANEDA S.A. Planta San Luis"
tituloFotos[56]="LOMA NEGRA C.I.A.S.A. Planta L'AMALI"
tituloFotos[57]="Colocación de material densid en ciclones de mólino de cemento"
tituloFotos[58]="PETROBRAS"
tituloFotos[59]="PETROBRAS"
//tituloFotos[60]="PETROBRAS"

//change coresponding desc
descFotos[0]=""
descFotos[1]=""
descFotos[2]=""
descFotos[3]=""
descFotos[4]=""
descFotos[5]=""
descFotos[6]=""
descFotos[7]="Colocación de ladrillos refractarios en horno rotativo."
descFotos[8]="Colocación de ladrillos refractarios en horno rotativo."
descFotos[9]="Colocación con Cimbra en planta de Uruguay."
descFotos[10]="Revestimiento de Tubo Rotativo."
descFotos[11]=""
descFotos[12]=""
descFotos[13]=""
descFotos[14]=""
descFotos[15]=""
descFotos[16]=""
descFotos[17]=""
descFotos[18]=""
descFotos[19]=""
descFotos[20]="Planta L'Amalí en construcción - Magnesita S.A."
descFotos[21]="Bóveda de cámara de vacío unión con Tubería de Aire Terciario."
descFotos[22]="Cabezal fijo de horno."
descFotos[23]="Colocación de refractario aislante mas alumina en planta Alto Paraná, Misiones."
descFotos[24]="Colocación de granito en molino de RECYCOMB S.A. - Reciclado de Residuos."
descFotos[25]="Construcción de enfriador."
descFotos[26]="Construcción de cámara de vacío de enfriador."
descFotos[27]="Construcción de enfriador."
descFotos[28]="Construcción de enfriador."
descFotos[29]="Planta L'Amalí en construcción - Magnesita S.A."
descFotos[30]="Techo enfriador con ladrillos colgantes mas manta Cerámica."
descFotos[31]="Revestimiento de un tubo rotativo completo Ø 4.35m"
descFotos[32]="Pared enfriador."
descFotos[33]="Colocación con Cimbra - Ø 4.35m a Ø 5.65m."
descFotos[34]="Cabezal móvil de Horno Ø 5m."
descFotos[35]="Techo con anclas metálicas, aislante en placa mas hormigón vibrado."
descFotos[36]="Colocación con sistema POGO-STIK en tubo rotativo Ø 3.60m."
descFotos[37]="Revestimiento placas aislante mas hormigón."
descFotos[38]="Bóveda de un enfriador."
descFotos[39]="Colocación de placas mas anclas cerámicas."
descFotos[40]=""
descFotos[41]="Hormigón denso en cámara de vacío con anclas cerámicas."
descFotos[42]="Cabezal fijo de horno."
descFotos[43]="Unión techo colgante con pared enfriador."
descFotos[44]="Cimbra marca Refratechnik en planta de compania Uruguaya, efectuando revestimiento completo de tubo rotativo Ø 4.15m."
descFotos[45]="Cono de entrada de horno rotativo con hormigones de Refratechnik y supervisión de Alemania."
descFotos[46]="Colocación de placas de Basalto en ciclones y separador de molino cemento."
descFotos[47]="Planta FANAPEL."
descFotos[48]="Revestimiento de Cabezal."
descFotos[49]="Revestimiento de Hormigón refractario en sector cadenas."
descFotos[50]="Horno rotativo de Planta Mendoza - Ø 5m a Ø 5.40m."
descFotos[51]="Planta de compania uruguaya de cemento en la que realizamos Horno, Enfriador, Cabezal, Parte de torre DOPOL."
descFotos[52]=""
descFotos[53]="Revestimiento de ciclón"
descFotos[54]="Cimbra Neumática. Trabajos efectuados en planta San Juan de Loma Negra - Horno Ø 3.00m."
descFotos[55]="Elevación de BOB-CAT en planta San Luis el gigante Cementos Avellaneda."
descFotos[56]="Revestimiento de tubería de aire terciario Ø 2.20m."
descFotos[57]=""
descFotos[58]=""
descFotos[59]=""
//descFotos[60]=""

function backward(){
if (which>1){
window.status=''
isBackward = true;
if (isForward){
	which--;
	what--;
    isForward = false;
}
//alert("backward which 1-> "+ which);
which--
document.images.photosliderD.src=photos[which];
//alert("backward which 1-> "+ which);
which--
document.images.photosliderI.src=photos[which];
//alert("backward which 2-> "+ which);
what--
document.getElementById('descFotoD').innerHTML=descFotos[what];
//alert("backward what 1-> "+ what);
what--
document.getElementById('descFotoI').innerHTML=descFotos[what];
//alert("backward what 2-> "+ what);
}
}

function forward(){
if (which<photos.length-1){
isForward = true;
if (isBackward){
	which++;
	what++;
    isBackward = false;
}
which++
document.images.photosliderI.src=photos[which]
//alert("forward which 1-> "+ which);
which++
document.images.photosliderD.src=photos[which]
//alert("forward which 2-> "+ which);
what++
document.getElementById('descFotoI').innerHTML=descFotos[what];
//alert("forward what 1-> "+ what);
what++
document.getElementById('descFotoD').innerHTML=descFotos[what];
//alert("forward what 2-> "+ what);
}
else window.status='Fin del album'
}

function type()
	{
	alert("This textbox will only display default comments")
	}

