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=1);Alpha(style=0,opacity=100);Shadow(color='#ffffff', Direction=135, Strength=0)" // Special effect string for IE5.5 or above 
effect2= "randomdissolve(duration=1);Alpha(style=0,opacity=100);Shadow(color='#ffffff', Direction=135, Strength=0)"

function openwin(url)
{
	nwin=window.open(url, "nwin",config="width=950,height=600,scrollbars=yes,resizable=yes,toolbar=yes,location=no,status=no,menubar=no,");
	nwin.focus();
}

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=50;		// Sub menu offset Left position

menutop=174
if((navigator.userAgent.indexOf("Firefox")!=-1))menutop=menutop-5 // tweek vertical position for Firefox

horiadj="offset=-135"
if((navigator.userAgent.indexOf("Firefox")!=-1))horiadj="offset=-135" // tweek horizontal offset for Firefox

menuwidth=120
if((navigator.userAgent.indexOf("Firefox")!=-1))menuwidth=menuwidth-10 // tweek menu width for Firefox

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.
"006000",			// Mouse Off Font Color
"ffffff",			// Mouse Off Background Color
"333333",			// Mouse On Font Color
"#dddddd",			// Mouse On Background Color
"#eeeeee",			// Menu Border Color 
12,				// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",			// Font Weight (bold or normal)
"Arial, Verdana,",		// Font Name
4,				// Menu Item Padding
"arrow.gif",			// Sub Menu Image
,,,,,,,,				
]
addmenu(menu=[			
"mainmenu",			
menutop,			// See Tweek avove
horiadj,	   		// See Tweek avove
menuwidth,			// See Tweek avove
1,				// Menu Border Width 
"center",			// Screen Position - here you can use "center; left; right; middle; top;bottom" or a combination of "center:middle"
style1,				
1,				// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"center",			// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
effect,				
,				// 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)
,,,,,
,				// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,,,								
,"<b>HOME PAGE</b>","index.htm",,,1
,"<b>THE CHATEAU</b>","chateau.htm",,,1
,"<b>THINGS TO DO</b>","thing-to-do.htm",,,1
,"<b>CONTACT FORM</b>","contact.htm",,,1
,"<b>AREA MAP</b>","javascript:openwin(\"http://www.maplandia.com/france/basse-normandie/manche/cherbourg/lestre/\")",,,1

//," Contact us","show-menu=contact",,,1
			
		])
		
addmenu(menu=["sub1",,,180,1,,style1,0,"left",effect,0,,,,,,,,,,,
		,"<b>Downloads</b>","#",,,1
		,"How they work (PDF)","#",,,1
		,"How they are made (PDF)","#",,,1
		//,"External link","javascript:openwin(\"http://www.maplandia.com/france/basse-normandie/manche/cherbourg/lestre/\")",,,1
							               		
		])

dumpmenus()