function header()
{
	txt = "";
	txt += "<table width='900' height='99' border='0' cellspacing='0' cellpadding='0'>";
	txt += "  <tr> ";
	txt += "    <td width='30' height='85'>&nbsp;</td>";
	txt += "   <td width='178' align='left' valign='top'><a href='index.htm'><img src='images/logo_harvard.jpg' width='178' height='85' border='0' /></a></td>";
	txt += "   <td width='427' align='left' valign='top'><img src='images/icon_21.jpg' width='91' height='91' /></td> ";
	txt += "   <td width='244' align='right' valign='top'><table width='200' border='0' cellpadding='0' cellspacing='0'> ";
	txt += "     <tr> ";
	txt += "       <td align='right' valign='top'><table width='263' border='0' cellpadding='0' cellspacing='0'>";
	txt += "	        <tr> ";
	txt += "             <td width='89' align='left' valign='top'><a href='#'><img src='images/common/btn_CShotline.gif' alt='如對我們的服務有任何意見或查詢，請於辦公時間內致電我們的客戶服務專線2248 6330，我們的客戶服務專員將樂意為您效勞。' width='175' height='18' border='0' /></a></td>";
	txt += "       <td width='89' align='left' valign='top'><a href='recruitment.html'><img src='images/common/btn_recruitment.gif' width='88' height='18' border='0' /></a></td>";
	txt += "           <td width='89' align='left' valign='top'><a href='http://member.gbil.com' target='_blank'><img src='images/common/btn_rewards.gif' width='89' height='18' border='0' /></a></td>";
	txt += "           <td width='85' align='left' valign='top'><a href='http://eshopping.gbil.com' target='_blank'><img src='images/common/btn_onlineshopping.gif' width='85' height='18' border='0' /></a></td>";
	txt += "         </tr> ";
	txt += "       </table></td>";
	txt += "     </tr> ";
	txt += "     <tr> ";
	txt += "        <td height='12' align='left' valign='top'></td>";
	txt += "      </tr> ";
	txt += "      <tr> ";
	txt += "<td align='right' valign='top'><table border='0' cellspacing='0' cellpadding='0'>"
    txt += "         <tr>";
    txt += "            <td align='left' valign='bottom'><a href='http://www.facebook.com/pages/Harvard-Addhair-Technologies/220826686020' target='_blank'><img src='images/icon_facebook.jpg' width='32' height='35' border='0' /></a></td>";
    txt += "             <td width='5' align='left' valign='top'>&nbsp;</td>";
    txt += "             <td width='32' align='left' valign='bottom'><a href='http://www.youtube.com/HarvardAddhair' target='_blank'><img src='images/icon_youtube.jpg' width='32' height='35' border='0' /></a></td>";
    txt += "             <td width='8' align='left' valign='top'>&nbsp;</td>";
    txt += "            <td width='244' align='right' valign='top'><img src='images/common/tel.jpg' width='244' height='36' /></td>";
    txt += "          </tr>";
    txt += "       </table></td>";
	txt += "      </tr> ";
	txt += "      <tr> ";
	txt += "        <td height='15' align='left' valign='top'></td>";
	txt += "      </tr> ";
	txt += "      <tr> ";
	txt += "        <td align='right' valign='top'><table border='0' cellpadding='0' cellspacing='0'>";
	txt += "          <tr> ";
	txt += "            <td width='44' align='left' valign='top'></td>";
	txt += "            <td align='left' valign='top'></td> ";
	txt += "            <td width='42' align='left' valign='top'><a href='index.htm'><img src='images/common/btn_tc.gif' width='44' height='10' border='0' /></a></td>";
	txt += "            <td align='left' valign='top'><img src='images/common/divider1.gif' width='1' height='10' /></td> ";
	txt += "            <td width='56' align='left' valign='top'><a href='../en/index.htm'><img src='images/common/btn_en.gif' width='56' height='10' border='0' /></a></td>";
	txt += "          </tr> ";
	txt += "        </table></td>";
	txt += "      </tr> ";
	txt += "    </table></td>";
	txt += "    <td width='21' align='right' valign='top'></td>";
	txt += "  </tr> ";
	txt += "</table> ";
	txt += "<map name='MapMap' id='MapMap'>";
	txt += "  <area shape='rect' coords='0,1,34,13' href='#' />";
	txt += "  <area shape='rect' coords='44,1,77,15' href='#' /> ";
	txt += "  <area shape='rect' coords='90,1,144,15' href='#' /> ";
	txt += "</map> ";
	document.write(txt);
}

function footer()
{
	txt = "";
    txt += "<table width='875' border='0' cellspacing='0' cellpadding='0'>";
    txt +=   "<tr>";
    txt +=     "<td width='791' class='footer'>© 2007 Global Beauty International (HK) Limited 版權所有。</td>";
    txt +=     "<td width='84' align='right' ><a href='ourbrands.html' class='footerlink'>我們品牌</a></td>";
    txt +=   "</tr>";
    txt += "</table>";
    document.write(txt);
}


function SwitchLang(lang)
{
	address = document.location.href;
	if (address.indexOf("/en/")>=0){
		newurl = address.replace("/en/","/"+lang+"/"); 
	}
	if (address.indexOf("/tc/")>=0){
		newurl = address.replace("/tc/","/"+lang+"/");
	}
	document.location.href=newurl;
}

