                                                                                //The following line is critical for menu operation, and MUST APPEAR ONLY ONCE.
menunum=0;menus=new Array();_d=document;
function addmenu()
{menunum++;menus[menunum]=menu;}
function dumpmenus()
{
	mt="<scr"+"ipt language=JavaScript>";
	for(a=1;a<menus.length;a++)   
	{mt+=" menu"+a+"=menus["+a+"];"}
	mt+="<\/scr"+"ipt>";
	_d.write(mt)
}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless you have more than one _array.js file

////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

timegap=500                   // The time delay for menus to remain visible
followspeed=15                 // Follow Scrolling speed
followrate=100                 // Follow Scrolling Rate
suboffset_top=10               // Sub menu offset Top position
suboffset_left=10             // Sub menu offset Left position



ScrollingSampStyle=[          // ScrollingSampStyle is an array of properties. You can have as many property arrays as you need
"5b5b5b",                     // Mouse Off Font Color
"e5e5e5",                     // Mouse Off Background Color (use zero for transparent in Netscape 6)
"e5e5e5",                     // Mouse On Font Color
"5b5b5b",                     // Mouse On Background Color
"ffffff",                    // Menu Border Color
"10",                         // Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                     // Font Style (italic or normal)
"bold",                       // Font Weight (bold or normal)
"verdana",					  // Font Name
7,                            // Menu Item Padding or spacing
,                             // Sub Menu Image (Leave this blank if not needed)
0,                            // 3D Border & Separator bar
,                             // 3D High Color
,                             // 3D Low Color
,                             // Current Page Item Font Color (leave this blank to disable)
,                             // Current Page Item Background Color (leave this blank to disable)
,                             // Top Bar image (Leave this blank to disable)
,                             // Menu Header Font Color (Leave blank if headers are not needed)
,                             // Menu Header Background Color (Leave blank if headers are not needed)
,                             // Menu Item Separator Color
]


addmenu(menu=[
"FollowMain",                 // Menu Name - This is needed in order for this menu to be called
150,                           // Menu Top - The Top position of this menu in pixels
(screen.width-780)/2,         // Menu Left - The Left position of this menu in pixels
165,                          // Menu Width - Menus width in pixels
1,                            // Menu Border Width
"center",                     // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
ScrollingSampStyle,           // Properties Array - this array is declared higher up as you can see above
1,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
,                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
"Fade(duration=0.1);",//Shadow(color=777777, Direction=135, Strength=5)",// Filter - Text variable for setting transitional effects on menu activation - see above for more info
1,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
1,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
//,"Présentation","show-menu=Présentation","#",,1
//,"Cadre juridique","show-menu=Cadre juridique","#",,1
//,"Activités","show-menu=Activités","#",,1
//,"Etat de l'environnement","show-menu=Etat de lenvironnement","#",,1
//,"Partenariat","show-menu=Partenaire","#",,1
//,"Etudes d'impact","show-menu=Etude dimpact","#",,1
//,"Projets","index.asp?param=10_projets/projets.htm",,,1 
//,"FODEP","show-menu=FODEP","#",,1
//,"Laboratoire National","show-menu=Laboratoire National","#",,1
//,"Bases de données","show-menu=Bases de données","#",,1
//,"Documentations","index.asp?param=12_publications/index.htm",,,1
,"Présentation","show-menu=Présentation","#",,1
,"Cadre juridique","show-menu=Cadre juridique","#",,1
,"Etudes d'impact","show-menu=Etude dimpact","#",,1
,"Etat de l'environnement","show-menu=Etat de lenvironnement","#",,1
,"Laboratoire National","show-menu=Laboratoire National","#",,1
,"Risques et prévention","show-menu=pun","#",,1
,"Partenariat","show-menu=Partenaire","#",,1
,"Coopération","show-menu=Coopération","#",,1
,"Activités","show-menu=Activités","#",,1
,"Programmes et projets","index.asp?param=10_projets/projets.htm",,,1 
,"Bases de données","show-menu=Bases de données","#",,1
,"Documentation","show-menu=Documentations","#",,1
])



addmenu(menu=[
"Présentation",
,
,
140,
1,
,
ScrollingSampStyle,
0,
,
"Fade(duration=0.1);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Le Ministre","index.asp?param=1_presentation/ministre.htm",,,1
,"Organigramme","index.asp?param=1_presentation/organigramme.htm",,,1
,"Missions","index.asp?param=1_presentation/missions.htm",,,1
,"Stratégie","index.asp?param=1_presentation/strategie09.htm",,,1
,"Plan d'action","index.asp?param=1_presentation/strategie09.htm",,,1
//,"Plan d'action","index.asp?param=home/plan.htm",,,1
,"CNE","index.asp?param=1_presentation/cne.htm",,,1
])


addmenu(menu=[
"Cadre juridique",
,
,
150,
1,
,
ScrollingSampStyle,
0,
,
"Fade(duration=0.1);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Stratégie","index.asp?param=2_cadre_juridique/strategie.htm",,,1
,"Textes juridiques","index.asp?param=2_cadre_juridique/textes_juridiques.htm",,,1
,"Normes","index.asp?param=2_cadre_juridique/normes.htm",,,1
,"Contrôle","index.asp?param=2_cadre_juridique/controle.htm",,,1
,"Conventions et accords","index.asp?param=2_cadre_juridique/conventions_accords.htm",,,1
])

addmenu(menu=[
"Etude dimpact",
,
,
200,
1,
,
ScrollingSampStyle,
0,
,
"Fade(duration=0.1);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Présentation générale","index.asp?param=3_etudes_d-impact/presentation_generale.htm",,,1
,"Procédure d'assujettissement","index.asp?param=3_etudes_d-impact/procedure_de_gestion.htm",,,1
,"Avis de projet","index.asp?param=3_etudes_d-impact/avis_de_projet.htm",,,1
,"Directives","index.asp?param=3_etudes_d-impact/directives.htm",,,1
])


addmenu(menu=[
"Laboratoire National",
,
,
150,
1,
,
ScrollingSampStyle,
0,
,
"Fade(duration=0.1);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Historique","index.asp?param=4_laboratoire_national/historique.htm",,,1
,"Missions et Activités","index.asp?param=4_laboratoire_national/Mis_act.htm",,,1
,"Moyens Humains","index.asp?param=4_laboratoire_national/moyens_humains.htm",,,1
,"Moyens Matériels","index.asp?param=4_laboratoire_national/moyens_materiels.htm",,,1
,"Cellules du Laboratoire","index.asp?param=4_laboratoire_national/Cellules_Laboratoire.htm",,,1
,"Principales activités","index.asp?param=4_laboratoire_national/Bilan_2002.htm",,,1
])

addmenu(menu=[
"pun",
,
,
180,
1,
,
ScrollingSampStyle,
0,
,
"Fade(duration=0.1);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
, 
 
 

,"Risques","index.asp?param=5_pun/risques.htm",,,1
,"PUN","index.asp?param=5_pun/presentation.htm",,,1
,"Textes juridiques","../5_pun/textejurid.htm",,,1
,"Accidents","index.asp?param=5_pun/accidents.htm",,,1
,"Exercice de simulation","index.asp?param=5_pun/simulation.htm",,,1
,"Programme d'Action","index.asp?param=5_pun/programmedaction.htm",,,1
])


 

addmenu(menu=[
"Partenaire",
,
,
160,
1,
,
ScrollingSampStyle,
0,
,
"Fade(duration=0.1);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
//,"Coopération","show-menu=Coopération","#",,1
,"Organismes publics","index.asp?param=6_partenaire/organismespublics.htm",,,1
,"Collectivités locales","index.asp?param=6_partenaire/collectiviteslocales.htm",,,1
,"Opérateurs économiques","index.asp?param=6_partenaire/operateurseconomiques.htm",,,1
,"ONG","index.asp?param=6_partenaire/listeong.htm",,,1
,"Fondation Mohamed VI","index.asp?param=home/fondM6.htm",,,1
])

addmenu(menu=[
"Coopération",
,
,
100,
1,
,
ScrollingSampStyle,
0,
,
"Fade(duration=0.1);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Multilatérale","index.asp?param=7_cooperation/multilaterale.htm",,,1
,"Bilatérale","index.asp?param=7_cooperation/bilaterale.htm",,,1
])
addmenu(menu=[
"Etat de lenvironnement",
,
,
140,
1,
,
ScrollingSampStyle,
0,
,
"Fade(duration=0.1);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Rapport national","index.asp?param=8_etat_de_l-environnement/sommaire.htm",,,1
,"Résumé","../onem/livre/reem_francais.pdf",,,1
,"Eau","../8_etat_de_l-environnement/eau.htm",,,1
,"Air","../8_etat_de_l-environnement/air.htm",,,1
,"Sol","../8_etat_de_l-environnement/sol.htm",,,1
,"Déchets","../8_etat_de_l-environnement/dechets.htm",,,1
])
addmenu(menu=[
"Activités",
,
,
180,
1,
,
ScrollingSampStyle,
0,
,
"Fade(duration=0.1);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Bilan","index.asp?param=9_activites/bilan.htm",,,1
//,"Activités du Ministre","index.asp?param=9_activites/act_sercetaire.asp",,,1
,"Activités du Département","index.asp?param=9_activites/act_sercetariat.asp",,,1
,"Agenda","index.asp?param=9_activites/agenda.asp",,,1
,"journée mondial de l'Environnement","index.asp?param=9_activites/jme.htm",,,1
,"Prix Hassan II","index.asp?param=9_activites/px_HII.htm",,,1
,"Dossier de l'année","index.asp?param=home/Dossier_de_l-annee.htm",,,1])
addmenu(menu=[
"Bases de données",
,
,
160,
1,
,
ScrollingSampStyle,
0,
,
"Fade(duration=0.1);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Chercheurs","index.asp?param=11_bases_de_données/chercheurs.asp",,,1
,"ONG","index.asp?param=11_bases_de_données/ongencours.htm",,,1
//,"ONG","index.asp?param=11_bases_de_données/ong.asp",,,1
,"Bases de données ONEM","index.asp?param=11_bases_de_données/onem.asp",,,1
])
addmenu(menu=[
"Documentations",
,
,
120,
1,
,
ScrollingSampStyle,
0,
,
"Fade(duration=0.1);Shadow(color=777777, Direction=135, Strength=5)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
//,"Documentations","index.asp?param=12_publications/index.htm",,,1
,"Documentation","index.asp?param=12_publications/index.htm",,,1
,"Publications","index.asp?param=12_publications/documentations.htm",,,1
])			
dumpmenus();