function header(){
	var path='';
	for( var i=0; i<document.location.pathname.split('/').length-3; i++)
		path+='../';
	document.write("<table width='761' border='0'  cellpadding='0' cellspacing='0' id='header'>");
	document.write("<tr align='left' valign='top'>");
	document.write("<td height='65' colspan='2' class='sidebar'><a tabindex='1' href='" + path +  "index.html'><img src='" + path +  "images/en/branding.gif' alt='Commerce, Industry and Tourism Branch' width='484' height='65' border='0' ></a></td>");
	document.write("<td height='65' colspan='4' valign='bottom' >");
	document.write("<div align='center' >		  </div>");
	document.write("<div align='right'><a tabindex='2' href='http://www.brandhk.gov.hk/brandhk/' target='_blank'><img name='BrandHK' src='" + path +  "images/en/brandhk.gif' width='190' height='60' border='0' alt='Brand Hong Kong - Asia's world city'></a></div></td>");
	document.write("</tr>");
	document.write("<tr align='left' valign='top'>");
	document.write("<td width='494' height='20' align='left' valign='bottom'><div align='left' class='vert_align'><a tabindex='3' href='http://www.gov.hk/en/residents/' onMouseOut=\"MM_swapImgRestore()\"  onMouseOver=\"MM_swapImage('mainbar1','','" + path +  "images/g_menu/en/new_mainbar1_f2.gif',1)\" target='_blank' ><img name='mainbar1' src='" + path +  "images/g_menu/en/new_mainbar1.gif' width='171' height='20' border='0' alt='GovHK Government Information Centre'></a><a tabindex='4' href='javascript:SwitchLang(\"txt_en\")' onMouseOut=\"MM_swapImgRestore()\"  onMouseOver=\"MM_swapImage('mainbar2','','" + path +  "images/g_menu/en/mainbar2_f2.gif',1)\" ><img name='mainbar2' src='" + path +  "images/g_menu/en/mainbar2.gif' width='67' height='20' border='0' alt='text only'></a><a tabindex='5' href='javascript:SwitchLang(\"tc\")' onMouseOut=\"MM_swapImgRestore()\"  onMouseOver=\"MM_swapImage('mainbar3','','" + path +  "images/g_menu/en/mainbar3_f2.gif',1)\" ><img name='mainbar3' src='" + path +  "images/g_menu/en/mainbar3.gif' width='51' height='20' border='0' alt='Traditional Chinese' ></a><a tabindex='6' href='javascript:SwitchLang(\"sc\")' onMouseOut=\"MM_swapImgRestore()\"  onMouseOver=\"MM_swapImage('mainbar4','','" + path +  "images/g_menu/en/mainbar4_f2.gif',1)\" ><img name='mainbar4' src='" + path +  "images/g_menu/en/mainbar4.gif' width='50' height='20' border='0' alt='Simplified Chinese'></a><img name='mainbar5' src='" + path +  "images/g_menu/en/mainbar5.gif' width='80' height='20' border='0'></div>            </td>");
	document.write("<td width='54' height='20' align='right' valign='bottom'><a tabindex='7' href='javascript:document.search.submit();' onMouseOut=\"MM_swapImgRestore()\"  onMouseOver=\"MM_swapImage('mainbar6','','" + path +  "images/g_menu/en/mainbar6_f2.gif',1)\" ><img name='mainbar6' src='" + path +  "images/g_menu/en/mainbar6.gif' width='54' height='20' border='0' alt='SEARCH'></a></td>");			 		
	document.write("<form name='search' method='get' action='http://118.142.49.182/search.html' style='margin-bottom: 3px;' target='_self' onSubmit='return checksearchsubmit();'>");
	document.write("<td height='20' valign='bottom' ><div align='left'>");				  
	document.write("<input tabindex='8' type='text' name='query' value='' size='10'>");
	document.write("<INPUT type='hidden' name='gp0' value='cedb-citb_r2_home'>");
	document.write("<INPUT TYPE='hidden' NAME='tpl_id' VALUE='cedb-citb_r2'>");
	document.write("<INPUT TYPE='hidden' NAME='ui_lang' VALUE='en'>");
	document.write("<INPUT TYPE='hidden' NAME='ui_charset' VALUE='iso-8859-1'>");
	document.write("<INPUT TYPE='hidden' NAME='txtonly' VALUE=''>");
	document.write("<INPUT TYPE='hidden' NAME='web' VALUE='this'>");
	document.write("</div></td>");
	document.write("<td><input tabindex='9' type='image' src='" + path +  "images/g_menu/gb/mainbar8.gif' border='0' onClick='document.search.submit();' alt='SEARCH'>");
	document.write("<!--<td><input type='image' src='" + path +  "images/g_menu/gb/mainbar8.gif' border='0' onClick='document.search.submit();'></td>--></td>");
	document.write("</form>");				  
	document.write("<!--<td width='25' height='20' align='left' valign='bottom'><a href='#' onMouseOut=\"MM_swapImgRestore()\"  onMouseOver=\"MM_swapImage('mainbar8','','.." + path +  "images/g_menu/en/mainbar8_f2.gif',1)\" ><img name='mainbar8' src='.." + path +  "images/g_menu/en/mainbar8.gif' width='22' height='20' border='0' alt='SEARCH'></a></td>-->");
	document.write("<td width='75' height='20' align='left' valign='bottom'><a tabindex='10' href='" + path +  "en/Site_Map/index.html' onMouseOut=\"MM_swapImgRestore()\"  onMouseOver=\"MM_swapImage('mainbar9','','" + path +  "images/g_menu/en/mainbar9_f2.gif',1)\" ><img name='mainbar9' src='" + path +  "images/g_menu/en/mainbar9.gif' width='65' height='20' border='0' alt='SITE MAP'></a></td>");
	document.write("<td width='43' height='20' align='left' valign='bottom'><a tabindex='11' href='" + path +  "en/Contact_Us/index.html' onMouseOut=\"MM_swapImgRestore()\"  onMouseOver=\"MM_swapImage('mainbar10','','" + path +  "images/g_menu/en/mainbar10_f2.gif',1)\" ><img name='mainbar10' src='" + path +  "images/g_menu/en/mainbar10.gif' width='36' height='20' border='0' alt='CONTACT US'></a></td>");
	document.write("</tr>");
	document.write("<tr align='left' valign='top' bgcolor='#BB3333' height='2'>");
	document.write("<td colspan='6'></td>");
	document.write("</tr>");
	document.write("</table>");
}
