/**
 * Adresse du site Internet, avec / final
 */
 
	//var adresse_site = 'file:///F:/Le%20site%20AIDE/';		// Disque multimédia
	//var adresse_site = 'file://///Samba/www_aide_local/';		// Serveur Samba
	//var adresse_site = 'http://192.168.1.2/aide/2009-02-11/';	// Codage
	var adresse_site = 'http://www.aide.be/';					// Production
	
	//console.info("Adresse du site : " + adresse_site);

/**
 * Lance le redimensionnement de la fenêtre
 */

function Global_resize () {

	var Util = new AIDE_Util();
	Util.initWindows();
	
}

/**
 * Lance le redimensionnement de la fenêtre (accueil)
 */
function Global_resize_home () {

	var Util = new AIDE_Util();
	Util.initWindows(true);

}

/**
 * Classe : Util
 *
 * Contient les méthode de dimensions et création de la fenêtre
 */ 

function AIDE_Util () {

// Adresse du site
	this.website = adresse_site;

// Définition des variables
	this.resolution_x = null;
	this.resolution_y = null;

// Calculs élémentaires
	this.screen_x = screen.width;
	this.screen_y = screen.height;
	
// Fonctions permettant de déterminer la résolution optimale
	this.getOptimalSize = function () {
		
		if (this.screen_x >= 1280) {
		
		// Format 16:9
			if (this.screen_y < 1024) {
			
				this.resolution_x = 1024;
				this.resolution_y = 768;
			
			}
			else {
			
				this.resolution_x = 1280;
				this.resolution_y = 1024;
				
			}
		
		}
		else if (this.screen_x < 1280 && this.screen_x >= 1024) {
		
			this.resolution_x = 1024;
			this.resolution_y = 768;
		
		}
		else {
		
			this.resolution_x = 800;
			this.resolution_y = 600;
		
		}

		
	}
	
	this.resizeHome = function () {
	
	// Récupération de la taille optimale
		this.getOptimalSize();		
		
	// Redimensionnement et positionnement de la fenêtre
		window.resizeTo(this.resolution_x, this.resolution_y);
		window.moveTo((this.screen_x/2)-(this.resolution_x/2), 0);	
	
	}
	
/**
 * Récupère la résolution et construit la page
 *
 * @param boolean accueil Détermine si on est sur la page d'accueil
 */ 
	this.initWindows = function (accueil) {
	
	// Récupération de la taille optimale
		this.getOptimalSize();		
		
	// Redimensionnement et positionnement de la fenêtre
		window.resizeTo(this.resolution_x, this.resolution_y);
		window.moveTo((this.screen_x/2)-(this.resolution_x/2), 0);
		
	// On initialise les tailles effectives
		if (document.body) {
			
			this.content_x = document.documentElement.clientWidth;
			this.content_y = document.documentElement.clientHeight;

		}
		else {

			this.content_x = window.innerWidth;
			this.content_y = window.innerHeight;
		}
		
	// 1280*1024 pixels
		if (this.resolution_x == 1280) {
	
			//console.info("Résolution de 1280");
	
			$('bandeau').update('<img src="'+ this.website + 'design/images/bandeau_1280.png" />');
			$('logo').update('<img src="'+ this.website + 'design/images/logo_1280.png" />');
			$('bulles').update('<img src="'+ this.website + 'design/images/bulle_1280.png" />');
			
			$('contenu').style.top = '176px';
			$('contenu').style.left = '300px';
			$('contenu').style.width = '940px';
			$('navigation').style.top = '150px';
			$('navigation').style.left = '300px';
			$('menu').style.fontSize = '12px';
			
			// Navigateur MSIE 6.0
			if (navigator.appVersion.search('MSIE 6') != -1) {
			
				$('menu').style.right = '10px';
				$('menu').style.top = '110px';
			
			}
			// Navigateur MSIE 7.0
			else if (navigator.appVersion.search('MSIE 7') != -1) {
			
				$('menu').style.right = '10px';
				$('menu').style.top = '110px';
			
			}
			// Navigateur MSIE 8.0
			else if (navigator.appVersion.search('MSIE 8') != -1) {
			
				$('menu').style.right = '0px';
				$('menu').style.width = '920px';
				$('menu').style.top = '110px';
			
			}
			// Netscape
			else {
			
				$('menu').style.right = '20px';
				$('menu').style.top = '110px';
			
			}	

			$('menu_element_pash').style.paddingLeft = '56px';
			$('menu_element_eg').style.paddingLeft = '56px';
			$('menu_element_epu').style.paddingLeft = '56px';
			$('menu_element_dem').style.paddingLeft = '56px';
			$('menu_element_inf').style.paddingLeft = '56px';
			
			$('footerTexte').style.left = '300px';
			$('footerTexte').style.width = '900px';
			$('logo').style.left = '20px';
			$('retour').style.left = '650px';
			$('footerTexte').style.bottom = '20px';
			
			if (accueil) {
			
				if (navigator.appName=="Microsoft Internet Explorer") {
				
					$('contenu').style.height = this.content_y - 350 + 'px';
					
				}
				else {
				
					$('contenu').style.height = this.content_y - 360 + 'px';
				
				}
				
				$('retour').style.bottom = '140px';
							
			}
			else {
			
				if (navigator.appName=="Microsoft Internet Explorer") {
				
					$('contenu').style.height = this.content_y - 290 + 'px';
					
				}
				else {
				
					$('contenu').style.height = this.content_y - 300 + 'px';
				
				}
				$('retour').style.bottom = '80px';
				$('menu_left').style.top = '190px';
				$('menu_left').style.left = '20px';
				$('menu_left').style.width = '230px';				

			}
				
		}
		
	// 1024*768 pixels
		if (this.resolution_x == 1024) {
		
			//console.info("Résolution de 1024");
	
			$('bandeau').update('<img src="'+ this.website + 'design/images/bandeau_1024.png" />');
			$('logo').update('<img src="'+ this.website + 'design/images/logo_1024.png" />');
			$('bulles').update('<img src="'+ this.website + 'design/images/bulle_1024.png" />');
			$('menu').style.fontSize = '12px';	
			
			// Navigateur MSIE 6.0
			if (navigator.appVersion.search('MSIE 6') != -1) {
			
				$('menu').style.right = '10px';
				$('menu').style.top = '88px';
			
			}
			// Navigateur MSIE 7.0
			else if (navigator.appVersion.search('MSIE 7') != -1) {
			
				$('menu').style.right = '10px';
				$('menu').style.top = '88px';
			
			}
			// Navigateur MSIE 8.0
			else if (navigator.appVersion.search('MSIE 8') != -1) {
			
				$('menu').style.right = '200px';
				$('menu').style.top = '88px';
			
			}
			// Netscape
			else {
			
				$('menu').style.right = '10px';
				$('menu').style.top = '88px';
			
			}
			
			$('logo').style.left = '20px';
			$('footerTexte').style.bottom = '4px';
			$('menu_element_pash').style.paddingLeft = '28px';
			$('menu_element_eg').style.paddingLeft = '28px';
			$('menu_element_epu').style.paddingLeft = '28px';
			$('menu_element_dem').style.paddingLeft = '28px';
			$('menu_element_inf').style.paddingLeft = '28px';
			
			if (accueil) {
			
				if (navigator.appName=="Microsoft Internet Explorer") {
				
					$('contenu').style.height = this.content_y - 310 + 'px';
					
				}
				else {
				
					$('contenu').style.height = this.content_y - 320 + 'px';
				
				}
				$('retour').style.bottom = '140px';
				
			}
			else {
			
				if (navigator.appName=="Microsoft Internet Explorer") {
				
					$('contenu').style.height = this.content_y - 250 + 'px';
										
				}
				else {
				
					$('contenu').style.height = this.content_y - 260 + 'px';
				
				}
				$('menu_left').style.width = '200px';				
			
			}
				
		}
			
	// 800*600 pixels
		if (this.resolution_x == 800) {
		
			//console.info("Résolution de 800");
	
		// Elements graphiques
			$('bandeau').update('<img src="'+ this.website + 'design/images/bandeau_800.png" />');
			$('logo').update('<img src="'+ this.website + 'design/images/logo_800.png" />');
			$('bulles').update('<img src="'+ this.website + 'design/images/bulle_800.png" />');
			
			$('contenu').style.top = '126px';
			$('contenu').style.left = '220px';
			$('contenu').style.width = '530px';
			$('navigation').style.top = '100px';
			$('navigation').style.left = '204px';
			$('menu').style.top = '67px';
			$('menu').style.fontSize = '9px';
			$('menu_element_pash').style.paddingLeft = '20px';
			$('menu_element_eg').style.paddingLeft = '20px';
			$('menu_element_epu').style.paddingLeft = '20px';
			$('menu_element_dem').style.paddingLeft = '20px';
			$('menu_element_inf').style.paddingLeft = '20px';	
			$('footerTexte').style.left = '180px';
			$('footerTexte').style.width = '612px';
			$('logo').style.left = '20px';
			$('retour').style.left = '400px';
			$('footerTexte').style.bottom = '10px';
			
		// Taille du conteneur
			if (accueil) {
			
					if (navigator.appName=="Microsoft Internet Explorer") {
						
						$('contenu').style.height = this.content_y - 280 + 'px';
						
					}
					else {
					
						$('contenu').style.height = this.content_y - 270 + 'px';
					
					}
					
			}
			else {
				
				if (navigator.appName=="Microsoft Internet Explorer") {
				
					$('contenu').style.height = this.content_y - 230 + 'px';
					
				}
				else {
				
					$('contenu').style.height = this.content_y - 220 + 'px';
				
				}
				$('menu_left').style.top = '140px';
				$('menu_left').style.left = '10px';				
				$('menu_left').style.width = '170px';				
				$('menu_left').style.fontSize = '9px';				
				
			}			
				
		}

// Redirection interne si ancre
	if(self.location.toString().indexOf('#') != -1)  {
	
	    self.location = self.location;
	    
		}
				
	}
	
}

/**
 * Classe : Page
 *
 * Eléments graphiques et contenu 
 */ 

function AIDE_Page () {

// Adresse du site
	this.website = adresse_site;
			
/**
 * Affiche le footer, avec coordonées
 */ 
	this.showCoords = function () {
			
		document.write('<div id="footerTexte">');
		
		// Lien de retour	
			document.writeln('<div id="retour" align="center">');
		
				document.writeln('<a class="acontenu" href="javascript:history.back()"> Retour &agrave; la page pr&eacute;c&eacute;dente </a>');
			
			document.writeln('</div>');
		
	// Coordonées		
		 document.write('<b>A.I.D.E.</b> Rue de la Digue, 25 B-4420 Saint-Nicolas Belgique<br>');
		 document.write('<img src="../images/orange.gif" width="10" height="10" alt="">&nbsp;Tél : + 32 4 234 96 96 &nbsp;&nbsp;');
		 document.write('<img src="../images/orange.gif" width="10" height="10" alt="">&nbsp;Fax : + 32 4 235 63 49<br>');
		 document.write('<img src="../images/orange.gif" width="10" height="10" alt="">&nbsp;Email : aide@aide.be<br /><br />');
		 
	// Liens rapides
			document.writeln('<a href="' + this.website + 'accueil/accueil.html">Accueil</a>&nbsp;|&nbsp;');
			document.writeln('<a href="' + this.website + 'actualites/actualites.html" style="color:orange;" class="link_orange">Actualités</a>&nbsp;|&nbsp;');
			document.writeln('<a href="' + this.website + 'avertissement/avertissement.html">Avertissement</a>&nbsp;|&nbsp;');
			document.writeln('<a href="' + this.website + 'liens/liens.html">Liens utiles</a>&nbsp;|&nbsp;');
			document.writeln('<a href="' + this.website + 'faq/faq.html">FAQ</a>&nbsp;|&nbsp;');
			document.writeln('<a href="' + this.website + 'mediatheque/mediatheque.html">Médiathèque</a>&nbsp;|&nbsp;');			
			document.writeln('<a href="' + this.website + 'misesajour/mise_jour.html">Mises à jour</a><br />');
			document.writeln('<a href="javascript:print();">Imprimer</a>&nbsp;|&nbsp;');
			document.writeln('<a href="' + this.website + 'recherche/recherche.html">Rechercher</a>&nbsp;|&nbsp;');
			document.writeln('<a href="' + this.website + 'glossaire/glossaire.html">Glossaire</a>&nbsp;|&nbsp;');
			document.writeln('<a href="mailto:aide@aide.be">Ecrivez-nous</a><br />');
			
	// Espace
			document.writeln('&nbsp;<br />');
			
	// Copyright
			document.write("<div class='footerCopy'>Site administré par l'A.I.D.E. - Une solution Web par Clic &amp; Start!</div>");
		
		document.write('</div>');		
	
	}
		
/**
 * Affiche le footer
 */ 	
	this.showFooter = function () {
				
		document.write('<div id="footerTexte">');
		
		// Lien de retour	
			document.writeln('<div id="retour" align="center">');
		
				document.writeln('<a class="acontenu" href="javascript:history.back()"> Retour &agrave; la page pr&eacute;c&eacute;dente </a>');
			
			document.writeln('</div>');
				 
	// Liens rapides
			document.writeln('<a href="' + this.website + 'accueil/accueil.html">Accueil</a>&nbsp;|&nbsp;');
			document.writeln('<a href="' + this.website + 'actualites/actualites.html" style="color:orange;" class="link_orange">Actualités</a>&nbsp;|&nbsp;');
			document.writeln('<a href="' + this.website + 'avertissement/avertissement.html">Avertissement</a>&nbsp;|&nbsp;');
			document.writeln('<a href="' + this.website + 'liens/liens.html">Liens utiles</a>&nbsp;|&nbsp;');
			document.writeln('<a href="' + this.website + 'faq/faq.html">FAQ</a>&nbsp;|&nbsp;');
			document.writeln('<a href="' + this.website + 'mediatheque/mediatheque.html">Médiathèque</a>&nbsp;|&nbsp;');
			document.writeln('<a href="' + this.website + 'misesajour/mise_jour.html">Mises à jour</a><br />');
			document.writeln('<a href="javascript:print();">Imprimer</a>&nbsp;|&nbsp;');
			document.writeln('<a href="' + this.website + 'recherche/recherche.html">Rechercher</a>&nbsp;|&nbsp;');
			document.writeln('<a href="' + this.website + 'glossaire/glossaire.html">Glossaire</a>&nbsp;|&nbsp;');
			document.writeln('<a href="mailto:aide@aide.be">Ecrivez-nous</a><br /><br />');
			
	// Copyright
			document.write("<div class='footerCopy'>Site administré par l'A.I.D.E. - Une solution Web par Clic &amp; Start!</div>");
			
		document.write('</div>');
						
	}
	
/**
 * Affiche les menus complets
 */ 
	this.showMenu = function (menu, active) {
	
	// Ouverture du tag
		document.write('<div id="menu_left">');
	
	// Menu "Qui sommes-nous?"
		if (menu == 'quisommesnous') {
		
			this.showMenuElement('quisommesnous_creation', "&nbsp;&nbsp;&nbsp;La création de l'A.I.D.E.", this.website + 'quisommesnous/aide_creation.html');
			this.showMenuElement('quisommesnous_gestion', "&nbsp;&nbsp;&nbsp;La gestion de &nbsp;&nbsp;&nbsp;l'Intercommunale", this.website + 'quisommesnous/aide_gestion.html');
			this.showMenuElement('quisommesnous_organes', "+ Les organes de gestion", this.website + 'quisommesnous/aide_organes.html');
			this.showMenuElement('quisommesnous_politique', "+ La politique &nbsp;&nbsp;&nbsp;environnementale", this.website + 'quisommesnous/aide_politique_env.html');
			this.showMenuElement('quisommesnous_aide', "&nbsp;&nbsp;&nbsp;L'aide au communes", this.website + 'quisommesnous/aide_aide.html');
			this.showMenuElement('quisommesnous_partenariats', "+ Les partenariats", this.website + 'quisommesnous/partenariat.html');
			this.showMenuElement('quisommesnous_joindre', "+ Nous joindre", this.website + 'quisommesnous/acces.html');		
		
		}
		
	// Menu "Qui sommes-nous? / La gestion de l'intercommunalle"
		if (menu == 'quisommesnous_gestion') {
		
			this.showMenuElement('quisommesnous_gestion_org', "L'organigramme", this.website + 'quisommesnous/aide_organigramme.html');
			this.showMenuElement('quisommesnous_gestion_sec', "Les sociétaires", this.website + 'quisommesnous/aide_societaires.html');
			this.showMenuElement('quisommesnous_gestion_adm', "Le conseil d'administration", this.website + 'quisommesnous/aide_ca.html');
			this.showMenuElement('quisommesnous_gestion_com', "Le comité de gestion", this.website + 'quisommesnous/aide_ce.html');
			this.showMenuElement('quisommesnous_gestion_dir', "La direction", this.website + 'quisommesnous/aide_direct.html');		
		
		}
		
	// Menu "Qui sommes-nous? / La politique environnementale"
		if (menu == 'quisommesnous_env') {
		
			this.showMenuElement('quisommesnous_env_enr', "Enregistrement EMAS", this.website + 'quisommesnous/emas.html');
			this.showMenuElement('quisommesnous_env_dec', "Déclarations environnementales", this.website + 'quisommesnous/declaration_env.html');
		
		}
		
	// Menu "Qui sommes-nous? / Les partenariats"
		if (menu == 'quisommesnous_part') {
		
			this.showMenuElement('quisommesnous_part_apr', "APRIL", this.website + 'quisommesnous/april.html');
			this.showMenuElement('quisommesnous_part_aqu', "AQUAWAL SA", this.website + 'quisommesnous/aquawal.html');
			this.showMenuElement('quisommesnous_part_con', "Contrats rivières", this.website + 'quisommesnous/contrats_rivieres.html');
		
		}
		
	// Menu "Qui sommes-nous? / Nous joindre"
		if (menu == 'quisommesnous_cont') {
		
			this.showMenuElement('quisommesnous_cont_qui', "Qui contacter ?", this.website + 'quisommesnous/qui_contacter.html');
			this.showMenuElement('quisommesnous_cont_cas', "En cas d'urgence", this.website + 'quisommesnous/aide_urgence.html');
			this.showMenuElement('quisommesnous_cont_que', "Une question ?", this.website + 'quisommesnous/formulaire_info.html');
			this.showMenuElement('quisommesnous_cont_sug', "Une suggestion ?", this.website + 'quisommesnous/formulaire_avis.html');		
			this.showMenuElement('quisommesnous_cont_vis', "Une visite d'ouvrage ?", this.website + 'quisommesnous/visite.html');
			this.showMenuElement('quisommesnous_cont_emp', "Un emploi ?", this.website + 'quisommesnous/recrutement_non.html');
		
		}
		
	// Menu "Actualités"
		if (menu == 'actualites') {
		
			this.showMenuElement('actualites_jou', "Journées de l'eau", this.website + 'actualites/journee_eau.html');
			this.showMenuElement('actualites_vis', "Visite de la station d'Oupeye", this.website + 'actualites/visite_oupeye.html');
		
		}
		
	// Menu "Infos chantier"
		if (menu == 'infoschantier') {
		
			this.showMenuElement('infoschantier_cha', "Chantiers en cours", this.website + 'infoschantiers/entrep_chantier.html');
			this.showMenuElement('infoschantier_adj', "Adjudications en cours", this.website + 'infoschantiers/entrep_avis_adj.html');
			this.showMenuElement('infoschantier_res', "Résultats d'adjudication", this.website + 'infoschantiers/entrep_resu_adj.html');
			this.showMenuElement('infoschantier_tel', "Téléchargements", this.website + 'infoschantiers/entrep_telecharg.html');
		
		}
		
	// Menu "Egouttage"
		if (menu == 'egouttage') {
		
			this.showMenuElement('egouttage_ego', "L'égouttage", this.website + 'egouttage/egout_general.html');
			this.showMenuElement('egouttage_egp', "L'égouttage prioritaire", this.website + 'egouttage/egout_priorit.html');
			this.showMenuElement('egouttage_rga', "Le RGA", this.website + 'egouttage/egout_rga.html');
			this.showMenuElement('egouttage_obl', "Les obligations  ", this.website + 'egouttage/egout_obligations.html');
			this.showMenuElement('egouttage_enc', "L'encours", this.website + 'egouttage/egout_encours.html');
			this.showMenuElement('egouttage_con', "Le contrat d'agglomération", this.website + 'egouttage/egout_contrat.html');
			this.showMenuElement('egouttage_ege', "Egouttages exclusif et conjoint", this.website + 'egouttage/egout_excl_conj.html');
			this.showMenuElement('egouttage_typ', "Types d'égouts", this.website + 'egouttage/egout_types.html');
			this.showMenuElement('egouttage_pri', "Les priorités 2007-2009", this.website + 'egouttage/egout_priorites.html');
			this.showMenuElement('egouttage_que', "Foire aux questions", this.website + 'egouttage/egout_faq.html');
			this.showMenuElement('egouttage_tel', "Téléchargements", this.website + 'egouttage/egout_telecharg.html');
					
		}
		
	// Menu "Démergement"
		if (menu == 'demergement') {
				
			this.showMenuElement('demergement_dem', "&nbsp;&nbsp;&nbsp;Le démergement", this.website + 'demergement/demergement.html');
			this.showMenuElement('demergement_aff', "&nbsp;&nbsp;&nbsp;Les affaissements miniers", this.website + 'demergement/extraction_houille.html');
			this.showMenuElement('demergement_ino', "&nbsp;&nbsp;&nbsp;Les inondations", this.website + 'demergement/inondations.html');
			this.showMenuElement('demergement_cru', "&nbsp;&nbsp;&nbsp;Les inondations de &nbsp;&nbsp;&nbsp;1925-1926", this.website + 'demergement/photos_inondations.html');
			this.showMenuElement('demergement_niv', "&nbsp;&nbsp;&nbsp;Les niveaux de crue", this.website + 'demergement/niveaux_crues.html');
			this.showMenuElement('demergement_mis', "&nbsp;&nbsp;&nbsp;La mise en oeuvre du &nbsp;&nbsp;&nbsp;démergement", this.website + 'demergement/mise_en_oeuvre.html');
			this.showMenuElement('demergement_exu', "&nbsp;&nbsp;&nbsp;Les exutoires", this.website + 'demergement/exutoires.html');
			this.showMenuElement('demergement_col', "&nbsp;&nbsp;&nbsp;Les réseaux de collecte", this.website + 'demergement/collecteurs.html');
			this.showMenuElement('demergement_sta', "+ Les stations de pompage", this.website + 'demergement/stpo.html');
			this.showMenuElement('demergement_apr', "&nbsp;&nbsp;&nbsp;L'après charbon", this.website + 'demergement/apres_charbon.html');
			this.showMenuElement('demergement_exp', "&nbsp;&nbsp;&nbsp;L'exploitation des &nbsp;&nbsp;&nbsp;ouvrages", this.website + 'demergement/bilan_exploitation.html');
			this.showMenuElement('demergement_evo', "&nbsp;&nbsp;&nbsp;L'évolution architecturale", this.website + 'demergement/architecture_sp.html');
			this.showMenuElement('demergement_vid', "&nbsp;&nbsp;&nbsp;Vidéo", this.website + 'demergement/video.html');
					
		}
		
	// Menu "Démergement / Les stations de pompage"
		if (menu == 'demergement_stpo') {
		
			this.showMenuElement('demergement_stpo_stp', "Les stations de pompage principales", this.website + 'demergement/stpop.html');
			this.showMenuElement('demergement_stpo_sts', "Les stations de pompage secondaires", this.website + 'demergement/stpos.html');
			this.showMenuElement('demergement_stpo_sch', "Schéma de fonctionnement", this.website + 'demergement/schema_fonction.html');
								
		}
		
	// Menu "Epuration"
		if (menu == 'epuration') {
		
			this.showMenuElement('epuration_pol', "&nbsp;&nbsp;&nbsp;La pollution des eaux", this.website + 'epuration/index.html');
			this.showMenuElement('epuration_epc', "+ L'épuration collective", this.website + 'epuration/epu_collectif_general.html');
			this.showMenuElement('epuration_epi', "+ L'épuration individuelle", this.website + 'epuration_individuelle/epu_indiv_general.html');
			this.showMenuElement('epuration_gad', "&nbsp;&nbsp;&nbsp;Le traitement des &nbsp;&nbsp;&nbsp;gadoues", this.website + 'epuration/epu_gadoues.html');
			this.showMenuElement('epuration_gra', "&nbsp;&nbsp;&nbsp;Le traitement des &nbsp;&nbsp;&nbsp;graisses", this.website + 'epuration/epu_graisses.html');
			this.showMenuElement('epuration_pcr', "&nbsp;&nbsp;&nbsp;Le traitement des PCRA", this.website + 'epuration/epu_pcra.html');
			this.showMenuElement('epuration_tei', "&nbsp;&nbsp;&nbsp;Le traitement des EI", this.website + 'epuration/epu_ei.html');
			this.showMenuElement('epuration_cha', "+ Le chaulage des boues", this.website + 'epuration/epu_chaulage.html');
								  
		}
		
	// Menu "Epuration / L'épuration collective"
		if (menu == 'epuration_coll') {
		
			this.showMenuElement('epuration_coll_epu', "&nbsp;&nbsp;&nbsp;L'épuration des eaux &nbsp;&nbsp;&nbsp;usées", this.website + 'epuration/epu_collectif_general.html');
			this.showMenuElement('epuration_coll_tec', "+ Les techniques &nbsp;&nbsp;&nbsp;d'épuration", this.website + 'epuration/epu_techni.html');
			this.showMenuElement('epuration_coll_bou', "+ Les boues d'épuration", this.website + 'epuration/epu_boues.html');
			this.showMenuElement('epuration_coll_res', "&nbsp;&nbsp;&nbsp;Les réseaux de collecte", this.website + 'epuration/epu_collect.html');
			this.showMenuElement('epuration_coll_mis', "+ La mission de l'A.I.D.E.", this.website + 'epuration/epu_mission.html');
			this.showMenuElement('epuration_coll_bas', "&nbsp;&nbsp;&nbsp;Les bassins et sous-&nbsp;&nbsp;&nbsp;bassins hydrographiques", this.website + 'pash/index.html');
			this.showMenuElement('epuration_coll_ass', "+ Les agglomérations", this.website + 'epuration/epu_assain.html');
			this.showMenuElement('epuration_coll_ste', "+ Les stations d'épuration", this.website + 'epuration/epu_ste.html');
			this.showMenuElement('epuration_coll_stp', "+ Les stations de pompage", this.website + 'epuration/epu_stp.html');
			this.showMenuElement('epuration_coll_col', "+ Les collecteurs", this.website + 'epuration/epu_co.html');
			this.showMenuElement('epuration_coll_exp', "&nbsp;&nbsp;&nbsp;L'exploitation des &nbsp;&nbsp;&nbsp;ouvrages", this.website + 'epuration/epu_exploit.html');
			this.showMenuElement('epuration_coll_vid', "&nbsp;&nbsp;&nbsp;Vidéo", this.website + 'epuration/epu_video.html');
								  
		}
		
	// Menu "Epuration / L'épuration collective / Les techniques d'épuration"
		if (menu == 'epuration_techni') {
		
			this.showMenuElement('epuration_techni_pri', "Le traitement primaire", this.website + 'epuration/epu_primaire.html');
			this.showMenuElement('epuration_techni_sec', "Le traitement secondaire", this.website + 'epuration/epu_secondaire.html');
			this.showMenuElement('epuration_techni_ter', "Le traitement tertiaire", this.website + 'epuration/epu_tertiaire.html');
								  
		}
		
	// Menu "Epuration / L'épuration collective / Les boues d'épuration"
		if (menu == 'epuration_boues') {
		
			this.showMenuElement('epuration_boues_val', "Valorisation des boues", this.website + 'epuration/epu_valorisat.html');
								  
		}
		
	// Menu "Epuration / L'épuration collective / La mission de l'A.I.D.E."
		if (menu == 'epuration_mission') {
		
			this.showMenuElement('epuration_mission_org', "Les organismes d'épuration", this.website + 'epuration/intercommunales.html');
								  
		}
		
	// Menu "Epuration / L'épuration collective / L'assainissement des agglomérations"
		if (menu == 'epuration_assain') {
		
			this.showMenuElement('epuration_assain_lie', "+ L'agglomération liégeoise", this.website + 'liege_oupeye/liege_agglo.html');
			this.showMenuElement('epuration_assain_ver', "+ L'agglomération &nbsp;&nbsp;&nbsp;verviétoise", this.website + 'epuration_collective/verviers_agglo.html');
											  
		}	
		
	// Menu "Epuration / L'épuration collective / L'assainissement des agglomérations / L'agglomération liégeoise"
		if (menu == 'epuration_assain_lie') {
		
			this.showMenuElement('epuration_assain_lie_lan', "La station d'épuration de Lantin", this.website + 'step_serv_am/lantin.html');
			this.showMenuElement('epuration_assain_lie_ret', "La station d'épuration de Retinne", this.website + 'step_serv_nz/retinne.html');
			this.showMenuElement('epuration_assain_lie_emb', "La station d'épuration d'Embourg", this.website + 'step_serv_am/embourg.html');
			this.showMenuElement('epuration_assain_lie_emb', "La station d'épuration d'Awans", this.website + 'step_serv_am/awans.html');
			this.showMenuElement('epuration_assain_lie_gro', "La station d'épuration des Grosses Battes", this.website + 'step_serv_am/grosses_battes.html');
			this.showMenuElement('epuration_assain_lie_emb', "La station d'épuration de Soumagne", this.website + 'step_serv_am/soumagne.html ');
			this.showMenuElement('epuration_assain_lie_eng', "La station d'épuration d'Engis", this.website + 'step_serv_am/engis.html');
			this.showMenuElement('epuration_assain_lie_lio', "La station d'épuration de Liège-Oupeye", this.website + 'liege_oupeye/liege_o_step.html');			
			this.showMenuElement('epuration_assain_lie_lio', "La station d'épuration de La Brouck", this.website + 'stations_epuration/la-brouck.html');
			this.showMenuElement('epuration_assain_lie_lis', "La station d'épuration de Liège-Sclessin", this.website + 'liege_sclessin/liege_s_epuration.html');
											  
		}	
		
	// Menu "Epuration / L'épuration collective / L'assainissement des agglomérations / L'agglomération vervietoise"
		if (menu == 'epuration_assain_ver') {
		
			this.showMenuElement('epuration_assain_ver_weg', "La station d'épuration de Wegnez", this.website + 'step_serv_nz/wegnez.html');
			this.showMenuElement('epuration_assain_ver_gof', "La station d'épuration de Goffontaine", this.website + 'step_serv_am/goffontaine.html');
								  
		}	
		
	// Menu "Epuration / L'épuration collective / Les stations de pompage"
		if (menu == 'epuration_stp') {
		
			this.showMenuElement('epuration_stp_ser', "En service", this.website + 'epuration_collective/stpo_service.html');
			this.showMenuElement('epuration_stp_con', "En construction", this.website + 'epuration_collective/stpo_construct.html');
			this.showMenuElement('epuration_stp_etu', "En étude", this.website + 'epuration_collective/stpo_etude.html');
			
		}	


	// Menu "Epuration / L'épuration collective / Les stations de pompage / Les stations de pompage en service / La station de pompage des Grosses Battes"
		if (menu == 'stpo_gb') {
		
			this.showMenuElement('van_anti_gb', "La vanne anticrue", this.website + 'stpo_serv/vanne_anticrue_gb.html');
			
		}	


	// Menu "Epuration / L'épuration collective / Les stations de pompage / Les stations de pompage en service / La station de pompage de Tilff"
		if (menu == 'stpo_tilff') {
		
			this.showMenuElement('van_anti_tilff', "La vanne anticrue", this.website + 'stpo_serv/vanne_anticrue_tilff.html');
			
		}	


	// Menu "Epuration / L'épuration collective / Les stations d'épuration/Les stations d'épuration en service/la station d'épuration de Goffontaine"
		if (menu == 'epuration_gof') {
			
			this.showMenuElement('epuration_gof_station', "La station d'épuration de Goffontaine", this.website + 'step_serv_am/goffontaine.html');
			this.showMenuElement('epuration_gof_hist', "Aspects historiques", this.website + 'step_serv_am/goffontaine_histo.html');
			this.showMenuElement('epuration_gof_implan', "Implantation des installations", this.website + 'step_serv_am/goffontaine_implan.html');
			this.showMenuElement('epuration_gof_perfo', "Performances requises", this.website + 'step_serv_am/goffontaine_perfo.html');
			this.showMenuElement('epuration_gof_photos', "Photographies", this.website + 'step_serv_am/goffontaine_photos.html');

		}	


	// Menu "Epuration / L'épuration collective / Les stations d'épuration/Les stations d'épuration en service/la station d'épuration de Wegnez"
		if (menu == 'epuration_weg') {
		
			this.showMenuElement('epuration_weg_station', "La station d'épuration de Wegnez", this.website + 'step_serv_nz/wegnez.html');
			this.showMenuElement('epuration_weg_des', "Descriptif technique", this.website + 'step_serv_nz/wegnez_des.html');
			this.showMenuElement('epuration_weg_photos1', "Photographies avant mise sous eau", this.website + 'step_serv_nz/wegnez_photos.html');
			this.showMenuElement('epuration_weg_photos2', "Encore des photos !", this.website + 'step_serv_nz/wegnez_photos2.html');

		}	
		
		// Menu "Epuration / L'épuration collective / Les stations d'épuration/Les stations d'épuration en construction/la station d'épuration de Amay"
		if (menu == 'epuration_amay') {
		
			this.showMenuElement('epuration_amay_procede', "Le procédé épuratoire", this.website + 'amay/amay_procede.html');
			this.showMenuElement('epuration_amay_bassin', "Le bassin technique", this.website + 'amay/amay_bassin_techn.html');
			this.showMenuElement('epuration_amay_collecte', "La collecte", this.website + 'amay/amay_collecte.html');
	
		}	


	// Menu "Station d'épuration de Liège-Oupeyee"
		if (menu == 'liege_oupeye') {
		
			this.showMenuElement('liege_o_step', "La station d'épuration", this.website + 'liege_oupeye/liege_o_step.html');
			this.showMenuElement('liege_o_bas_tech', "Le bassin technique", this.website + 'liege_oupeye/liege_o_bas_tech.html');
			this.showMenuElement('liege_o_egout', "Les égouts liégeois", this.website + 'liege_oupeye/liege_o_egout.html');
			this.showMenuElement('liege_o_collecte', "La collecte", this.website + 'liege_oupeye/liege_o_collecte.html');
			this.showMenuElement('liege_o_epur', "L'épuration des eaux usées", this.website + 'liege_oupeye/liege_o_epur.html');
			this.showMenuElement('liege_o_reduct', "La réduction de la dilution", this.website + 'liege_oupeye/liege_o_reduct.html');
			this.showMenuElement('liege_o_supervision', "Télésurveillance et supervision", this.website + 'liege_oupeye/liege_o_supervision.html');
			this.showMenuElement('liege_o_pluies', "Le traitement des eaux de pluie", this.website + 'liege_oupeye/liege_o_pluies.html');
			this.showMenuElement('liege_o_desc_tech', "Description technique", this.website + 'liege_oupeye/liege_o_desc_tech.html');
            this.showMenuElement('liege_o_clepsydre', "La clepsydre", this.website + 'liege_oupeye/liege_o_clepsydre.html');
			this.showMenuElement('liege_o_chantier', "Le chantier", this.website + 'liege_oupeye/liege_o_chantier.html');
			this.showMenuElement('liege_o_visite_chantier_1', "Visite de chantier 1", this.website + 'liege_oupeye/liege_o_visite_chantier_1.html');
			this.showMenuElement('liege_o_visite_chantier_2', "Visite de chantier 2", this.website + 'liege_oupeye/liege_o_visite_chantier_2.html');
			this.showMenuElement('liege_o_video', "Video", this.website + 'liege_oupeye/liege_o_video.html');

		}	


	// Menu "Station d'épuration de Liège-Sclessin"
		if (menu == 'liege_sclessin') {
		
			this.showMenuElement('liege_s_epu', "La station d'épuration de Liège-Sclessin", this.website + 'liege_sclessin/liege_s_epuration.html');
			this.showMenuElement('liege_s_procede', "Le procédé épuratoire", this.website + 'liege_sclessin/liege_s_procede.html');
			this.showMenuElement('liege_s_bassin_techn', "Le bassin technique", this.website + 'liege_sclessin/liege_s_bassin_techn.html');
			this.showMenuElement('liege_s_egout', "Les égouts en amont de Liège", this.website + 'liege_sclessin/liege_s_egout_amont.html');
			this.showMenuElement('liege_s_collecte', "La collecte", this.website + 'liege_sclessin/liege_s_collecte.html');
			this.showMenuElement('liege_s_dilution', "La réduction de la dilution", this.website + 'liege_sclessin/liege_s_dilution.html');
			this.showMenuElement('liege_s_video', "Visite virtuelle", this.website + 'liege_sclessin/liege_s_video.html');
			this.showMenuElement('liege_s_chantier', "Le chantier", this.website + 'liege_sclessin/liege_s_chantier.html');

		}	


	// Menu "Epuration / L'épuration collective / Les stations d'épuration"
		if (menu == 'epuration_ste') {
		
			this.showMenuElement('epuration_ste_ser', "En service", this.website + 'epuration_collective/step_service.html');
			this.showMenuElement('epuration_ste_ser', "En gestion communale", this.website + 'epuration_collective/step_service_com.html');
			this.showMenuElement('epuration_ste_con', "En construction", this.website + 'epuration_collective/step_construct.html');
			this.showMenuElement('epuration_ste_etu', "En étude", this.website + 'epuration_collective/step_etude.html');
			this.showMenuElement('epuration_ste_pro', "A programmer", this.website + 'epuration_collective/step_programme.html');
			this.showMenuElement('epuration_ste_car', "Carte", this.website + 'epuration_collective/step_carte.html');
			
		}	
		
	// Menu "Epuration / L'épuration collective / Les collecteurs"
		if (menu == 'epuration_co') {
		
			this.showMenuElement('epuration_co_ser', "En service", this.website + 'epuration_collective/co_service.html');
			this.showMenuElement('epuration_co_con', "En construction", this.website + 'epuration_collective/co_construct.html');
			
		}
		
	// Menu "Epuration / L'épuration individuelle"
		if (menu == 'epuration_indiv') {
		
			this.showMenuElement('epuration_indiv_sys', "&nbsp;&nbsp;&nbsp;Les systèmes", this.website + 'epuration_individuelle/epu_indiv_systemes.html');
			this.showMenuElement('epuration_indiv_mis', "&nbsp;&nbsp;&nbsp;Mise en place", this.website + 'epuration_individuelle/epu_indiv_mise_place.html');
			this.showMenuElement('epuration_indiv_del', "&nbsp;&nbsp;&nbsp;Délais", this.website + 'epuration_individuelle/epu_indiv_delais.html');
			this.showMenuElement('epuration_indiv_agr', "&nbsp;&nbsp;&nbsp;L'agrément", this.website + 'epuration_individuelle/epu_indiv_agrement.html');
			this.showMenuElement('epuration_indiv_for', "&nbsp;&nbsp;&nbsp;Le fomulaire intégré", this.website + 'epuration_individuelle/epu_indiv_formulaire_integre.html');
			this.showMenuElement('epuration_indiv_con', "&nbsp;&nbsp;&nbsp;Contrôle ", this.website + 'epuration_individuelle/epu_indiv_controle.html');
			this.showMenuElement('epuration_indiv_pri', "+ Prime à l'installation", this.website + 'epuration_individuelle/epu_indiv_prime.html');
			this.showMenuElement('epuration_indiv_que', "&nbsp;&nbsp;&nbsp;Questions", this.website + 'epuration_individuelle/epu_indiv_questions.html');
			
		}	
		
	// Menu "Epuration / L'épuration individuelle / Prime à l'installation"
		if (menu == 'epuration_prime') {
		
			this.showMenuElement('epuration_prime_mon', "Le montant de la prime", this.website + 'epuration_individuelle/epu_indiv_montant_prime.html');
								  
		}
		
	// Menu "Epuration / L'épuration collective / La mission de l'A.I.D.E."
		if (menu == 'epuration_mission_inter') {
		
			this.showMenuElement('epuration_mission_inter_aid', "AIDE", this.website + 'liens/acteurs.html#aide');
			this.showMenuElement('epuration_mission_inter_aiv', "AIVE", this.website + 'liens/acteurs.html#aive');
			this.showMenuElement('epuration_mission_inter_ibw', "IBW", this.website + 'liens/acteurs.html#ibw');
			this.showMenuElement('epuration_mission_inter_ide', "IDEA", this.website + 'liens/acteurs.html#idea');
			this.showMenuElement('epuration_mission_inter_igr', "IGRETEC", this.website + 'liens/acteurs.html#igretec');
			this.showMenuElement('epuration_mission_inter_ina', "INASEP", this.website + 'liens/acteurs.html#inasep');
			this.showMenuElement('epuration_mission_inter_ipa', "IPALLE", this.website + 'liens/acteurs.html#ipalle');
								  
		}
		

	// Menu "Epuration / Le chaulage des boues"
		if (menu == 'epuration_chaul') {
		
			this.showMenuElement('epuration_chaul_centre', "Le centre de Lantin", this.website + 'epuration/lantin_boues.html');
								  
		}


	// Menu "Epuration / Le chaulage des boues"
		if (menu == 'epuration_chaul_bis') {
		
			this.showMenuElement('epuration_chaul_centre_bis', "Le centre de Lantin", this.website + 'step_serv_am/lantin_boues.html');
								  
		}


	// Menu "Les PASH"
		if (menu == 'pash') {
		
			this.showMenuElement('pash_pas', "&nbsp;&nbsp;&nbsp;Les PASH", this.website + 'pash/index.html');
			this.showMenuElement('pash_com', "+ Composition des PASH", this.website + 'pash/pash_composition.html');
			this.showMenuElement('pash_rga', "+ Le RGA", this.website + '/pash/pash_rga.html');
			this.showMenuElement('pash_reg', "+ Régimes &nbsp;&nbsp;&nbsp;d'assainissement", this.website + 'pash/pash_regimes.html');
			this.showMenuElement('pash_etu', "+ Les études de zones ", this.website + 'pash/etudes_zone.html');
			this.showMenuElement('pash_inf', "&nbsp;&nbsp;&nbsp;Informations de synthèse", this.website + 'pash/pash_synthese.html');
			this.showMenuElement('pash_amb', "&nbsp;&nbsp;&nbsp;Le PASH de l'Amblève", this.website + 'pash/pash_ambleve.html');
			this.showMenuElement('pash_dyl', "&nbsp;&nbsp;&nbsp;Le PASH de la Dyle-Gette", this.website + 'pash/pash_dyle.html');
			this.showMenuElement('pash_meu', "&nbsp;&nbsp;&nbsp;Le PASH de la Meuse aval", this.website + 'pash/pash_meuse.html');
			this.showMenuElement('pash_mos', "&nbsp;&nbsp;&nbsp;Le PASH de la Moselle", this.website + 'pash/pash_moselle.html');
			this.showMenuElement('pash_our', "&nbsp;&nbsp;&nbsp;Le PASH de l'Ourthe", this.website + 'pash/pash_ourthe.html');
			this.showMenuElement('pash_ves', "&nbsp;&nbsp;&nbsp;Le PASH de la Vesdre", this.website + 'pash/pash_vesdre.html');
								  
		}
		

	// Menu "Les PASH / Les PASH"
		if (menu == 'pash_pash') {
		
			this.showMenuElement('pash_pash_car', "Carte", this.website + 'pash/pash_carte.html');
			this.showMenuElement('pash_pash_rap', "Rapport", this.website + 'pash/pash_rapport.html');
														  
		}
		
	// Menu "Les PASH / RGA"
		if (menu == 'pash_rga') {
		
			this.showMenuElement('pash_rga_col', "Collectif", this.website + 'pash/pash_collectif.html');
			this.showMenuElement('pash_rga_aut', "Autonome", this.website + 'pash/pash_individuel.html');
			this.showMenuElement('pash_rga_tra', "Transitoire", this.website + 'pash/pash_transitoire.html');   
														  
		}
		
	// Menu "Les PASH / Régimes d'assainissement"
		if (menu == 'pash_reg') {
		
			this.showMenuElement('pash_rga_col', "Collectif", this.website + 'pash/pash_rga_collectif.html');
			this.showMenuElement('pash_rga_aut', "Autonome", this.website + 'pash/pash_rga_individuel.html');
			this.showMenuElement('pash_rga_tra', "Transitoire", this.website + 'pash/pash_rga_transitoire.html');   
														  
		}
		
	// Menu "Les PASH / Les études de zones"
		if (menu == 'pash_etude') {
		
			this.showMenuElement('pash_etude_zon', "Les zones prioritaires", this.website + 'pash/zones_prioritaires.html');
			this.showMenuElement('pash_etude_pla', "Planification des études de zones", this.website + 'pash/etudes_zones_planif.html');
														  
		}
		
	// Menu "Liens"
		if (menu == 'liens') {
		
			this.showMenuElement('liens_act', "Quelques acteurs en Région wallonne", this.website + 'liens/acteurs.html');
			this.showMenuElement('liens_bel', "Sites belges", this.website + 'liens/liensbelges.html');
			this.showMenuElement('liens_etr', "Sites étrangers", this.website + 'liens/liensEtrangers.html');
														  
		}
		
	// Fermeture du tag
		document.write('</div>');
		
	// Paramètres des arrondis
		settings = {
      tl: { radius: 5 },
      tr: { radius: 5 },
      bl: { radius: 5 },
      br: { radius: 5 },
      antiAlias: true,
      autoPad: false
    }

	// On applique les arrondis
    var cornersObj = new curvyCorners(settings, "menu_left_element");
    cornersObj.applyCornersToAll();
	
	
	}
	
/**
 * Affiche un élément du menu
 */
	this.showMenuElement = function (id, name, url) {
	
		document.write('<div class="menu_left_element" id="' + id + '"><div class="menu_left_element_content"><a href="' + url + '" target="_top">' + name + '</a></div></div>');
			
	}
		
}

/**
 * Fonctions permettant le survol d'image
 */
 
function FP_preloadImgs() {//v1.0

 var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();

 for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image; d.FP_imgs[i].src=a[i]; }

}

function FP_swapImg() {//v1.0

 var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2; n<args.length;

 n+=2) { elm=FP_getObjectByID(args[n]); if(elm) { doc.$imgSwaps[doc.$imgSwaps.length]=elm;

 elm.$src=elm.src; elm.src=args[n+1]; } }

}

function FP_getObjectByID(id,o) {//v1.0

 var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById) el=o.getElementById(id);

 else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;

 if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)

 for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }

 f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;

 for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return el; } }

 return null;

}