effect = "Fade(duration=0.2);Alpha(style=0,opacity=80);Shadow(color='#777777', Direction=135, Strength=5)"

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

timegap=150 // Default 500			// The time delay for menus to remain visible
followspeed=10 // Default 5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=5;	// Sub menu offset Top position
suboffset_left=10;	// Sub menu offset Left position

style_main=[			// style_main is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"FDE182",				// Mouse Off Font Color
"",			// Mouse Off Background Color
"000080",			// Mouse On Font Color
"3399ff",			// Mouse On Background Color
"",			// Menu Border Color
11,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Verdana, Arial",	// Font Name
5,					// Menu Item Padding
,		// Sub Menu Image (Leave this blank if not needed)
"000080",					// 3D Border & Separator bar
"",			// 3D High Color
"",			// 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)
"ffffff",			// Menu Header Font Color (Leave blank if headers are not needed)
"003766",			// Menu Header Background Color (Leave blank if headers are not needed)
"000066",			// Menu Item Separator Color
]

style_submenu=[
"f0f0fa",			// Mouse Off Font Color
"556699",			// Mouse Off Background Color
"FF8A08",			// Mouse On Font Color
"0054A6",			// Mouse On Background Color
"000066",			// Menu Border Color
11,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Verdana, Arial",	// Font Name
4,					// Menu Item Padding
,		// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"66ffff",			// 3D High Color
"000099",			// 3D Low Color
"ffffff",			// Current Page Item Font Color (leave this blank to disable)
"336699",			// Current Page Item Background Color (leave this blank to disable)
,		// Top Bar image (Leave this blank to disable)
"ffffff",			// Menu Header Font Color (Leave blank if headers are not needed)
"003766",			// Menu Header Background Color (Leave blank if headers are not needed)
"000666",			// 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
180,				// Menu Top - The Top position of the menu in pixels
17,					// Menu Left - The Left position of the menu in pixels
160,				// 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"
style_main,				// 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
1,					// 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)
,					// 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;MAIN PAGE OF<br>&nbsp;&nbsp;&nbsp;LEUNGTING.COM														<br>&nbsp;&nbsp;","http://www.leungting.com/index.php?lang=en",		,"",1
					,"&nbsp;MAIN PAGE OF<br>&nbsp;&nbsp;&nbsp;THE CHI-SAU&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;TOURNAMENT		&nbsp;&nbsp;","WTCST.htm",			,"",1
					,"&nbsp;MASS MEDIA REPORT																				<br>&nbsp;&nbsp;","show-menu=MEDIA",	,"",1
					,"&nbsp;GUESTS																							<br>&nbsp;&nbsp;","WTCST111.htm",		,"",1
					,"&nbsp;OPENING CEREMONY																				<br>&nbsp;&nbsp;","WTCST121.htm",		,"",1
					,"&nbsp;PERFORMANCES																					<br>&nbsp;&nbsp;","WTCST131.htm",		,"",1
					,"&nbsp;RESULTS OF<br>&nbsp;&nbsp;&nbsp;&nbsp;THE TOURNAMNENT												&nbsp;&nbsp;","WTCST141.htm",		,"",1
					,"&nbsp;CEREMONY OF<br>&nbsp;&nbsp;&nbsp;&nbsp;ACCEPTING<br>&nbsp;&nbsp;&nbsp;&nbsp;NEW STUDENTS			&nbsp;&nbsp;","WTCST211.htm",		,"",1
					,"&nbsp;CONTACT US																						<br>&nbsp;&nbsp;","http://www.leungting.com/index.php?option=com_contact&Itemid=3&lang=en",	,"",1
					,"&nbsp;CHINESE																						<br>&nbsp;&nbsp;","../chinese/WTCST.htm",	,"",1

])


	addmenu(menu=["MEDIA",,,160,1,"",style_submenu,,"left",effect,,,,,,,,"form1",,,,
					,"&nbsp;Episodes of<br>&nbsp;&nbsp;Media Report "	,"WTCST311.htm",,,1
					,"&nbsp;i-cable TV				"	,"WTCST321.htm",,,1
					,"&nbsp;TVB						"	,"WTCST331.htm",,,1
					,"&nbsp;Wenweipo				"	,"WTCST341.htm",,,1
					,"&nbsp;Mingpao Daily News		"	,"WTCST351.htm",,,1
					,"&nbsp;Mingpao Weekly			"	,"WTCST361.htm",,,1
					//,"&nbsp;Startrend.net			"	,"WTCST371.htm",,,1
	])















dumpmenus()


