﻿Largeur = 920; // ditter (largeur de la partie utilisée pour l'affichage ex : une partie de 900 centrée)
//Ecart = '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
Ecart = '&nbsp;&nbsp;&nbsp;&nbsp;';

menunum=0;
menus=new Array();
_d=document;
function addmenu()
{
	menunum++;
	menus[menunum]=menu;
}

function dumpmenus()
{
	mt="<script id=\"script\" language=\"javascript\">";
	for(a=1;a<menus.length;a++)
	{
		mt+=" menu"+a+"=menus["+a+"];"
	}
	mt+="<\/script>";
	_d.write(mt)
}

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=100);Shadow(color='#636163', Direction=135, Strength=5)";
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=5)"; // Stop IE5.5 bug when using more than one filter
}

//if(navigator.appName.indexOf("Explorer") > -1) 
//{
	largeur_menu = 230;
//}
//else
//{
//	largeur_menu = 190;
//}


timegap=500				// The time delay for menus to remain visible
followspeed=5			// Follow Scrolling speed
followrate=40			// Follow Scrolling Rate
suboffset_top=0;		// Sub menu offset Top position 
suboffset_left=0;		// 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.
"c7c7c7",				// Mouse Off Font Color
"000000",				// Mouse Off Background Color
"000000",				// Mouse On Font Color
"cdcdcd",				// Mouse On Background Color
"70738D",				// Menu Border Color 
11,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
7,						// Menu Item Padding
Chemin+"objets/images/fleche_menu_droite.gif",			// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"66ffff",				// 3D High Color
"000099",				// 3D Low Color
"000000",				// Current Page Item Font Color (leave this blank to disable)
"dcdcdc",					// Current Page Item Background Color (leave this blank to disable)
,//"objets/images/fleche_menu_bas.gif",			// Top Bar image (Leave this blank to disable)
"ffffff",				// Menu Header Font Color (Leave blank if headers are not needed)
"000000",				// Menu Header Background Color (Leave blank if headers are not needed)
]



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
282,					// Menu Top - The Top position of the menu in pixels
0,				// Menu Left - The Left position of the menu in pixels
largeur_menu,					// Menu Width - Menus width in pixels
0,					// Menu Border Width 
"user",					// 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)
"right",				// 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
0,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
0, 					// 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)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use
,"Accueil du site"+Ecart,				Chemin+"index.php",,"",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Actualités"+Ecart,						Chemin+"actualites.php",,"",1
,"Evènements"+Ecart,						"show-menu=evenements",,"",1
,"Accès forum"+Ecart,						"http://sportster-club-france.leforum.eu/index.php target=_blank",,"",1
,"News"+Ecart,									Chemin+"news.php",,"",1
,"Tableau des révisions"+Ecart,	Chemin+"tab_revisions.php",,"",1
,"Tableau des pannes"+Ecart,		Chemin+"tab_pannes.php",,"",1
,"Téléchargements"+Ecart,				Chemin+"telechargements.php",,"",1
,"Liens"+Ecart,									"show-menu=liens",,"",1
,"La boutique"+Ecart,						Chemin+"boutique.php",,"",1
,"Presse / Médias"+Ecart,				Chemin+"presse_medias/index.php",,"",1
,"Partenaires, sponsors"+Ecart,	Chemin+"partenaires-sponsors.php",,"",1
,"Réservé aux membres"+Ecart,		Chemin+"membres.php",,"",1
,"Contacter le club"+Ecart,			Chemin+"contact.php",,"",1
])

	addmenu(menu=["liens",
	,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Le blog",Chemin+"liens.php",,,0
	,"Clubs & forums étrangers",Chemin+"clubs.php",,,0
	])
	
	addmenu(menu=["evenements",
	,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"1ère concentre - 2009",Chemin+"concentres/2009.php",,,0
	,"2ème concentre - 2010",Chemin+"concentres/2010.php",,,0
	,"3ème concentre - 2011",Chemin+"concentres/2011.php",,,0
	,"4ème concentre - 2012",Chemin+"concentres/2012.php",,,0	
	])
	
	addmenu(menu=["archives",
	,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Photos","show-menu=#",,,0
	,"Vidéos","show-menu=#",,,0
	])

				
dumpmenus()
