// 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)}
//Please leave the above line intact

////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

effect = "Fade(duration=0.3);Alpha(style=0,opacity=95);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
effect1 = "Fade(duration=0.3);Alpha(style=0,opacity=100);, 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=60;		// Sub menu offset Top position
suboffset_left=100;	// 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.
"6666cc",				// Mouse Off Font Color
"E8EAF4",				// Mouse Off Background Color
"EBEEFA",				// Mouse On Font Color
"98A3CD",				// Mouse On Background Color
"666666",				// Menu Border Color 
11,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"normal",					// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
3,							// Menu Item Padding
"arrow.gif",	// Sub Menu Image (Leave this blank if not needed)
,							// 3D Border & Separator bar
"cccccc",				// 3D High Color
"000000",				// 3D Low Color
"000000",				// Current Page Item Font Color (leave this blank to disable)
"C0CFDA",				// 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)
"000099",				// Menu Header Background Color (Leave blank if headers are not needed)
]
style2=[					// style2 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"ffffff",				// Mouse Off Font Color
"",						// Mouse Off Background Color
"FFCC33",				// Mouse On Font Color
"",						// 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
1,							// Menu Item Padding
,							// Sub Menu Image (Leave this blank if not needed)
,							// 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)
,							// 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
78,						// Menu Top - The Top position of the menu in pixels
((screen.width - 800)/2+30),						// Menu Left - The Left position of the menu in pixels
70,							// 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"
style2,					// 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
,							// 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
,							// ..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

,"　　首頁&nbsp;|&nbsp;","show-menu=home","index.php","　　首頁",1
,"有關簡介&nbsp;|&nbsp;","show-menu=menu01","#Top","有關公司",1
,"產品介紹&nbsp;|&nbsp;","show-menu=menu02","#Top","產品介紹",1
,"事業機會&nbsp;|&nbsp;","show-menu=menu03","#Top","事業機會",1
,"教育訓練&nbsp;|&nbsp;","show-menu=menu04","#Top","教育訓練",1
,"淨化養生&nbsp;|&nbsp;","show-menu=menu05","#Top","淨化養生",1
,"收件中心&nbsp;|&nbsp;","center/index.php",,"收件中心",1
,"會員專區&nbsp;|&nbsp;","member/index.php",,"會員專區",1
,"行政專區&nbsp;|&nbsp;","company/index.php",,"行政專區",1
])
	addmenu(menu=["menu01",
	,,110,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"公司簡介","menu01.php?title=menu01_1",,"公司簡介",0
	,"公益回饋","menu01.php?title=menu01_2",,"公益回饋",1
	
	])
	
	addmenu(menu=["menu02",
	,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"諾貝爾一氧化氮","menu02.php?title=menu02_1",,"諾貝爾一氧化氮",0
		,"一氧化氮","menu02.php?title=menu02_2",,"一氧化氮",0
		,"心動力","menu02.php?title=menu02_3",,"心動力",0
		,"奈米保養品","menu02.php?title=menu02_4",,"奈米保養品",0
		,"活力骼代餐包","menu02.php?title=menu02_7",,"活力骼代餐包",0
		,"其他系列","menu02.php?title=menu02_5",,"其他系列",0
		,"輔銷用品","menu02.php?title=menu02_6",,"輔銷用品",1
	])

	addmenu(menu=["menu03",
	,,90,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"獎金制度","menu03.php?title=menu03_1",,"獎金制度",0
		,"成功人士","menu03.php?title=menu03_3",,"成功人士",1
	])

	addmenu(menu=["menu04",
	,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"本月份活動行事曆","menu04.php?title=menu04_1",,"本月份活動行事曆",0
		,"教育訓練","menu04.php?title=menu04_2",,"教育訓練",0
		,"活動照片","menu04.php?title=menu04_3",,"活動照片",0
		,"家康富月刊","menu04.php?title=menu04_4",,"家康富月刊",1
	])

	addmenu(menu=["menu05",
	,,90,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"學術討論","menu05.php?title=menu05_1",,"學術討論",0
		,"活動簡介","menu05.php?title=menu05_2",,"活動簡介",0
		,"學員見證","menu05.php?title=menu05_3",,"學員見證",1
	])



dumpmenus()
