<!--

function createSelection() {

	var i;
	var item=new Array(
		{text:'Select an insurance'},
		{text:'======================'},
		{text:'Travel & Leisure',					link:'/hsb/eng/per/ins/home/travel/index.html'},
		{text:'- Travelsure Protection Plan',				link:'https://www.hangseng.com/ins/eng/tpp/quote.asp'},
		{text:'- Private Car Insurance Plan',				link:'/hsb/eng/per/ins/mip/index.html'},
		{text:'- Golfer Insurance Plan',				link:'/hsb/eng/per/ins/gip/home/index.html'},
		{text:'&nbsp;'},
		{text:'Accident',						link:'/hsb/eng/per/ins/home/accident/index.html'},
		{text:'- Personal Accident Insurance',				link:'https://www.hangseng.com/ins/eng/paip/quote.asp'},
		{text:'&nbsp;&nbsp;Plan',					link:'https://www.hangseng.com/ins/eng/paip/quote.asp'},
//		{text:'- Accident Income Protection',				link:'/hsb/eng/per/ins/aipp/home/index.html'},
//		{text:'&nbsp;&nbsp;Plan',					link:'/hsb/eng/per/ins/aipp/home/index.html'},
		{text:'- Credit Care Protection',			link:'https://www.hangseng.com/genform/html/index.asp?appl=cgapp&lang=e'},
		{text:'&nbsp;&nbsp;Plan',					link:'https://www.hangseng.com/genform/html/index.asp?appl=cgapp&lang=e'},
		{text:'&nbsp;'},
		{text:'Home',							link:'/hsb/eng/per/ins/home/home/index.html'},
		{text:'- Home Care Plan',					link:'https://www.hangseng.com/ins/eng/hcp/quote.asp'},
		{text:'- Home Ownership Scheme',			  	link:'/hsb/eng/per/ins/hoshcp/home/index.html'},
		{text:'&nbsp;&nbsp;HomeCare Plan',				link:'/hsb/eng/per/ins/hoshcp/home/index.html'},
		{text:'- Fire Protection Plan',					link:'/hsb/eng/per/ins/fpp/home/index.html'},
		{text:'- Domestic Helper Insurance Plan',			link:'https://www.hangseng.com/ins/eng/dhp/quote.asp'},
		{text:'- Part-time Domestic Helper',				link:'https://www.hangseng.com/ins/eng/pdhp/quote.asp'},
		{text:'&nbsp;&nbsp;Insurance Plan',				link:'https://www.hangseng.com/ins/eng/pdhp/quote.asp'},
		{text:'&nbsp;'},
		{text:'Medical',						link:'/hsb/eng/per/ins/home/medical/index.html'},
		{text:'- Hospital Cash Plan', 					link:'https://www.hangseng.com/genappl/html/index.asp?appl=hocp&lang=enu'},
//		{text:'- Evergreen Medical Protection Plan',			link:'/hsb/eng/per/ins/empp/index.html'},
//		{text:'- Lady Outpatient Medical Plan',				link:'/hsb/eng/per/ins/lomp/index.html'},
//		{text:'- Kids Outpatient Medical Plan',				link:'/hsb/eng/per/ins/komp/index.html'},
//		{text:'- Outpatient Medical Insurance',				link:'/hsb/eng/per/ins/opip/home/index.html'},
//		{text:'&nbsp;&nbsp;Plan',					link:'/hsb/eng/per/ins/opip/home/index.html'},
//		{text:'- "SOS" Mainland China Accident',			link:'/hsb/eng/per/ins/smcaa/index.html'},
//		{text:'&nbsp;&nbsp;Assistance Plan',				link:'/hsb/eng/per/ins/smcaa/index.html'},
		{text:'- Mainland China Accident',				link:'/hsb/eng/per/ins/mcaemp/home/index.html'},
		{text:'&nbsp;&nbsp;Emergency Medical Protection',		link:'/hsb/eng/per/ins/mcaemp/home/index.html'},
		{text:'&nbsp;&nbsp;Plan',					link:'/hsb/eng/per/ins/mcaemp/home/index.html'},
//		{text:'- Group Outpatient Medical',				link:'/hsb/eng/per/ins/gopip/index.html'},
//		{text:'&nbsp;&nbsp;Plan',					link:'/hsb/eng/per/ins/gopip/index.html'},
		{text:'&nbsp;'},
		{text:'Life',							link:'/hsb/eng/per/ins/home/life/index.html'},
		{text:'- Monthly Income Retirement Plan', 		link:'/hsb/eng/per/ins/hsllai/index.html'},
		{text:'- Flexi-Income Life Insurance Plan', 		link:'/hsb/eng/per/ins/fili/index.html'},
		{text:'- MediCash Life Time Insurance Plan PLUS', 		link:'/hsb/eng/per/ins/mclipp/index.html'},
		{text:'- MediCash Lifetime Insurance Plan', 		link:'/hsb/eng/per/ins/mclip/index.html'},
		{text:'- Yearly Renewable Term Plan',				link:'/hsb/eng/per/ins/yrtp/index.html'},
//		{text:'- All Years Reward Life Insurance Plan',			link:'/hsb/eng/per/ins/ayrlip/index.html'},		
		{text:'- Lifelong Reward Protection Plan',			link:'/hsb/eng/per/ins/lrp/index.html'},
//		{text:'- 5-Year Excel Life Insurance Plan',			link:'/hsb/eng/per/ins/yel/index.html'},
//		{text:'- Target Wealth Life Insurance',				link:'/hsb/eng/per/ins/tsp/index.html'},
//		{text:'&nbsp;&nbsp;Plan PLUS',					link:'/hsb/eng/per/ins/tsp/index.html'},
		//{text:'- Education Savings Protection',				link:'/hsb/eng/per/ins/espp/index.html'},
		//{text:'&nbsp;&nbsp;Plan',					link:'/hsb/eng/per/ins/espp/index.html'},
//		{text:'- EasyLife Retirement Plan',				link:'/hsb/eng/per/ins/elrp/index.html'},
//		{text:'- Lifetime Protection Plan',				link:'/hsb/eng/per/ins/ltpp/index.html'},
		{text:'- Maxi-protection Life Insurance Plan',				link:'/hsb/eng/per/ins/ltpp/index.html'},
//		{text:'- Total Care Lady Protection Plan',			link:'/hsb/eng/per/ins/lpp/index.html'},
		{text:'- 10-Year Renewable Term Plan',				link:'/hsb/eng/per/ins/1yrtp/index.html'},
//		{text:'- Comprehensive Savings',				link:'/hsb/eng/per/ins/cspp/index.html'},
//		{text:'&nbsp;&nbsp;Protection Plan',				link:'/hsb/eng/per/ins/cspp/index.html'},
		{text:'- Mortgage Life Protection Plan',			link:'/hsb/eng/per/ins/mpp/index.html'},
		{text:'- Monthly Education Fund Insurance Plan',	link:'/hsb/eng/per/ins/espp2/index.html'},
//		{text:'- FlexiSure Investment Life Plan',			link:'/hsb/eng/per/ins/fsilp/index.html'},
		{text:'- Invest-Select Life Insurance Plan',	link:'/hsb/eng/per/ins/is/index.html'},
		{text:'- LifePlus Capital Guaranteed',	link:'/hsb/eng/per/ins/lp/index.html'},
		{text:'&nbsp;&nbsp;Life Plan Fund Price',	link:'/hsb/eng/per/ins/lp/index.html'},
		{text:'- FlexiSure Investment Life Plan', link:'javascript:window.open(\'/hsb/eng/per/ins/pdf/fsilp_ffs.pdf\',\'fact_sheet\',\'width=480,height=600,scrollbars=yes,resizable=yes\');'},
		{text:'&nbsp;&nbsp;&nbsp;- Fund Fact Sheet', link:'javascript:window.open(\'/hsb/eng/per/ins/pdf/fsilp_ffs.pdf\',\'fact_sheet\',\'width=480,height=600,scrollbars=yes,resizable=yes\');'}
	);

	var html='';

	//html+='<img src="/hsb/com/spacer.gif" width="180" height="15" border="0"><br>';
	//html+='<table width="180" border="0" cellspacing="0" cellpadding="0"><tr>';
	//html+='<td><a href="/hsb/eng/per/cre/selector/index.html" target="_top"><img src="/hsb/eng/per/cre/com/select.jpg" width="179" height="14" border="0"></a></td>';
	//html+='</tr></table>';

	html+='<table width="180" border="0" cellspacing="0" cellpadding="0"><tr>';
	html+='<td width="17"><img src="/hsb/com/redarrow.gif" width="12" height="14"></td>';
	html+='<td width="163" align=right><font class="formsmall"><select class="formsmall" onchange="gotoURL(this.options[this.selectedIndex].value)">';
	for (i=0;i<item.length;i++)
		html+='<option value="'+(item[i].link?item[i].link:'')+'">'+item[i].text+'</option>';
	html+='</select></font></td>';
	html+='</tr></table>';
  	document.write(html);
}

function gotoURL(x) {

	var re=/javascript:/g;

	if (re.test(x)){
		x=x.replace(re,"");
	 	eval(x);
		return false;
	} else {
		y=x.indexOf("?self");
		if (y>0)
		{
			x=x.substr(0,y)
			self.location.href=x;
		}
		else if (x!='')
			parent.location.href=x;
		return false;
	}
}

function createEmailUs(prd, msg)
{
	var encodedMsg;
	var url;
	prd = (prd == null) ? "" : prd;
	encodedMsg = (msg == null) ? "" : escape(msg);
	url = "https://www.hangseng.com/contactus/eng/form.asp?subjCde=INSURL&fr=ins&prd=" + prd + "&msg=" + encodedMsg;
	document.write("\n");
	document.write("<img src='/ins/eng/image/image/spacer.gif' width=1 height=3 border=0><br>\n");
	document.write("<a href='javascript:;' onClick='window.open(\"" + url + "\",\"emailus\",\"status=yes,scrollbars=yes,resizable=yes,width=650,height=500,left=5,top=5\");'><img src='/hsb/eng/per/ins/image/ico_email.gif' width=93 height=23 alt='E-mail Us' border=0></a><br>");
}
//->

