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

effect = "Fade(duration=0.3);Alpha(style=0,opacity=85);Shadow(color='#330000', 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=10;			// Sub menu offset Top position 
suboffset_left=10;			// Sub menu offset Left position
//font_meas = "px"

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.
"6A0000",					// Mouse Off Font Color
"EFE2AE",					// Mouse Off Background Color
"10025B",					// Mouse On Font Color
"EFE2AE",					// Mouse On Background Color
,					// Menu Border Color
12,							// Font Size
"normal",					// Font Style 
"bold",						// Font Weight
"Verdana",	// Font Name
3,							// Menu Item Padding
,	// Sub Menu Image (Leave this blank if not needed)
0,							// 3D Border & Separator bar
"EFE2AE",					// 3D High Color
"330000",					// 3D Low Color
"330000",					// Current Page Item Font Color (leave this blank to disable)
"EFE2AE",						// 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)
]

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
170,						// Menu Top - The Top position of the menu in pixels
565,							// Menu Left - The Left position of the menu in pixels
178,						// Menu Width - Menus width in pixels
,							// 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
,//effect,						// Filter - Text variable for setting transitional effects on menu activation - see above for more info
1,							// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
,		 					// 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
,							// ..Now Obsolete..
,							// 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
							//,"Example Array Line","http://blahblah.com",,"this line shows array item syntax",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"					


,"<img src=\"http://www.couronne.com/restaurant/phpwcms_template/inc_img/couronne-menu.gif\" border=\"0\" />","",,"",0
,"<img src=\"http://www.couronne.com/restaurant/phpwcms_template/inc_img/frise.png\" border=\"0\" />","",,"",0

,"¤ A propos du restaurant","http://www.couronne.com/restaurant/le-restaurant.phtml#top",,"A la Couronne",0
,"¤ L'histoire du restaurant","http://www.couronne.com/restaurant/le-restaurant.phtml#cpid5",,"Histoire",0
,"¤ Traditions Alsaciennes","http://www.couronne.com/restaurant/le-restaurant.phtml#cpid6",,"Traditions Alsaciennes",0
,"¤ Voir le restaurant","http://www.couronne.com/restaurant/le-restaurant.phtml#cpid73",,"Voir le restaurant",0

,"<img src=\"http://www.couronne.com/restaurant/phpwcms_template/inc_img/frise2.png\" border=\"0\" />","",,"",0
,"<img src=\"http://www.couronne.com/restaurant/phpwcms_template/inc_img/suggestions.gif\" border=\"0\" />","http://www.couronne.com/restaurant/suggestions.phtml",,"Découvrez les Suggestions du moment",0
,"<img src=\"http://www.couronne.com/restaurant/phpwcms_template/inc_img/newsletter.gif\" border=\"0\" />","http://www.couronne.com/restaurant/13.2.0.0.1.0.phtml",,"Inscrivez-vous à la lettre d information du Restaurant",0
,"<img src=\"http://www.couronne.com/restaurant/phpwcms_template/inc_img/postcard.gif\" border=\"0\" />","http://www.couronne.com/restaurant/13.3.0.0.1.0.phtml",,"Recommandez le Restaurant à vos amis ...",0
,"<img src=\"http://www.couronne.com/restaurant/phpwcms_template/inc_img/boutique.gif\" border=\"0\" />","http://www.couronne.com/restaurant/boutique.phtml",,"Offrez des bons cadeaux à vos amis ...",0
])
dumpmenus()