//Milonic DHTML Menu Written by Andy Woolley Copyright 2003 (c) Milonic Solutions. All Rights Reserved. http://www.milonic.co.uk/menu

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

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
effect_menu0 = "Alpha(style=0,opacity=100);"
effect_item = "Fade(duration=0.5);Alpha(style=0,opacity=100);"
}
else
{
effect_menu0 = "" // Stop IE5.5 bug when using more than one filter
effect_item = "" // Stop IE5.5 bug when using more than one filter
}

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

MenuStyle=[                 // MenuStyle is an array of properties. You can have as many property arrays as you need
"FFFFFF",                     // Mouse Off Font Color
"848484",                     // Mouse Off Background Color (use zero for transparent in Netscape 6) (A PARAMETRER)
"FF00F0",                     // Mouse On Font Color
"666666",        // Mouse On Background Color (A PARAMETRER)
"848484",                     // Menu Border Color (A PARAMETRER)
"16",                         // 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)
"Tahoma,Helvetica",           // Font Name
4,                            // Menu Item Padding or spacing
"http://www.applications-services.com/data/etedesportraits/images/arrow-20110914150927.png",                  // Sub Menu Image (Leave this blank if not needed)
,                            // 3D Border & Separator bar
"FFFFFF",                     // 3D High Color
"000000",                     // 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=[
"menu0",              // Menu Name - This is needed in order for this menu to be called
0,                            // Menu Top - The Top position of this menu in pixels
0,                            // Menu Left - The Left position of this menu in pixels
90,                          // 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"
MenuStyle,                  // 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)
"center",                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
effect_menu0,// Filter - Text variable for setting transitional effects on menu activation - see above for more 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)
1,                            // 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

,"Accueil&nbsp;","http://www.etedesportraits.com/fr,1,1822.html",,,1
,"Actualités&nbsp;","http://www.etedesportraits.com/fr,1,5073.html",,,1
,"Lauréats 2012&nbsp;","http://www.etedesportraits.com/fr,1,2786.html",,,1
,"Galeries&nbsp;","show-menu=menu1831","#",,1
,"Historique&nbsp;","http://www.etedesportraits.com/fr,1,5075.html",,,1
,"Contacts&nbsp;","show-menu=menu1824","#",,1
,"Liens&nbsp;","show-menu=menu1833","#",,1
,"Accès&nbsp;","http://www.etedesportraits.com/fr,1,1839.html",,,1
])

addmenu(menu=[
"menu1824",
,
,
200,
1,
,
MenuStyle,
0,
"left",
effect_item,
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Vous êtes photographe exposant&nbsp;","show-menu=menu1825","#",,1
,"Vous êtes visiteur&nbsp;","http://www.etedesportraits.com/fr,1,1829.html",,,1
,"Presse&nbsp;","http://www.etedesportraits.com/fr,1,2117.html",,,1
])

addmenu(menu=[
"menu1825",
,
,
200,
1,
,
MenuStyle,
0,
"left",
effect_item,
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Bulletin d'inscription et infos&nbsp;","http://www.etedesportraits.com/fr,1,1826.html",,,1
,"Contact par Email&nbsp;","mailto:info@etedesportraits.com",,,1
,"Contact par formulaire&nbsp;","http://www.etedesportraits.com/fr,1,1828.html",,,1
])

addmenu(menu=[
"menu1831",
,
,
200,
1,
,
MenuStyle,
0,
"left",
effect_item,
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Ete des portraits 2012&nbsp;","show-menu=menu1832","http://www.etedesportraits.com/fr,1,1832.html",,1
])

addmenu(menu=[
"menu1832",
,
,
200,
1,
,
MenuStyle,
0,
"left",
effect_item,
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Inauguration&nbsp;","http://www.etedesportraits.com/fr,1,2375.html",,,1
,"Expo dans la ville&nbsp;","http://www.etedesportraits.com/fr,1,9564.html",,,1
,"Remise des PRIX&nbsp;","http://www.etedesportraits.com/fr,1,2374.html",,,1
,"Soirée cabaret&nbsp;","http://www.etedesportraits.com/fr,1,1897.html",,,1
])

addmenu(menu=[
"menu1833",
,
,
200,
1,
,
MenuStyle,
0,
"left",
effect_item,
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Sites des exposants&nbsp;","http://www.etedesportraits.com/fr,1,1834.html",,,1
,"Sites des sponsors&nbsp;","http://www.etedesportraits.com/fr,1,1835.html",,,1
,"Sites utiles&nbsp;","http://www.etedesportraits.com/fr,1,1836.html",,,1
])

dumpmenus();


