//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.

////////////////////////////////////
// Editable properties START here //
////////////////////////////////////
// Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters
if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=100);Shadow(color='#777777', Direction=135, Strength=5)"
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=5)" // Stop IE5.5 bug when using more than one filter
}
timegap=500			// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=10;	// Sub menu offset Top position 
suboffset_left=10;	// Sub menu offset Left position

style1=[			// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"ffffff",				// Mouse Off Font Color
"7fc0f8",			// Mouse Off Background Color
"ffffff",			// Mouse On Font Color
"00a6ec",			// Mouse On Background Color
"ffffff",			// Menu Border Color 
11,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"arial, helvetica",	// Font Name
3,					// Menu Item Padding
,		// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"000000",			// 3D High Color
"000000",			// 3D Low Color
"ffffff",			// Current Page Item Font Color (leave this blank to disable)
"d5d8ea",				// Current Page Item Background Color (leave this blank to disable)
,		// Top Bar image (Leave this blank to disable)
"ffffff",			// Menu Header Font Color (Leave blank if headers are not needed)
"c00000",			// Menu Header Background Color (Leave blank if headers are not needed)
"white",			// Menu Item Separator Color
]
style2=[
"0082bb",				// Mouse Off Font Color
"ffd200",			// Mouse Off Background Color
"ffffff",			// Mouse On Font Color
"aecb5d",			// Mouse On Background Color
"ffffff",			// Menu Border Color 
11,
"normal",
"bold",
"arial, helvetica",
3,
,
,
"000000",
"000000",
"ffffff",			// Current Page Item Font Color (leave this blank to disable)
"aecb5d",				// Current Page Item Background Color (leave this blank to disable)
,
"ffffff",
"c00000",
"white",
]
style3=[
"0082bb",				// Mouse Off Font Color
"ffd200",			// Mouse Off Background Color
"ffffff",			// Mouse On Font Color
"aecb5d",			// Mouse On Background Color
"ffffff",			// Menu Border Color 
11,
"normal",
"bold",
"arial, helvetica",
3,
,
,
"000000",
"000000",
"ffffff",			// Current Page Item Font Color (leave this blank to disable)
"aecb5d",				// Current Page Item Background Color (leave this blank to disable)
,
"ffffff",
"c00000",
"white",
]
style4=[
"0082bb",				// Mouse Off Font Color
"ffd200",			// Mouse Off Background Color
"ffffff",			// Mouse On Font Color
"aecb5d",			// Mouse On Background Color
"ffffff",			// Menu Border Color 
11,
"normal",
"bold",
"arial, helvetica",
3,
,
,
"000000",
"000000",
"ffffff",			// Current Page Item Font Color (leave this blank to disable)
"aecb5d",				// Current Page Item Background Color (leave this blank to disable)
,
"ffffff",
"c00000",
"white",
]
style5=[
"0082bb",				// Mouse Off Font Color
"ffd200",			// Mouse Off Background Color
"ffffff",			// Mouse On Font Color
"aecb5d",			// Mouse On Background Color
"ffffff",			// Menu Border Color 
11,
"normal",
"bold",
"arial, helvetica",
3,
,
,
"000000",
"000000",
"ffffff",			// Current Page Item Font Color (leave this blank to disable)
"aecb5d",				// Current Page Item Background Color (leave this blank to disable)
,
"ffffff",
"c00000",
"white",
]
style6=[
"0082bb",				// Mouse Off Font Color
"ffd200",			// Mouse Off Background Color
"ffffff",			// Mouse On Font Color
"aecb5d",			// Mouse On Background Color
"ffffff",			// Menu Border Color 
11,
"normal",
"bold",
"arial, helvetica",
3,
,
,
"000000",
"000000",
"ffffff",			// Current Page Item Font Color (leave this blank to disable)
"aecb5d",				// Current Page Item Background Color (leave this blank to disable)
,
"ffffff",
"c00000",
"white",
]
addmenu(menu=["accueil",85,1,155,1,,style1,1,"left",,,1,,,,,,,,,,,"Accueil","accueil.htm",,,1])

addmenu(menu=["pinternet",85,156,160,1,,style1,1,"left",,,1,,,,,,,,,,,"Activités & Références","show-menu=menu2",,,1])
addmenu(menu=["menu2",
,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
,"> Création de fontaines","creationf.htm",,,1
,"> Réhabilitation de fontaines","rehabili.htm",,,1
,"> Station de relevage","station.htm",,,1
,"> Traitement d'eau","traitement.htm",,,1
,"> Maintenance","mainte.htm",,,1
])

addmenu(menu=["formule",85,316,155,1,,style1,1,"left",,,1,,,,,,,,,,,"Effectifs & Moyens","moyen.htm",,,1])

addmenu(menu=["formation",85,471,155,1,,style1,1,"left",,,1,,,,,,,,,,,"Charte de qualité","charte.htm",,,1])

addmenu(menu=["contact",85,626,152,1,,style1,1,"left",,,1,,,,,,,,,,,"Contact","contact.htm",,,1])

dumpmenus()

var pagemenu='';
var ns4 = (document.layers)? true:false
var ie5 = (document.all)? true:false
var ns6 = (document.getElementById)? true:false
var xtlold=0;
var obj;
var objet;
var objet2;

function init() {
if (ns4&&(page==1)){
  document.layer1.document.anim.src='../images/anim.gif';
  document.layer2.document.plan.src='../images/plan2.gif';
  document.layer3.document.rec.src='../images/search2.gif';}
if (ns6&&(page==1)){
  document.anim.src='../images/anim.gif';
  document.plan.src='../images/plan2.gif';
  document.rec.src='../images/search2.gif';
  }
if (ie5&&(page==1)){
  document.anim.src='../images/anim.gif';
  document.plan.src='../images/plan2.gif';
  document.rec.src='../images/search2.gif';
  }
  
  {if (pagemenu=="Y"){
  goto_bottom=setInterval("move_sommaire()",500)}}
   }
   
function move_sommaire(){
if (document.layers) {
var xtl=parseInt(window.innerHeight);
xtl+=window.pageYOffset;
document.menumobile.top=xtl-75;
if (xtlold !=document.menumobile.top){document.menumobile.document.sommaire.choix.selectedIndex=0;
document.menumobile.document.sommaire.choix.blur();
}
xtlold=document.menumobile.top;
}
if (document.all) {
var xtl=document.body.scrollTop;
xtl+=document.body.offsetHeight;
document.all.menumobile.style.pixelTop=xtl-75;
if (xtlold != document.all.menumobile.style.pixelTop){document.all.menumobile.document.sommaire.choix.selectedIndex=0;
document.all.menumobile.focus();
}
xtlold=document.all.menumobile.style.pixelTop;
}   
if (ns6) {
var xtl=parseInt(window.innerHeight);
xtl+=window.pageYOffset;
document.getElementById("menumobile").style.top=xtl-75;
if (xtlold != document.getElementById("menumobile").style.top){document.sommaire.choix.selectedIndex=0;
//document.getElementById("menumobile").focus();
}
xtlold=document.getElementById("menumobile").style.top;
} 

} 

function flashy()  {
if (document.layers) {document [objet].document.bgColor="#ffffd7";}
if (document.all) {document.all [objet2].bgColor="#ffffd7";}
if (ns6) {document.getElementById(objet2).style.backgroundColor="#ffffd7";}
}
function backflash() {
if (document.layers) {document [objet].document.bgColor=null;}
if (document.all) {document.all [objet2].bgColor='transparent';}
if (ns6) {document.getElementById(objet2).style.backgroundColor="";}
}
function locate(obj) {
objet=obj;
objet2 = objet.replace('i','d');
if ((objet != 'itoppage')&&(objet.substring(0,2)=='it')){
flashy();
flash=setTimeout('backflash()',1000);}
}  