function print_corpbar(lan)
{
var corphtml = "";
corphtml +='<table width="970" border="0" cellspacing="0" cellpadding="0">';
corphtml +='<tr valign="top"> ';
corphtml +='<td> ';
corphtml +='<table width="970" border="0" cellspacing="0" cellpadding="0" background="../../img/'+lan+'/bkgdtexture.gif">';
corphtml +='<form method="get" name="search_form" action="http://www.lcsd.gov.hk/'+lan+'/search.php">';
corphtml +='<input type="hidden" name="s1" value="LCSD,LCSD1,LCSD2,LCSD3,LCSD3-chi">';
corphtml +='<input type="hidden" name="so" value="0">';
corphtml +='<input type="hidden" name="a" value="10">';
corphtml +='<input type="hidden" name="oa" value="1">';
corphtml +='<input type="hidden" name="fta" value="1">';
corphtml +='<input type="hidden" name="start" value="1">';
corphtml +='<tr valign="top"> ';
corphtml +='<td width="748"> ';
corphtml +='<table width="748" border="0" cellspacing="0" cellpadding="0">';
corphtml +='<tr valign="top"> ';
corphtml +='<td><img src="../../img/'+lan+'/logo.gif" title="Hong Kong Cultural Centre&#10;Leisure &amp; Cultural Services Department&#10;The Government of the Hong Kong Special Administrative Region" alt="Hong Kong Cultural Centre&#10;Leisure &amp; Cultural Services Department&#10;The Government of the Hong Kong Special Administrative Region" usemap="#Map" border="0"></td>';
corphtml +='</tr>';
corphtml +='</table>';
corphtml +='</td>';
corphtml +='<td width="222" valign="bottom"> ';
corphtml +='<table width="100%" border="0" cellspacing="0" cellpadding="0">';
corphtml +='<tr valign="bottom" align="right"> ';
corphtml +='<td><a href="http://www.brandhk.gov.hk/brandhk/eindex.htm" target="_blank"><img name="BrandHK" src="../../img/'+lan+'/brandhk.gif" border="0"></a></td>';
corphtml +='</tr>';
corphtml +='</table>';
corphtml +='</td>';
corphtml +='</tr>';
corphtml +='<tr valign="bottom">';
corphtml +='<td colspan="2">';
corphtml +='<table width="100%" border="0" cellspacing="0" cellpadding="0">';
corphtml +='<tr valign="bottom">';
corphtml +='<td>';
corphtml +='<table border="0" cellspacing="0" cellpadding="0">';
corphtml +='<tr valign="bottom"> ';
if(lan=="en")
{
corphtml +='<td><a href="http://www.gov.hk/en/residents/" target="_blank" ><img onMouseOut="imgSwap(this)"  onMouseOver="imgSwap(this)" name="mainbar1" src="../../img/'+lan+'/mainbar1_off.gif" border="0" alt="Government Information Centre"></a></td>';
}
if(lan=="b5")
{
corphtml +='<td><a href="http://www.gov.hk/tc/residents/" target="_blank" ><img onMouseOut="imgSwap(this)"  onMouseOver="imgSwap(this)" name="mainbar1" src="../../img/'+lan+'/mainbar1_off.gif" border="0" alt="Government Information Centre"></a></td>';
}
if(lan=="gb")
{
corphtml +='<td><a href="http://www.gov.hk/sc/residents/" target="_blank" ><img onMouseOut="imgSwap(this)"  onMouseOver="imgSwap(this)" name="mainbar1" src="../../img/'+lan+'/mainbar1_off.gif" border="0" alt="Government Information Centre"></a></td>';
}
if(lan=="en")
{
corphtml +='<td><a href="javascript:eng3()"><img onMouseOut="imgSwap(this)"  onMouseOver="imgSwap(this)" name="mainbar2" src="../../img/'+lan+'/mainbar2_off.gif" border="0"></a></td>';
corphtml +='<td><a href="javascript:eng1()"><img onMouseOut="imgSwap(this)"  onMouseOver="imgSwap(this)" name="mainbar3" src="../../img/'+lan+'/mainbar3_off.gif" border="0" alt="&#32321;&#39636;&#29256;"></a></td>';
corphtml +='<td><a href="javascript:eng2()"><img onMouseOut="imgSwap(this)"  onMouseOver="imgSwap(this)" name="mainbar4" src="../../img/'+lan+'/mainbar4_off.gif" border="0" alt="簡体版"></a></td>';
}
else
{
corphtml +='<td><a href="javascript:chi3()"><img onMouseOut="imgSwap(this)"  onMouseOver="imgSwap(this)" name="mainbar2" src="../../img/'+lan+'/mainbar2_off.gif" border="0"></a></td>';
corphtml +='<td><a href="javascript:chi1()"><img onMouseOut="imgSwap(this)"  onMouseOver="imgSwap(this)" name="mainbar3" src="../../img/'+lan+'/mainbar3_off.gif" border="0"></a></td>';
corphtml +='<td><a href="javascript:chi2()"><img onMouseOut="imgSwap(this)"  onMouseOver="imgSwap(this)" name="mainbar4" src="../../img/'+lan+'/mainbar4_off.gif" border="0"></a></td>';
}
corphtml +='<td><img name="mainbar5" src="../../img/'+lan+'/mainbar5.gif" border="0" alt="image"></td>';
corphtml +='</tr>';
corphtml +='</table>';
corphtml +='</td>';
corphtml +='<td align="right">';
corphtml +='<table border="0" cellspacing="0" cellpadding="0">';
corphtml +='<tr valign="bottom"> ';
corphtml +='<td><a href="http://www.lcsd.gov.hk/'+lan+'/search.php" target="_top"><img onMouseOut="imgSwap(this)"  onMouseOver="imgSwap(this)" name="mainbar6" src="../../img/'+lan+'/mainbar6_off.gif" border="0" alt="Search"></a></td>';
corphtml +='<td><input type="text" name="p" size="12" value="" class="search"></td>';
corphtml +='<td><input type="image" onMouseOut="imgSwap(this)" onMouseOver="imgSwap(this)" name="mainbar8" border="0" src="../../img/'+lan+'/mainbar8_off.gif" alt="Search Graphic"></td>';
if(lan=="en")
{
corphtml +='<td><a href="../sitemap/sitemap.html" ><img onMouseOut="imgSwap(this)"  onMouseOver="imgSwap(this)" name="mainbar9" src="../../img/'+lan+'/mainbar9_off.gif" border="0" alt="Site Map" lowsrc="sitemap"></a></td>';
corphtml +='<td><a href="../contactus/contactus.html"><img onMouseOut="imgSwap(this)"  onMouseOver="imgSwap(this)" name="mainbar10" src="../../img/'+lan+'/mainbar10_off.gif" border="0" alt="Contact Us"></a></td>';
}
else
{
corphtml +='<td><a href="../sitemap/sitemap.html" ><img onMouseOut="imgSwap(this)"  onMouseOver="imgSwap(this)" name="mainbar9" src="../../img/'+lan+'/mainbar9_off.gif" border="0" alt="Site Map" lowsrc="sitemap"></a></td>';
corphtml +='<td><a href="../contactus/contactus.html"><img onMouseOut="imgSwap(this)"  onMouseOver="imgSwap(this)" name="mainbar10" src="../../img/'+lan+'/mainbar10_off.gif" border="0" alt="Contact Us"></a></td>';
}
corphtml +='</tr>';
corphtml +='</table>';
corphtml +='</td>';
corphtml +='</tr>';
corphtml +='</table>';
corphtml +='</td>';
corphtml +='</tr>';
corphtml +='</form>';
corphtml +='</table>';
corphtml +='</td>';
corphtml +='</tr>';
corphtml +='<tr valign="top" bgcolor="#BB3333"> ';
corphtml +='<td height="2"></td>';
corphtml +='</tr>';
corphtml +='</table>';
document.write(corphtml);
}

function text_corp()
{
var corphtml ="";
if (w=="en")
{
corphtml +='<p class="hd">Hong Kong Cultural Centre</p>';
corphtml +='<hr>';
corphtml +='<p>[<a href="javascript:eng3()">GRAPHICS VERSION</a>] [<a href="javascript:eng1()">&#32321;&#39636;&#29256;</a>] [<a href="javascript:eng2()">&#31616;&#20307;&#29256;</a>] [<a href="http://www.lcsd.gov.hk/en/search.php" target="_top">SEARCH</a>]  [<a href="../sitemap/sitemap.html">SITE MAP</a>]  [<a href="../contactus/contactus.html">CONTACT US</a>]</p>';
corphtml +='<hr>';
}
if (w=="b5")
{
corphtml +='<p class="hd">香港文化中心</p>';
corphtml +='<hr>';
corphtml +='<p>[<a href="javascript:chi3()">圖像版本</a>] [<a href="javascript:chi2()">English</a>] [<a href="javascript:chi1()">&#31616;&#20307;&#29256;</a>] [<a href="http://www.lcsd.gov.hk/b5/search.php" target="_top">搜尋</a>]  [<a href="../sitemap/sitemap.html">網頁指南</a>]  [<a href="../contactus/contactus.html">聯絡我們</a>]</p>';
corphtml +='<hr>';
}
if (w=="gb")
{
corphtml +='<p class="hd">香港文化中心</p>';
corphtml +='<hr>';
corphtml +='<p>[<a href="javascript:chi3()">圖像版本</a>] [<a href="javascript:chi2()">English</a>] [<a href="javascript:chi1()">&#32321;&#39636;&#29256;</a>] [<a href="http://www.lcsd.gov.hk/b5/search.php" target="_top">搜尋</a>]  [<a href="../sitemap/sitemap.html">網頁指南</a>]  [<a href="../contactus/contactus.html">聯絡我們</a>]</p>';
corphtml +='<hr>';
}
document.write(corphtml);
}