/*
Gary Bourgouin aider par Anthony Constantin Perso Script

*/


//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="<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 //
////////////////////////////////////


effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"


timegap=500			// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=4;	// Sub menu offset Top position 
suboffset_left=6;	// Sub menu offset Left position
closeOnClick = true

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.
"navy",				// Mouse Off Font Color
"ccccff",			// Mouse Off Background Color
"ffebdc",			// Mouse On Font Color
"4b0082",			// Mouse On Background Color
"000000",			// Menu Border Color 
12,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Verdana, Arial",	// Font Name
4,					// Menu Item Padding
"arrow.gif",		// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"66ffff",			// 3D High Color
"000099",			// 3D Low Color
"Purple",			// Current Page Item Font Color (leave this blank to disable)
"pink",				// Current Page Item Background Color (leave this blank to disable)
"arrowdn.gif",		// Top Bar image (Leave this blank to disable)
"ffffff",			// Menu Header Font Color (Leave blank if headers are not needed)
"000099",			// Menu Header Background Color (Leave blank if headers are not needed)
"navy",				// Menu Item Separator Color
]


addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
140,					// Menu Top - The Top position of the menu in pixels
110,				// Menu Left - The Left position of the menu in pixels
,					// 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"
style1,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left",				// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,					// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Background image for menu when BGColor set to transparent.
,					// Scrollable Menu
,					// Reserved for future use


// INSERTION DU MENU PRINCIPAL
,"&nbsp;&nbsp;Accueil&nbsp;&nbsp;","accueil.htm",,"Back to the home page",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"&nbsp;&nbsp;Combloux&nbsp;&nbsp;&nbsp;","show-menu=combloux",,"",1
,"&nbsp;&nbsp;Le&nbsp;Centre&nbsp;&nbsp;&nbsp;","show-menu=centre",,"",1
,"&nbsp;&nbsp;Les&nbsp;Séjours&nbsp;&nbsp;&nbsp;","show-menu=sejours",,"",1
,"&nbsp;&nbsp;Les&nbsp;activités&nbsp;&nbsp;&nbsp;","show-menu=activites",,"",1
,"&nbsp;&nbsp;Page&nbsp;Enseignant&nbsp;&nbsp;&nbsp;","show-menu=Pages enseignant",,"",1
,"&nbsp;&nbsp;Les&nbsp;Plus&nbsp;&nbsp;&nbsp;","show-menu=plus",,"",1
,"&nbsp;&nbsp;Contact&nbsp;&nbsp;&nbsp;","contact.htm",,"",1

])
	//INSERTION DES SOUS-MENU
	
	//déclaration du menu pour la catégories Combloux
	addmenu(menu=["combloux",
	,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Le Village","combloux.html",,,0
	,"Historique","comblouxhistorique.html",,,0
	])
	
	//déclaration du menu pour la catégories centre
	addmenu(menu=["centre",
	,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Le vieux Combaz","chaletlevieuxcombaz.htm",,,0
	,"Combaz noire","chaletcombaznoir.htm",,,0
	,"Combaz rouge","chaletcombazrouge.htm",,,0
	,"Les extérieurs","chaletexterieur.htm",,,0
	,"La ferme","chaletferme.htm",,,0
		])

	//déclaration du menu pour la catégories sejours
	addmenu(menu=["sejours",
	,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Les Classes","sejourclasse.htm",,,0
	,"Les Colos","sejourcolo.htm",,,0
	,"Les Maisons Familiales","sejourfamille.htm",,,0
	,"Le Troisième Age","sejourtroisiemeage.htm",,,0
	])
	
	//déclaration du menu pour la catégories Activités
	addmenu(menu=["",
	,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Activités Estivales","show-menu=activ_ete",,,1
	,"Activités Hivernales","show-menu=activ_hiver",,,1
	,"Activités Pédagogiques","show-menu=activ_pedago",,,1
	])
	//déclaration du sous menu pour la catégories été
	addmenu(menu=["activ_ete",
	,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Equitation","actequitation.htm",,,0
	,"Escalade","actescalade.htm",,,0
	,"Randonnées","actrandos.htm",,,0
	,"Baignade","actbaignade.htm",,,0
	,"Remontée de torrent","acttorrent.htm",,,0
	,"Luge d'été","actlugeete.htm",,,0
	,"Autres","actautresestivales.htm",,,0
	])
	//déclaration du sous menu pour la catégories hiver
	addmenu(menu=["activ_hiver",
	,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Ski alpin","actskialpin.htm",,,0
	,"Ski de fond","actskifond.htm",,,0
	,"Snowboard","actsnowboard.htm",,,0
	,"Ski nocturne","actskinocturne.htm",,,0
	,"Luge","actluge.htm",,,0
	,"Jeux de neige","actjeuxdeneige.htm",,,0
	,"Raquette","actraquette.htm",,,0
	,"Patinoire","actpatinoire.htm",,,0
	,"Autres","actautreshivernales.htm",,,0
	])
	
	//déclaration du sous menu pour la catégories pédagogique
	addmenu(menu=["activ_pedago",
	,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Les Rubins","actrubins.htm",,,0
	,"La Ferme","actferme.htm",,,0
	,"La Fromagerie","actfromagerie.htm",,,0
	,"Musée du Haut Val d'Arly","actarly.htm",,,0
	,"Le Guide","actguide.htm",,,0
	,"Le pisteur","actpisteur.htm",,,0
	,"L'ONF","actonf.htm",,,0
	,"Le Typographe sur Bois","acttypo.htm",,,0
	,"Le Glacier des Bossons","actbossons.htm",,,0
	,"Le Parc Merlet","actmerlet.htm",,,0
	,"Parcours photos","actparcoursphotos.htm",,,0
	,"Lecture de paysage","actlecture.htm",,,0
	,"Vieux chalets","actvieuxchalets.htm",,,0
	,"Sentier du Granit","actgranit.htm",,,0
	,"Rallye Combloux","actrallye.htm",,,0
	,"Fabrication de pain","actpain.htm",,,0
	,"Fabrication de cidre","actcidre.htm",,,0
	,"Chez Honorine","acthonorine.htm",,,0
	,"Trivial Combloux","acttrivial.htm",,,0
	,"Autres","actpedaautres.htm",,,0
	])
	
	//déclaration du menu pour la catégories Pages Enseignant
	addmenu(menu=["Pages Enseignant",
	,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Page réservée","pageenseignants.htm",,,0
	])
	
	//déclaration du  menu pour la catégories Plus
	addmenu(menu=["plus",
	,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Le coin des Anims","anims.htm",,,0
	,"Sites Coup de Coeur","coupdecoeur.htm",,,0
	])

dumpmenus()
