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


http://www.milonic.co.uk/menu/filters_sample.php for more filters
effect = "Fade(duration=0.2);Alpha(style=0,opacity=88)"


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
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.
"white",			// Mouse Off Font Color
"000000",			// Mouse Off Background Color
"000000",			// Mouse On Font Color
"white",			// 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
"/menu/arrow.gif",	// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"000000",			// 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)
"/menu/arrowdn.gif",// 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)
"000000",			// 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
68,					// Menu Top - The Top position of the menu in pixels
12,					// 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 "top:left"
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)
"center",			// 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
,"&nbsp;&nbsp;&nbsp;&nbsp;Home","/home.html",,"Back to the home page",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"&nbsp;&nbsp;Peder&nbsp;&nbsp;","show-menu=peder",,"",1
,"&nbsp;&nbsp;Wood's&nbsp;&nbsp;","show-menu=woods",,"",1
,"&nbsp;Seattle&nbsp;&nbsp;","show-menu=seattle",,"",1
,"&nbsp;PA/NJ&nbsp&nbsp;","show-menu=pa",,"",1
,"&nbsp;PWS&nbsp;&nbsp;","/pws.html",,"",1
,"&nbsp;&nbsp;&nbsp;Photos&nbsp;","show-menu=photos",,"",1
,"&nbsp;&nbsp;Links&nbsp;&nbsp;","/links.html",,"",1
])

	addmenu(menu=["pa",
	,,225,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Amish Country","/amish.html",,,1
	,"Barnegat Lighthouse","/barnegat.html",,,1
	,"Princeton","/princeton.html",,,1
	,"Seaside","/seaside.html",,,1
	,"Washington's Crossing","/washington.html",,,1
	])

	addmenu(menu=["woods",
	,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Friends","/woods_friends.html",,,1
	,"Grounds","/woods_grounds.html",,,1
	,"Staff","/woods_staff.html",,,1
	])

	addmenu(menu=["photos",
	,,225,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Dad's Visit 10/03","/dad1003.html",,,1
	,"Christmas 2003","/christmas03.html",,,1
	,"Seattle 10/04","/seattle1004.html",,,1
	,"Christmas 2004","/christmas04.html",,,1
	,"Mom & Dads Visit 4/05","/pa405.html",,,1
	,"July 4, 2005 in Seattle","/july42005.html",,,1
	,"Christmas 2005","/christmas05.html",,,1
	,"Cannon Beach 8/06","/cb06.html",,,1
	,"Camping 8/06","/camping806.html",,,1
	])

	addmenu(menu=["seattle",
	,,225,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Magnolia","/magnolia.html",,,1
	,"Snow","/seattle_snow08.html",,,1
	])
	
	addmenu(menu=["peder",
	,,225,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Peder","/santa.html",,,1
	,"Articles","/articles.html",,,1
	])
	
dumpmenus()
