var lang = "eng";
var sitemap_link;
var contactus_link;
var text_ver= "../text/eng/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="Health Care Voucher | The Government of the Hong Kong Special Administrative Region"></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="Brand Hong Kong - Asia\'s World City" 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="en" />');
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(\'eng\', \'text/eng\');" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage(\'mainbar2\',\'\',\'images/mainbar2_f2.gif\',1)" ><img name="mainbar2" src="images/mainbar2.gif" height="20" border="0" alt="Text only"></a></td>');
document.write('          <td width="51" align="left" valign="bottom"><a href="javascript:SwitchLang(LangB5);" 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="Traditional Chinese"></a></td>');
document.write('          <td width="50" align="left" valign="bottom"><a href="javascript:SwitchLang(LangGb);" 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="Simplified Chinese"></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" width="54" height="20" border="0" alt="Search"></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" width="22" height="20" border="0" alt="Search" 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" width="65" height="20" border="0" alt="Site Map"></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="Contact Us"></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" alt="Photo"></td>');
document.write('  </tr>');
document.write('</table>');
