//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)}

////////////////////////////////////// Editable properties START here //////////////////////////////////////

timegap=500                   // The time delay for menus to remain visible
followspeed=5                 // Follow Scrolling speed
followrate=50                 // Follow Scrolling Rate
suboffset_top=5               // Sub menu offset Top position
suboffset_left=10             // Sub menu offset Left position

PlainStyle=[                  // PlainStyle is an array of properties. You can have as many property arrays as you need
"FFFFCC",                     // Mouse Off Font Color
"306090",                     // Mouse Off Background Color (use zero for transparent in Netscape 6)
"000099",                     // Mouse On Font Color
"0099FF",                     // Mouse On Background Color
"306090",                     // Menu Border Color
"12",                         // Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                     // Font Style (italic or normal)
"normal",                       // Font Weight (bold or normal)
"Arial, Verdana, Tahoma, Helvetica",// Font Name
5,                            // Menu Item Padding or spacing
"/arrow.gif",                  // Sub Menu Image (Leave this blank if not needed)
1,                            // 3D Border & Separator bar
"306090",                     // 3D High Color
"306090",                     // 3D Low Color
"306090",                     // Current Page Item Font Color (leave this blank to disable)
"33CCFF",                       // Current Page Item Background Color (leave this blank to disable)
,                             // Top Bar image (Leave this blank to disable)
"CCCCCC",                     // Menu Header Font Color (Leave blank if headers are not needed)
"000099",                     // Menu Header Background Color (Leave blank if headers are not needed)
,                             // Menu Item Separator Color
]

addmenu(menu=[
"menubound",                  // Menu Name - This is needed in order for this menu to be called
,                             // Menu Top - The Top position of this menu in pixels
,                             // Menu Left - The Left position of this menu in pixels
130,                             // Menu Width - Menus width in pixels
1,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
PlainStyle,                   // 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 menutext alignment, values valid here are: left, right or center
,                             // Filter - Text variable for setting transitional effects on menu activation - see above for info
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
1,                            // 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
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
,"&nbsp;&nbsp;Présentation","show-menu=Sub1","#",,1
,"&nbsp;&nbsp;Echecs","show-menu=Sub2","#",,1
,"&nbsp;&nbsp;Marionnettes","show-menu=Sub3","#",,1
,"&nbsp;&nbsp;Pirouettes","show-menu=Sub4","#",,1
])

addmenu(menu=[
"Sub1",,,135,1,,PlainStyle,0,,,0,0,0,,,0,0,,,0,,,"Fonctionnement","show-menu=Sub1-2","#",,0,"Horaires","show-menu=Sub1-3","#",,0,"Adhérents","show-menu=Sub1-4","#",,0,"Activités","show-menu=Sub1-5","#",,0,"Contact","/html/contact.shtml",,,0])

addmenu(menu=[
"Sub1-2",,,150,1,,PlainStyle,0,,,0,0,0,,,0,0,,,0,,,"Nos valeurs","/html/valeurs.shtml",,,0,"Les acteurs de la MJC","/animateurs/index.php",,,0,"Conseil d'administration","/html/cadmin.shtml",,,0,"Conseil d'animation","/html/canim.shtml",,,0,"Personnel permanent","/html/personnel.shtml",,,0])

addmenu(menu=[
"Sub1-3",,,145,1,,PlainStyle,0,,,0,0,0,,,0,0,,,0,,,"Période scolaire","/html/horscol.shtml",,,0,"Hors période scolaire","/html/horhorscol.shtml",,,0])

addmenu(menu=[
"Sub1-4",,,135,1,,PlainStyle,0,,,0,0,0,,,0,0,,,0,,,"Carte d'adhérent","/html/adherent.shtml",,,0])

addmenu(menu=[
"Sub1-5",,,135,1,,PlainStyle,0,,,0,0,0,,,0,0,,,0,,,"Les activités","show-menu=Sub1-5-1","# ",,0,"Les cotisations","/html/cotisations.shtml",,,0,"Le règlement","/html/reglement.shtml",,,0,"Certificat médical","/html/certificat.shtml",,,0])

addmenu(menu=[
"Sub1-5-1",,,150,1,,PlainStyle,0,,,0,0,0,,,0,0,,,0,,,"Toutes les activités","/activites/activites.php",,,0,"L'annuaire des activités","/activites/annuaire.php",,,0,"Rechercher une activité","/activites/search.php",,,0])

addmenu(menu=[
"Sub2",,,135,1,,PlainStyle,0,,,0,0,0,,,0,0,,,0,,,"Les Echecs","/echec/index.shtml",,,0,"Les parties","/echec/viewer/index.shtml",,,0,"Les actualités","/echec/interview/index.shtml",,,0,"Les interviews","/echec/actualite/index.shtml",,,0,"La partie du jour","/echec/partie/index.shtml",,,0])

addmenu(menu=[
"Sub3",,,175,1,,PlainStyle,0,,,0,0,0,,,0,0,,,0,,,"Les compagnies","/marionnettes/companies.php",,,0,"L'annuaire des compagnies","/marionnettes/annuaire.php",,,0,"Rechercher une compagnie","/marionnettes/search.php",,,0,"Programme du Festival OFF","/programmation/index.php",,,0,"Modalités de réservation","/marionnettes/reservation.php",,,0,"Album-photo des spectacles","/marionnettes/album.php",,,0])

addmenu(menu=[
"Sub4",,,135,1,,PlainStyle,0,,,0,0,0,,,0,0,,,0,,,"Présentation","/pirouettes/presentation.shtml",,,0,"Elabore","/pirouettes/elabore.shtml",,,0,"Programmation","/pirouettes/pirouettes.php",,,0,"Contacts","/pirouettes/contact.shtml",,,0])

dumpmenus();
