function mainMenu(selected){
	document.write("<TABLE WIDTH='780' BORDER='0' CELLPADDING='0' CELLSPACING='0'>");
	document.write("<TR>");
	document.write("<TD>");

	document.write(	"<IMG SRC='images/menu_03.gif' WIDTH='141' HEIGHT='145'>" + 
			"<IMG SRC='images/menu_04.jpg' WIDTH='134' HEIGHT='145'>" + 
			"<IMG SRC='images/menu_05.jpg' WIDTH='161' HEIGHT='145'>" + 
			"<IMG SRC='images/menu_06.jpg' WIDTH='140' HEIGHT='145'>" + 
			"<IMG SRC='images/menu_07.jpg' WIDTH='204' HEIGHT='145'>");

	document.write("</TD>");
	document.write("</TR>");
	document.write("<TR>");
	document.write("<TD>");

document.write("<IMG SRC='images/menu_10etire.gif' WIDTH='131' HEIGHT='20'>" + 	
			   "<IMG SRC='images/menu_10.gif' >");

	if (selected == "menu_accueil"){
		document.write(	"<IMG SRC='images/menu_accueil_rl.gif'>");
	} else {
		crRlBtn("menu_accueil", "gif", "accueil.html", "Accueil", "_up", "_rl");
	}
	if (selected == "menu_11"){
		document.write(	"<IMG SRC='images/menu_11_rl.gif'>");
	} else {
		crRlBtn("menu_11", "gif", "historique.html", "Entreprise", "_up", "_rl");
	}

	if (selected == "menu_12"){
		document.write(	"<IMG SRC='images/menu_12_rl.gif'>");
	} else {
		crRlBtn("menu_12", "gif", "produits.html", "Produits et services", "_up", "_rl");
	}
if (selected == "menu_13"){
		document.write(	"<IMG SRC='images/menu_13_rl.gif'>");
	} else {
		crRlBtn("menu_13", "gif", "emploi.html", "Emploi", "_up", "_rl");
	}
	
	if (selected == "menu_14"){
		document.write(	"<IMG SRC='images/menu_14_rl.gif'>");
	} 
	else {
		crRlBtn("menu_14", "gif", "rh.html", "Pour nous joindre", "_up", "_rl");
	}


	if (selected == "menu_16"){
		document.write(	"<IMG SRC='images/menu_16_rl.gif'>");
	} else {
		crRlBtn("menu_16", "gif", "../en/accueil.html", "English", "_up", "_rl");
}

//	if (selected == "menu_16"){
//		document.write(	"<IMG SRC='images/menu_16_rl.gif'>");
//	} else {
//		crRlBtnPop("menu_16", "gif", "#", "English", "_up", "_rl", "../en/accueil.html", "550", "240");
//	}
//
	document.write(	"<IMG SRC='images/menu_17.gif'>" + 
			"<IMG SRC='images/menu_18.gif'>");

	document.write("</TD>");
	document.write("</TR>");
	document.write("</TABLE>");
}

function subMenu(section, selected){
	document.write("<table width='649' cellspacing='0' cellpadding='0' border='0'>");
	document.write("<tr>");
	document.write("<td background='images/bg_snav.gif'>");

	if (section == "entreprise"){
		document.write("<img src='images/spacer.gif' width='100' height='20'>");
		if (selected == "1"){
			document.write(	"<IMG SRC='images/sn_01_rl.gif'>");
		} else {
			crRlBtn("sn_01", "gif", "equipe.html", "NOtre &eacute;quipe", "_up", "_rl");
		}
		if (selected == "2"){
			document.write(	"<IMG SRC='images/sn_02_rl.gif'>");
		} else {
			crRlBtn("sn_02", "gif", "historique.html", "Historique", "_up", "_rl");
		}
//		if (selected == "3"){
//			document.write(	"<IMG SRC='images/sn_03_rl.gif'>");
//		} else {
//			crRlBtn("sn_03", "gif", "environnement.html", "Environnement", "_up", "_rl");
//		}
	}

	if (section == "produitsetservices"){
		document.write("<img src='images/spacer.gif' width='20' height='20'>");
		if (selected == "1"){
			document.write(	"<IMG SRC='images/sn_04_rl.gif'>");
		} else {
			crRlBtn("sn_04", "gif", "clients.html", "Nos clients", "_up", "_rl");
		}
		if (selected == "2"){
			document.write(	"<IMG SRC='images/sn_05_rl.gif'>");
		} else {
			crRlBtn("sn_05", "gif", "produits.html", "Notre gamme de produits", "_up", "_rl");
		}
//		if (selected == "3"){
//			document.write(	"<IMG SRC='images/sn_06_rl.gif'>");
//		} else {
//			crRlBtn("sn_06", "gif", "modeles.html", "Nos mod&egrave;les", "_up", "_rl");
//		}
//		if (selected == "4"){
//			document.write(	"<IMG SRC='images/sn_07_rl.gif'>");
//		} else {
//			crRlBtn("sn_07", "gif", "essences.html", "Nos essences", "_up", "_rl");
//		}
//		if (selected == "5"){
//			document.write(	"<IMG SRC='images/sn_08_rl.gif'>");
//		} else {
//			crRlBtn("sn_08", "gif", "service.html", "Notre service &agrave; la clinet&egrave;le", "_up", "_rl");
//		}
	}

	if (section == "production"){
		document.write("<img src='images/spacer.gif' width='280' height='20'>");
//		if (selected == "1"){
//			document.write(	"<IMG SRC='images/sn_09_rl.gif'>");
//		} else {
//			crRlBtn("sn_09", "gif", "garantie.html", "Garantie", "_up", "_rl");
//		}
		if (selected == "2"){
			document.write(	"<IMG SRC='images/sn_10_rl.gif'>");
		} else {
			crRlBtn("sn_10", "gif", "justeatemps.html", "Juste &agrave; temps", "_up", "_rl");
		}
	}

	if (section == "pournousjoindre"){
		document.write("<img src='images/spacer.gif' width='360' height='20'>");
		if (selected == "1"){
			document.write(	"<IMG SRC='images/sn_11_rl.gif'>");
		} else {
			crRlBtn("sn_11", "gif", "rh.html", "Ressources humaines", "_up", "_rl");
		}
//		if (selected == "2"){
//			document.write(	"<IMG SRC='images/sn_12_rl.gif'>");
//		} else {
//			crRlBtn("sn_12", "gif", "achats.html", "Achats", "_up", "_rl");
//		}
	
	
	
	
	}

	document.write("</td>");
	document.write("</tr>");
	document.write("</table>");

}

function footer(){
	document.write("<br>");
	document.write("<div align='center'>");
	document.write("<IMG SRC='images/hbar.gif'><br>");
	document.write("<IMG SRC='images/spacer.gif' height='5'><br>");
	document.write("<span class='footer'>");
	document.write("<a href='accueil.html' class='footer'>Accueil</a>");
	document.write("&nbsp;&nbsp;|&nbsp;&nbsp;");
	document.write("<a href='historique.html' class='footer'>Entreprise</a>");
	document.write("&nbsp;&nbsp;|&nbsp;&nbsp;");
	document.write("<a href='produits.html' class='footer'>Produits</a>");
	document.write("&nbsp;&nbsp;|&nbsp;&nbsp;");
	document.write("<a href='emploi.html' class='footer'>Emplois</a>");
	document.write("&nbsp;&nbsp;|&nbsp;&nbsp;");
	document.write("<a href='rh.html' class='footer'>Pour nous joindre</a>");
	//document.write("&nbsp;&nbsp;|&nbsp;&nbsp;");
	//document.write("<a href='#' class='footer'>Extranet</a>");
	document.write("&nbsp;&nbsp;|&nbsp;&nbsp;");
	document.write("<a href='../en/accueil.html' class='footer'>English</a>");
	document.write("<br><br><br>");
	document.write("</span>");
	document.write("</div>");
}
