
// VARIABLES GLOBALES


	// Largeur de la fenetre
	var winWidth;

	// Largeur des elts du menu
	var accW = 165;
	var imW = 165;
	var specW = 165;
	var mulW = 165;
	var hypW = 165;
	var linkW = 165;
	var totalW = accW+imW+specW+mulW+hypW+linkW;

	// Position en X des elts du menu
	var accX;
	var imX;
	var specX;
	var mulX;
	var hypX;
	var linkX;
		
	// Couleur du fond
	var bgColor = "#565868";
	
	
	// Couleur des cases du menu onMouseOn
	var colorMenu = "#003300";
	// Couleur des cases du menu onMouseOut
	var colorMenuOut = "#576759";
	// Couleur des tableaux
	var colorMenuBorder = "#990099";

	

// INITIALISER LA PAGE
function init()
{
		initValues();
		displayMenu();
		initMenu();
}


// INITIALISER LES VALEURS
function initValues()
{
	winWidth = document.body.clientWidth;
			
	// Position en X des elts du menu
	accX = winWidth/2 - totalW/2 ;
	imX = accX+accW;
	specX = imX+imW;
	mulX = specX+specW;
	hypX = mulX+mulW;
	linkX = hypX+hypW;		
}


// INIT MENU : cache les sous menu

function initMenu() 
{                    
  if (navigator.appName=='Microsoft Internet Explorer')
  {
       document.all.ID_MENU11.style.visibility='hidden';
       document.all.ID_MENU21.style.visibility='hidden';
       document.all.ID_MENU31.style.visibility='hidden';
       document.all.ID_MENU41.style.visibility='hidden';
       document.all.ID_MENU51.style.visibility='hidden';
	   document.all.ID_MENU61.style.visibility='hidden';
	   document.all.ID_MENU115.style.visibility='hidden';
	   document.all.ID_MENU612.style.visibility='hidden';
	   document.all.ID_MENU615.style.visibility='hidden';
	   document.all.ID_MENU619.style.visibility='hidden';
	   document.all.ID_MENU620.style.visibility='hidden';
  }
  else
  {
       document.getElementById('ID_MENU11').style.visibility='hidden';
       document.getElementById('ID_MENU31').style.visibility='hidden';
       document.getElementById('ID_MENU21').style.visibility='hidden';
       document.getElementById('ID_MENU41').style.visibility='hidden';
       document.getElementById('ID_MENU51').style.visibility='hidden';
	   document.getElementById('ID_MENU61').style.visibility='hidden';
	   document.getElementById('ID_MENU115').style.visibility='hidden';
	   document.getElementById('ID_MENU612').style.visibility='hidden';
	   document.getElementById('ID_MENU615').style.visibility='hidden';
	   document.getElementById('ID_MENU619').style.visibility='hidden';
	   document.getElementById('ID_MENU620').style.visibility='hidden';
  }
}


// DESSIN DU MENU
function displayMenu()
{
// MENU PRINCIPAL

	document.write(	"<DIV ID='ID_MENU4' style=\"position: absolute; left:"+accX+"px; top:243px; width:"+accW+"px; height:30px;  border-width:1; background-color='#797979'\" z-index:1 onmouseover='displayMenu41()' onmouseout='hideMenu41()'>");
	document.write(	"	<TABLE  BORDER='0' WIDTH='167'  HEIGHT='30' BGCOLOR="+colorMenuBorder+">");
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor='#431C45'\" onmouseout=\"this.bgColor=colorMenuOut\"   BGCOLOR="+colorMenuOut+"><SPAN style='color:#00FF00'><B><CENTER>I . P . E . R . M . A .</CENTER></B></SPAN></TD>");
	document.write(	"		</TR>");
	document.write(	"	</TABLE>");
	document.write(	"</DIV>");
	

	document.write(	"<DIV ID='ID_MENU2' style=\"position: absolute; left:"+imX+"px; top:243px; width:"+imW+"px; height:30px;  border-width:1; background-color='#797979'\" z-index:1 onmouseover='displayMenu21()' onmouseout='hideMenu21()'>");
	document.write(	"	<TABLE  BORDER='0' WIDTH='167'  HEIGHT='30' BGCOLOR="+colorMenuBorder+">");
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor='#431C45'\" onmouseout=\"this.bgColor=colorMenuOut\"   BGCOLOR="+colorMenuOut+"><SPAN style='color:#00FF00'><B><CENTER>LES SPECIFICITES</CENTER></B></SPAN></TD>");
	document.write(	"		</TR>");
	document.write(	"	</TABLE>");
	document.write(	"</DIV>");


	document.write(	"<DIV ID='ID_MENU1' style=\"position: absolute; left:"+specX+"px; top:243px; width:"+specW+"px; height:30px;  border-width:1; background-color='#797979'\" z-index:1 onmouseover='displayMenu11()' onmouseout='hideMenu11()'>"); 
	document.write(	"	<TABLE  BORDER='0' WIDTH='167'  HEIGHT='30' BGCOLOR="+colorMenuBorder+">");
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor='#431C45'\" onmouseout=\"this.bgColor=colorMenuOut\"     BGCOLOR="+colorMenuOut+"><SPAN style='color:#00FF00'><B><CENTER>LES METIERS</CENTER></B></SPAN></TD>");
	document.write(	"		</TR>");
	document.write(	"	</TABLE>");
	document.write(	"</DIV>");


	document.write(	"<DIV ID='ID_MENU3' style=\"position: absolute; left:"+mulX+"px; top:243px; width:"+mulW+"px; height:30px;  border-width:1; background-color='#797979'\" z-index:1 onmouseover='displayMenu31()' onmouseout='hideMenu31()'>");
	document.write(	"	<TABLE  BORDER='0' WIDTH='167'  HEIGHT='30' BGCOLOR="+colorMenuBorder+">");
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor='#431C45'\" onmouseout=\"this.bgColor=colorMenuOut\"   BGCOLOR="+colorMenuOut+"> <SPAN style='color:#00FF00'><B><CENTER>LES FORMATIONS</CENTER></B></SPAN></TD>");
	document.write(	"		</TR>");
	document.write(	"	</TABLE>");
	document.write(	"</DIV>");


	document.write(	"<DIV ID='ID_MENU0' style=\"position: absolute; left:"+hypX+"px; top:243px; width:"+hypW+"px; height:30px;  border-width:1; background-color='#797979'\" z-index:1 onmouseover='displayMenu61()' onmouseout='hideMenu61()'>");
	document.write(	"	<TABLE  BORDER='0' WIDTH='167'  HEIGHT='30' BGCOLOR="+colorMenuBorder+">");
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor='#431C45'\" onmouseout=\"this.bgColor=colorMenuOut\"   BGCOLOR="+colorMenuOut+"> <SPAN style='color:#00FF00'><B><CENTER>NEWS</CENTER></B></SPAN></TD>");
	document.write(	"		</TR>");
	document.write(	"	</TABLE>");
	document.write(	"</DIV>");


	document.write(	"<DIV ID='ID_MENU5' style=\"position: absolute; left:"+linkX+"px; top:243px; width:"+linkW+"px; height:30px;  border-width:1; background-color='#797979'\" z-index:1 onmouseover='displayMenu51()' onmouseout='hideMenu51()'>");
	document.write(	"	<TABLE  BORDER='0' WIDTH='167'  HEIGHT='30' BGCOLOR="+colorMenuBorder+">");
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor='#431C45'\" onmouseout=\"this.bgColor=colorMenuOut\"   BGCOLOR="+colorMenuOut+"><SPAN style='color:#00FF00'><B><CENTER>INFOS PRATIQUES</CENTER></B></SPAN></TD>");
	document.write(	"		</TR>");
	document.write(	"	</TABLE>");
	document.write(	"</DIV>");





//<!-- SOUS MENU POUR IPERMA> -->

	document.write(	"	<DIV ID='ID_MENU41' style=\"position: absolute; left:"+accX+"px; top:271px; width:150px; height:60px; border-width:1; background-color='#797979'\" z-index:1 onmouseover='displayMenu41()' onmouseout='hideMenu41()'>");
	document.write(	"	<TABLE  BORDER='0' WIDTH='167'  HEIGHT='229' BGCOLOR="+colorMenuBorder+">");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='histoire.html'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>HISTOIRE</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='administration.html'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>ADMINISTRATION</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='self.html'\" BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>SELF</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='internat.html'\" BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>INTERNAT</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"javascript:displayMenu115();\" onmouseout=\"javascript:hideMenu115();\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>IPERMA EN LIGNE</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='projets.html'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>PROJETS</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='index.html'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>PAGE D'ACCUEIL</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"	</TABLE>");
	document.write(	"</DIV>");



//<!-- SOUS MENU POUR LES SPECIFICITES -->

	document.write(	"	<DIV ID='ID_MENU21' style=\"position: absolute; left:"+imX+"px; top:271px; width:150px; height:60px; border-width:1; background-color='#797979'\" z-index:1 onmouseover='displayMenu21()' onmouseout='hideMenu21()'>");
	document.write(	"	<TABLE  BORDER='0' WIDTH='167'  HEIGHT='262' BGCOLOR="+colorMenuBorder+">");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='cdi.html'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>CDI</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='labo.html'\" BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>LABORATOIRE</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='informatique.html'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>SALLE INFORMATIQUE</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"javascript:displayMenu619();\" onmouseout=\"javascript:hideMenu619();\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>AGROEQUIPEMENT</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='puericulture.html'\" BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>PUERICULTURE</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='cuisine-pedagogique.html'\" BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>CUISINE PEDAGOGIQUE</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
		
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='resto-pedagogique.html'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>RESTAUR. PEDAGOGIQUE</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='labo-lang.html'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>LABO DE LANGUES</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"	</TABLE>");
	document.write(	"</DIV>");



//<!-- SOUS MENU POUR LES METIERS> -->

	document.write(	"	<DIV ID='ID_MENU11' style=\"position: absolute; left:"+specX+"px; top:271px; width:150px; height:60px; border-width:1; background-color='#797979'\" z-index:1 onmouseover='displayMenu11()' onmouseout='hideMenu11()'>");
	document.write(	"	<TABLE  BORDER='0' WIDTH='167'  HEIGHT='65' BGCOLOR="+colorMenuBorder+">");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='metiers bep.html'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>Avec BAC PRO S.A.P.A.T.</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='metiers bac.html'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>Avec BAC PRO AGRO</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"	</TABLE>");
	document.write(	"</DIV>");





//<!-- SOUS MENU POUR LES FORMATIONS> -->

	document.write(	"	<DIV ID='ID_MENU31' style=\"position: absolute; left:"+mulX+"px; top:271px; width:150px; height:60px; border-width:1; background-color='#797979'\" z-index:1 onmouseover='displayMenu31()' onmouseout='hideMenu31()'>");
	document.write(	"	<TABLE  BORDER='0' WIDTH='167'  HEIGHT='98' BGCOLOR="+colorMenuBorder+">");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='form-init.html'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>FORMATION INITIALE</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='form-app.html'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>FORM. EN APPRENTISSAGE</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='form-continue.html'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>FORMATION CONTINUE</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"	</TABLE>");
	document.write(	"</DIV>");





//<!-- SOUS MENU POUR LES NEWS> -->

	document.write(	"	<DIV ID='ID_MENU61' style=\"position: absolute; left:"+hypX+"px; top:271px; width:150px; height:60px; border-width:1; background-color='#797979'\" z-index:1 onmouseover='displayMenu61()' onmouseout='hideMenu61()'>");
	document.write(	"	<TABLE  BORDER='0' WIDTH='167'  HEIGHT='98' BGCOLOR="+colorMenuBorder+">");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='news.html'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>CETTE ANNEE</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='news-histo.html'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>HISTORIQUE</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='portes-ouvertes.html'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>PORTES OUVERTES</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"	</TABLE>");
	document.write(	"</DIV>");





//<!-- SOUS MENU POUR LES INFOS PRATIQUES -->

	document.write(	"	<DIV ID='ID_MENU51' style=\"position: absolute; left:"+linkX+"px; top:271px; width:150px; height:100px; border-width:1; background-color='#797979'\" z-index:1 onmouseover='displayMenu51()' onmouseout='hideMenu51()'>");
	document.write(	"	<TABLE  BORDER='0' WIDTH='167'  HEIGHT='158' BGCOLOR="+colorMenuBorder+">");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='liens.html'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>LIENS UTILES</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"javascript:displayMenu612();\" onmouseout=\"javascript:hideMenu612();\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>VIE SCOLAIRE</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='http://maps.google.fr/maps?f=q&source=s_q&hl=fr&geocode=&q=iperma&sll=46.75984,1.738281&sspn=12.78223,22.741699&ie=UTF8&hq=iperma&hnear=&z=13&iwloc=A'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>LOCALISATION</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='contact.html'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>NOUS CONTACTER</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"javascript:displayMenu615();\" onmouseout=\"javascript:hideMenu615();\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>TELECHARGER</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"	</TABLE>");
	document.write(	"</DIV>");
	document.write(	"<BR><BR><BR><BR>	");





//<!-- IPERMA - IPERMA EN LIGNE -->

	var satX = imX+imW-2;
	document.write(	"	<DIV ID='ID_MENU115' style=\"position: absolute; left:"+imX+"px; top:386px; width:150px; height:40px; border-width:1; background-color='#797979'\" z-index:1 onmouseover='displayMenu115();displayMenu41();' onmouseout='hideMenu115();hideMenu41();'>");
	document.write(	"	<TABLE  BORDER='0' WIDTH='197'  HEIGHT='68' BGCOLOR="+colorMenuBorder+">");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='http://www.ent-iperma.fr'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>ESP. NUMERIQUE DE TRAVAIL</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='construction.html'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>ELEMENTS DE COURS</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"	</TABLE>");
	document.write(	"</DIV>");


//<!-- INFOS PRATIQUES - VIE SCOLAIRE -->

	var satX = imX+imW-2;
	document.write(	"	<DIV ID='ID_MENU612' style=\"position: absolute; left:"+hypX+"px; top:286px; width:150px; height:40px; border-width:1; background-color='#797979'\" z-index:1 onmouseover='displayMenu612();displayMenu51();' onmouseout='hideMenu612();hideMenu51();'>");
	document.write(	"	<TABLE  BORDER='0' WIDTH='167'  HEIGHT='68' BGCOLOR="+colorMenuBorder+">");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='horaires.html'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>HORAIRES</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='REGLEMENT INTERIEUR IPERMA.pdf'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>CHARTE DE VIE</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"	</TABLE>");
	document.write(	"</DIV>");


//<!-- INFOS PRATIQUES - TELECHARGER -->

	var satX = imX+imW-2;
	document.write(	"	<DIV ID='ID_MENU615' style=\"position: absolute; left:"+hypX+"px; top:380px; width:150px; height:40px; border-width:1; background-color='#797979'\" z-index:1 onmouseover='displayMenu615();displayMenu51();' onmouseout='hideMenu615();hideMenu51();'>");
	document.write(	"	<TABLE  BORDER='0' WIDTH='167'  HEIGHT='102' BGCOLOR="+colorMenuBorder+">");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='inscription-iperma.pdf'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>DOSSIER D'INSCRIPTION</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='calendrier 2011-2012 IPERMA.pdf'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>CALENDRIER SCOLAIRE</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='Employeurs BACs.pdf'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>INFOS POUR EMPLOYEURS</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"	</TABLE>");
	document.write(	"</DIV>");


//<!-- AGRO -->

	var satX = imX+imW-2;
	document.write(	"	<DIV ID='ID_MENU619' style=\"position: absolute; left:"+specX+"px; top:367px; width:150px; height:40px; border-width:1; background-color='#797979'\" z-index:1 onmouseover='displayMenu619();displayMenu21();' onmouseout='hideMenu619();hideMenu21();'>");
	document.write(	"	<TABLE  BORDER='0' WIDTH='167'  HEIGHT='136' BGCOLOR="+colorMenuBorder+">");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='ateliers.html'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>ATELIERS AGRO</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='conduite.html'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>CONDUITE D'ENGINS</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"javascript:displayMenu620();\" onmouseout=\"javascript:hideMenu620();\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>BANCS D'ESSAIS</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='activites_agro.html'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>ACTIVITES AGRO</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"	</TABLE>");
	document.write(	"</DIV>");


//<!-- BANCS D'ESSAIS -->

	var satX = imX+imW-2;
	document.write(	"	<DIV ID='ID_MENU620' style=\"position: absolute; left:"+mulX+"px; top:417px; width:150px; height:40px; border-width:1; background-color='#797979'\" z-index:1 onmouseover='displayMenu620();displayMenu619();' onmouseout='hideMenu620();hideMenu619();'>");
	document.write(	"	<TABLE  BORDER='0' WIDTH='167'  HEIGHT='68' BGCOLOR="+colorMenuBorder+">");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='banc_electrique.html'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>ELECTRICITE</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"		<TR>");
	document.write(	"			<TD onmouseover=\"this.bgColor=colorMenu\" onmouseout=\"this.bgColor=colorMenuOut\" onClick=\"location='banc_hydraulique.html'\"  BGCOLOR="+colorMenuOut+">");
	document.write(	"				<CENTER>HYDRAULIQUE</CENTER>");
	document.write(	"			</TD>");
	document.write(	"		</TR>");
	
	document.write(	"	</TABLE>");
	document.write(	"</DIV>");



}


// FONCTIONS

function displayMenu11() 
{                     
  if (navigator.appName=='Microsoft Internet Explorer')
  {
       document.all.ID_MENU11.style.visibility='visible';
  }
  else
  {
       document.getElementById('ID_MENU11').style.visibility='visible';
  }
}		

	
function hideMenu11() 
{                    
  if (navigator.appName=='Microsoft Internet Explorer')
  {
       document.all.ID_MENU11.style.visibility='hidden';
  }
  else
  {
       document.getElementById('ID_MENU11').style.visibility='hidden';
  }
}


// FONCTIONS

function displayMenu21() 
{                     
  if (navigator.appName=='Microsoft Internet Explorer')
  {
       document.all.ID_MENU21.style.visibility='visible';
  }
  else
  {
       document.getElementById('ID_MENU21').style.visibility='visible';
  }
}		

	
function hideMenu21() 
{                    
  if (navigator.appName=='Microsoft Internet Explorer')
  {
       document.all.ID_MENU21.style.visibility='hidden';
  }
  else
  {
       document.getElementById('ID_MENU21').style.visibility='hidden';
  }
}



// FONCTIONS

function displayMenu31() 
{                     
  if (navigator.appName=='Microsoft Internet Explorer')
  {
       document.all.ID_MENU31.style.visibility='visible';
  }
  else
  {
       document.getElementById('ID_MENU31').style.visibility='visible';
  }
}		

	
function hideMenu31() 
{                    
  if (navigator.appName=='Microsoft Internet Explorer')
  {
       document.all.ID_MENU31.style.visibility='hidden';
  }
  else
  {
       document.getElementById('ID_MENU31').style.visibility='hidden';
  }
}



// FONCTIONS

function displayMenu41() 
{                     
  if (navigator.appName=='Microsoft Internet Explorer')
  {
       document.all.ID_MENU41.style.visibility='visible';
  }
  else
  {
       document.getElementById('ID_MENU41').style.visibility='visible';
  }
}		

	
function hideMenu41() 
{                    
  if (navigator.appName=='Microsoft Internet Explorer')
  {
       document.all.ID_MENU41.style.visibility='hidden';
  }
  else
  {
       document.getElementById('ID_MENU41').style.visibility='hidden';
  }
}


// FONCTIONS

function displayMenu51() 
{                     
  if (navigator.appName=='Microsoft Internet Explorer')
  {
       document.all.ID_MENU51.style.visibility='visible';
  }
  else
  {
       document.getElementById('ID_MENU51').style.visibility='visible';
  }
}		

	
function hideMenu51() 
{                    
  if (navigator.appName=='Microsoft Internet Explorer')
  {
       document.all.ID_MENU51.style.visibility='hidden';
  }
  else
  {
       document.getElementById('ID_MENU51').style.visibility='hidden';
  }
}





// FONCTIONS

function displayMenu61() 
{                     
  if (navigator.appName=='Microsoft Internet Explorer')
  {
       document.all.ID_MENU61.style.visibility='visible';
  }
  else
  {
       document.getElementById('ID_MENU61').style.visibility='visible';
  }
}		

	
function hideMenu61() 
{                    
  if (navigator.appName=='Microsoft Internet Explorer')
  {
       document.all.ID_MENU61.style.visibility='hidden';
  }
  else
  {
       document.getElementById('ID_MENU61').style.visibility='hidden';
  }
}





// FONCTIONS

function displayMenu115() 
{                     
  if (navigator.appName=='Microsoft Internet Explorer')
  {
       document.all.ID_MENU115.style.visibility='visible';
  }
  else
  {
       document.getElementById('ID_MENU115').style.visibility='visible';
  }
}		

	
function hideMenu115() 
{                    
  if (navigator.appName=='Microsoft Internet Explorer')
  {
       document.all.ID_MENU115.style.visibility='hidden';
  }
  else
  {
       document.getElementById('ID_MENU115').style.visibility='hidden';
  }
}



// FONCTIONS

function displayMenu612() 
{                     
  if (navigator.appName=='Microsoft Internet Explorer')
  {
       document.all.ID_MENU612.style.visibility='visible';
  }
  else
  {
       document.getElementById('ID_MENU612').style.visibility='visible';
  }
}		

	
function hideMenu612() 
{                    
  if (navigator.appName=='Microsoft Internet Explorer')
  {
       document.all.ID_MENU612.style.visibility='hidden';
  }
  else
  {
       document.getElementById('ID_MENU612').style.visibility='hidden';
  }
}


// FONCTIONS

function displayMenu615() 
{                     
  if (navigator.appName=='Microsoft Internet Explorer')
  {
       document.all.ID_MENU615.style.visibility='visible';
  }
  else
  {
       document.getElementById('ID_MENU615').style.visibility='visible';
  }
}		

	
function hideMenu615() 
{                    
  if (navigator.appName=='Microsoft Internet Explorer')
  {
       document.all.ID_MENU615.style.visibility='hidden';
  }
  else
  {
       document.getElementById('ID_MENU615').style.visibility='hidden';
  }
}

// FONCTIONS

function displayMenu619() 
{                     
  if (navigator.appName=='Microsoft Internet Explorer')
  {
       document.all.ID_MENU619.style.visibility='visible';
  }
  else
  {
       document.getElementById('ID_MENU619').style.visibility='visible';
  }
}		

	
function hideMenu619() 
{                    
  if (navigator.appName=='Microsoft Internet Explorer')
  {
       document.all.ID_MENU619.style.visibility='hidden';
  }
  else
  {
       document.getElementById('ID_MENU619').style.visibility='hidden';
  }
}

function displayMenu620() 
{                     
  if (navigator.appName=='Microsoft Internet Explorer')
  {
       document.all.ID_MENU620.style.visibility='visible';
  }
  else
  {
       document.getElementById('ID_MENU620').style.visibility='visible';
  }
}		

	
function hideMenu620() 
{                    
  if (navigator.appName=='Microsoft Internet Explorer')
  {
       document.all.ID_MENU620.style.visibility='hidden';
  }
  else
  {
       document.getElementById('ID_MENU620').style.visibility='hidden';
  }
}
