//gen menu ver. 4.0

level = new Array('cindex.html', 'whatsnew', 'aboutus', 'publications', 'access', 'permit', 'pubforms', 'faq', 'eservices', 'tender', 'links', 'search', 'sitemap', 'contactus', 'notices', 'agriculture', 'fisheries', 'country', 'conservation', 'quarantine', 'equestrian','group_visit','form','privacy');
//level 1

function genmenu(){

	if (  level[fol]=="quarantine" ) { 
	 gentable(lev_div+'quarantine/qua_awc/qua_awc.html', '動物福利及監控', '', 'y');
	 gentable(lev_div+'quarantine/qua_res/qua_res.html', '負責的主人', '', 'y');
	 gentable(lev_div+'quarantine/qua_live/qua_live.html', '禽畜飼養', '', 'y');
	 gentable(lev_div+'quarantine/qua_plants/qua_plants_pq/qua_plants_pq_imp/qua_plants_frmindex.html', '申請表', '', '');
	 gentable(lev_div+'quarantine/qua_ie/qua_ie.html', '動物及動物產品進出口', '', 'y');
	 gentable(lev_div+'quarantine/qua_vetlab/qua_vetlab.html', '獸醫化驗所', '', 'y');
	 gentable(lev_div+'quarantine/qua_plants/qua_plants.html', '植物檢疫', '', 'y');
	 gentable(lev_div+'quarantine/qua_pvp/qua_pvp.html', '植物品種保護', '', 'y');
	 gentable(lev_div+'quarantine/qua_pesticide/qua_pesticide.html', '除害劑', '', 'y');
	 gentable(lev_div+'quarantine/qua_vb/qua_vb.html', '獸醫期刊', '', '');
 }

else if (  level[fol]=="fisheries" ) { 
	 gentable(lev_div+'fisheries/fish_abt/fish_abt.html', '關於漁業分署', '', '');
	 gentable(lev_div+'fisheries/fish_aqu/fish_aqu.html', '養殖漁業', '', 'y');
	 gentable(lev_div+'fisheries/fish_cap/fish_cap.html', '捕撈漁業', '', 'y');
	 gentable(lev_div+'fisheries/fish_marine/fish_marine.html', '統銷海魚', '', '');
	 gentable(lev_div+'fisheries/fish_edu/fish_edu.html', '漁業教育', '', '');
	 gentable(lev_div+'fisheries/Radiological_testing/Radiological_Test.html', '漁產品的輻射水平測試', '', '');
	 gentable(lev_div+'fisheries/hkredtide/redtide.html', '香港紅潮資訊網絡', '', 'y');
 }

else if (  level[fol]=="equestrian" || level[fol]=="form" ) { 
	 gentable(lev_div+'equestrian/background/background.html', '背景資料', '', '');
	 gentable(lev_div+'equestrian/whatsnew/whatsnew.html', '最新消息', '', '');
	 gentable(lev_div+'equestrian/role/role.html', '漁農自然護理署的職責', '', '');
	 gentable(lev_div+'equestrian/related/related.html', '相關法例', '', '');
	 gentable(lev_div+'equestrian/inform/inform.html', '馬術比賽資料', '', '');
	 gentable(lev_div+'equestrian/bqm/bqm.html', '檢疫及生物安全措施', '', '');
	 gentable(lev_div+'equestrian/eforms/forms.html', '電子表格', '', '');
	 gentable(lev_div+'equestrian/links/links.html', '相關網站連結', '', '');
	 gentable(lev_div+'equestrian/contact/contact.html', '查詢', '', '');
 }

else if (  level[fol]=="country" ) { 
	 gentable(lev_div+'country/cou_vis/cou_vis.html', '遊覽郊野公園', '', 'y');
	 gentable(lev_div+'country/cou_lea/cou_lea.html', '認識郊野公園', '', 'y');
	 gentable(lev_div+'country/cou_pub/cou_pub.html', '自然刊物出版及相片庫', '', 'y');
	 gentable(lev_div+'country/cou_app/cou_app.html', '有關申請准許證', '', 'y');
	 gentable(lev_div+'country/cou_wha/cou_wha.html', '最新消息 / 介紹', '', '');
	 gentable(lev_div+'country/cou_con/cou_con.html', '聯絡我們', '', 'y');
	 gentable(lev_div+'country/cou_how/cou_how.html', '你可以如何協助我們', '', 'y');
	 gentable(lev_div+'country/cou_rel/cou_rel.html', '相關連結', '', '');
	 gentable(lev_div+'country/cou_wha/cou_apps.html', '流動應用程式', '', '');
 }

else if (  level[fol]=="conservation" ) { 
	 gentable(lev_div+'conservation/conservation.html', '關於自然護理', '', '');
	 gentable(lev_div+'conservation/con_nncp/con_nncp.html', '新自然保育政策', '', 'y');
	 gentable(lev_div+'conservation/con_end/con_end.html', '瀕危物種', '', 'y');
	 gentable(lev_div+'conservation/con_flo/con_flo_intro/con_flo_intro.html', '植物護理', '', 'y');
	 gentable(lev_div+'conservation/con_fau/con_fau_local/con_fau_local.html', '動物護理', '', 'y');
	 gentable(lev_div+'conservation/con_wet/con_wet_abt/con_wet_abt_gen/con_wet_abt_gen.html', '濕地護理', '', 'y');
	 gentable(lev_div+'conservation/con_mar/con_mar_chi/con_mar_chi_chi/con_mar_chi_chi.html', '海洋護理', '', 'y');
	 gentable(lev_div+'conservation/con_nat/con_nat_intro/con_nat_intro.html', '自然護理', '', 'y');
	 gentable(lev_div+'conservation/con_wetpark/con_wetpark.html', '濕地公園', '', '');
	 gentable(lev_div+'conservation/hkbiodiversity/hkbiodiversity.html', '香港生物多樣性', '', 'y');
	 gentable(lev_div+'conservation/con_gmo/con_gmo.html', '基因改造生物紀錄冊', '', 'y');
	 gentable(lev_div+'conservation/con_tech/con_tech.html', '技術刊物', '', '');
	 gentable(lev_div+'publications/publications_con/pub_con_hkbio.html', '期刊：香港物種探索', '', '');
	 gentable(lev_div+'whatsnew/what_con/what_con.html', '最新消息', '', '');
	 gentable(lev_div+'conservation/con_rel/con_rel.html', '網站推介', '', '');
 }

else if (  level[fol]=="agriculture" ) { 
	 gentable(lev_div+'agriculture/agr_hk/agr_hk.html', '香港的農業', '', 'y');
	 gentable(lev_div+'agriculture/agr_orgfarm/agr_orgfarm.html', '有機耕作', '', '');
	 gentable(lev_div+'agriculture/agr_ceg/agr_ceg.html', '環控溫室', '', 'y');
	 gentable(lev_div+'agriculture/agr_accfarm/agr_accfarm_intro/agr_accfarm_intro.html', '信譽農場', '', 'y');
	 gentable(lev_div+'agriculture/agr_useful/agr_useful.html', '常用的農業資料', '', 'y');
	 gentable(lev_div+'agriculture/agr_actiupdate/agr_actiupdate.html', '最近農業活動回顧', '', '');
	 gentable(lev_div+'agriculture/agr_loan/agr_loan_erf/agr_loan_erf.html', '貸款基金及緊急救援基金', '', 'y');
	 gentable(lev_div+'agriculture/agr_fresh/agr_fresh.html', '鮮活食品供應及消耗', '', 'y');
	 gentable(lev_div+'agriculture/agr_gov/agr_gov.html', '政府鮮活食品批發市場', '', 'y');
	 gentable(lev_div+'agriculture/agr_sim/agr_sim.html', '合作社及儲蓄互助社成立及申請註冊簡介', '', '');
	 gentable(lev_div+'agriculture/agr_live/agr_live.html', '飼養禽畜牌照', '', '');
 }

 else { 
	 gentable(lev_div+'whatsnew/whatsnew.html', '最新消息', '', 'y');
	 gentable(lev_div+'aboutus/vision_mission/abt_vision_mission.html', '關於我們', '', 'y');
	 gentable(lev_div+'publications/publications.html', '刊物及新聞公報', '', 'y');
	 gentable(lev_div+'access/access.html', '公開資料', '', '');
	 gentable(lev_div+'permit/permit.html', '許可證及牌照申請', '', 'y');
	 gentable(lev_div+'pubforms/pubforms.html', '公用表格', '', 'y');
	 gentable(lev_div+'faq/faq.html', '常見問題', '', 'y');
	 gentable(lev_div+'eservices/eservices.html', '電子服務', '', 'y');
	 gentable(lev_div+'tender/tender.html', '招標/招租公告', '', 'y');
	 gentable(lev_div+'links/links.html', '相關網址', '', '');
	 gentable(lev_div+'contactus/contactus.html', '聯絡我們', '', 'y');
 }

	
}

//end level 1


//level 2

function gensubmenu(){
//gensubtable(lev_div+'link','alt', 'target','layer');
	 if(level[fol] == "quarantine" && ly == "植物品種保護"){ 
	 gensubtable(lev_div+'quarantine/qua_pvp/qua_pvp_pb.html', '植物品種保護申請', '', '');
	 gensubtable(lev_div+'quarantine/qua_pvp/files/pvpleafletb.pdf', '《植物品種保護資料簡介》小冊子(PDF格式)', '', '');
	 gensubtable(lev_div+'quarantine/qua_pvp/qua_pvp_grant.html', '根據《植物品種保護條例》第490章已批准申請的植物新品種', '', '');
	 gensubtable(lev_div+'quarantine/qua_pvp/qua_pvp_apply.html', '根據《植物品種保護條例》第490章已收到申請的植物新品種', '', '');
	 gensubtable(lev_div+'quarantine/qua_plants/qua_plants_pq/qua_plants_pq_imp/qua_plants_frmindex.html', '下載申請表及指南', '', '');
 
} 
 else if(level[fol] == "quarantine" && ly == "植物檢疫"){
	 gensubtable(lev_div+'quarantine/qua_plants/qua_plants_pq/qua_plants_pq.html', '植物檢疫', '', 'y');
	 gensubtable(lev_div+'quarantine/qua_plants/qua_plants_pq/qua_plants_pq_imp/qua_plants_frmindex.html', '下載申請表及指南', '', '');

} 
 else if(level[fol] == "quarantine" && ly == "除害劑"){
	 gensubtable(lev_div+'quarantine/qua_pesticide/qua_pes_whats/qua_pes_whats.html', '最新消息', '', '');
	 gensubtable(lev_div+'quarantine/qua_pesticide/qua_pes_pes/qua_pes_pes.html', '除害劑的監管及有關資訊', '', '');
	 gensubtable(lev_div+'publications/publications_qua/pub_qua_pes/qua_pes_app.html', '下載申請表及指南', '', '');
	 gensubtable(lev_div+'quarantine/qua_pesticide/qua_pes_con/qua_pes_con.html', '有關表列於《鹿特丹公約》內除害劑在本地貿易及相關業務的監管', '', '');
	 gensubtable(lev_div+'publications/publications_qua/pub_qua_pes/qua_pes_lea.html', '小冊子', '', '');

} 
 else if(level[fol] == "quarantine" && ly == "獸醫化驗所"){
	 gensubtable(lev_div+'quarantine/qua_vetlab/qua_vetlab_wm/qua_vetlab_wm.html', '歡迎辭', '', '');
	 gensubtable(lev_div+'quarantine/qua_vetlab/qua_vetlab_cim/qua_vetlab_cim.html', '聯絡資料及地圖', '', '');
	 gensubtable(lev_div+'quarantine/qua_vetlab/qua_vetlab_ndr/qua_vetlab_ndr.html', '通訊 - 疾病報告', '', 'y');

} 
 else if(level[fol] == "quarantine" && ly == "動物及動物產品進出口"){
	 gensubtable(lev_div+'quarantine/qua_ie/qua_ie_ipab/qua_ie_ipab.html', '進口動物及禽鳥', '', 'y');
	 gensubtable(lev_div+'quarantine/qua_ie/qua_ie_eapao/qua_ie_eapao.html', '出口動物及動物產品', '', 'y');
	 gensubtable(lev_div+'quarantine/qua_ie/qua_ie_ies/qua_ie_ies.html', '領回抵港動物（香港國際機場）', '', 'y');
	 gensubtable(lev_div+'quarantine/qua_ie/qua_ie_iqddu/qdd_ie.html', '檢疫偵緝犬', '', 'y');
	 gensubtable(lev_div+'quarantine/qua_ie/qua_ie_iqddu/qdd_report.html', '舉報非法進口動物', '', '');

} 
 else if(level[fol] == "quarantine" && ly == "禽畜飼養"){
	 gensubtable(lev_div+'quarantine/qua_ie/qua_ie_ipab/qua_ie_ipab_ilpbp/qua_ie_ipab_ilpbp.html', '進口種豬', '', '');
	 gensubtable(lev_div+'publications/publications_qua/files/fmdc.pdf', '預防口蹄病', '', '');
	 gensubtable(lev_div+'quarantine/qua_live/qua_live_ol/qua_live_ol.html', '其他連結', '', '');

} 
 else if(level[fol] == "quarantine" && ly == "負責的主人"){
	 gensubtable(lev_div+'quarantine/qua_awc/qua_awc_ac/qua_awc_ac_pro/qua_awc_ac_pro.html', '養狗之道', '', '');
	 gensubtable(lev_div+'quarantine/qua_awc/qua_awc_ac/qua_awc_ac_pro/images/adopt.jpg', '購買非首選，領養更幸福', '', '');
	 gensubtable(lev_div+'quarantine/qua_awc/qua_awc_ac/qua_awc_ac_pro/images/neuter.jpg', '替你的動物絕育', '', '');
	 gensubtable(lev_div+'quarantine/qua_awc/qua_awc_ac/qua_awc_ac_pro/images/reunion.jpg', '失犬速遞', '', '');

} 
 else if(level[fol] == "quarantine" && ly == "動物福利及監控"){
	 gensubtable(lev_div+'quarantine/qua_awc/qua_awc.html', '動物福利', '', 'y');
	 gensubtable(lev_div+'quarantine/qua_awc/qua_awc_ac/qua_awc_ac.html', '動物管制', '', 'y');
	 gensubtable(lev_div+'quarantine/qua_awc/qua_awc_lic/qua_awc_lic.html', '動物經營牌照', '', 'y');
	 gensubtable(lev_div+'quarantine/qua_awc/qua_awc_leg/qua_awc_leg.html', '動物管理科執行有關動物之規例', '', 'y');

} 
 if(level[fol] == "fisheries" && ly == "養殖漁業"){ 
	 gensubtable(lev_div+'fisheries/fish_aqu/fish_aqu.html', '海魚、塘魚及蠔的養殖', '', '');
	 gensubtable(lev_div+'fisheries/fish_aqu/fish_aqu_env/fish_aqu_env.html', '水產養殖環境', '', '');
	 gensubtable(lev_div+'fisheries/fish_aqu/fish_aqu_mfco/fish_aqu_mfco.html', '海魚養殖條例', '', '');
	 gensubtable(lev_div+'fisheries/fish_aqu/fish_aqu_good/fish_aqu_good.html', '良好水產養殖管理', '', '');
	 gensubtable(lev_div+'fisheries/fish_aqu/fish_aqu_techdev/fish_aqu_techdev.html', '技術發展', '', '');
	 gensubtable(lev_div+'fisheries/fish_aqu/fish_aqu_techsup/fish_aqu_techsup.html', '技術協助及財政支援', '', '');
 
} 
 else if(level[fol] == "fisheries" && ly == "捕撈漁業"){
	 gensubtable(lev_div+'fisheries/fish_cap/fish_cap_latest/fish_cap_latest.html', '概況', '', '');
	 gensubtable(lev_div+'fisheries/fish_cap/fish_cap_fpo/fish_cap_fpo.html', '漁業保護條例', '', '');
	 gensubtable(lev_div+'fisheries/fish_cap/fish_cap_con/fish_cap_con.html', '漁業資源存護', '', '');
	 gensubtable(lev_div+'fisheries/fish_cap/fish_cap_techsup/fish_cap_techsup.html', '技術指導、訓練、聯絡及財政援助', '', '');
	 gensubtable(lev_div+'fisheries/fish_cap/fish_cap_main/fish_cap_main.html', '內地過港漁工計劃', '', '');

} 
 else if(level[fol] == "fisheries" && ly == "香港紅潮資訊網絡"){
	 gensubtable(lev_div+'fisheries/hkredtide/update/update.html', '紅潮最新消息', '', 'y');
	 gensubtable(lev_div+'fisheries/hkredtide/redtide/redtide_hab.html', '認識紅潮', '', 'y');
	 gensubtable(lev_div+'fisheries/hkredtide/management/management.html', '紅潮監察與管理', '', 'y');
	 gensubtable(lev_div+'fisheries/hkredtide/database/database.html', '香港紅潮資料庫', '', 'y');
	 gensubtable(lev_div+'fisheries/hkredtide/classroom/classroom.html', '趣味教室', '', 'y');
	 gensubtable(lev_div+'fisheries/hkredtide/resources/resources.html', '資源分享', '', 'y');
	 gensubtable(lev_div+'fisheries/hkredtide/contactus/contactus.html', '聯絡我們', '', '');
	 gensubtable(lev_div+'fisheries/hkredtide/references/references.html', '參考文獻', '', '');

} 
 if(level[fol] == "country" && ly == "遊覽郊野公園"){ 
	 gensubtable('http://www.geopark.gov.hk/', '中國香港世界地質公園', '_BLANK', '');
	 gensubtable(lev_div+'country/cou_vis/cou_vis_cou/cou_vis_cou.html', '郊野公園', '', 'y');
	 gensubtable(lev_div+'country/cou_vis/cou_vis_mar/cou_vis_mar.html', '海岸公園', '', 'y');
	 gensubtable('http://www.hkwalkers.net', '遠足路線', '_BLANK', '');
	 gensubtable(lev_div+'country/cou_vis/cou_vis_rec/cou_vis_rec.html', '康樂設施', '', 'y');
	 gensubtable(lev_div+'country/cou_vis/cou_vis_cam/cou_vis_cam.html', '露營活動', '', 'y');
	 gensubtable(lev_div+'country/cou_vis/cou_vis_mou/cou_vis_mou.html', '越野單車活動', '', 'y');
 
} 
 else if(level[fol] == "country" && ly == "聯絡我們"){
	 gensubtable(lev_div+'country/cou_con/cou_con_faq/cou_con_faq.html', '常見問題', '', '');
	 gensubtable(lev_div+'country/cou_con/cou_con_con/cou_con_con.asp', '聯絡我們', '', '');
	 gensubtable(lev_div+'country/cou_con/cou_con_hot/cou_con_hot.html', '1823 電話中心', '', '');

} 
 else if(level[fol] == "country" && ly == "你可以如何協助我們"){
	 gensubtable(lev_div+'country/cou_how/cou_how_rep/cou_how_rep.html', '報告及建議', '', '');
	 gensubtable(lev_div+'country/cou_how/cou_how_vol/cou_how_vol.html', '郊野公園義工', '', 'y');
	 gensubtable(lev_div+'country/cou_how/cou_how_gcp/cou_how_gcp.html', '良好的處理方法', '', 'y');

} 
 else if(level[fol] == "country" && ly == "有關申請准許證"){
	 gensubtable(lev_div+'permit/permit_cou/cou_app_pricp.html', '郊野公園准許證', '', '');
	 gensubtable(lev_div+'permit/permit_cou/cou_app_primp.html', '海岸公園准許證', '', '');

} 
 else if(level[fol] == "country" && ly == "自然刊物出版及相片庫"){
	 gensubtable('http://www.hknature.net/chi/profiles/index.html', '自然刊物出版', '', '');
	 gensubtable(lev_div+'country/cou_pub/cou_pub_natg/cou_pub_natg.html', '自然相片庫', '', 'y');

} 
 else if(level[fol] == "country" && ly == "認識郊野公園"){
	 gensubtable(lev_div+'conservation/con_end/con_end.html', '生態', '', '');
	 gensubtable(lev_div+'country/cou_lea/cou_lea_ven/cou_lea_ven.html', '郊野公園遊客中心', '', '');
	 gensubtable(lev_div+'country/cou_lea/cou_lea_edu/cou_lea_edu.html', '教育服務', '', '');
	 gensubtable('http://www.legislation.gov.hk/blis_ind.nsf/CurAllChinDoc?OpenView&Start=208&Count=30&Expand=208.1#208.1', '規則及相關法例', '', '');
	 gensubtable(lev_div+'country/cou_lea/cou_lea_use/cou_lea_use.html', '統計數字', '', '');

} 
 if(level[fol] == "conservation" && ly == "基因改造生物紀錄冊"){ 
	 gensubtable(lev_div+'conservation/con_gmo/gmo_intro/gmo_intro.html', '簡介', '', '');
	 gensubtable(lev_div+'conservation/con_gmo/gmo_aboutus/gmo_aboutus.html', '關於我們', '', '');
	 gensubtable(lev_div+'conservation/con_gmo/gmo_control/gmo_control.html', '條例的管制', '', '');
	 gensubtable(lev_div+'conservation/con_gmo/guidelines/gmo_guidelines.html', '指引', '', 'y');
	 gensubtable(lev_div+'conservation/con_gmo/gmo_download/gmo_download.html', '下載公用表格', '', '');
	 gensubtable(lev_div+'conservation/con_gmo/gmo_search.asp', '資料庫搜尋', '', '');
	 gensubtable(lev_div+'conservation/con_gmo/gmo_exp/gmo_exp.html', '專家小組', '', '');
	 gensubtable(lev_div+'conservation/con_gmo/gmo_edu/gmo_edu.html', '教育與宣傳', '', 'y');
	 gensubtable(lev_div+'conservation/con_gmo/gmo_faq/gmo_faq.html', '常問問題', '', '');
	 gensubtable(lev_div+'conservation/con_gmo/gmo_news/gmo_news.html', '最新消息', '', '');
	 gensubtable(lev_div+'conservation/con_gmo/gmo_contactus/gmo_contactus.html', '聯絡我們', '', '');
 
} 
 else if(level[fol] == "conservation" && ly == "香港生物多樣性"){
	 gensubtable(lev_div+'conservation/hkbiodiversity/aboutus/aboutus.html', '關於我們', '', '');
	 gensubtable(lev_div+'conservation/hkbiodiversity/news/news.asp', '最新消息', '', '');
	 gensubtable(lev_div+'conservation/hkbiodiversity/database/search.asp', '香港生物數據庫', '', '');
	 gensubtable(lev_div+'conservation/hkbiodiversity/hkecomap/hkecomap.html', '香港在線生態地圖', '', '');
	 gensubtable(lev_div+'conservation/hkbiodiversity/speciesgroup/speciesgroup.html', '香港物種', '', '');
	 gensubtable(lev_div+'conservation/hkbiodiversity/habitat/habitat.html', '香港生境', '', '');
	 gensubtable(lev_div+'conservation/hkbiodiversity/newsletters/newsletters.html', '下載期刊', '', '');
	 gensubtable(lev_div+'conservation/hkbiodiversity/myfindings/myfindings.html', '我的發現', '', '');
	 gensubtable(lev_div+'conservation/hkbiodiversity/usefullinks/usefullinks.html', '相關網站', '', '');
	 gensubtable(lev_div+'conservation/hkbiodiversity/leaflets/leaflets.html', '其他資訊', '', '');
	 gensubtable(lev_div+'conservation/hkbiodiversity/staff/staff.asp', '專用區', '', '');

} 
 else if(level[fol] == "conservation" && ly == "自然護理"){
	 gensubtable(lev_div+'conservation/con_nat/con_nat_intro/con_nat_intro.html', '簡介', '', '');
	 gensubtable(lev_div+'conservation/con_nat/con_nat_eco/con_nat_eco.html', '生態彌償措施', '', '');

} 
 else if(level[fol] == "conservation" && ly == "海洋護理"){
	 gensubtable(lev_div+'conservation/con_mar/con_mar_chi/con_mar_chi_chi/con_mar_chi_chi.html', '中華白海豚', '', 'y');
	 gensubtable(lev_div+'conservation/con_mar/con_mar_fin/con_mar_fin_fin/con_mar_fin_fin.html', '江豚', '', 'y');
	 gensubtable(lev_div+'conservation/con_mar/con_mar_cor/con_mar_cor.html', '珊瑚', '', 'y');
	 gensubtable(lev_div+'conservation/con_mar/con_mar_hor/con_mar_hor.html', '馬蹄蟹', '', 'y');
	 gensubtable(lev_div+'conservation/con_mar/con_mar_mar/con_mar_mar.html', '海洋底棲生物群落', '', 'y');

} 
 else if(level[fol] == "conservation" && ly == "濕地護理"){
	 gensubtable(lev_div+'conservation/con_wet/con_wet_abt/con_wet_abt_gen/con_wet_abt_gen.html', '關於濕地護理', '', 'y');
	 gensubtable(lev_div+'conservation/con_wet/con_wet_look/con_wet_look.html', '探索米埔拉姆薩爾濕地', '', 'y');
	 gensubtable(lev_div+'conservation/con_wet/con_wet_local/con_wet_local.html', '本港濕地護理工作', '', 'y');
	 gensubtable(lev_div+'conservation/con_wet/con_wet_man/con_wet_man.html', '香港的紅樹', '', 'y');
	 gensubtable(lev_div+'conservation/con_wet/con_wet_sea/con_wet_sea.html', '香港的海草', '', '');
	 gensubtable(lev_div+'conservation/con_wet/streams_rivers_hk/streams_rivers_hk.html', '香港的河流溪澗', '', 'y');

} 
 else if(level[fol] == "conservation" && ly == "動物護理"){
	 gensubtable(lev_div+'conservation/con_fau/con_fau_local/con_fau_local.html', '本港受保護的野生動物', '', '');
	 gensubtable(lev_div+'conservation/con_fau/con_fau_mon/con_fau_mon.html', '猴子', '', 'y');
	 gensubtable(lev_div+'conservation/con_fau/con_fau_sea/con_fau_sea_bas/con_fau_sea_bas.html', '海龜', '', 'y');
	 gensubtable(lev_div+'conservation/con_fau/con_fau_fre/con_fau_fre_the/con_fau_fre_the.html', '淡水龜', '', 'y');
	 gensubtable(lev_div+'conservation/con_fau/con_fau_bird/con_fau_bird_bhk/con_fau_bird_bhk.html', '鳥類', '', 'y');
	 gensubtable(lev_div+'conservation/con_fau/con_fau_rom/con_fau_rom_gen/con_fau_rom_gen.html', '盧氏小樹蛙', '', 'y');
	 gensubtable(lev_div+'conservation/con_fau/con_fau_nui/con_fau_nui.html', '野生動物的滋擾', '', 'y');

} 
 else if(level[fol] == "conservation" && ly == "植物護理"){
	 gensubtable(lev_div+'conservation/con_flo/con_flo_intro/con_flo_intro.html', '前言', '', '');
	 gensubtable(lev_div+'conservation/con_flo/con_flo_hkh/con_flo_hkh.html', '香港植物標本室', '', '');
	 gensubtable(lev_div+'conservation/con_flo/con_flo_enr/con_flo_enr.html', '利用本土植物改善郊野環境', '', '');
	 gensubtable(lev_div+'conservation/con_flo/con_flo_con/con_flo_con.html', '存護稀有及瀕危植物', '', '');
	 gensubtable(lev_div+'conservation/con_flo/con_flo_for/con_flo_for.html', '林務規例', '', '');
	 gensubtable(lev_div+'conservation/con_flo/con_flo_shing/con_flo_shing.html', '城門標本林', '', '');
	 gensubtable(lev_div+'conservation/con_flo/About_Mikania/about_mikania.html', '關於薇甘菊', '', '');

} 
 else if(level[fol] == "conservation" && ly == "瀕危物種"){
	 gensubtable(lev_div+'conservation/con_end/con_end_cites/con_end_cites.html', '瀕危野生動植物種國際貿易公約', '', '');
	 gensubtable(lev_div+'conservation/con_end/con_end_doc/con_end_doc.html', '公約(CITES)官方文件', '', 'y');
	 gensubtable(lev_div+'conservation/con_end/con_end_reg/con_end_reg_ord/con_end_reg_ord.html', '香港的管制', '', 'y');
	 gensubtable(lev_div+'conservation/con_end/con_end_lc/con_end_lc.html', '許可證及證明書', '', 'y');
	 gensubtable(lev_div+'conservation/con_end/con_end_rew/con_end_rew.html', '酬賞制度', '', '');
	 gensubtable(lev_div+'conservation/con_end/con_end_pub/con_end_pub.html', '宣傳及教育活動', '', 'y');
	 gensubtable(lev_div+'conservation/con_end/con_end_pubmat/con_end_pubmat.html', '宣傳資料', '', 'y');
	 gensubtable(lev_div+'conservation/con_end/con_end_info/con_end_info.html', '保護瀕危物種訊息', '', 'y');
	 gensubtable(lev_div+'conservation/con_end/con_end_rel/con_end_rel.html', '有關組織', '', '');
	 gensubtable(lev_div+'conservation/con_end/con_end_faq/con_end_faq.html', '常見問題', '', '');
	 gensubtable(lev_div+'conservation/con_end/con_end_contactus/con_end_contactus.html', '聯絡我們', '', '');
	 gensubtable(lev_div+'conservation/con_end/con_end.html#whatsnew', '最新消息', '', '');

} 
 else if(level[fol] == "conservation" && ly == "新自然保育政策"){
	 gensubtable(lev_div+'conservation/con_nncp/con_nncp_ps/con_nncp_ps.html', '新政策聲明', '', '');
	 gensubtable(lev_div+'conservation/con_nncp/con_nncp_po/con_nncp_po.html', '政策目標', '', '');
	 gensubtable(lev_div+'conservation/con_nncp/con_nncp_list/con_nncp_list.html', '須優先加強保育地點清單', '', '');
	 gensubtable(lev_div+'conservation/con_nncp/con_nncp_new/con_nncp_new.html', '新措施', '', '');
	 gensubtable(lev_div+'conservation/con_nncp/con_nncp_leaf/con_nncp_leaf.html', '新自然保育政策的單張', '', '');
	 gensubtable(lev_div+'conservation/con_nncp/con_nncp_prce/con_nncp_prce.html', '政策檢討及諮詢工作', '', '');
	 gensubtable('http://www.afcd.gov.hk/tc_chi/conservation/con_nncp/con_nncp_news/con_nncp_news.html', '最新消息', '', '');

} 
 if(level[fol] == "agriculture" && ly == "鮮活食品供應及消耗"){ 
	 gensubtable(lev_div+'agriculture/agr_fresh/agr_fresh_fur/agr_fresh_fur.html', '鮮活食品消耗統計資料', '', '');
 
} 
 else if(level[fol] == "agriculture" && ly == "政府鮮活食品批發市場"){
	 gensubtable(lev_div+'agriculture/agr_gov/agr_gov_csw/agr_gov_csw.html', '長沙灣副食品批發市場', '', '');
	 gensubtable(lev_div+'agriculture/agr_gov/agr_gov_w/agr_gov_w.html', '西區副食品批發市場', '', '');
	 gensubtable(lev_div+'agriculture/agr_gov/agr_gov_cswtemp/agr_gov_cswtemp.html', '長沙灣臨時家禽批發市場', '', '');
	 gensubtable(lev_div+'agriculture/agr_gov/agr_gov_n/agr_gov_n.html', '北區臨時農產品批發市場', '', '');
	 gensubtable(lev_div+'agriculture/agr_gov/agr_gov.html', '鮮活食品市場資料', '', '');
	 gensubtable(lev_div+'agriculture/agr_gov/agr_gov_faq/agr_gov_faq.html', '申請副食品批發市場設施的常見問題', '', '');

} 
 else if(level[fol] == "agriculture" && ly == "貸款基金及緊急救援基金"){
	 gensubtable(lev_div+'agriculture/agr_loan/agr_loan_erf/agr_loan_erf.html', '緊急救援基金', '', '');
	 gensubtable(lev_div+'agriculture/agr_loan/agr_loan_kaalf/agr_loan_kaalf.html', '嘉道理農業輔助貸款基金', '', '');
	 gensubtable(lev_div+'agriculture/agr_loan/agr_loan_vmolf/agr_loan_vmolf.html', '蔬菜統營處貸款基金', '', '');
	 gensubtable(lev_div+'agriculture/agr_loan/agr_loan_jtf/agr_loan_jtf.html', '約瑟信託基金', '', '');

} 
 else if(level[fol] == "agriculture" && ly == "常用的農業資料"){
	 gensubtable(lev_div+'agriculture/agr_useful/agr_useful_local/agr_useful_local.html', '常見本地蔬菜', '', '');
	 gensubtable(lev_div+'agriculture/agr_useful/agr_useful_spe/agr_useful_spe.html', '特色蔬菜推介', '', '');
	 gensubtable(lev_div+'agriculture/agr_useful/agr_useful_com/agr_useful_com.html', '常見作物病蟲害及其防治', '', 'y');
	 gensubtable(lev_div+'agriculture/agr_useful/agr_useful_cul/agr_useful_cul.html', '耕作技術', '', '');
	 gensubtable(lev_div+'agriculture/agr_useful/agr_useful_safe/agr_useful_safe.html', '安全及適當使用農藥', '', '');
	 gensubtable(lev_div+'agriculture/agr_useful/agr_useful_farm/agr_useful_farm.html', '農用機械及其租用服務', '', '');
	 gensubtable(lev_div+'agriculture/agr_hk/agr_hk_app/agr_hk_app.html', '申請農用構築物批准書', '', '');
	 gensubtable(lev_div+'agriculture/agr_useful/agr_useful_gap/agr_useful_gap.html', '良好農業規範-作物生產', '', '');
	 gensubtable(lev_div+'agriculture/agr_useful/agr_useful_farmfest/agr_useful_farmfest.html', '本地漁農美食迎春嘉年華', '', '');
	 gensubtable(lev_div+'agriculture/agr_useful/agr_useful_vrs/agr_useful_vrs.html', '本地菜場登記計劃', '', '');

} 
 else if(level[fol] == "agriculture" && ly == "信譽農場"){
	 gensubtable(lev_div+'agriculture/agr_accfarm/agr_accfarm_intro/agr_accfarm_intro.html', '簡介信譽農場計劃', '', '');
	 gensubtable(lev_div+'agriculture/agr_accfarm/agr_accfarm_process/agr_accfarm_process.html', '信譽農場的運作情況', '', '');
	 gensubtable(lev_div+'agriculture/agr_accfarm/agr_accfarm_num/agr_accfarm_num.html', '信譽農場數目及地區分佈', '', '');
	 gensubtable(lev_div+'agriculture/agr_accfarm/agr_accfarm_market/agr_accfarm_market.html', '信譽蔬菜銷售', '', '');
	 gensubtable(lev_div+'agriculture/agr_accfarm/agr_accfarm_app/agr_accfarm_app.html', '申請加入信譽農場', '', '');

} 
 else if(level[fol] == "agriculture" && ly == "環控溫室"){
	 gensubtable(lev_div+'agriculture/agr_ceg/agr_ceg_ceg/agr_ceg_ceg.html', '環控溫室簡介', '', '');
	 gensubtable(lev_div+'agriculture/agr_ceg/agr_ceg_plant/agr_ceg_plant.html', '種植月曆表', '', '');
	 gensubtable(lev_div+'agriculture/agr_ceg/agr_ceg_new/agr_ceg_new.html', '通訊期刊', '', '');
	 gensubtable(lev_div+'agriculture/agr_hk/agr_hk_app/agr_hk_app.html', '申請搭建', '', '');

} 
 else if(level[fol] == "agriculture" && ly == "香港的農業"){
	 gensubtable(lev_div+'agriculture/agr_hk/agr_hk_new/agr_hk_new.html', '生產技術', '', 'y');
	 gensubtable(lev_div+'agriculture/agr_hk/agr_hk_app/agr_hk_app.html', '申請農用構築物批准書', '', '');

} 
 else if(ly == "聯絡我們"){ 
	 gensubtable(lev_div+'contactus/enquiries_and_complaints/Enquiries_and_Complaints.html', '查詢及投訴', '', '');
	 gensubtable(lev_div+'contactus/EnhanceAccessibility_for_PD/Enhance__Accessibility.html', '為殘疾人士提供方便的無障礙設施', '', '');
 
} 
 else if(ly == "最新消息"){ 
	 gensubtable(lev_div+'whatsnew/what_agr/what_agr.html', '農業', '', '');
	 gensubtable(lev_div+'whatsnew/what_fis/what_fis.html', '漁業', '', '');
	 gensubtable(lev_div+'country/cou_wha/cou_wha.html', '郊野公園及海岸公園', '', '');
	 gensubtable(lev_div+'whatsnew/what_con/what_con.html', '自然護理', '', '');
	 gensubtable(lev_div+'whatsnew/what_qua/what_qua.html', '檢驗及檢疫', '', '');
 
} 
 else if(ly == "許可證及牌照申請"){ 
	 gensubtable(lev_div+'permit/permit_agr/permit_agr.html', '農業', '', '');
	 gensubtable(lev_div+'permit/permit_fis/permit_fis.html', '漁業', '', '');
	 gensubtable(lev_div+'permit/permit_cou/permit_cou.html', '郊野公園及海岸公園', '', '');
	 gensubtable(lev_div+'permit/permit_con/permit_con.html', '自然護理', '', '');
	 gensubtable(lev_div+'permit/permit_qua/permit_qua.html', '檢驗及檢疫', '', '');
 
} 
 else if(ly == "公用表格"){ 
	 gensubtable(lev_div+'pubforms/pubforms_agr/pubforms_agr.html', '農業', '', '');
	 gensubtable(lev_div+'pubforms/pubforms_fis/pubforms_fis.html', '漁業', '', '');
	 gensubtable(lev_div+'pubforms/pubforms_cou/pubforms_cou.html', '郊野公園及海岸公園', '', '');
	 gensubtable(lev_div+'pubforms/pubforms_con/pubforms_con.html', '自然護理', '', '');
	 gensubtable(lev_div+'pubforms/pubforms_qua/pubforms_qua.html', '檢驗及檢疫', '', '');
 
} 
 else if(ly == "電子服務"){ 
	 gensubtable(lev_div+'eservices/eservices_agr/eservices_agr.html', '農業', '', '');
	 gensubtable(lev_div+'eservices/eservices_fis/eservices_fis.html', '漁業', '', '');
	 gensubtable(lev_div+'eservices/eservices_cou/eservices_cou.html', '郊野公園及海岸公園', '', '');
	 gensubtable(lev_div+'eservices/eservices_con/eservices_con.html', '自然護理', '', '');
	 gensubtable(lev_div+'eservices/eservices_qua/eservices_qua.html', '檢驗及檢疫', '', '');
	 gensubtable(lev_div+'eservices/ecard/ecard.asp', '電子賀卡服務', '', '');
 
} 
 else if(ly == "招標/招租公告"){ 
	 gensubtable(lev_div+'tender/tender_agr/tender_agr.html', '農業', '', '');
	 gensubtable(lev_div+'tender/tender_fis/tender_fis.html', '漁業', '', '');
	 gensubtable(lev_div+'tender/tender_cou/tender_cou.html', '郊野公園及海岸公園', '', '');
	 gensubtable(lev_div+'tender/tender_con/tender_con.html', '自然護理', '', '');
	 gensubtable(lev_div+'tender/tender_qua/tender_qua.html', '檢驗及檢疫', '', '');
	 gensubtable(lev_div+'tender/tender_rel/tender_rel.html', '有關資訊', '', '');
 
} 
 else if(ly == "關於我們"){ 
	 gensubtable(lev_div+'aboutus/vision_mission/abt_vision_mission.html', '抱負及使命', '', '');
	 gensubtable(lev_div+'aboutus/abt_role/abt_role.html', '漁農自然護理署的職責', '', '');
	 gensubtable(lev_div+'aboutus/abt_perf/abt_perf.html', '本署的服務承諾', '', '');
	 gensubtable(lev_div+'aboutus/abt_org/abt_org.html', '漁農自然護理署的組織圖表', '', '');
	 gensubtable(lev_div+'aboutus/abt_adv/abt_adv.html', '漁農自然護理署諮詢委員會 / 法定委員會', '', '');
	 gensubtable(lev_div+'aboutus/abt_car/abt_car.html', '本署就業機會 / 空缺', '', '');
	 gensubtable(lev_div+'aboutus/Five_day_week/Five_day_week.html', '五天工作周', '', '');
 
} 
 else if(ly == "刊物及新聞公報"){ 
	 gensubtable(lev_div+'publications/publications_press/publications_press.html', '新聞公佈', '', '');
	 gensubtable(lev_div+'publications/publications_dep/publications_dep.html', '漁農自然護理署年報', '', '');
	 gensubtable(lev_div+'publications/publications_env/publications_env.html', '漁農自然護理署環保報告', '', '');
	 gensubtable(lev_div+'publications/publications_agr/publications_agr.html', '農業', '', '');
	 gensubtable(lev_div+'publications/publications_fis/publications_fis.html', '漁業', '', '');
	 gensubtable(lev_div+'publications/publications_cou/publications_cou.html', '郊野公園及海岸公園', '', '');
	 gensubtable(lev_div+'publications/publications_con/publications_con.html', '自然護理', '', '');
	 gensubtable(lev_div+'publications/publications_qua/publications_qua.html', '檢驗及檢疫', '', '');
	 gensubtable(lev_div+'publications/publications_others/others.html', '其他', '', '');
 
} 
 else if(ly == "常見問題"){ 
	 gensubtable(lev_div+'faq/faq_agr/faq_agr.html', '農業', '', '');
	 gensubtable(lev_div+'faq/faq_fis/faq_fis.html', '漁業', '', '');
	 gensubtable(lev_div+'faq/faq_cou/faq_cou.html', '郊野公園及海岸公園', '', '');
	 gensubtable(lev_div+'faq/faq_con/faq_con.html', '自然護理', '', '');
	 gensubtable(lev_div+'faq/faq_qua/faq_qua.html', '檢驗及檢疫', '', '');
 
} 
	
}

// level 3

function genlayer(){	
	//genlaytab(lev_div+'link', 'alt', 'orgcolor', 'overcol','target');

	for(l=0; l<layer.length; l++){
		 if(layer[l] =="檢疫偵緝犬"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'quarantine/qua_ie/qua_ie_iqddu/qdd_intro.html', '簡介', '', '','');
	 genlaytab(lev_div+'quarantine/qua_ie/qua_ie_iqddu/qdd_mission.html', '使命', '', '','');
	 genlaytab(lev_div+'quarantine/qua_ie/qua_ie_iqddu/qdd_objective.html', '目的', '', '','');
	 genlaytab(lev_div+'quarantine/qua_ie/qua_ie_iqddu/qdd_dog_select.html', '篩選狗隻', '', '','');
	 genlaytab(lev_div+'quarantine/qua_ie/qua_ie_iqddu/qdd_training.html', '訓練', '', '','');
	 genlaytab(lev_div+'quarantine/qua_ie/qua_ie_iqddu/qdd_public_coop.html', '公眾合作', '', '','');
	 genlaytab(lev_div+'quarantine/qua_ie/qua_ie_iqddu/qdd_publicity.html', '宣傳及教育', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="植物檢疫"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'quarantine/qua_plants/qua_plants_pq/qua_plants_pq_sm/qua_plants_pq_sm.html', '專題信息', '', '','');
	 genlaytab(lev_div+'quarantine/qua_plants/qua_plants_pq/qua_plants_pq_ppq/qua_plants_pq_ppq.html', '植物進口及出口', '', '','');
	 genlaytab(lev_div+'quarantine/qua_plants/qua_plants_pq/qua_plants_pq_wpm/qua_plants_pq_wpm.html', '木質包裝材料', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="通訊 - 疾病報告"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'quarantine/qua_vetlab/qua_vetlab_ndr/qua_vetlab_ndr_adr/qua_vetlab_ndr_adr.html', '動物疾病報告', '', '','');
	 genlaytab(lev_div+'publications/publications_qua/files/posth5n1.pdf', '二ＯＯ二年十二月至二ＯＯ三年一月發生H5N1事故之後監察野鳥有否感染禽流感的工作', '', '','_BLANK');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="領回抵港動物（香港國際機場）"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'quarantine/qua_ie/qua_ie_ies/qua_ie_ies_prep.html', '準備工作', '', '','');
	 genlaytab(lev_div+'quarantine/qua_ie/qua_ie_ies/qua_ie_ies_prior.html', '預先查核文件服務', '', '','');
	 genlaytab(lev_div+'quarantine/qua_ie/qua_ie_ies/qua_ie_ies_arrive.html', '抵港', '', '','');
	 genlaytab(lev_div+'quarantine/qua_ie/qua_ie_ies/qua_ie_ies_collect.html', '領回', '', '','');
	 genlaytab(lev_div+'quarantine/qua_ie/qua_ie_ies/qua_ie_ies_info.html', '重要資料', '', '','');
	 genlaytab(lev_div+'quarantine/qua_ie/qua_ie_ies/qua_ie_ies_link.html', '相關網頁連結', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="出口動物及動物產品"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'quarantine/qua_ie/qua_ie_eapao/qua_ie_eapao_ioahc/qua_ie_eapao_ioahc.html', '動物健康證書', '', '','');
	 genlaytab(lev_div+'quarantine/qua_ie/qua_ie_eapao/qua_ie_eapao_iscpao/qua_ie_eapao_iscpao.html', '動物產品衛生證書', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="動物管理科執行有關動物之規例"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'quarantine/qua_awc/qua_awc_leg/qua_awc_leg_pre/qua_awc_leg_pre.html', '防止殘酷對待動物', '', '','');
	 genlaytab(lev_div+'quarantine/qua_awc/qua_awc_leg/qua_awc_leg_ani/qua_awc_leg_ani.html', '動物商業活動', '', '','');
	 genlaytab(lev_div+'quarantine/qua_awc/qua_awc_leg/qua_awc_leg_dogs/qua_awc_leg_dogs.html', '狗與狂犬病', '', '','');
	 genlaytab(lev_div+'quarantine/qua_awc/qua_awc_leg/qua_awc_leg_pou/qua_awc_leg_pou.html', '動物羈留', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="動物經營牌照"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'quarantine/qua_awc/qua_awc_lic/qua_awc_lic_atl/qua_awc_lic_atl.html', '動物售賣商牌照', '', '','');
	 genlaytab(lev_div+'quarantine/qua_awc/qua_awc_lic/qua_awc_lic_abel/qua_awc_lic_abel.html', '動物寄養所牌照', '', '','');
	 genlaytab(lev_div+'quarantine/qua_awc/qua_awc_lic/qua_awc_lic_rel/qua_awc_lic_rel.html', '騎馬場地牌照', '', '','');
	 genlaytab(lev_div+'quarantine/qua_awc/qua_awc_lic/qua_awc_lic_ael/qua_awc_lic_ael.html', '動物及禽鳥展覽牌照 / 動物及禽鳥展覽臨時許可證', '', '','');
	 genlaytab(lev_div+'quarantine/qua_awc/qua_awc_lic/qua_awc_lic_qcl/qua_awc_lic_qcl.html', '檢疫中心牌照', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="動物管制"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'quarantine/qua_awc/qua_awc_ac/qua_awc_ac_dog/qua_awc_ac_dog.html', '狗隻領取牌照、晶片識別及注射預防狂犬病疫苗', '', '','');
	 genlaytab(lev_div+'quarantine/qua_awc/qua_awc_ac/qua_awc_ac_pro/qua_awc_ac_pro.html', '正確管束你的狗隻', '', '','');
	 genlaytab(lev_div+'quarantine/qua_awc/qua_awc_ac/qua_awc_ac_exe/qua_awc_ac_exe.html', '大型狗隻豁免規管考試', '', '','');
	 genlaytab(lev_div+'quarantine/qua_awc/qua_awc_ac/qua_awc_ac_sch/files/EExam_application_v5_final_version.pdf', '大型狗隻豁免規管考試申請表(PDF表格)', '', '','_BLANK');
	 genlaytab(lev_div+'quarantine/qua_awc/qua_awc_ac/qua_awc_ac_sch/qua_awc_ac_sch.html', '大型狗隻豁免規管考試時間表', '', '','');
	 genlaytab(lev_div+'quarantine/qua_awc/qua_awc_ac/qua_awc_ac_exe_exam/qua_awc_ac_exe_exam.html', '豁免考試的規則', '', '','');
	 genlaytab(lev_div+'quarantine/qua_awc/qua_awc_ac/qua_awc_ac_con/qua_awc_ac_con.html', '管制危險狗隻', '', '','');
	 genlaytab(lev_div+'publications/publications_qua/files/dogcodec.pdf', '建築地盤養狗', '', '','_BLANK');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="動物福利"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'quarantine/qua_awc/qua_awc_aw/qua_am_aw_awag/qua_am_aw_awag.html', '動物福利諮詢小組', '', '','');
	 genlaytab(lev_div+'quarantine/qua_awc/qua_awc_aw/qua_am_aw_afcd/qua_am_aw_afcd.html', '寵物領養計劃', '', '','');
	 genlaytab(lev_div+'publications/publications_qua/files/rehome_c.pdf', '領養狗貓程序', '', '','_BLANK');
	 genlaytab(lev_div+'publications/publications_qua/files/rehome_other_c.pdf', '領養其他寵物程序', '', '','_BLANK');
	 genlaytab(lev_div+'quarantine/qua_awc/qua_awc_aw/qua_am_aw_taking/qua_am_aw_taking.html', '悉心照顧你的寵物', '', '','');
	 genlaytab(lev_div+'quarantine/qua_awc/qua_awc_aw/qua_am_aw_awo/qua_am_aw_awo.html', '動物福利團體', '', '','');
	 genlaytab(lev_div+'quarantine/qua_awc/qua_awc_aw/qua_am_aw_ben/qua_am_aw_ben.html', '替寵物絕育的好處', '', '','');
	 genlaytab(lev_div+'quarantine/qua_awc/qua_awc_aw/qua_am_aw_code/qua_am_aw_code.html', '實驗動物照料與使用守則', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="進口動物及禽鳥"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'quarantine/qua_ie/qua_ie_ipab/qua_ie_ipab_idc/qua_ie_ipab_idc.html', '進口貓狗', '', '','');
	 genlaytab(lev_div+'quarantine/qua_ie/qua_ie_ipab/qua_ie_ipab_ibpo/qua_ie_ipab_ibpo.html', '進口雀鳥，家禽及鴕鳥', '', '','');
	 genlaytab(lev_div+'quarantine/qua_ie/qua_ie_ipab/qua_ie_ipab_irrmpm/qua_ie_ipab_irrmpm.html', '進口爬蟲類，鼠兔類及其他寵物', '', '','');
	 genlaytab(lev_div+'quarantine/qua_ie/qua_ie_ipab/qua_ie_ipab_ihea/qua_ie_ipab_ihea.html', '進口馬及馬科動物', '', '','');
	 genlaytab(lev_div+'quarantine/qua_ie/qua_ie_ipab/qua_ie_ipab_ilpbp/qua_ie_ipab_ilpbp.html', '進口種豬', '', '','');
	 genlaytab(lev_div+'quarantine/qua_ie/files/spfee.pdf', '特別許可證費用', '', '','_BLANK');
	 genlaytab(lev_div+'quarantine/qua_ie/qua_ie_ipab/qua_ie_ipab_iap/qua_ie_ipab_iap.html', '進口動物屍體及動物產品', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="紅潮監察與管理"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'fisheries/hkredtide/management/mon_mgt.html', '香港紅潮監察及管理', '', '','');
	 genlaytab(lev_div+'fisheries/hkredtide/management/mon_mgt02.html', '紅潮/有害藻華管理行動總計劃', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="認識紅潮"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'fisheries/hkredtide/redtide/red.html', '紅潮是甚麼 ？', '', '','');
	 genlaytab(lev_div+'fisheries/hkredtide/redtide/red02.html', '紅潮/藻華是怎樣形成的？', '', '','');
	 genlaytab(lev_div+'fisheries/hkredtide/redtide/red03.html', '紅潮/有害藻華在香港', '', '','');
	 genlaytab(lev_div+'fisheries/hkredtide/redtide/red04.html', '紅潮/有害藻華造成的損失', '', '','');
	 genlaytab(lev_div+'fisheries/hkredtide/redtide/red05.html', '有害藻華可能造成的影響', '', '','');
	 genlaytab(lev_div+'fisheries/hkredtide/redtide/red06.html', '紅潮出現時應採取的措施', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="紅潮最新消息"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'fisheries/hkredtide/update/updata.asp', '一週簡報', '', '','');
	 genlaytab(lev_div+'fisheries/hkredtide/update/updata_sub.asp', '查閱過去的紅潮概況', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="趣味教室"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'fisheries/hkredtide/classroom/activity.html', '活動', '', '','');
	 genlaytab(lev_div+'fisheries/hkredtide/classroom/quiz.html', '考考你', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="資源分享"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'fisheries/hkredtide/resources/download.html', '資源下載', '', '','');
	 genlaytab(lev_div+'fisheries/hkredtide/resources/link.html', '友善連結', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="香港紅潮資料庫"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'fisheries/hkredtide/database/database_fig.html', '香港紅潮數據及圖表', '', '','');
	 genlaytab(lev_div+'fisheries/hkredtide/database/hkdatabase.asp', '香港紅潮資料庫', '', '','');
	 genlaytab(lev_div+'fisheries/hkredtide/database/database_intro.html', '浮游植物簡介', '', '','');
	 genlaytab(lev_div+'fisheries/hkredtide/database/database_diatoms.html', '硅藻', '', '','');
	 genlaytab(lev_div+'fisheries/hkredtide/database/database_dino.html', '甲藻', '', '','');
	 genlaytab(lev_div+'fisheries/hkredtide/database/database_others.html', '其他藻類', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="越野單車活動"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'country/cou_vis/cou_vis_mou/cou_vis_mou_cod/cou_vis_mou_cod.html', '越野單車活動守則', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_mou/cou_vis_mou_saf/cou_vis_mou_saf.html', '越野單車安全設備', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_mou/cou_vis_mou_mou/cou_vis_mou_mou.html', '越野單車路線', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_mou/cou_vis_mou_app/cou_vis_mou_app.html', '越野單車許可證', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="露營活動"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'country/cou_vis/cou_vis_rec/cou_vis_rec_hin/cou_vis_rec_hin.html', '郊野公園露營人士指引', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_cam/cou_vis_cam_reg/cou_vis_cam_reg.html', '有關露營法例', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_cam/cou_vis_cam_cam/cou_vis_cam_cam.html', '指定露營地點', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_cam/cou_vis_cam_wat/cou_vis_cam_wat.html', '水源狀況', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="康樂設施"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'country/cou_vis/cou_vis_rec/cou_vis_rec_hin/cou_vis_rec_hin.html', '郊野公園遊客指引', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_rec/cou_vis_bar.html', '主要康樂或燒烤地區', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_rec/cou_vis_dis.html', '為特別需要人士而設的康樂設施', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="海岸公園"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'country/cou_vis/cou_vis_mar/cou_vis_mar_wha/cou_vis_mar_wha.html', '最新消息', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_mar/cou_vis_mar_bac/cou_vis_mar_bac.html', '背景', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_mar/cou_vis_mar_des/cou_vis_mar_des.html', '指定的海岸公園及海岸保護區', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_mar/cou_vis_mar_pla/cou_vis_mar_pla.html', '管理與計劃', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_mar/cou_vis_mar_edu/cou_vis_mar_edu.html', '教育與宣傳', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_mar/cou_vis_mar_mpp/cou_vis_mar_mpp.html', '海岸公園許可證', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_mar/cou_vis_mar_mpvs/cou_vis_mar_mpvs.html', '海岸公園遊客服務', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_mar/cou_vis_mar_mon/cou_vis_mar_mon.html', '監察', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_mar/cou_vis_mar_faq/cou_vis_mar_faq.html', '常見問題', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="郊野公園"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'country/cou_vis/cou_vis_cou/cou_vis_cou_sm/cou_vis_cou_sm.html', '城門', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_cou/cou_vis_cou_ks/cou_vis_cou_ks.html', '金山', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_cou/cou_vis_cou_lr/cou_vis_cou_lr.html', '獅子山', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_cou/cou_vis_cou_abe/cou_vis_cou_abe.html', '香港仔', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_cou/cou_vis_cou_tt/cou_vis_cou_tt.html', '大潭', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_cou/cou_vis_cou_ske/cou_vis_cou_ske.html', '西貢東', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_cou/cou_vis_cou_skw/cou_vis_cou_skw.html', '西貢西', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_cou/cou_vis_cou_pc/cou_vis_cou_pc.html', '船灣', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_cou/cou_vis_cou_ls/cou_vis_cou_ls.html', '南大嶼', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_cou/cou_vis_cou_ln/cou_vis_cou_ln.html', '北大嶼及擴建部份', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_cou/cou_vis_cou_psl/cou_vis_cou_psl.html', '八仙嶺', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_cou/cou_vis_cou_tl/cou_vis_cou_tl.html', '大欖', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_cou/cou_vis_cou_tms/cou_vis_cou_tms.html', '大帽山', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_cou/cou_vis_cou_lt/cou_vis_cou_lt.html', '林村', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_cou/cou_vis_cou_mos/cou_vis_cou_mos.html', '馬鞍山', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_cou/cou_vis_cou_kt/cou_vis_cou_kt.html', '橋咀', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_cou/cou_vis_cou_pce/cou_vis_cou_pce.html', '船灣(擴建部份)', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_cou/cou_vis_cou_so/cou_vis_cou_so.html', '石澳', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_cou/cou_vis_cou_pfl/cou_vis_cou_pfl.html', '薄扶林', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_cou/cou_vis_cou_ttqbe/cou_vis_cou_ttqbe.html', '大潭(鰂魚涌擴建部份)', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_cou/cou_vis_cou_cwb/cou_vis_cou_cwb.html', '清水灣', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_cou/cou_vis_cou_skwwte/cou_vis_cou_skwwte.html', '西貢西 (灣仔擴建部份)', '', '','');
	 genlaytab(lev_div+'country/cou_vis/cou_vis_cou/cou_vis_cou_lfs/cou_vis_cou_lfs.html', '龍虎山', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="良好的處理方法"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'country/cou_how/cou_how_gcp/cou_how_gcp_cou/cou_how_gcp_cou.html', '郊區守則', '', '','');
	 genlaytab(lev_div+'country/cou_how/cou_how_gcp/cou_how_gcp_tak/cou_how_gcp_tak.html', '請將&#30803;來垃圾帶走', '', '','');
	 genlaytab(lev_div+'country/cou_how/cou_how_gcp/cou_how_gcp_con/cou_how_gcp_con.html', '控制狗隻 顧己及人', '', '','');
	 genlaytab(lev_div+'country/cou_how/cou_how_gcp/cou_how_gcp_don/cou_how_gcp_don.html', '切勿餵飼動物', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="郊野公園義工"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'country/cou_how/cou_how_vol/cou_how_vol_cpv/cou_how_vol_cpv.html', '郊野公園義工', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="自然相片庫"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'country/cou_pub/cou_pub_natg/cou_pub_natg_lan/cou_pub_natg_lan.html', '風 景', '', '','');
	 genlaytab(lev_div+'country/cou_pub/cou_pub_natg/cou_pub_natg_pla/cou_pub_natg_pla.html', '植 物', '', '','');
	 genlaytab(lev_div+'country/cou_pub/cou_pub_natg/cou_pub_natg_ani/cou_pub_natg_ani.html', '動 物', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="公約(CITES)官方文件"){ 
	 genlayerheader(l); 
	 genlaytab('http://www.cites.org/eng/disc/text.shtml', '文本', '', '','');
	 genlaytab('http://www.cites.org/eng/res/index.shtml', '決議', '', '','_BLANK');
	 genlaytab('http://www.cites.org/eng/dec/index.shtml', '決定', '', '','_BLANK');
	 genlaytab('http://www.cites.org/eng/notif/index.shtml', '致締約國通知書', '', '','_BLANK');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="教育與宣傳"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'conservation/con_gmo/gmo_edu/gmo_edu_market.html', '在國際市場上的基因改造生物', '', '','');
	 genlaytab(lev_div+'conservation/con_gmo/gmo_edu/gmo_edu_survey.html', '香港基因改造生物的調查結果', '', '','');
	 genlaytab(lev_div+'conservation/con_gmo/gmo_edu/pamphlets.html', '宣傳小冊子及海報', '', '','');
	 genlaytab(lev_div+'conservation/con_gmo/gmo_edu/gmo_edu_information.html', '實用的資料', '', '','');
	 genlaytab(lev_div+'conservation/con_gmo/gmo_edu/gmo_edu_list.html', '有用的連結', '', '','');
	 genlaytab(lev_div+'conservation/con_gmo/gmo_edu/gmo_edu_papers.html', '文件及會議紀錄', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="指引"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'conservation/con_gmo/guidelines/gmo_app_gui.html', '基因改造生物核准申請指引', '', '','');
	 genlaytab(lev_div+'conservation/con_gmo/guidelines/gmo_doc_gui.html', '文件規定指引', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="海洋底棲生物群落"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'conservation/con_mar/con_mar_mar/con_mar_mar_intro/con_mar_mar_intro.html', '引言', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_mar/con_mar_mar_ben/con_mar_mar_ben.html', '海洋底棲生物兩', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_mar/con_mar_mar_dis/con_mar_mar_dis.html', '分佈及數量', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_mar/con_mar_mar_cha/con_mar_mar_cha.html', '特徵及季節性轉變', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_mar/con_mar_mar_mult/con_mar_mar_mult.html', '多媒體展覽室', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_mar/con_mar_mar_use/con_mar_mar_use.html', '有關網站連結', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_mar/con_mar_mar_ref/con_mar_mar_ref.html', '其他參考文獻', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="珊瑚"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'conservation/con_mar/con_mar_cor/con_mar_cor_intro/con_mar_cor_intro.html', '引言', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_cor/con_mar_cor_hkcaml/con_mar_cor_hkcaml.html', '香港的珊瑚及其他海洋生物', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_cor/con_mar_cor_con/con_mar_cor_con.html', '存護情況', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_cor/con_mar_cor_cor/con_mar_cor_cor.html', '珊瑚圖鑑', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_cor/con_mar_cor_hkrc/con_mar_cor_hkrc.html', '香港珊瑚礁普查', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_cor/con_mar_cor_mult/con_mar_cor_mult.html', '多媒體展覽室', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_cor/con_mar_cor_ref/con_mar_cor_ref.html', '其他參考文獻及有關書籍', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="馬蹄蟹"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'conservation/con_mar/con_mar_hor/con_mar_hor_intro/con_mar_hor_intro.html', '簡介', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_hor/con_mar_hor_life/con_mar_hor_life.html', '生活周期和行為', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_hor/con_mar_hor_con/con_mar_hor_con.html', '存護情況', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_hor/con_mar_hor_hor/con_mar_hor_hor.html', '香港的馬蹄蟹', '', '','');
	 genlaytab('javascript:;" onclick="MM_openBrWindow(\''+lev_div+'conservation/con_mar/con_mar_hor/con_mar_hor_make/popup_hor_teach01_03.html\',\'popup\',\'width=50,height=50\')', '齊來摺隻馬蹄蟹', '', '','_BLANK');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="香港的紅樹"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'conservation/con_wet/con_wet_man/con_wet_man_what/con_wet_man_what.html', '甚麼是紅樹林？', '', '','');
	 genlaytab(lev_div+'conservation/con_wet/con_wet_man/con_wet_man_ada/con_wet_man_ada.html', '紅樹的適應力', '', '','');
	 genlaytab(lev_div+'conservation/con_wet/con_wet_man/con_wet_man_local/con_wet_man_local.html', '本地紅樹的種類', '', '','');
	 genlaytab(lev_div+'conservation/con_wet/con_wet_man/con_wet_man_dis/con_wet_man_dis.html', '分佈', '', '','');
	 genlaytab(lev_div+'conservation/con_wet/con_wet_man/con_wet_man_val/con_wet_man_val.html', '紅樹林的價值', '', '','');
	 genlaytab(lev_div+'conservation/con_wet/con_wet_man/con_wet_man_con/con_wet_man_con.html', '自然護理', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="香港的河流溪澗"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'conservation/con_wet/streams_rivers_hk/Introduction/intro.html', '引言', '', '','');
	 genlaytab(lev_div+'conservation/con_wet/streams_rivers_hk/Threats_to_NSR/threats_to_nsr.html', '天然河溪所受的威脅', '', '','');
	 genlaytab(lev_div+'conservation/con_wet/streams_rivers_hk/Con_NSR/con_nsr.html', '天然河溪的保育工作', '', '','');
	 genlaytab(lev_div+'conservation/con_wet/streams_rivers_hk/Showcase_S_Restore/showcase_s_restore.html', '河道修復工程示範個案', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="中華白海豚"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'conservation/con_mar/con_mar_chi/con_mar_chi_chi/con_mar_chi_chi_int.html', '引言', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_chi/con_mar_chi_chi/con_mar_chi_chi_dis.html', '分佈', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_chi/con_mar_chi_chi/con_mar_chi_chi_abu.html', '數目', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_chi/con_mar_chi_chi/con_mar_chi_chi_soc.html', '群居結構及習性', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_chi/con_mar_chi_chi/con_mar_chi_chi_life.html', '生活周期', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_chi/con_mar_chi_chi/con_mar_chi_chi_con.html', '存護情況', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_chi/con_mar_chi_chi/con_mar_chi_chi_rep.html', '報告擱淺海豚', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_chi/con_mar_chi_chi/con_mar_chi_chi_fur.html', '其他參考文獻', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_chi/con_mar_chi_vid/con_mar_chi_vid.html', '錄像下載', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_chi/con_mar_chi_wall/con_mar_chi_wall.html', '桌布下載', '', '','');
	 genlaytab('http://www.afcd.gov.hk/tc_chi/publications/publications_con/files/conpgm.pdf', '香港中華白海豚護理計劃', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_chi/con_mar_chi_dol/con_mar_chi_dol.html', '最常見的海豚', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="江豚"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'conservation/con_mar/con_mar_fin/con_mar_fin_fin/con_mar_fin_fin_int.html', '引言', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_fin/con_mar_fin_fin/con_mar_fin_fin_dis.html', '分佈及數目', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_fin/con_mar_fin_fin/con_mar_fin_fin_soc.html', '群居結構、習性及生活周期', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_fin/con_mar_fin_fin/con_mar_fin_fin_con.html', '存護情況', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_fin/con_mar_fin_fin/con_mar_fin_fin_rep.html', '報告擱淺鯨豚', '', '','');
	 genlaytab(lev_div+'conservation/con_mar/con_mar_fin/con_mar_fin_fin/con_mar_fin_fin_fur.html', '其他參考文獻', '', '','');
	 genlaytab(lev_div+'publications/publications_con/files/fin_executive_summary.doc', '行政摘要', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="本港濕地護理工作"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'conservation/con_wet/con_wet_local/con_wet_local_pro/con_wet_local_pro.html', '提倡保護和明智善用濕地', '', '','');
	 genlaytab(lev_div+'conservation/con_wet/con_wet_local/con_wet_local_land/con_wet_local_land.html', '土地用途及水質管制', '', '','');
	 genlaytab(lev_div+'conservation/con_wet/con_wet_local/con_wet_local_sub/con_wet_local_sub.html', '資助計劃', '', '','');
	 genlaytab(lev_div+'conservation/con_wet/con_wet_local/con_wet_local_con/con_wet_local_con.html', '濕地彌償顧問研究', '', '','');
	 genlaytab(lev_div+'conservation/con_wet/con_wet_local/con_wet_local_min/con_wet_local_min.html', '小型保育計劃', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="海龜"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'conservation/con_fau/con_fau_sea/con_fau_sea_bas/con_fau_sea_bas_spe.html', '海龜基本資料', '', '','');
	 genlaytab(lev_div+'conservation/con_fau/con_fau_sea/con_fau_sea_sea/con_fau_sea_sea.html', '香港有記錄的海龜', '', '','');
	 genlaytab(lev_div+'conservation/con_fau/con_fau_sea/con_fau_sea_con/con_fau_sea_con.html', '香港的綠海龜保育措施', '', '','');
	 genlaytab(lev_div+'conservation/con_fau/con_fau_sea/con_fau_sea_pub/con_fau_sea_pub.html', '參考資料', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="淡水龜"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'conservation/con_fau/con_fau_fre/con_fau_fre_the/con_fau_fre_the.html', '本地淡水龜', '', '','');
	 genlaytab(lev_div+'conservation/con_fau/con_fau_fre/con_fau_fre_con/con_fau_fre_con.html', '保育', '', '','');
	 genlaytab(lev_div+'conservation/con_fau/con_fau_fre/con_fau_fre_ref/con_fau_fre_ref.html', '參考資料', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="鳥類"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'conservation/con_fau/con_fau_bird/con_fau_bird_bhk/con_fau_bird_bhk.html', '香港的鳥類', '', '','');
	 genlaytab(lev_div+'conservation/con_fau/con_fau_bird/con_fau_bird_int/con_fau_bird_int.html', '鳥類保育的國際聯繫網絡', '', '','');
	 genlaytab(lev_div+'conservation/con_fau/con_fau_bird/con_fau_bird_bwhk/con_fau_bird_bwhk.html', '在香港觀鳥', '', '','');
	 genlaytab(lev_div+'conservation/con_fau/con_fau_bird/con_fau_bird_stu/con_fau_bird_stu.html', '漁農自然護理署委託進行的鳥類保育研究計劃', '', '','');
	 genlaytab(lev_div+'conservation/con_fau/con_fau_bird/con_fau_bird_tips/con_fau_bird_tips.html', '觀鳥小提示', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="盧氏小樹蛙"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'conservation/con_fau/con_fau_rom/con_fau_rom_gen/con_fau_rom_gen.html', '一般特趣', '', '','');
	 genlaytab(lev_div+'conservation/con_fau/con_fau_rom/con_fau_rom_con/con_fau_rom_con.html', '保育', '', '','');
	 genlaytab(lev_div+'conservation/con_fau/con_fau_rom/con_fau_rom_ref/con_fau_rom_ref.html', '參考資料', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="野生動物的滋擾"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'conservation/con_fau/con_fau_nui/con_fau_nui_wil/con_fau_nui_wil.html', '野生動物的鳴叫聲', '', '','');
	 genlaytab(lev_div+'conservation/con_fau/con_fau_nui/con_fau_nui_str/con_fau_nui_str.html', '誤闖民居的野生猴子', '', '','');
	 genlaytab(lev_div+'conservation/con_fau/con_fau_nui/con_fau_nui_pig/con_fau_nui_pig.html', '野豬滋擾', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="關於濕地護理"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'conservation/con_wet/con_wet_abt/con_wet_abt_gen/con_wet_abt_gen.html', '濕地一般資料', '', '','');
	 genlaytab(lev_div+'conservation/con_wet/con_wet_abt/con_wet_abt_ram/con_wet_abt_ram.html', '《拉姆薩爾公約》', '', '','');
	 genlaytab(lev_div+'conservation/con_wet/con_wet_abt/con_wet_abt_world/con_wet_abt_world.html', '世界濕地日', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="探索米埔拉姆薩爾濕地"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'conservation/con_wet/con_wet_look/con_wet_look_des/con_wet_look_des.html', '選定米埔內后海灣為拉姆薩爾濕地', '', '','');
	 genlaytab(lev_div+'conservation/con_wet/con_wet_look/con_wet_look_gen/con_wet_look_gen.html', '米埔拉姆薩爾濕地一般資料', '', '','');
	 genlaytab(lev_div+'conservation/con_wet/con_wet_look/con_wet_look_man/con_wet_look_man.html', '米埔內后海灣拉姆薩爾濕地管理計劃', '', '','');
	 genlaytab(lev_div+'conservation/con_wet/con_wet_look/con_wet_look_enf/con_wet_look_enf.html', '執法- 野生動物保護條例', '', '','');
	 genlaytab(lev_div+'conservation/con_wet/con_wet_look/con_wet_look_bas/con_wet_look_bas.html', '米埔內后海灣拉姆薩爾濕地基線生態監察計劃', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="猴子"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'conservation/con_fau/con_fau_mon/con_fau_mon_wild/con_fau_mon_wild.html', '香港的野生猴子', '', '','');
	 genlaytab(lev_div+'conservation/con_fau/con_fau_mon/con_fau_mon_the/con_fau_mon_the.html', '禁止餵飼猴子', '', '','');
	 genlaytab(lev_div+'conservation/con_fau/con_fau_mon/con_fau_mon_pro/con_fau_mon_pro.html', '如何避免受猴子滋擾', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="宣傳資料"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'conservation/con_end/con_end_pubmat/con_end_pubmat_pam/con_end_pubmat_pam.html', '小冊子及單張', '', '','');
	 genlaytab(lev_div+'conservation/con_end/con_end_pubmat/con_end_pubmat_post/con_end_pubmat_post.html', '海報', '', '','');
	 genlaytab(lev_div+'conservation/con_end/files/common/AFD_Cantonese_wmv.wmv', '宣傳短片', '', '','');
	 genlaytab(lev_div+'conservation/con_end/wallpaper_result.html', '電腦桌布', '', '','');
	 genlaytab(lev_div+'conservation/con_end/con_end_lc/con_end_lc_guide/con_end_lc_guide.html', '申請《公約》許可證指引', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="保護瀕危物種訊息"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'conservation/con_end/con_end_info/con_end_info_cir/con_end_info_cir.html', '通函', '', '','');
	 genlaytab(lev_div+'conservation/con_end/con_end_info/con_end_info_press/con_end_info_press.html', '新聞公佈', '', '','');
	 genlaytab(lev_div+'conservation/con_end/con_end_info/con_end_info_online/con_end_info_online.html', '網上買賣瀕危物種', '', '','');
	 genlaytab(lev_div+'conservation/con_end/con_end_info/con_end_info_gazette/con_end_info_gazette.html', '憲報', '', '','');
	 genlaytab(lev_div+'conservation/con_end/con_end_pub/con_end_pub_data/con_end_pub_data.html', '瀕危物種資料庫', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="宣傳及教育活動"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'conservation/con_end/con_end_pub/con_end_pub_act/con_end_pub_act.html', '活動', '', '','');
	 genlaytab(lev_div+'conservation/con_end/con_end_pub/con_end_pub_esrc/con_end_pub_esrc.html', '瀕危物種資源中心', '', '','');
	 genlaytab(lev_div+'conservation/con_end/con_end_pub/con_end_pub_talks/con_end_pub_talks.html', '講座及展覽', '', '','');
	 genlaytab(lev_div+'conservation/con_end/con_end_pub/con_end_pub_online/con_end_pub_online.html', '網上遊戲', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="許可證及證明書"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'conservation/con_end/con_end_lc/con_end_lc_how/con_end_lc_how.html', '如何申請許可證', '', '','');
	 genlaytab(lev_div+'conservation/con_end/con_end_lc/con_end_lc_app/con_end_lc_app.html', '申請表及證明文件', '', '','');
	 genlaytab(lev_div+'conservation/con_end/con_end_lc/con_end_lc_sub/con_end_lc_sub.html', '遞交申請', '', '','');
	 genlaytab(lev_div+'conservation/con_end/con_end_lc/con_end_lc_fees/con_end_lc_fees.html', '費用', '', '','');
	 genlaytab(lev_div+'conservation/con_end/con_end_lc/con_end_lc_guide/con_end_lc_guide.html', '申請《公約》許可證指引', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="香港的管制"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'conservation/con_end/con_end_reg/con_end_reg_ord/con_end_reg_ord.html', '有關法例', '', '','');
	 genlaytab(lev_div+'conservation/con_end/con_end_reg/con_end_reg_some/con_end_reg_some_new.html', '列明物種', '', '','');
	 genlaytab(lev_div+'conservation/con_end/con_end_reg/con_end_reg_lic/con_end_reg_lic.html', '許可證及查驗要求', '', '','');
	 genlaytab(lev_div+'conservation/con_end/con_end_reg/con_end_reg_pen/con_end_reg_pen.html', '違例刑罰', '', '','');
	 genlaytab(lev_div+'conservation/con_end/con_end_reg/con_end_reg_tra/con_end_reg_tra.html', '過境', '', '','');
	 genlaytab(lev_div+'conservation/con_end/con_end_reg/con_end_reg_tou/con_end_reg_tou.html', '個人或家庭財物', '', '','');
	 genlaytab(lev_div+'conservation/con_end/con_end_reg/con_end_reg_tou/con_end_reg_tou.html#tou_c', '旅遊紀念品', '', '','');
	 genlaytab(lev_div+'conservation/con_end/con_end_reg/con_end_reg_oth/con_end_reg_oth.html', '其他規定', '', '','');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="生產技術"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'agriculture/agr_useful/agr_useful.html', '常用的農業資料', '', '','_BLANK');
	 genlaytab(lev_div+'agriculture/agr_ceg/agr_ceg.html', '環控溫室', '', '','');
	 genlaytab(lev_div+'agriculture/agr_orgfarm/agr_orgfarm.html', '有機耕作', '', '','_BLANK');
 
	 genlayerfooter(); 
	 } 
	 if(layer[l] =="常見作物病蟲害及其防治"){ 
	 genlayerheader(l); 
	 genlaytab(lev_div+'agriculture/agr_useful/agr_useful_com/agr_useful_com_flea/agr_useful_com_flea.html', '黃曲條跳甲(狗蝨仔)的綜合防治', '', '','');
	 genlaytab(lev_div+'agriculture/agr_useful/agr_useful_com/agr_useful_com_melon/agr_useful_com_melon.html', '瓜實蠅的綜合防治', '', '','');
	 genlaytab(lev_div+'agriculture/agr_useful/agr_useful_com/agr_useful_com_leaf/agr_useful_com_leaf.html', '蔬菜斑潛蠅的綜合防治', '', '','');
	 genlaytab(lev_div+'agriculture/agr_useful/agr_useful_com/agr_useful_com_use/agr_useful_com_use.html', '核型多角體病毒防治斜紋夜蛾 (像行軍蟲)', '', '','');
	 genlaytab(lev_div+'agriculture/agr_useful/agr_useful_com/agr_useful_com_bug/agr_useful_com_bug.html', '吸蟲機', '', '','');
	 genlaytab(lev_div+'agriculture/agr_useful/agr_useful_com/agr_useful_com_sim/agr_useful_com_sim.html', '瓜果簡易套袋法', '', '','');
	 genlaytab(lev_div+'agriculture/agr_useful/agr_useful_com/agr_useful_com_der/agr_useful_com_der.html', '魚藤水的製備', '', '','');
	 genlaytab(lev_div+'agriculture/agr_useful/agr_useful_com/agr_useful_com_mat/agr_useful_com_mat.html', '苦參鹼', '', '','');
	 genlaytab(lev_div+'agriculture/agr_useful/agr_useful_com/agr_useful_com_min/agr_useful_com_min.html', '礦物油', '', '','');
	 genlaytab(lev_div+'agriculture/agr_useful/agr_useful_com/agr_useful_com_bac/agr_useful_com_bac.html', '蘇雲金桿菌', '', '','');
	 genlaytab(lev_div+'agriculture/agr_useful/agr_useful_com/agr_useful_com_ste/agr_useful_com_ste.html', '斯氏線蟲', '', '','');
 
	 genlayerfooter(); 
	 } 

	}

}

// end level 3

