MM_preloadImages('../../clf/en/mainbar1_f2.gif','../../clf/en/mainbar2_f2.gif','../../clf/en/mainbar3_f2.gif','../../clf/en/mainbar4_f2.gif','../../clf/en/mainbar6_f2.gif','../../clf/en/mainbar8_f2.gif','../../clf/en/mainbar9_f2.gif','../../clf/en/mainbar10_f2.gif');
theCode = '<table width="760" border="0" height="87" cellpadding="0" cellspacing="0" background="../../clf/en/bkgdtexture.gif">'
  + '        <form name="search" action="http://search.gov.hk/search.html" method="get">'
  + '          <input type="hidden" name="tpl_id" value="stdsearch">'
  + '          <input type="hidden" name="ui_lang" value="en">'
  + '          <input type="hidden" name="ui_charset" value="big5">'
  + '          <input type="hidden" name="gp0" value="eac_home">'
  + '          <input type="hidden" name="gp1" value="eac_home">'
  + '          <input type="hidden" name="web" value="this">'
  + '          <tr align="left" valign="top">'
  + '            <td height="66" colspan="6" class="sidebar" background="../../clf/en/bkgdtexture.gif"><a href="';
  theCode += 'http://' + eac_URL();
theCode += '"><img src="../../clf/en/branding.gif" alt="Electoral Affairs Commission" width="484" height="65" border="0"></a></td>'
  + '            <td height="66" background="../../clf/en/bkgdtexture.gif" width="97" colspan="4" valign="bottom"><div align="right"><a href="http://www.brandhk.gov.hk/brandhk/eindex.htm" target="_top"><img name="BrandHK" src="../../clf/en/BrandHK.gif" height="60" border="0" alt="Brand Hong Kong"></a></div></td>'
  + '          </tr>'
  + '          <tr align="left" valign="top">'
  + '            <td height="19" width="236" background="../../clf/en/bkgdtexture.gif"><a href="http://www.gov.hk/en/residents/" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage(\'mainbar1\',\'\',\'../../clf/en/mainbar1_f2.gif\',1)" ><img name="mainbar1" src="../../clf/en/mainbar1.gif" width="236" height="20" border="0" alt="GovHK"></a></td>'
  + '            <td align="left" valign="top" height="19" width="67"><a href="javascript:switchLang(\'en_txt\');" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage(\'mainbar2\',\'\',\'../../clf/en/mainbar2_f2.gif\',1)" ><img name="mainbar2" src="../../clf/en/mainbar2.gif" width="67" height="20" border="0" alt="Text only"></a></td>'
  + '            <td align="left" valign="top" height="19" width="51"><a href="javascript:switchLang(\'ch\');" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage(\'mainbar3\',\'\',\'../../clf/en/mainbar3_f2.gif\',1)" ><img name="mainbar3" src="../../clf/en/mainbar3.gif" width="51" height="20" border="0" alt="Traditional Chinese"></a></td>'
  + '            <td align="left" valign="top" height="19" width="50"><a href="javascript:switchLang(\'sc\');" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage(\'mainbar4\',\'\',\'../../clf/en/mainbar4_f2.gif\',1)" ><img name="mainbar4" src="../../clf/en/mainbar4.gif" width="50" height="20" border="0" alt="Simplified Chinese"></a></td>'
  + '            <td height="19"><img name="mainbar5" src="../../clf/en/mainbar5.gif" width="80" height="20" border="0"></td>'
  + '            <td height="19" width="54" background="../../clf/en/bkgdtexture.gif"><a href="javascript:document.forms.search.submit()" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage(\'mainbar6\',\'\',\'../../clf/en/mainbar6_f2.gif\',1)" ><img name="mainbar6" src="../../clf/en/mainbar6.gif" width="54" height="20" border="0" alt="Search"></a></td>'

  + '            <td height="19" valign="bottom" background="../../clf/en/bkgdtexture.gif" width="99"><div align="center"><input name="query" type="text" id="qu" size="9" class="search_box"></div></td>'


  + '            <td height="19" width="22" background="../../clf/en/bkgdtexture.gif"><a href="javascript:document.forms.search.submit()" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage(\'mainbar8\',\'\',\'../../clf/en/mainbar8_f2.gif\',1)" ><img name="mainbar8" src="../../clf/en/mainbar8.gif" width="22" height="20" border="0" alt="Search"></a></td>'
  + '            <td height="19" width="50" background="../../clf/en/bkgdtexture.gif"><a href="../sitemap/sitemap.htm" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage(\'mainbar9\',\'\',\'../../clf/en/mainbar9_f2.gif\',1)" ><img name="mainbar9" src="../../clf/en/mainbar9.gif" width="65" height="20" border="0" alt="Site map"></a></td>'
  + '            <td height="19" width="36" background="../../clf/en/bkgdtexture.gif"><a href="../contact/contact.htm" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage(\'mainbar10\',\'\',\'../../clf/en/mainbar10_f2.gif\',1)" ><img name="mainbar10" src="../../clf/en/mainbar10.gif" width="36" height="20" border="0" alt="Contact us"></a></td>'
  + '          </tr>'
  + '          <tr align="left" valign="top" bgcolor="#BB3333">'
  + '            <td height="2" colspan="10"><img src="../../clf/en/reddot.gif" width="1" height="1"></td>'
  + '          </tr>'
  + '        </form>'
  + '      </table>';
  
  document.write(theCode);

