﻿<!--
function createLeftMenu() {
	var	i,l;
	var	heading='eMPF';
	var 	headlink='href="/hsb/chi/onl/emp/home/index.html" target="_top"';
	var	item=new Array(
		{text:'\u5F37 \u7A4D \u91d1 \u5468 \u5E74 \u6210 \u54E1 \u6B0A \u76CA \u5831 \u8868 - \u5E38 \u898B \u554F \u984C', 			link:'href="/hsb/chi/onl/emp/ambs/index.html" target="_top"'},
		//{text:'\u5F37 \u7A4D \u91d1 \u5468 \u5E74 \u6210 \u54E1 \u6B0A \u76CA \u5831 \u8868', 			link:'href="../mambs/welcome1_chi.html" target="_blank"'},
		{text:'\u6052 \u751F \u5F37 \u5236 \u6027 \u516C \u7A4D \u91D1',  					link:'href="/hsb/chi/onl/emp/hsmpf/index.html" target="_top"'},
		{text:'\u5F37 \u7A4D \u91D1 \u7C21 \u4ECB',								link:'href="/hsb/chi/onl/emp/impf/index.html" target="_top"'},
		{text:'\u50F1 \u4E3B \u53CA \u50F1 \u54E1 \u9700 \u77E5',						link:'href="/hsb/chi/onl/emp/ifesec/index.html" target="_top"'},
		{text:'\u50F1 \u4E3B \u4E4B \u9078',							link:'href="/hsb/chi/onl/emp/rce/index.html" target="_top"'},
		{text:'\u50F1 \u54E1 \u4E4B \u9078',							link:'href="/hsb/chi/onl/emp/rce2/index.html" target="_top"'},
		{text:'\u4FDD \u7559 \u4F60 \u7684 \u8CC7\u91D1',					link:'href="/hsb/chi/onl/emp/preserv/index.html" target="_top"'},
		{text:'\u600E \u6A23 \u70BA \u9000 \u4F11 \u4F5C \u51FA \u6295 \u8CC7',				link:'href="/hsb/chi/onl/emp/htifr/index.html" target="_top"'},
		{text:'\u6295 \u8CC7 \u53D6 \u5411 \u8A55 \u4F30',							link:'href="/hsb/chi/onl/emp/pdf/questionnaire_c.pdf" target="_blank"'},
		{text:'\u57FA \u91D1 \u8CC7 \u6599',									link:'href="/hsb/chi/onl/emp/fi/index.html" target="_top"'},
		{text:'\u57FA \u91D1 \u50F9 \u683C \u53CA \u8868 \u73FE',						link:'href="/hsb/chi/onl/emp/fpnp/up/index.html" target="_top"'},
		//{text:'\u50F1 \u4E3B \u4F9B \u6B3E \u8A08 \u7B97',							link:'href="/hsb/chi/onl/emp/eprfec/index.html" target="_top"'},
		{text:'\u50F1 \u54E1 \u4F9B \u6B3E \u8A08 \u7B97',							link:'href="/hsb/chi/onl/emp/epefec/index.html" target="_top"'},
		{text:'\u5E38 \u898B \u554F \u984C',									link:'href="/hsb/chi/onl/emp/faq/index.html" target="_top"'},
		{text:'\u53C3 \u52A0 \u5F37 \u7A4D \u91D1 \u5F8C \u4E4B \u5E38 \u7528 \u8868 \u683C',			link:'href="/hsb/chi/onl/emp/cufae/index.html" target="_top"'},
		{text:'\u5F37 \u7A4D \u91D1 \u5BA2 \u6236 \u5C08 \u4EAB \u512A \u60E0',								link:'href="/hsb/chi/onl/emp/hsmpfc/index.html" target="_top"'},
		{text:'\u6052 \u751F \u5F37 \u7A4D \u91D1 \u6210 \u54E1 \u8B1B \u5EA7',  					link:'href="/hsb/chi/onl/emp/pdf/empf.pdf" target="_blank"'}
		//{text:'e-Employer',											link:'href="http://www.ihrms21.com/hase_c/" target="_blank"'},
		//{text:'e-Employee',											link:'href="https://ebanking.hangseng.com/c_logon.htm" target="_blank"'}
	);
	var	html='';
	var	c=getID(new	String(document.location));
	html+='<table	width="150"	border="0" cellpadding="0" cellspacing="0" bgcolor="#F0F0F0"><tr bgcolor="#000066">';
	html+='<td width="10"><img src="/hsb/com/spacer.gif" width="10"	height="10"></td>';
	html+='<td width="140"><a '+headlink+'><font class="navhead">'+heading+'</font></a></td>';
	html+='</tr></table>';
	html+='<table	width="130"	border="0" cellpadding="0" cellspacing="0"><tr>';
	html+='<td valign="top"><img src="/hsb/com/spacer.gif" width="10"	height="325"></td>';
	html+='<td valign="top"><table width="122" border="0"	cellspacing="0"	cellpadding="0">';
	for	(i=0;i<item.length;i++)	{
		l=getID(item[i].link);
		html+='<tr><td valign="top"><img src="/hsb/com/spacer.gif" width="140" height="10"><br><a '+item[i].link+'>';
		html+='<font class="nav">';
		if (l==c) 
			html+='<font color="red">'+item[i].text+'</font>';
		else
			html+=item[i].text;
		html+='</font>';
		html+='</a><br></td></tr>';
	}
	html+='</table></td>';
	html+='</tr></table>';
	document.write(html);
}

function getID(s)	{
	var	b='/hsb/chi/onl/emp/';
	if (s.indexOf(b)==-1) {
		if (s.indexOf('/hsb/chi/mpf/')!=-1) 
			return "fpnp";
	}
	var	p=s.indexOf(b)+b.length
	if (p>0) {
		s=s.substr(p);
		p=s.indexOf('/');
		s=s.substr(0,p);
	}
	if (s=="mambs") return "fpnp";
	return s;
}
//-->

