<!--
function createLeftMenu()	{
	var	i,l;
	var	heading='Investment';
	var	headlink='href="/invs/eng/home/index.html" target="_top"';
	var	item=new Array(
		{text:'Securities Services', link:'href="/hsb/eng/per/invs/hsss/home/index.html" target="_top"'},
		{text:'Investment Fund Services', link:'href="/invs/eng/ifs/index.html" target="_top"'},
		{text:'Forex & Gold Margin Services', link:'href="/hsb/eng/per/invs/rmt/home/index.html" target="_top"'},
		{text:'Structured Products', link:'href="/hsb/eng/per/invs/eli/home/index.html" target="_top"'},
		{text:'Capital Protected Investment Deposit', link:'href="/hsb/eng/per/invs/eli/cpihome/index.html" target="_top"'},
		{text:'MaxiInterest Investment Deposit', link:'href="/hsb/eng/per/invs/hsmipd/index.html" target="_top"'},		
		{text:'Certificates of Deposit Services', link:'href="/hsb/eng/per/invs/cd/home/index.html" target="_top"'},
		{text:'Treasury Services', link:'href="/hsb/eng/per/invs/try/home/index.html" target="_top"'},		
		{text:'Bond Investment Services', link:'href="/hsb/eng/per/invs/bis/home/index.html" target="_top"'},		
		//{text:'Hang Seng A Share Investment Services', link:'href="/hsb/eng/per/invs/qfii/sha/home/index.html" target="_top"'},
		//{text:'Option Investment Services', link:'href="/hsb/eng/per/invs/ois/curopt/home/index.html" target="_top"'},
		{text:'Forward Contract Services', link:'href="/hsb/eng/per/invs/rmb/ndf/index.html" target="_top"'},
		{text:'Opportunity to Invest in Hong Kong', link:'href="http://www.hangseng.com/e_investment/invest_in_hk.html" target="_top"'}
	);
	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="5"><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)	{
	//alert(s);
	var test = true;
	
	var	b='/hsb/eng/per/invs/';
	if (s.indexOf(b)==-1)
		b='/invs/eng/';
	if (s.indexOf(b)==-1)
		b='/www.hangseng.com/';
	var	p=s.indexOf(b)+b.length;
	if (p>0) {
		s=s.substr(p);
		p=s.indexOf('/');
		var tmp=s.substr(0,p);
		if(tmp=='eli') {
			p=s.lastIndexOf('/');
		}
		s=s.substr(0,p);		
	}		
	return s;
}

function eipo_popup(theURL) { //v2.0
  window.open(theURL,"win","width=780,height=330,top=0,left=0,status=yes,scrollbars=yes,toolbar=yes,location=yes,menubar=yes,resizable=yes");
}

//-->
