﻿//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
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)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.
////////////////////////////////////
// Editable properties START here //
////////////////////////////////////
// Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters
effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"


timegap=500;			// The time delay for menus to remain visible
followspeed=5;		// Follow Scrolling speed
followrate=40;		// Follow Scrolling Rate
suboffset_top=4;	// Sub menu offset Top position 
suboffset_left=6;	// 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.
"FFFFFF",			// Mouse Off Font Color
"",					// Mouse Off Background Color
"FFFF00",			// Mouse On Font Color
"00886E",			// Mouse On Background Color
"",			// Menu Border Color 
12,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Verdana, Arial",	// Font Name
2,					// Menu Item Padding
"",					// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"66ff66",			// 3D High Color
"000099",			// 3D Low Color
"D2FF78",			// 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)
"000099",			// Menu Header Background Color (Leave blank if headers are not needed)
"",				// Menu Item Separator Color
]

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.
"FFFF99",			// Mouse Off Font Color
"7AB09B",					// Mouse Off Background Color
"FFFF00",			// Mouse On Font Color
"449177",					// Mouse On Background Color
"005136",			// Menu Border Color 
12,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Verdana, Arial",	// Font Name
2,					// Menu Item Padding
"",					// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"66ff66",			// 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)
"ffffff",			// Menu Header Font Color (Leave blank if headers are not needed)
"000099",			// Menu Header Background Color (Leave blank if headers are not needed)
"",				// 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
202,					// Menu Top - The Top position of the menu in pixels
,				    // Menu Left - The Left position of the menu in pixels
,				// Menu Width - Menus width in pixels
0,					// Menu Border Width 
"center",					// 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
,					// 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.html",,"主頁",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"

,"&nbsp;&nbsp;中心簡介&nbsp;&nbsp;","dicintro.html",,"中心簡介",1

,"&nbsp;&nbsp;專業簡介&nbsp;&nbsp;","professional.html",,"專業簡介",1

,"&nbsp;&nbsp;營養保健&nbsp;&nbsp;","show-menu=gn","gn.html","營養保健",1

,"&nbsp;&nbsp;食療專欄&nbsp;&nbsp;","show-menu=sdn","sdn.html","食療專欄",1

,"&nbsp;&nbsp;老人院舍專欄&nbsp;&nbsp;","show-menu=rsen","rsen_01_01.html","老人院舍專欄",1

,"&nbsp;&nbsp;營養商數&nbsp;&nbsp;","show-menu=nq",,"營養商數",1

,"&nbsp;&nbsp;相關網頁&nbsp;&nbsp;","links.html",,"相關網頁",1

,"&nbsp;&nbsp;聯絡我們&nbsp;&nbsp;","mailto:rhtsk_dic@ha.org.hk",,"聯絡我們",1
])

////////////////////////////////////////////////
//Your menu 
///////////////////////////////////////////////

	addmenu(menu=["gn",,,95,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"均 衡 飲 食","gn_01_01.html",,"均衡飲食",1
	,"家 庭 飲 食","gn_02_01.html",,"家庭飲食",1
	,"上 班 一 族","gn_03_01.html",,"上班一族",1
	,"愛 心 護 心","gn_04_01.html",,"愛心護心",1
	,"食 物 纖 維","gn_05_01.html",,"食物纖維",1
	,"防 癌 祕 笈","gn_06_01.html",,"防癌祕笈",1
	,"耆 英 飲 食","gn_07_01.html",,"耆英飲食",1
	,"素 食","gn_08_01.html",,"素食",1
	,"食 物 的 謬 論","gn_09_01.html",,"食物的謬論",1
	,"節 日 飲 食","gn_10_01.html",,"節日飲食",1
	,"抗 炎 營 養 篇","gn_11_01.html",,"抗炎營養篇",1
	,"食 物 中 毒","gn_12_01.html",,"食物中毒",1
	,"醫 藥 健 康 淺 談","gn_13_01.html",,"醫藥健康淺談",1
	])


	addmenu(menu=["sdn",,,145,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"骨 質 疏 鬆","sdn_01_01.html",,"骨質疏鬆",1
	,"糖 尿 病","sdn_02_01.html",,"糖尿病",1
	,"控 制 體 重","sdn_03_01.html",,"控制體重",1
	,"高 血 壓 飲 食","sdn_04_01.html",,"高血壓飲食",1
	,"高 纖 飲 食 與 便 秘","sdn_05_01.html",,"高纖飲食與便秘",1
	,"纖 維 與 腸 癌","sdn_06_01.html",,"纖維與腸癌",1
	,"痛 風","sdn_07_01.html",,"痛風",1
	,"膽 固 醇 過 高 怎 辦 ？","sdn_08_01.html",,"膽固醇過高怎辦？",1
	,"高 鈣 飲 食","sdn_09_01.html",,"高鈣飲食",1
	,"吞 嚥 困 難 飲 食 篇","sdn_10_01.html",,"吞嚥困難飲食篇",1
	,"健 康 纖 體","sdn_11_01.html",,"健康纖體",1
	,"柏 金 遜 症 飲 食 問 題","sdn_12_01.html",,"柏金遜症飲食問題",1
	,"薄 血 藥 與 飲 食","sdn_13_01.html",,"薄血藥與飲食",1
	,"肝 病 與 飲 食","sdn_14_01.html",,"肝病與飲食",1
	,"腎 病 與 飲 食","sdn_15_01.html",,"腎病與飲食",1
	])
	
	addmenu(menu=["rsen",,,190,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"院 舍 人 士 營 養 飲 食 指 南","rsen_01_01.html",,"院舍人士營養飲食指南",1
	,"借 磅 服 務","weight_application_form_05.pdf",,"借磅服務",1
	,"外 展 服 務","rsen_02_01.html",,"外展服務",1
	])
	
	addmenu(menu=["nq",,,125,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"營 養 商 數","nq_01.html",,"營養商數",1
	,"高 纖 飲 食 大 比 拼","nq_02.html",,"高纖飲食大比拼",1
	,"鈣 算 表","nq_03.html",,"鈣算表",1
	])
	
dumpmenus()