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=90);Shadow(color='#999999', Direction=135, Strength=5)" // Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters

timegap=500				// The time delay for menus to remain visible
followspeed=5			// Follow Scrolling speed
followrate=40			// Follow Scrolling Rate
suboffset_top=-1;		// Sub menu offset Top position 
suboffset_left=-1;		// 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.
"#393A35",					// Mouse Off Font Color
"#D5D5BE",				// Mouse Off Background Color
"#393A35",					// Mouse On Font Color
"#FFCC99",				// Mouse On Background Color
"Black",				// Menu Border Color 
12,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Verdana, Arial, Helvetica, sans-serif",		// Font Name
5,						// Menu Item Padding
,			// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"66ffff",				// 3D High Color
"000099",				// 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)
]

style2=[				// 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.
"#393A35",					// Mouse Off Font Color
"#D5D5BE",				// Mouse Off Background Color
"#393A35",					// Mouse On Font Color
"#FFCC99",				// Mouse On Background Color
"Black",				// Menu Border Color 
12,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Verdana, Arial, Helvetica, sans-serif",		// Font Name
3,						// Menu Item Padding
,			// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"66ffff",				// 3D High Color
"000099",				// 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)
]

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
166,					// Menu Top - The Top position of the menu in pixels
0,				// Menu Left - The Left position of the menu in pixels
160,					// Menu Width - Menus width in pixels
0,					// 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
,				// 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)
0,					// 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
,"Home","default.asp",,"Home Page",1 		// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Gisborne & Surrounds","show-menu=township",,"Our Township",1
,"Accommodation","show-menu=accom",,"Gisborne Accommodation",1
,"Business Directory","directory.asp",,"Gisborne Business Directory",1
,"Events","events.asp",,"Gisborne Events",1
,"Website","show-menu=web",,"Contact Gisborne Online",1
,"Macedon Ranges Towns","show-menu=other",,"Other Township Online Projects",1

])

    addmenu(menu=["accom",
	,,150,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Bed and Breakfasts","output.asp?cat=5",,"Bed and Breakfasts",1
	,"Country Retreats","output.asp?cat=74",,"Country Retreats",1
	,"Cottage and Cabins","output.asp?cat=3",,"Cottage and Cabins",1
	,"Farm Stays","output.asp?cat=41",,"Country Retreats",1
	,"Motels","output.asp?cat=60",,"Motels",1
	])
	
	addmenu(menu=["web",
	,,150,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Links","part.htm",,"Gisborne Contacts",1
	,"Become a Member","show-menu=member",,"Become a Member",1
	,"GREAT","show-menu=great",,"GREAT",1
	,"GDBA","show-menu=gdba",,"GDBA",1
	,"Contact Us","mailto:great@great.gisnet.net.au",,"Contact Gisborne Online",1
	])
	
	addmenu(menu=["member",
	,,150,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Service Fees","service.htm",,"Service Fees",1
	,"Signup Online","signup.htm",,"Signup Online",1
	,"Download Form","online.pdf target=_blank",,"GREAT Website",1
	])
	
	addmenu(menu=["great",
	,,150,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Contacts","great_contact.htm",,"Contacts",1
	,"Information","",,"GREAT Information",1
	,"GREAT Website","http://www.great.gisnet.net.au/ target=_blank",,"GREAT Website",1
	])
	
	addmenu(menu=["gdba",
	,,150,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Contacts","gdba_contact.htm",,"Contacts",1
	,"Information","",,"Gisborne District Business Association Information",1
	])
	
	addmenu(menu=["township",
	,,150,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Township Information","township.htm",,"Gisborne Township",1
	,"Local History","show-menu=history",,"History of Gisborne and Surrounding Area",1
	,"Maps","show-menu=maps",,"Township Maps",1
	,"Visitor Information Centres","visitor.htm",,"Gisborne Visitor Information Centre",1
	])
	
	addmenu(menu=["history",
	,,150,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Gisborne","gis_history.htm",,"History of Gisborne and Surrounding Area",1
	,"Bullengarook","bull_history.htm",,"History of Bullengarook",1
	])
	
	addmenu(menu=["maps",
	,,150,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"How to Get Here","gis_region_map.htm",,"Hot to get to Gisborne",1
	,"Gisborne Town Map","gis_town_map.htm",,"Gisborne Township Map",1
	])
	
	addmenu(menu=["other",
	,,150,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Macedon Ranges Accommodation","http://www.macedonranges.org.au target=_blank",,"Macedon Ranges Accommodation Online",1
	,"Kyneton","http://www.kyneton.org.au target=_blank",,"Kyneton Online",1
	,"Lancefield","http://www.lancefield.org.au target=_blank",,"Lancefield Online",1
	,"Mount Macedon","http://www.mountmacedon.org.au target=_blank",,"Mount Macedon Online",1
	,"Woodend","http://www.woodend.org.au target=_blank",,"Woodend Online",1
	])

dumpmenus()