﻿/*----------------------------------------------*/
/*                    systemes                 */
/*----------------------------------------------*/

function ShowImage(imageNb, lang){
afficheImage = new Array();
afficheImage[0]="url(../files/images/galleriesPhoto/images/systeme1.jpg)";
afficheImage[1]="url(../files/images/galleriesPhoto/images/systeme2.jpg)";
afficheImage[2]="url(../files/images/galleriesPhoto/images/systeme3.jpg)";
afficheImage[3]="url(../files/images/galleriesPhoto/images/systeme10.jpg)";
afficheImage[4]="url(../files/images/galleriesPhoto/images/systeme11.jpg)";
afficheImage[5]="url(../files/images/galleriesPhoto/images/systeme4.jpg)";



afficheLegendeFR = new Array();
afficheLegendeFR[0]="Système automatisé mesurant le CO2 d'un ruisseau d'une tourbière";
afficheLegendeFR[1]="Système automatisé mesurant le CO2 à la Gorge Prospère";
afficheLegendeFR[2]="Système automatisé mesurant le CO2 d'un lac  durant l'hiver";
afficheLegendeFR[3]="Maintenance des systèmes automatisé l'hiver";
afficheLegendeFR[4]="Les panneaux solaires qui alimentent les systèmes automatisés";
afficheLegendeFR[5]="Marie-Eve qui entretien un système automatisé installé sur un quai flottant sur le réservoir EM-1";


afficheLegendeEN = new Array();
afficheLegendeEN[0]="Automated system measuring CO2 in the a stream of a peat";
afficheLegendeEN[1]="Automated system measuring CO2 at the Gorge Prospère";
afficheLegendeEN[2]="Automated system measuring CO2 of a lake during winter";
afficheLegendeEN[3]="Maintenance of automated systems in winter";
afficheLegendeEN[4]="Solar pannels that provide energy for automated systems";
afficheLegendeEN[5]="Marie-Eve maintaining an automated system installed on a raft on EM-1 reservoir";


document.getElementById('ImageOn').style.backgroundImage = afficheImage[imageNb] ;

if (lang=='fr'){document.getElementById('legendOnFr').innerHTML = afficheLegendeFR[imageNb] ;}
else document.getElementById('legendOnEn').innerHTML = afficheLegendeEN[imageNb] ;


}














