var tx_en_sc = "javascript:document.location.href='http://sc.lcsd.gov.hk/gb/'+document.location.host+document.location.pathname.replace('en', 'tc').replace('index_en', 'index_tc');";
if (document.location.href.indexOf("http://www.lcsd.gov.hk/CE/CulturalService/Programme/")==0)
  tx_en_sc = "javascript:document.location.href='http://sc.lcsd.gov.hk/gb/'+document.location.host+document.location.pathname.replace('en', 'tc').replace('index_en', 'index_tc');";
else if (document.location.href.indexOf("http://cfserver.lcsd.gov.hk/cpdemo/")==0)
  tx_en_sc = "javascript:document.location.href='http://sc_svr_2.lcsd.gov.hk/gb/'+document.location.host+document.location.pathname.replace('en', 'tc').replace('index_en', 'index_tc');";
else
  tx_en_sc = "javascript:document.location.href='http://'+document.location.host+document.location.pathname.replace('en', 'sc').replace('index_en', 'index_sc');";

document.write("<form method=\"get\" name=\"search_form\" action=\"http://www.lcsd.gov.hk/en/search.php\" style=\"margin: 0px;\">");
document.write("<input type=\"hidden\" name=\"s1\" value=\"LCSD,LCSD-pdf,LCSD2,LCSD3,LCSD3-chi,Cultural,Tender,LeisureOA,LeisureCRSP,Balloting\">");
document.write("<input type=\"hidden\" name=\"so\" value=\"0\">");
document.write("<input type=\"hidden\" name=\"a\" value=\"10\">");
document.write("<input type=\"hidden\" name=\"oa\" value=\"1\">");
document.write("<input type=\"hidden\" name=\"fta\" value=\"1\">");
document.write("<input type=\"hidden\" name=\"start\" value=\"1\">");
document.write("<table width=\"770\" border=\"0\" height=\"87\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#fffee6\" background=\""+path+"files/graphics/bkgdtexture.gif\">");
document.write("  <tr align=\"left\" valign=\"top\">");
document.write("  <td height=\"65\" colspan=\"2\"><a href=\""+path+"index.html\"><img height=\"65\" src=\""+path+"files/graphics/en/branding.gif\" width=\"484\" border=\"0\" alt=\"Cultural Presentations Section\" title=\"Cultural Presentations Section\"></a></td>");
document.write("	<td height=\"65\" colspan=\"4\" align=\"right\" valign=\"top\"><a href=\"http://www.brandhk.gov.hk/brandhk/eindex.htm\" target=\"_top\"><img src=\""+path+"files/graphics/en/brandhk.gif\" alt=\"Brand Hong Kong - Asia's world city\" name=\"BrandHK\" width=\"190\" height=\"60\" border=\"0\" align=\"top\"></a></td>");
document.write("  </tr>");
document.write("  <tr align=\"left\" valign=\"bottom\">");
document.write("  <td width=\"513\" height=\"20\" align=\"left\"><a onMouseOver=\"MM_swapImage('mainbar1','','"+path+"files/graphics/mainbar1_f2.gif',1)\" onMouseOut=MM_swapImgRestore() href=\"http://www.gov.hk/en/residents/\" target=\"_blank\"><img name=\"mainbar1\" src=\""+path+"files/graphics/mainbar1.gif\" width=\"171\" height=\"20\" border=\"0\" alt=\"GovHK\"></a><kanhanbypass><a onmouseover=\"MM_swapImage('mainbar3','','"+path+"files/graphics/en/mainbar3_f2.gif',1)\" onmouseout=MM_swapImgRestore() href=\"javascript:document.location.href='http://'+document.location.host+document.location.pathname.replace('en', 'tc').replace('index_en', 'index_tc');\" target=\"_top\"><img width=\"51\" height=\"20\" src=\""+path+"files/graphics/en/mainbar3.gif\" border=\"0\" alt=\"Traditional Chinese\" name=\"mainbar3\"></a></kanhanbypass><kanhanbypass><a onmouseover=\"MM_swapImage('mainbar4','','"+path+"files/graphics/en/mainbar4_f2.gif',1)\" onmouseout=MM_swapImgRestore() href=\""+tx_en_sc+"\" target=\"_top\"><img width=\"50\" height=\"20\" src=\""+path+"files/graphics/en/mainbar4.gif\" border=\"0\" alt=\"Simplified Chinese\" name=\"mainbar4\"></a></kanhanbypass><img width=\"80\" height=\"20\" src=\""+path+"files/graphics/en/mainbar5b.gif\" border=\"0\" name=\"mainbar5\"></td>");
document.write("	<td width=\"54\" height=\"20\" align=\"left\"><a onmouseover=\"MM_swapImage('mainbar6','','"+path+"files/graphics/en/mainbar6b_f2.gif',1)\" onmouseout=MM_swapImgRestore() href=\"search.php\" target=\"_top\"><img width=\"54\" height=\"20\" src=\""+path+"files/graphics/en/mainbar6b.gif\" border=\"0\" alt=\"Search\" name=\"mainbar6\"></a></td>");
document.write("	<td width=\"80\" height=\"20\" align=\"right\" valign=\"bottom\"><input type=\"text\" name=\"p\" size=\"12\" value=\"\" class=\"search\"></td>");
document.write("	<td width=\"22\" height=\"20\" align=\"right\" valign=\"bottom\"><input type=\"image\" width=\"22\" height=\"20\" alt=\"Search\" src=\""+path+"files/graphics/en/mainbar8b.gif\" border=\"0\" name=\"mainbar8\" onmouseover=\"MM_swapImage('mainbar8','','"+path+"files/graphics/en/mainbar8b_f2.gif',1)\" onmouseout=\"MM_swapImgRestore()\"></td>");
document.write("	<td width=\"65\" height=\"20\" align=\"right\"><a onmouseover=\"MM_swapImage('mainbar9','','"+path+"files/graphics/en/mainbar9b_f2.gif',1)\" onmouseout=MM_swapImgRestore() href=\""+path+"en/sitemap.html\" target=\"_top\"><img width=\"65\" height=\"20\" src=\""+path+"files/graphics/en/mainbar9b.gif\" border=\"0\" alt=\"Site Map\" name=\"mainbar9\"></a></td>");
document.write("	<td width=\"36\" height=\"20\" align=\"right\"><a onmouseover=\"MM_swapImage('mainbar10','','"+path+"files/graphics/mainbar10_f2.gif',1)\" onmouseout=MM_swapImgRestore() href=\""+path+"en/aboutus.html#contact\"><img width=\"36\" height=\"20\" src=\""+path+"files/graphics/mainbar10.gif\" border=\"0\" alt=\"Contact Us\" name=\"mainbar10\"></a></td>");
document.write("  </tr>");
document.write("  <tr align=\"left\" valign=\"top\" bgcolor=\"#BB3333\">");
document.write("    <td height=\"2\" colspan=\"6\"><img src=\""+path+"files/graphics/mainbar9.gif\" width=\"770\" height=\"2\"></td>");
document.write("  </tr>");
document.write("</table></form>");