// The following line is critical for menu operation, and must appear only once.
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)}

////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

effect = "Fade(duration=0.2);Alpha(style=0,opacity=90);Shadow(color='#777777', Direction=135, Strength=5)" 


timegap=500					// The time delay for menus to remain visible
followspeed=7				// Follow Scrolling speed (higher number makes the scrolling smoother but slower)
followrate=30		     	// Follow Scrolling Rate
suboffset_top=0;			// Sub menu offset Top position 
suboffset_left=100;			// Sub menu offset Left position


plain_style=[				// Menu Properties Array
"40476F",				    // Off Font Color
"#B5C2F0",					// Off Back Color
"FFFFFF",					// On Font Color
"40476F",					// On Back Color
"#B5C2F0",					// Border Color
11,							// Font Size
"normal",					// Font Style
"bold",						// Font Weight
"Arial",	                // Font
6,							// Padding
3,							// 3D Border & Separator
,"cccccc"					// 3D High Color
,"000099"					// 3D Low Color
]


addmenu(menu=[				// This is the array that contains your menu properties and details
"simplemenu1",				// Menu items Name
83,						    // Top
,						    // left
,							// Width
1,							// Border Width
"center",							// Screen Position - here you can use "center;left;right;middle;top;bottom"
plain_style,				// Properties Array - this is set higher up, as above
1,							// Always Visible - allows the menu item to be visible at all time
,						// Alignment - sets the menu elements alignment, HTML values are valid here for example: left, right or center
,							// Filter - Text variable for setting transitional effects on menu activation
0,							// Follow Scrolling - Tells the menu item to follow the user down the screen
1, 							// Horizontal Menu - Tells the menu to be horizontal instead of top to bottom style
,							// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page
,							// Position of sub image left:center:right:middle:top:bottom
,							// Show an image on top menu bars indicating a sub menu exists below
,							// Reserved for future use
,							// Reserved for future use
,							// Reserved for future use
,,,
,"MEMBERS","show-menu=members",,"",1
,"GUESTS","/guests/index.mhtml",,"",1
,"GOLF","show-menu=golf",,"",1
,"FUNCTIONS","show-menu=functions",,"",1
,"PROSHOP","show-menu=proshop",,"",1
,"MEMBERSHIP","/guests/membership.mhtml",,"",1
,"HISTORY","/guests/history.mhtml",,"",1
,"CONTACT","/guests/contacts.mhtml",,"",
])

addmenu(menu=["MEMBERS",
,,67,1,"",plain_style,,"left",effect,,,,,,,,,,,,
,"LOGIN","/members/",,,0

])


addmenu(menu=["GOLF",
,,150,1,"",plain_style,,"left",effect,,,,,,,,,,,,
,"VISITORS","/guests/visitors.mhtml",,,0
,"TOURNAMENT DRAWS/RESULTS","/guests/draw_results.mhtml",,,0
,"CORPORATE GOLF","/guests/corporate.mhtml",,,
//,"CORPORATE GOLF EVENTS","/guests/golf/corporate.html",,,0
,"COURSE TOUR","/guests/coursetour/index.mhtml",,,0
,"DRESSCODE","/guests/dresscode.mhtml",,,0
,"COURSE CARE","/guests/coursecare.mhtml",,,0
])


addmenu(menu=["functions",
,,180,1,"",plain_style,,"left",effect,,,,,,,,,,,,
,"WEDDINGS","/guests/weddings.mhtml",,,
,"CONFERENCES & MEETINGS ","/guests/conferences.mhtml",,,
//,"DINING","/guests/functions/dining.html",,,
,"ONLINE ENQUIRY","/guests/enquiries.mhtml",,,
])


addmenu(menu=["proshop",
,,160,1,"",plain_style,,"left",effect,,,,,,,,,,,,
,"COACHING STAFF","/guests/coaching.mhtml",,,
,"PROFESSIONAL STAFF","/guests/staff.mhtml",,,
,"PROSHOP NEWS","/guests/news_events.mhtml",,,
,"DRIVING RANGE","/guests/range.mhtml",,,
,"SERVICE & EQUIPMENT","/guests/service_equip.mhtml",,,
,"CLOTHING & ACCESSORIES","/guests/clothing.mhtml",,,
])


dumpmenus()