//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 //
////////////////////////////////////

contextpath = ""         // Context path of the application

timegap=500                   // The time delay for menus to remain visible
followspeed=5                 // Follow Scrolling speed
followrate=40                 // Follow Scrolling Rate
suboffset_top=10              // Sub menu offset Top position
suboffset_left=10             // Sub menu offset Left position

EasySampleStyle=[             // EasySampleStyle is an array of properties. You can have as many property arrays as you need
"FFFFFF",                     // Mouse Off Font Color
"607EBA",                     // Mouse Off Background Color (use zero for transparent in Netscape 6)
"ffff00",                     // Mouse On Font Color
"20578D",                     // Mouse On Background Color
"000000",                     // Menu Border Color
"12",                         // Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                     // Font Style (italic or normal)
"normal",                     // Font Weight (bold or normal)
"arial,sans ms,helvetica",    // Font Name
5,                            // Menu Item Padding or spacing
,                             // Sub Menu Image (Leave this blank if not needed)
1,                            // 3D Border & Separator bar
"66ccff",                     // 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)
,                             // Menu Item Separator Color
]


addmenu(menu=[
"mainmenu",                   // Menu Name - This is needed in order for this menu to be called
53,                           // Menu Top - The Top position of this menu in pixels
1,                            // Menu Left - The Left position of this menu in pixels
140,                          // Menu Width - Menus width in pixels
2,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
EasySampleStyle,              // Properties Array - this array is declared higher up as you can see above
0,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
,                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
"Fade(duration=0.1)",         // Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties公用設備
//,"下載區","show-menu=download",,"",1
,"常用資料及表格","show-menu=download",,"",1
,"公用設備","show-menu=facilities",,"",1
,"電腦技術及支援","show-menu=itsupport",,"",1
,"圖書室","show-menu=library",,"",1
,"通訊錄","show-menu=contact",,"",1
,"最新政府公報",contextpath+"/internal/chin/announce/announce.asp",,"最新政府公報",1
//,"開考及招聘消息","#",,"開考及招聘消息",1
,"傳閱行政文件","show-menu=exedoc",,"",1
,"系統管理",contextpath+"/internal/chin/admin/checkadmin.asp",,"系統管理",1
])

//////////// SubMenu for 下載區 //////////// 
addmenu(menu=[
"download",
53,
240,
150,
1,
,
EasySampleStyle,
0,
,
"RandomDissolve(duration=0.1)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
//,"內部表格下載",contextpath+"/internal/chin/form/download.asp",,"內格表格下載",
,"常用資料",contextpath+"/internal/chin/document/procedure.asp?docutype=6",,"常用資料",
,"常用表格",contextpath+"/internal/chin/document/procedure.asp?docutype=7",,"常用表格",
//,"對市民表格",contextpath+"/external/chin/form/form.asp?target=1",,"對市民表格",
//,"對公務員表格",contextpath+"/external/chin/form/form.asp?target=2",,"對公務員表格",
])

//////////// SubMenu for 圖書館 //////////// 
addmenu(menu=[
"library",
80,
240,
150,
1,
,
EasySampleStyle,
0,
,
"RandomDissolve(duration=0.1)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"書籍推介",contextpath+"/internal/chin/books/recommend.asp",,"書籍推介",
,"剪報",contextpath+"/internal/chin/newsclip/newsclip.asp ",,"剪報",
,"出版書籍及光碟",contextpath+"/internal/chin/publication/publication.asp?cid=-1",,"出版書籍及光碟",
,"期刊目錄",contextpath+"/internal/chin/mag_summary/mag_summary.asp",,"期刊目錄",
,"圖書資料檢索系統",contextpath+"/internal/chin/books/webopac.asp",,"圖書資料檢索系統",
,"推薦圖書",contextpath+"/internal/chin/books/recommend_apply.asp",,"推薦圖書"
])

//////////// SubMenu for eService //////////// 
addmenu(menu=[
"eservice",
80,
535,
150,
1,
,
EasySampleStyle,
0,
,
"RandomDissolve(duration=0.1)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"電子假期批核系統","http://app.safp.gov.mo/eleave/  target=_blank",,"電子假期批核系統",
,"出勤系統","http://app.safp.gov.mo/attendance/ target=_blank",,"出勤系統",
])

//////////// SubMenu for 公用設備 //////////// 
addmenu(menu=[
"facilities",
80,
115,
150,
1,
,
EasySampleStyle,
0,
,
"RandomDissolve(duration=0.1)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"查詢消耗品",contextpath+"/internal/chin/consumable/safp.asp",,"辦公室消耗品清單",
,"供應商清單","http://app.safp.gov.mo/smm/  target=_blank",,"供應商清單",
,"軟件清單",contextpath+"/internal/chin/softwarelist/package.asp",,"軟件清單",
,"設備保養時間表","http://app.safp.gov.mo/sispat/ target=_blank",,"設備保養時間表",
])

//////////// SubMenu for 電腦技術及支援 //////////// 
addmenu(menu=[
"itsupport",
53,
368,
150,
1,
,
EasySampleStyle,
0,
,
"RandomDissolve(duration=0.1)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"技術支援",contextpath+"/internal/chin/dijobs/dijobs.asp",,"技術支援",
,"技術支援文件","show-menu=di_agreement",,"技術支援文件",
,"軟件下載",contextpath+"/internal/chin/software/download.asp ",,"軟件下載",
//,"表格","show-menu=di_form",,"表格"
])

//////////// SubMenu for 通訊錄 //////////// 
addmenu(menu=[
"contact",
53,
115,
150,
1,
,
EasySampleStyle,
0,
,
"RandomDissolve(duration=0.1)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"政府通訊錄","http://www.safp.gov.mo/external/chin/apm target=_blank",,"政府通訊錄",
,"本局通訊錄",contextpath+"/internal/chin/contact/contact.asp",,"本局通訊錄",
,"常用地址資料庫","http://192.168.215.59/cadb/SetLanguageAction.action?langMode=CHI&destURL=/MailLabelPageAction.action target=_blank",,"常用地址資料庫",
])

//////////// SubMenu for 傳閱行政文件 //////////// 
addmenu(menu=[
"exedoc",
80,
0,
150,
1,
,
EasySampleStyle,
0,
,
"RandomDissolve(duration=0.1)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"批示","show-menu=desp",,"",1
,"通告/通知","show-menu=notice",,"",1
,"傳閱文件",contextpath+"/internal/chin/document/document.asp?docutype=3",,"傳閱文件",1
,"指引性傳閱公函",contextpath+"/external/chin/info/info.asp?redirect=circular",,"指引性傳閱公函",1
//,"ISO 9001質量體系文件",contextpath+"/internal/chin/document/document.asp?docutype=4&internal=1",,"ISO 9001質量體系文件",1
//,"本局常用法例",contextpath+"/internal/chin/document/law.asp",,"本局常用法例",1
//,"行政運作手冊",contextpath+"/internal/chin/document/procedure.asp",,"行政運作手冊",1
//,"ISO 9001質量體系文件","show-menu=iso",,"ISO 9001質量體系文件",1
])

//////////// SubMenu for 傳閱行政文件 - 批示 //////////// 
addmenu(menu=[
"desp",
,
,
70,
1,
,
EasySampleStyle,
0,
,
"RandomDissolve(duration=0.1)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"外部",contextpath+"/internal/chin/document/document.asp?docutype=1&internal=0",,"外部批示",
,"內部",contextpath+"/internal/chin/document/document.asp?docutype=1&internal=1",,"內部批示",
])

//////////// SubMenu for 傳閱行政文件 - 外部 //////////// 
addmenu(menu=[
"notice",
,
,
70,
1,
,
EasySampleStyle,
0,
,
"RandomDissolve(duration=0.1)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"外部",contextpath+"/internal/chin/document/document.asp?docutype=2&internal=0",,"外部通告/通知",
,"內部",contextpath+"/internal/chin/document/document.asp?docutype=2&internal=1",,"內部通告/通知",
])

//////////// SubMenu for 支援協意書  //////////// 
addmenu(menu=[
"di_agreement",
,
,
210,
1,
,
EasySampleStyle,
0,
,
"RandomDissolve(duration=0.1)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"25樓電腦終端機房停電警報處理方案",contextpath+"/internal/chin/di_agreement/EleAlert.pdf",,"25樓電腦終端機房停電警報處理方案",
,"新聞局公共行政資訊網絡連線故障應變方案",contextpath+"/internal/chin/di_agreement/di_gcs.asp",,"新聞局公共行政資訊網絡連線故障應變方案",
,"虛擬專用網絡使用指引","/internal/chin/di_agreement/vpn_guideline.pdf target=_blank",,"虛擬專用網絡使用指引",
,"過濾規則設定步驟","show-menu=spam-filter",,"",
,"反垃圾郵件服務注意事項",contextpath+"/internal/chin/di_agreement/antispam.doc target=_blank",,"反垃圾郵件服務注意事項",
,"InforMac 連接作業規範書 v1.0",contextpath+"/internal/chin/di_agreement/informac_connect.pdf target=_blank",,"InforMac 連接作業規範書 v1.0",
,"執行DS-39-GM-96提供技術支援作業規範書 v1.0",contextpath+"/internal/chin/di_agreement/ds-39-gm-96.pdf target=_blank",,"執行DS-39-GM-96提供技術支援作業規範書 v1.0",
,"申請安裝DDSI開發的應用系統作業規範書 v1.0",contextpath+"/internal/chin/di_agreement/027_di_pro_2006.pdf target=_blank",,"申請安裝DDSI開發的應用系統作業規範書 v1.0",
,"電腦設備保養公司電話表[2006年8月18日]",contextpath+"/internal/chin/di_agreement/ITMaintanceCo_Tel-list.pdf target=_blank",,"電腦設備保養公司電話表[2006年8月18日]",
,"如何利用電腦收發傳真[2007年5月23日]",contextpath+"/internal/chin/di_agreement/DI07NIC052A_faxuserguide-cn.pdf target=_blank",,"如何利用電腦收發傳真[2007年5月23日]",
,"網絡傳真服務-內部通告052-DI-NIC-2007[2007年5月23日]",contextpath+"/internal/chin/di_agreement/DI07NIC052_Signed.pdf target=_blank",,"網絡傳真服務-內部通告052-DI-NIC-2007[2007年5月23日]",
,"第005/DIR/DES/2009號批示 資訊保安用戶指引",contextpath+"/internal/chin/di_agreement/005dir_des2009.pdf target=_blank",,"第005/DIR/DES/2009號批示 資訊保安用戶指引",
,"第006/DIR/DES/2009號批示 資訊保安管理指引",contextpath+"/internal/chin/di_agreement/006dir_des2009.pdf target=_blank",,"第006/DIR/DES/2009號批示 資訊保安管理指引",
,"互聯網使用指引",contextpath+"/internal/chin/di_agreement/103dipro2009.pdf target=_blank",,"互聯網使用指引",
,"第012/DIR/DES/2006號批示 規範員申請網絡伺服器資料文件存取權限",contextpath+"/internal/chin/di_agreement/012dir_des2006_060620.pdf  target=_blank",,"第012/DIR/DES/2006號批示 規範員申請網絡伺服器資料文件存取權限",
,"第021/DIR/DES/2006號批示",contextpath+"/internal/chin/di_agreement/021dir_des2006_060620.pdf  target=_blank",,"第021/DIR/DES/2006號批示",
,"關於本局人員使用互聯網的安排",contextpath+"/internal/chin/di_agreement/DI06PRO033.pdf target=_blank",,"關於本局人員使用互聯網的安排",
])

//,"關於本局人員使用互聯網的安排",contextpath+"/internal/chin/di_agreement/033-DI-PRO-2006.pdf target=_blank",,"關於本局人員使用互聯網的安排"

//////////// SubMenu for 資訊廳表格  //////////// 
addmenu(menu=[
"di_form",
,
,
210,
1,
,
EasySampleStyle,
0,
,
"RandomDissolve(duration=0.1)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"安裝由DDSI開發的應用系統申請表",contextpath+"/internal/chin/di_agreement/form/safp_di_modelo_5.pdf target=_blank",,"安裝由DDSI開發的應用系統申請表"
])

//////////// SubMenu for ISO 9001質量體系文件 //////////// 
addmenu(menu=[
"iso",
80,
367,
150,
1,
,
EasySampleStyle,
0,
,
"RandomDissolve(duration=0.1)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"程序書",contextpath+"/internal/chin/document/procedure.asp?docutype=1",,"程序書",
,"依據性文件",contextpath+"/internal/chin/document/procedure.asp?docutype=2",,"依據性文件",
,"工作指引",contextpath+"/internal/chin/document/procedure.asp?docutype=3",,"工作指引",
,"表格",contextpath+"/internal/chin/document/procedure.asp?docutype=4",,"表格",
,"記錄一覽表",contextpath+"/internal/chin/document/procedure.asp?docutype=5",,"記錄一覽表",
,"<font color='#FFFF00'>常用資料及表格</font>",contextpath+"/internal/chin/document/procedure.asp?docutype=6",,"常用資料及表格",
])


//////////// SubMenu for 過濾規則設定步驟 //////////// 
addmenu(menu=[
"spam-filter",
200,
350,
250,
1,
,
EasySampleStyle,
0,
,
"RandomDissolve(duration=0.1)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Outlook 2000的過濾規則設定步驟",contextpath+"/download/O2K_filter_cn.pdf target=_blank",,"Outlook 2000的過濾規則設定步驟",
,"Outlook Express 5/6 的過濾規則設定步驟",contextpath+"/download/OE56_filter_cn.pdf target=_blank",,"Outlook Express 5/6 的過濾規則設定步驟",
])

dumpmenus();
	