﻿<!--
function createSelection() {
	var i;
	var item=new Array(
		{text:'\u8ACB\u9078\u64C7'},
		{text:'========================='},
		{text:'\u65c5\u904a\u53ca\u6d88\u9591',							link:'http://www.hangseng.com/hsb/chi/per/ins/home/travel/index.html'},
		{text:'- \u65C5\u904A\u7D9C\u5408\u4FDD\u969C\u8A08\u5283', 				link:'https://www.hangseng.com/ins/chi/tpp/quote.asp'},
		{text:'- \u79C1\u5BB6\u8ECA\u4FDD\u96AA\u8A08\u5283',      				link:'http://www.hangseng.com/hsb/chi/per/ins/mip/index.html'},
		{text:'- \u9AD8\u723E\u592B\u7403\u4FDD\u969C\u8A08\u5283',				link:'http://www.hangseng.com/hsb/chi/per/ins/gip/home/index.html'},
		{text:'&nbsp;'},
		{text:'\u610f\u5916',									link:'http://www.hangseng.com/hsb/chi/per/ins/home/accident/index.html'},
		{text:'- \u500B\u4EBA\u610F\u5916\u4FDD\u969C\u8A08\u5283',        			link:'https://www.hangseng.com/ins/chi/paip/quote.asp'},
//		{text:'- \u300C\u5165\u606F\u4FDD\u300D\u500B\u4EBA\u610F\u5916',   			link:'http://www.hangseng.com/hsb/chi/per/ins/aipp/home/index.html'},
//		{text:'&nbsp; \u4FDD\u969C\u8A08\u5283',   						link:'http://www.hangseng.com/hsb/chi/per/ins/aipp/home/index.html'},
//		{text:'- \u300C\u4FE1\u7528\u5361\u5468\u5168\u4FDD\u300D\u610F\u5916',			link:'https://www.hangseng.com/genform/html/index.asp?appl=cgapp&lang=u'},
		{text:'- \u300C\u5468\u5168\u4FE1\u7528\u4FDD\u300D\u4FDD\u969C\u8A08\u5283',			link:'https://www.hangseng.com/genform/html/index.asp?appl=cgapp&lang=u'},
//		{text:'&nbsp; \u4FDD\u969C\u8A08\u5283',						link:'https://www.hangseng.com/genform/html/index.asp?appl=cgapp&lang=u'},
//		{text:'&nbsp; \u8A08\u5283',			link:'https://www.hangseng.com/genform/html/index.asp?appl=cgapp&lang=u'},
		{text:'&nbsp;'},
		{text:'\u5bb6\u5c45',									link:'http://www.hangseng.com/hsb/chi/per/ins/home/home/index.html'},
		{text:'- \u5BB6\u5C45\u4FDD\u969C\u8A08\u5283',       					link:'https://www.hangseng.com/ins/chi/hcp/quote.asp'},
		{text:'- \u5C45\u5C4B\u5BB6\u5C45\u4FDD\u969C\u8A08\u5283', 				link:'http://www.hangseng.com/hsb/chi/per/ins/hoshcp/home/index.html'},
		{text:'- \u706B\u96AA\u4FDD\u969C\u8A08\u5283',      					link:'http://www.hangseng.com/hsb/chi/per/ins/fpp/home/index.html'},
		{text:'- \u5BB6\u5EAD\u50F1\u50AD\u4FDD\u969C\u8A08\u5283', 				link:'https://www.hangseng.com/ins/chi/dhp/quote.asp'},
		{text:'- \u9418\u9EDE\u5BB6\u50AD\u4FDD\u969C\u8A08\u5283',      			link:'https://www.hangseng.com/ins/chi/pdhp/quote.asp'},
		{text:'&nbsp;'},
		{text:'\u91ab\u7642',									link:'http://www.hangseng.com/hsb/chi/per/ins/home/medical/index.html'},
		{text:'- \u4F4F\u9662\u4FDD\u969C\u8A08\u5283',             				link:'https://www.hangseng.com/genappl/html/index.asp?appl=hocp&lang=cht'},
//		{text:'- \u300C\u6B72\u6B72\u5065\u5EB7\u300D\u91AB\u7642\u4FDD\u5065\u8A08\u5283',	link:'http://www.hangseng.com/hsb/chi/per/ins/empp/index.html'},
//		{text:'- \u5973\u6027\u9580\u8A3A\u91AB\u7642\u4FDD\u5065\u8A08\u5283',			link:'http://www.hangseng.com/hsb/chi/per/ins/lomp/index.html'},
//		{text:'- \u5152\u7AE5\u9580\u8A3A\u91AB\u7642\u4FDD\u5065\u8A08\u5283',			link:'http://www.hangseng.com/hsb/chi/per/ins/komp/index.html'},
//		{text:'- \u9580\u8A3A\u91AB\u7642\u4FDD\u5065\u8A08\u5283',				link:'http://www.hangseng.com/hsb/chi/per/ins/opip/home/index.html'},
		{text:'- \u4E2D\u570B\u5167\u5730\u610F\u5916\u6025\u6551\u91AB\u7642',			link:'http://www.hangseng.com/hsb/chi/per/ins/mcaemp/home/index.html'},
		{text:'&nbsp; \u4FDD\u969C\u8A08\u5283',						link:'http://www.hangseng.com/hsb/chi/per/ins/mcaemp/home/index.html'},
		{text:'&nbsp;'},
		{text:'\u4eba\u58fd',									link:'http://www.hangseng.com/hsb/chi/per/ins/home/life/index.html'},
		{text:'- \u300C\u6708\u85AA\u9000\u4F11\u4FDD\u300D\u8A08\u5283', 		link:'http://www.hangseng.com/hsb/chi/pmo/ins/hsllai/index.html'},

		{text:'- 「靈活入息保」人壽保險計劃', 		link:'http://www.hangseng.com/hsb/chi/per/ins/fili/index.html'},
		{text:'- 超卓「醫療現金保」終身保險計劃', 		link:'http://www.hangseng.com/hsb/chi/per/ins/mclipp/index.html'},

		{text:'- 「醫療現金保」終身保險計劃', 		link:'http://www.hangseng.com/hsb/chi/per/ins/mclip/index.html'},
		{text:'- \u300C\u6BCF\u5E74\u5B9A\u671F\u4FDD\u300D\u58FD\u96AA\u8A08\u5283', 		link:'http://www.hangseng.com/hsb/chi/per/ins/yrtp/index.html'},
//		{text:'- \u300C\u4ECA\u65E5\u672A\u4F86\u300D\u4EBA\u58FD\u4FDD\u96AA\u8A08\u5283', 	link:'http://www.hangseng.com/hsb/chi/per/ins/ayrlip/index.html'},		
		{text:'- \u300C\u6E90\u6E90\u751F\u606F\u300D\u4FDD\u96AA\u8A08\u5283', 		link:'http://www.hangseng.com/hsb/chi/per/ins/lrp/index.html'},
//		{text:'- \u300C\u4E94\u5E74\u667A\u9078\u300D\u4EBA\u58FD\u4FDD\u96AA\u8A08\u5283', 	link:'http://www.hangseng.com/hsb/chi/per/ins/yel/index.html'},
//		{text:'- \u300C\u7406\u60F3\u7A4D\u9054\u300D\u4EBA\u58FD\u4FDD\u96AA\u8A08\u5283', 	link:'http://www.hangseng.com/hsb/chi/per/ins/tsp/index.html'},
		//{text:'- \u300C\u5B50\u5973\u6210\u624D\u300D\u5132\u84C4\u4FDD\u96AA\u8A08\u5283',	link:'http://www.hangseng.com/hsb/chi/per/ins/espp/index.html'},
//		{text:'- \u300C\u512A\u6E38\u751F\u6D3B\u300D\u9000\u4F11\u4FDD\u96AA\u8A08\u5283',	link:'http://www.hangseng.com/hsb/chi/per/ins/elrp/index.html'},
//		{text:'- \u300C\u8C50\u76DB\u4EBA\u751F\u300D\u4FDD\u96AA\u8A08\u5283', 		link:'http://www.hangseng.com/hsb/chi/per/ins/ltpp/index.html'},
		{text:'- 「豐盛歲月保」人壽保險計劃', 		link:'http://www.hangseng.com/hsb/chi/per/ins/ltpp/index.html'},
//		{text:'- \u300C\u5168\u9762\u70BA\u59B3\u300D\u5973\u6027\u4FDD\u96AA\u8A08\u5283',     link:'http://www.hangseng.com/hsb/chi/per/ins/lpp/index.html'},
		{text:'- \u300C\u9EC3\u91D1\u5341\u5E74\u300D\u4FDD\u96AA\u8A08\u5283', 		link:'http://www.hangseng.com/hsb/chi/per/ins/1yrtp/index.html'},
		{text:'- \u300C\u7F6E\u5B89\u5FC3\u300D\u4FDD\u96AA\u8A08\u5283', 			link:'http://www.hangseng.com/hsb/chi/per/ins/mpp/index.html'},
		{text:'- 「每月教育基金保」計劃',			link:'http://www.hangseng.com/hsb/chi/per/ins/espp2/index.html'},
//		{text:'- \u300C\u9748\u6D3B\u81EA\u9078\u300D\u6295\u8CC7\u58FD\u96AA\u8A08\u5283',	link:'http://www.hangseng.com/hsb/chi/per/ins/fsilp/index.html'},
		{text:'- 「智選投資保」人壽保險計劃',	link:'http://www.hangseng.com/hsb/chi/per/ins/is/index.html'},
		{text:'- \u300C\u4FDD\u8C50\u76DB\u300D\u4FDD\u672C\u6295\u8CC7',			link:'http://www.hangseng.com/hsb/chi/per/ins/lp/index.html'},	
		{text:'&nbsp;&nbsp;\u58FD\u96AA\u8A08\u5283\u57FA\u91D1\u50F9\u683C',			link:'http://www.hangseng.com/hsb/chi/per/ins/lp/index.html'},
		{text:'- \u300C\u9748\u6D3B\u81EA\u9078\u300D\u6295\u8CC7\u58FD\u96AA\u8A08\u5283', link:'javascript:window.open(\'/hsb/chi/per/ins/fsilp/popup.html\',\'fact_sheet\',\'width=360,height=260,scrollbars=yes,resizable=yes\')'},
		{text:'&nbsp;&nbsp;&nbsp;- \u57FA\u91D1\u8CC7\u6599\u55AE\u5F35', link:'javascript:window.open(\'/hsb/chi/per/ins/fsilp/popup.html\',\'fact_sheet\',\'width=360,height=260,scrollbars=yes,resizable=yes\')'}

	);

	var html='';
	//html+='<img src="http://www.hangseng.com/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="http://www.hangseng.com/hsb/eng/per/cre/selector/index.html" target="_top"><img src="http://www.hangseng.com/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="http://www.hangseng.com/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)"></font>';
	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 createEmailUs(prd, msg)
{
	var encodedMsg;
	var url;
	prd = (prd == null) ? "" : prd;
	encodedMsg = (msg == null) ? "" : escape(msg);
	url = "https://www.hangseng.com/contactus/chi/form.asp?subjCde=INSURL&fr=ins&prd=" + prd + "&msg=" + encodedMsg;
	document.write("\n");
	document.write("<img src='/hsb/com/spacer.gif' width=1 height=1 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/chi/per/ins/image/ico_email.gif' width=136 height=23 alt='\u4ee5\u96fb\u90f5\u806f\u7d61\u6211\u5011' border=0></a><br>");
}


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;
	}
}
//->

