﻿//gen menu ver. 4.0

level_1 = new Array('cindex.html', 'whatsnew', 'aboutus' , 'programmes', 'annex', 'info', 'other', 'archives','contactus', 'sitemap', 'search', 'notices');


//level 1

function genmenu(){	
	//gentable('/rru/tc_chi/'+'link','alt','target','layer');
	gentable('/rru/tc_chi/'+'home/index.html', '首頁', '', '');
	gentable('/rru/tc_chi/'+'whatsnew/whatsnew.html', '最新消息', '', '');
	gentable('/rru/tc_chi/'+'aboutus/aboutus.html', '關於我們', '', 'y');
	//gentable('/rru/tc_chi/'+'enquiries/enquiries.html', '查詢及投訴', '', 'y');
	gentable('/rru/tc_chi/'+'programmes/programmes.html', '計劃及服務', '', 'y');
	gentable('/rru/tc_chi/'+'annex/annex.html', '其他語言資料', '', '');
	//gentable('/rru/tc_chi/'+'activities/activities.html', '活動', '', 'y');
	gentable('/rru/tc_chi/'+'info/info.html', '資源中心', '', 'y');
	gentable('/rru/tc_chi/'+'other/other_useful.html', '相關網站', '', '');
	gentable('/rru/tc_chi/'+'archives/archives.html', ' 活動回顧', '', '');
	gentable('/rru/tc_chi/'+'contactus/contactus.html', '聯絡我們', '', '');	
	gentable('', '網頁指南', '', '');	
	gentable('', '搜尋', '', '');
	gentable('', '重要告示', '', '');

}

function genmenu_index(){
	//gentable('/rru/tc_chi/'+'link','alt','target','layer');
	gentable('/rru/tc_chi/'+'home/index.html', '首頁', '', '');
	gentable('/rru/tc_chi/'+'whatsnew/whatsnew.html', '最新消息', '', '');
	gentable('/rru/tc_chi/'+'aboutus/aboutus.html', '關於我們', '', 'y');
	//gentable('/rru/tc_chi/'+'enquiries/enquiries.html', '查詢及投訴', '', 'y');
	gentable('/rru/tc_chi/'+'programmes/programmes.html', '計劃及服務', '', 'y');
	gentable('/rru/tc_chi/'+'annex/annex.html', '其他語言資料', '', 'y');
	//gentable('/rru/tc_chi/'+'activities/activities.html', '活動', '', 'y');
	gentable('/rru/tc_chi/'+'info/info.html', '資源中心', '', 'y');
	gentable('/rru/tc_chi/'+'other/other_useful.html', '相關網站', '', '');
	//gentable('/rru/tc_chi/'+'other/other.html', '其他資料', '', 'y');
	gentable('/rru/tc_chi/'+'archives/archives.html', ' 活動回顧', '', '');
	gentable('/rru/tc_chi/'+'contactus/contactus.html', '聯絡我們', '', '');	
	gentable('', '網頁指南', '', '');	
	gentable('', '搜尋', '', '');
	gentable('', '重要告示', '', '');
}


//end level 1

//level 2

function genlayer(){
	
	//gentable('/rru/tc_chi/'+'link','alt','orgcolor','overcolor','target');
	for(l=0; l<layer.length; l++){
		if(layer[l] == '關於我們'){ //About us
			genlayerheader(l);
			genlaytab('/rru/tc_chi/'+'aboutus/aboutus_cprh.html', '促進種族和諧委員會', '#ADD9DD', '#5BB4BC', '');
			genlaytab('/rru/tc_chi/'+'aboutus/aboutus_forum.html', '少數族裔人士論壇', '#ADD9DD', '#5BB4BC', '');
			genlaytab('/rru/tc_chi/'+'aboutus/aboutus_rru.html', '種族關係組', '#ADD9DD', '#5BB4BC', '');
			genlayerfooter();
        /*
		}else if(layer[l]  == '查詢及投訴'){ //Enquiries &amp; Complaints
			genlayerheader(l);
			genlaytab('/rru/tc_chi/'+'enquiries/enquiries_rru.html', '向種族關係組查詢及投訴', '#ADD9DD', '#5BB4BC', '');
			genlaytab('/rru/tc_chi/'+'enquiries/enquiries_how.html', '如何投訴', '#ADD9DD', '#5BB4BC', '');
			genlaytab('/rru/tc_chi/'+'enquiries/enquiries_exp.html', '投訴案例', '#ADD9DD', '#5BB4BC', '');
			genlaytab('/rru/tc_chi/'+'enquiries/enquiries_com.html', '投訴表格及數字', '#ADD9DD', '#5BB4BC', '');*/
			genlayerfooter();
        /*
		}else if(layer[l]  == '活動'){ //Activities
			genlayerheader(l);
			genlaytab('/rru/tc_chi/'+'activities/activities_edu.html', '教育活動', '#ADD9DD', '#5BB4BC', '');
			genlaytab('/rru/tc_chi/'+'activities/activities_cul.html', '文化活動', '#ADD9DD', '#5BB4BC', '');
			genlaytab('/rru/tc_chi/'+'activities/activities_comm.html', '社區活動', '#ADD9DD', '#5BB4BC', '');
			genlaytab('/rru/tc_chi/'+'activities/activities_rad.html', '電台節目', '#ADD9DD', '#5BB4BC', '');
			genlayerfooter();
		*/
			
		}else if(layer[l]  == '計劃及服務'){ //Activities
			genlayerheader(l);
			genlaytab('/rru/tc_chi/'+'programmes/programmes_int.html', '給少數族裔人士共融計劃', '#ADD9DD', '#5BB4BC', '');
			genlaytab('/rru/tc_chi/'+'programmes/programmes_sup.html', '給少數族裔人士支援服務', '#ADD9DD', '#5BB4BC', '');
			genlayerfooter();
			
		}else if(layer[l]  == 'Information for Annex'){ //Information for Annex
			genlayerheader(l);
			genlaytab('/rru/english/'+'annex/annex_Bahasa.html', 'Bahasa Indonesia', '#ADD9DD', '#5BB4BC', '');
			genlaytab('/rru/english/'+'annex/annex_India.html', 'India', '#ADD9DD', '#5BB4BC', '');
			genlaytab('/rru/english/'+'annex/annex_Nepal.html', 'Nepal', '#ADD9DD', '#5BB4BC', '');
			genlaytab('/rru/english/'+'annex/annex_Tagalog.html', 'Tagalog', '#ADD9DD', '#5BB4BC', '');
			genlaytab('/rru/english/'+'annex/annex_Thailand.html', 'Thailand', '#ADD9DD', '#5BB4BC', '');
			genlaytab('/rru/english/'+'annex/annex_Pakistan.html', 'Pakistan', '#ADD9DD', '#5BB4BC', '');
			genlayerfooter();	
			

		}else if(layer[l]  == '資源中心'){ //Information Centre		
			genlayerheader(l);
			genlaytab('http://www.chp.gov.hk/tc/content/9389.html', '少數族裔人士傳染病及衞生健康資訊', '#ADD9DD', '#5BB4BC', 'target="_blank"');
			//genlaytab('/rru/tc_chi/'+'info/info_flu.html', '對抗人類豬型流感個人及家居衞生手冊', '#ADD9DD', '#5BB4BC', '');
			genlaytab('/rru/tc_chi/'+'info/info_pub.html', '刊物', '#ADD9DD', '#5BB4BC', '');
			//genlaytab('/rru/tc_chi/'+'info/info_vir.html', '學習園地', '#ADD9DD', '#5BB4BC', '');
			//genlaytab('/rru/tc_chi/'+'info/info_eve.html', '活動搜尋', '#ADD9DD', '#5BB4BC', '');
			genlaytab('/rru/tc_chi/'+'info/info_dem.html', '人口統計', '#ADD9DD', '#5BB4BC', '');
			genlayerfooter();

		}else if(layer[l]  == '其他資料'){ //Other Information		
			genlayerheader(l);
			genlaytab('/rru/tc_chi/'+'other/other_useful.html', '相關網站', '#ADD9DD', '#5BB4BC', '');
			genlaytab('/rru/tc_chi/'+'other/other_down.html', '下載表格', '#ADD9DD', '#5BB4BC', '');
			genlayerfooter();

		}
	}
}

function genmenu_fullpath(domain, fullpath){	
	//gentable('/rru/tc_chi/'+'link','alt','target','layer');
	gentable('/rru/tc_chi/'+'home/index.html', '首頁', '', '');
	gentable('/rru/tc_chi/'+'whatsnew/whatsnew.html', '最新消息', '', '');
	gentable('/rru/tc_chi/'+'aboutus/aboutus.html', '關於我們', '', 'y');
	//gentable('/rru/tc_chi/'+'enquiries/enquiries.html', '查詢及投訴', '', 'y');
	gentable('/rru/tc_chi/'+'programmes/programmes.html', '計劃及服務', '', 'y');
	//gentable('/rru/tc_chi/'+'activities/activities.html', '活動', '', 'y');
	gentable('/rru/tc_chi/'+'info/info.html', '資源中心', '', 'y');
	gentable('/rru/tc_chi/'+'other/other_useful.html', '相關網站', '', '');
	//gentable('/rru/tc_chi/'+'other/other.html', '其他資料', '', 'y');
	gentable('/rru/tc_chi/'+'archives/archives.html', ' 活動回顧', '', '');
	gentable('/rru/tc_chi/'+'contactus/contactus.html', '聯絡我們', '', '');	
	gentable('', '網頁指南', '', '');	
	gentable('', '搜尋', '', '');
	gentable('', '重要告示', '', '');
	
}


//end level 1

//level 2

function genlayer_fullpath(fullpath){
	
	//gentable('/rru/tc_chi/'+'link','alt','orgcolor','overcolor','target');
	for(l=0; l<layer.length; l++){
		if(layer[l] == '關於我們'){ //About us
			genlayerheader(l);
			genlaytab('/rru/tc_chi/'+'aboutus/aboutus_cprh.html', '促進種族和諧委員會', '#ADD9DD', '#5BB4BC', '');
			genlaytab('/rru/tc_chi/'+'aboutus/aboutus_rru.html', '種族關係組', '#ADD9DD', '#5BB4BC', '');
			genlayerfooter();

		}else if(layer[l]  == '查詢及投訴'){ //Enquiries &amp; Complaints
			genlayerheader(l);
			genlaytab('/rru/tc_chi/'+'enquiries/enquiries_rru.html', '向種族關係組查詢及投訴', '#ADD9DD', '#5BB4BC', '');
			/*genlaytab('/rru/tc_chi/'+'enquiries/enquiries_how.html', '如何投訴', '#ADD9DD', '#5BB4BC', '');
			genlaytab('/rru/tc_chi/'+'enquiries/enquiries_exp.html', '投訴案例', '#ADD9DD', '#5BB4BC', '');
			genlaytab('/rru/tc_chi/'+'enquiries/enquiries_com.html', '投訴表格及數字', '#ADD9DD', '#5BB4BC', '');*/
			genlayerfooter();

		}else if(layer[l]  == '活動'){ //Activities
			genlayerheader(l);
			genlaytab('/rru/tc_chi/'+'activities/activities_edu.html', '教育活動', '#ADD9DD', '#5BB4BC', '');
			genlaytab('/rru/tc_chi/'+'activities/activities_cul.html', '文化活動', '#ADD9DD', '#5BB4BC', '');
			genlaytab('/rru/tc_chi/'+'activities/activities_comm.html', '社區活動', '#ADD9DD', '#5BB4BC', '');
			genlaytab('/rru/tc_chi/'+'activities/activities_rad.html', '電台節目', '#ADD9DD', '#5BB4BC', '');
			genlayerfooter();

		}else if(layer[l]  == '資源中心'){ //Information Centre		
			genlayerheader(l);
			genlaytab('http://www.chp.gov.hk/tc/content/9389.html', '少數族裔人士傳染病及衞生健康資訊', '#ADD9DD', '#5BB4BC', 'target="_blank"');
			genlaytab('/rru/tc_chi/'+'info/info_pub.html', '刊物', '#ADD9DD', '#5BB4BC', '');
			genlaytab('/rru/tc_chi/'+'info/info_vir.html', '學習園地', '#ADD9DD', '#5BB4BC', '');
			//genlaytab('/rru/tc_chi/'+'info/info_eve.html', '活動搜尋', '#ADD9DD', '#5BB4BC', '');
			genlaytab('/rru/tc_chi/'+'info/info_dem.html', '人口統計', '#ADD9DD', '#5BB4BC', '');
			genlayerfooter();

		}else if(layer[l]  == '其他資料'){ //Other Information		
			genlayerheader(l);
			genlaytab('/rru/tc_chi/'+'other/other_useful.html', '相關網站', '#ADD9DD', '#5BB4BC', '');
			genlaytab('/rru/tc_chi/'+'other/other_down.html', '下載表格', '#ADD9DD', '#5BB4BC', '');
			genlayerfooter();

		}
	}
}

//end level 2

function genbanner(){
	document.write('<A HREF="http://www.gov.hk/tc/theme/fightpandemic/index.htm" target=_blank><img src="/rru/tc_chi/images/banner/fightpandemic.jpg" alt="全民抗疫" border=0></A><br><img src="/rru/tc_chi/images/general/dotline1.gif" vspace="5"><br><A HREF="http://www.cmab.gov.hk/tc/issues/ethnic_ssc.htm" target=_blank><img src="/rru/tc_chi/images/banner/side_logo05.jpg" alt="申請撥款開設少數族裔人士支援服務中心" border=0></A><br><img src="/rru/tc_chi/images/general/dotline1.gif" vspace="5"><br><A HREF="http://www.info.gov.hk/info/flu/chi/home.htm" target=_blank><img src="/rru/tc_chi/images/banner/side_logo02.gif" alt="預防禽流感" border=0></A><br><img src="/rru/tc_chi/images/general/dotline1.gif" vspace="5"><br><A HREF="http://www.smartid.gov.hk/" target=_blank><img src="/rru/tc_chi/images/banner/smartid.gif" alt="智能身份證" border=0></A><BR><img src="/rru/tc_chi/images/general/dotline1.gif" vspace="5"><br><A HREF="http://news.gov.hk/" target=_blank><img src="/rru/tc_chi/images/banner/news_e.gif" alt="香港政府新聞網" border=0></A>');
}

function genbanner_index(){
	document.write('<A HREF="http://www.cmab.gov.hk/tc/issues/ethnic_ssc.htm" target=_blank><img src="/rru/tc_chi/images/banner/side_logo05.jpg" alt="申請撥款開設少數族裔人士支援服務中心" border=0></A><br><img src="/rru/tc_chi/images/general/dotline1.gif" vspace="5"><br><A HREF="http://www.info.gov.hk/info/flu/chi/home.htm" target=_blank><img src="/rru/tc_chi/images/banner/side_logo02.gif" alt="預防禽流感" border=0></A><br><img src="/rru/tc_chi/images/general/dotline1.gif" vspace="5"><br><A HREF="http://www.smartid.gov.hk/" target=_blank><img src="/rru/tc_chi/images/banner/smartid.gif" alt="智能身份證" border=0></A><BR><img src="/rru/tc_chi/images/general/dotline1.gif" vspace="5"><br><A HREF="http://news.gov.hk/" target=_blank><img src="/rru/tc_chi/images/banner/news_e.gif" alt="香港政府新聞網" border=0></A>');
}


function genbanner(){

	document.write('<A HREF="http://www.gov.hk/tc/theme/fightpandemic/index.htm" target=_blank><img src="/rru/tc_chi/images/banner/fightpandemic.jpg" alt="全民抗疫" border=0></A><br><img src="/rru/tc_chi/images/general/dotline1.gif" vspace="5"><br><A HREF="http://www.info.gov.hk/info/flu/chi/home.htm" target=_blank><img src="/rru/tc_chi/images/banner/side_logo02.gif" alt="預防禽流感" border=0></A><br><img src="/rru/tc_chi/images/general/dotline1.gif" vspace="5"><br><A HREF="http://www.smartid.gov.hk/" target=_blank><img src="/rru/tc_chi/images/banner/smartid.gif" alt="智能身份證" border=0></A><BR><img src="/rru/tc_chi/images/general/dotline1.gif" vspace="5"><br><A HREF="http://news.gov.hk/" target=_blank><img src="/rru/tc_chi/images/banner/news_e.gif" alt="香港政府新聞網" border=0></A>');

	}

function getHeader()

{
	
	var scriptHeader='';
	


if (location.href.toString().search('/gb/')!= -1){	
	
	// sc	 
	scriptHeader+='<table width="760" border="0" cellspacing="0" cellpadding="0" background="/rru/tc_chi/images/clf/bkgdtexture.gif">              <form name="searchform" action="http://search.gov.hk/search.html" method="get"><INPUT name="exact_q" type="hidden" value="">	<INPUT name="any_q" type="hidden" value="">	<INPUT name="none_q" type="hidden" value="">	<INPUT name="gp0" type="hidden" value="cmab-rru_home">	<INPUT name="gp1" type="hidden" value="cmab-rru_home">	<INPUT name="p_size" type="hidden" value="10">	<INPUT name="doc_type" type="hidden" value="all">	<INPUT name="last_mod" type="hidden" value="#-1">	<INPUT name="r_lang" type="hidden" value="all">	<INPUT name="tpl_id" type="hidden" value="cmab-rru">	<INPUT name="a_submit" type="hidden" value="false">	<INPUT name="web" type="hidden" value="this">	<INPUT name="txtonly" type="hidden" value="0">	<tr valign="top">                   <td rowspan="2" width="536">                     <table width="100%" border="0" cellspacing="0" cellpadding="0">                      <tr valign="top">                         <td><img src="/rru/tc_chi/images/clf/logo.gif" alt="香港特別行政區政府種族關係組"></td>                      </tr>                      <tr valign="top">                         <td>                           <table width="536" border="0" cellspacing="0" cellpadding="0">                            <tr valign="top">                               <td><a href="http://www.gov.hk/sc/residents/" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage(\'mainbar1\',\'\',\'/rru/tc_chi/images/clf/gic_over.gif\',1)" target="_blank" ><img name="mainbar1" src="/rru/tc_chi/images/clf/gic.gif" border="0" alt="GovHK 香港政府一站通"></a></td> ';

	
	scriptHeader+='<td><a href=\"javaScript:chglang(\'sctxt\');" onMouseOut=\"MM_swapImgRestore()\"onMouseOver=\"MM_swapImage(\'mainbar2\',\'\',\'/rru/tc_chi/images/clf/mainbar2_f2.gif\',1)\" ><img name=\"mainbar2\" src=\"/rru/sc_chi/images/clf/mainbar2.gif\" border=\"0\" alt=\"簡体純文字\"></a></td><td><a href=\"javaScript:chglang(\'tc\');\" onMouseOut=\"MM_swapImgRestore()\"  onMouseOver=\"MM_swapImage(\'mainbar3\',\'\',\'/rru/sc_chi/images/clf/mainbar3_f2.gif\',1)\" ><img name=\"mainbar3\" src=\"/rru/tc_chi/images/clf/mainbar3.gif\" border=\"0\" alt=\"繁體版\"></a><INPUT name="ui_lang" type="hidden" value="zh-cnhk">	<INPUT name="ui_charset" type="hidden" value="utf-8"></td>';
}
else{
	// tc
	scriptHeader+='	<table width="760" border="0" cellspacing="0" cellpadding="0" background="/rru/tc_chi/images/clf/bkgdtexture.gif">';
	scriptHeader+='              <form name="searchform" action="http://search.gov.hk/search.html" method="get"><INPUT name="exact_q" type="hidden" value=""><INPUT name="any_q" type="hidden" value=""><INPUT name="none_q" type="hidden" value=""><INPUT name="gp0" type="hidden" value="cmab-rru_home"><INPUT name="gp1" type="hidden" value="cmab-rru_home"><INPUT name="p_size" type="hidden" value="10"><INPUT name="doc_type" type="hidden" value="all"><INPUT name="last_mod" type="hidden" value="#-1"><INPUT name="r_lang" type="hidden" value="all"><INPUT name="tpl_id" type="hidden" value="cmab-rru"><INPUT name="a_submit" type="hidden" value="false"><INPUT name="web" type="hidden" value="this"><INPUT name="txtonly" type="hidden" value="0"><INPUT name="ui_lang" type="hidden" value="zh-hk"><INPUT name="ui_charset" type="hidden" value="big5">';
	scriptHeader+='		    <tr valign="bottom">';
	scriptHeader+='                   <td rowspan="2" width="536">';
	scriptHeader+='                     <table width="100%" border="0" cellspacing="0" cellpadding="0">';
	scriptHeader+='                      <tr valign="bottom">';
	scriptHeader+='                         <td><img src="/rru/tc_chi/images/clf/logo.gif" alt="香港特別行政區政府種族關係組"></td>';
	scriptHeader+='                      </tr>';
	scriptHeader+='                      <tr valign="bottom">';
	scriptHeader+='                         <td>';
	scriptHeader+='                           <table width="536" border="0" cellspacing="0" cellpadding="0">';
	scriptHeader+='                            <tr valign="bottom">';
	scriptHeader+='                               <td><a href="http://www.gov.hk/tc/residents/" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage(\'mainbar1\',\'\',\'/rru/tc_chi/images/clf/gic_over.gif\',1)" target="_blank" ><img name="mainbar1" src="/rru/tc_chi/images/clf/gic.gif" border="0" alt="GovHK 香港政府一站通"></a></td>';
	scriptHeader+='					  	<td><a href=\"javaScript:chglang(\'tctxt\')" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'mainbar2\',\'\',\'/rru/tc_chi/images/clf/mainbar2_f2.gif\',1)\" ><img name=\"mainbar2\" src=\"/rru/tc_chi/images/clf/mainbar2.gif\" border=\"0\" alt=\"繁體純文字\"></a></td><td><a href=\"javaScript:chglang(\'sc\');\" onMouseOut=\"MM_swapImgRestore()\"  onMouseOver=\"MM_swapImage(\'mainbar3\',\'\',\'/rru/tc_chi/images/clf/mainbar3_f2.gif\',1)\" ><img name=\"mainbar3\" src=\"/rru/tc_chi/images/clf/mainbar3.gif\" border=\"0\" alt=\"簡体版\"></a></td>';
	/*
	scriptHeader+='<table width="760" border="0" cellspacing="0" cellpadding="0" background="/rru/tc_chi/images/clf/bkgdtexture.gif">              <form name="searchform" action="http://search.gov.hk/search.html" method="get"><INPUT name="exact_q" type="hidden" value="">	<INPUT name="any_q" type="hidden" value="">	<INPUT name="none_q" type="hidden" value="">	<INPUT name="gp0" type="hidden" value="cmab-rru_home">	<INPUT name="gp1" type="hidden" value="cmab-rru_home">	<INPUT name="p_size" type="hidden" value="10">	<INPUT name="doc_type" type="hidden" value="all">	<INPUT name="last_mod" type="hidden" value="#-1">	<INPUT name="r_lang" type="hidden" value="all">	<INPUT name="tpl_id" type="hidden" value="cmab-rru">	<INPUT name="a_submit" type="hidden" value="false">	<INPUT name="web" type="hidden" value="this">	<INPUT name="txtonly" type="hidden" value="0">	<INPUT name="ui_lang" type="hidden" value="zh-hk">	<INPUT name="ui_charset" type="hidden" value="big5"><tr valign="top">                   <td rowspan="2" width="536">                     <table width="100%" border="0" cellspacing="0" cellpadding="0">                      <tr valign="bottom">                         <td><img src="/rru/tc_chi/images/clf/logo.gif" alt="香港特別行政區政府種族關係組"></td>                      </tr>                      <tr valign="top">                         <td>                           <table width="536" border="0" cellspacing="0" cellpadding="0">                            <tr valign="bottom">                               <td><a href="http://www.gov.hk/tc/residents/" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage(\'mainbar1\',\'\',\'/rru/tc_chi/images/clf/gic_over.gif\',1)" target="_blank" ><img name="mainbar1" src="/rru/tc_chi/images/clf/gic.gif" border="0" alt="GovHK 香港政府一站通"></a></td> ';
	scriptHeader+='<td><a href=\"javaScript:chglang(\'tctxt\')" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'mainbar2\',\'\',\'/rru/tc_chi/images/clf/mainbar2_f2.gif\',1)\" ><img name=\"mainbar2\" src=\"/rru/tc_chi/images/clf/mainbar2.gif\" border=\"0\" alt=\"繁體純文字\"></a></td><td><a href=\"javaScript:chglang(\'sc\');\" onMouseOut=\"MM_swapImgRestore()\"  onMouseOver=\"MM_swapImage(\'mainbar3\',\'\',\'/rru/tc_chi/images/clf/mainbar3_f2.gif\',1)\" ><img name=\"mainbar3\" src=\"/rru/tc_chi/images/clf/mainbar3.gif\" border=\"0\" alt=\"簡体版\"></a></td>';
	*/
	
}                          

	scriptHeader+='                          	<td><a href="javaScript:chglang(\'en\');" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage(\'mainbar4\',\'\',\'/rru/tc_chi/images/clf/mainbar4_f2.gif\',1)" ><img name="mainbar4" src="/rru/tc_chi/images/clf/mainbar4.gif" border="0" alt="ENGLISH"></a></td>';
	scriptHeader+='                              <td><img name="mainbar5" src="/rru/tc_chi/images/clf/mainbar5.gif" border="0" alt="image"></td><td align=right><a href="javascript:document.searchform.submit();" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage(\'mainbar6\',\'\',\'/rru/tc_chi/images/clf/mainbar6_f2.gif\',1)" ><img name="mainbar6" src="/rru/tc_chi/images/clf/mainbar6.gif" border="0" alt="搜尋"></a></td>';
	scriptHeader+='                            </tr>';
	scriptHeader+='                          </table>';
	scriptHeader+='                        </td>';
	scriptHeader+='                      </tr>';
	scriptHeader+='                    </table>';
	scriptHeader+='                  </td>';
	scriptHeader+='			   <td colspan="2" align="right" valign="bottom"><a href="http://www.brandhk.gov.hk/brandhk/index.htm" target="_blank"><img name="BrandHK" src="/rru/tc_chi/images/clf/brandhk.gif" border="0" alt="香港品牌形象 - 亞洲國際都會"></a></td>';
	scriptHeader+='                </tr>';
	scriptHeader+='                <tr valign="top">';
	scriptHeader+='                   <td width="106" valign="bottom" align="left"><input class="search" type="text" name="query" size="10" style="height:20px; "></td><td width="118" valign="bottom">';
	scriptHeader+='			     <table width="100%" border="0" cellspacing="0" cellpadding="0"><tr>';
	scriptHeader+='                         <td>';
	scriptHeader+='					 <table width="100%" border="0" cellspacing="0" cellpadding="0">';
	scriptHeader+='                            <tr valign="top">';
	scriptHeader+='                               <td><a href="javascript:document.searchform.submit();" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'mainbar8\',\'\',\'/rru/tc_chi/images/clf/mainbar8_f2.gif\',1)"><img name="mainbar8" border="0" src="/rru/tc_chi/images/clf/mainbar8.gif" alt="搜尋"></a></td>';
	scriptHeader+='                              <td><a href="/rru/tc_chi/sitemap/sitemap.html" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage(\'mainbar9\',\'\',\'/rru/tc_chi/images/clf/mainbar9_f2.gif\',1)" ><img name="mainbar9" src="/rru/tc_chi/images/clf/mainbar9.gif" border="0" alt="網頁指南"></a></td>';
	scriptHeader+='                              <td><a href="/rru/tc_chi/contactus/contactus.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'mainbar10\',\'\',\'/rru/tc_chi/images/clf/mainbar10_f2.gif\',1)" ><img name="mainbar10" src="/rru/tc_chi/images/clf/mainbar10.gif" border="0" alt="聯絡"></a></td>';
	scriptHeader+='                            </tr>';
	scriptHeader+='                          </table></td>';
	scriptHeader+='                      </tr>';
	scriptHeader+='                    </table></td>';
	scriptHeader+='                </tr>';
	scriptHeader+='              </form>';
	scriptHeader+='            </table>';

//scriptHeader+='<td><a href="javaScript:chglang(\'en\');" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage(\'mainbar4\',\'\',\'/rru/tc_chi/images/clf/mainbar4_f2.gif\',1)" ><img name="mainbar4" src="/rru/tc_chi/images/clf/mainbar4.gif" border="0" alt="ENGLISH"></a></td>                              <td><img name="mainbar5" src="/rru/tc_chi/images/clf/mainbar5.gif" border="0" alt="image"></td><td align=right><a href="javascript:document.searchform.submit();" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage(\'mainbar6\',\'\',\'/rru/tc_chi/images/clf/mainbar6_f2.gif\',1)" ><img name="mainbar6" src="/rru/tc_chi/images/clf/mainbar6.gif" border="0" alt="搜尋"></a></td>                            </tr>                          </table>                        </td>                      </tr>                    </table>                  </td>                                                     <td colspan="2" align="right" valign="bottom"><a href="http://www.brandhk.gov.hk/brandhk/index.htm" target="_blank"><a href="http://www.brandhk.gov.hk/brandhk/" target="_blank"><img name="BrandHK" src="/rru/tc_chi/images/clf/brandhk.gif" border="0" alt="香港品牌形象 - 亞洲國際都會"></a></td>                </tr>                <tr valign="top">                   <td width="106" valign="bottom" align="left"><input class="search" type="text" name="query" size="10"></td><td width="118" valign="bottom"> <table width="100%" border="0" cellspacing="0" cellpadding="0"><tr>                         <td> <table width="100%" border="0" cellspacing="0" cellpadding="0">                            <tr valign="top">                               <td><a href="javascript:document.searchform.submit();;" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'mainbar8\',\'\',\'/rru/tc_chi/images/clf/mainbar8_f2.gif\',1)"><img name="mainbar8" border="0" src="/rru/tc_chi/images/clf/mainbar8.gif" alt="搜尋"></a></td>                              <td><a href="/rru/tc_chi/sitemap/sitemap.html" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage(\'mainbar9\',\'\',\'/rru/tc_chi/images/clf/mainbar9_f2.gif\',1)" ><img name="mainbar9" src="/rru/tc_chi/images/clf/mainbar9.gif" border="0" alt="網頁指南"></a></td>                              <td><a href="/rru/tc_chi/contactus/contactus.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'mainbar10\',\'\',\'/rru/tc_chi/images/clf/mainbar10_f2.gif\',1)" ><img name="mainbar10" src="/rru/tc_chi/images/clf/mainbar10.gif" border="0" alt="聯絡"></a></td>                            </tr>                          </table></td>                      </tr>                    </table></td>                </tr>              </form>            </table>';
							  
document.writeln(scriptHeader);					  
							  
}