﻿var lang = "tc";
var sitemap_link
var text_ver= "../text/tc/index.htm";

if (sect == "pub") {
	sitemap_link = 'pub_sitemap.htm';
	contactus_link = 'pub_contactus.htm';
}
else {
	sitemap_link = 'pro_sitemap.htm';
	contactus_link = 'pro_contactus.htm';
}


document.write('<table width="766" border="0" align="left" cellpadding="0" cellspacing="0">');
document.write('  <tr>');
document.write('    <td width="586" background="images/bkgdtexture.gif" align=left><img src="images/hcv.jpg" alt="醫療券 | 香港特別行政區政府"></td>');
document.write('    <td align="right" valign="top" background="images/bkgdtexture.gif"><a href="http://www.brandhk.gov.hk/brandhk/eindex.htm" target=_blank><img src="images/BrandHK.gif" alt="香港品牌形象 - 亞洲國際都會" width="190" height="60" border="0"></a></td>');
document.write('  </tr>');
document.write('  <tr>');
document.write('    <td colspan="3" align="left" valign="top" background="images/bkgdtexture.gif"><table width="760" border="0" cellspacing="0" cellpadding="0">');
document.write('      <form name="search" action="http://search.gov.hk/search.html" method="get">');

document.write('      <input type="hidden" name="ui_lang" value="zh-hk" />');
document.write('      <input type="hidden" name="ui_charset" value="utf-8" />');
document.write('      <input type="hidden" name="gp0" value="hcv_home" />');
document.write('      <input type="hidden" name="gp1" value="hcv_home" />');
document.write('      <input type="hidden" name="tpl_id" value="hcv" />');
document.write('      <input type="hidden" name="web" value="this" />');

document.write('        <tr>');
document.write('          <td width="171" align="left" valign="bottom"><a href="http://www.gov.hk/en/residents/" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage(\'mainbar1\',\'\',\'images/mainbar1o.gif\',1)"  target=_blank><img name="mainbar1" src="images/mainbar1.gif" width="171" height="20" border="0" alt="GovHK 香港政府一站通"></a></td>');
document.write('			<td width="67" height="20" align="left" valign="bottom"><a href="javascript:ChangeVer(\'tc\', \'text/tc\');" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage(\'mainbar2\',\'\',\'images/mainbar2_f2.gif\',1)" ><img name="mainbar2" src="images/mainbar2.gif" height="20" border="0" alt="繁體純文字"></a></td>');

document.write('          <td width="51" align="left" valign="bottom"><a href="javascript:SwitchLang(LangGb);" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage(\'mainbar3\',\'\',\'images/mainbar3_f2.gif\',1)" ><img name="mainbar3" src="images/mainbar3.gif" width="51" height="20" border="0" alt="簡體版"></a></td>');
document.write('          <td width="50" align="left" valign="bottom"><a href="javascript:SwitchLang(LangEng);" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage(\'mainbar4\',\'\',\'images/mainbar4_f2.gif\',1)" ><img name="mainbar4" src="images/mainbar4.gif" width="50" height="20" border="0" alt="English"></a></td>');
document.write('          <td align="left" valign="bottom"><img name="mainbar5" src="images/mainbar5.gif" width="20" height="20" border="0" alt=" "></td>');

document.write('          <td align="left" valign="bottom"><div align="right"><a onMouseOver="MM_swapImage(\'mainbar6\',\'\',\'images/mainbar6_f2.gif\',1)" onMouseOut=MM_swapImgRestore() href="javascript:document.search.submit()"><img name="mainbar6" src="images/mainbar6.gif" border="0" alt="搜尋"></a></div></td>');
document.write('          <td width="99" align="left" valign="top"><div align="center">');
document.write('            <input type="text" name="query" style="width:100px; height:15px; line-height:15px; font-size: 12px;">');
document.write('          </div></td>');
document.write('          <td width="22" align="left" valign="bottom"><a onMouseOver="MM_swapImage(\'mainbar8\',\'\',\'images/mainbar8_f2.gif\',1)" onMouseOut=MM_swapImgRestore()       href="javascript:document.search.submit()"><img name="mainbar8" src="images/mainbar8.gif" border="0" alt="搜尋" align="bottom"></a></td>');

document.write('          <td width="65" align="left" valign="bottom"><a href="' + sitemap_link + '" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage(\'mainbar9\',\'\',\'images/mainbar9_f2.gif\',1)" ><img name="mainbar9" src="images/mainbar9.gif" border="0" alt="網頁指南"></a></td>');

document.write('          <td width="36" align="left" valign="bottom"><div align="right"><a href="' + contactus_link + '" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage(\'mainbar10\',\'\',\'images/mainbar10_f2.gif\',1)" ><img name="mainbar10" src="images/mainbar10.gif" width="36" height="20" border="0" alt="聯絡我們"></a></div></td>');

document.write('        </tr>');
document.write('      </form>');
document.write('    </table></td>');
document.write('  </tr>');
document.write('  <tr>');
document.write('    <td colspan="2" align=left><img src="images/mainbar_redline.jpg"></td>');
document.write('  </tr>');
document.write('</table>');
