<!--
function createSelection() {
	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/image/select.jpg" border="0"></a></td>';
	html+='</tr></table>';

	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 width="17"><img src="/hsb/com/redarrow.gif" width="12" height="14"></td>';
	html+='<td width="163"><font class="formsmall"><SELECT class="formsmall" onchange="gotoURL(this.options[this.selectedIndex].value)"></font>';

	html+='<option value="">Select a Card</option>';
	html+='<option value="">======================</option>';
	html+='<OPTION value="/hsb/eng/per/cre/hsccco/index.html?idx=2">Hang Seng Credit Card</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/hspmc/index.html?idx=2">Platinum Card</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/ac/mc/index.html?idx=2">MPOWER Card</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/hsuscc/index.html?idx=2">MPOWER Card (For Students)</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/ac/enjoy/index.html">enJoy Card</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/ac/muji/index.html?idx=2">MUJI Card</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/ac/jal/index.html?idx=2">JAL Hang Seng Card</OPTION>';
	//html+='<OPTION value="/hsb/eng/per/cre/ac/mcmug/index.html?idx=2">Mcmug Card</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/ac/mega/index.html">MegaBox Card</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/ac/ffmc/index.html?idx=2">Forever Friends Card</OPTION>';
	//html+='<OPTION value="/hsb/eng/per/cre/ac/wwfmc/index.html?idx=2">WWF MasterCard</OPTION>';
	//html+='<OPTION value="/hsb/eng/per/cre/ac/hkicsg/index.html?idx=2">HKICS Gold Card</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/ac/cuhkcc/index.html?idx=2">CUHK Credit Card</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/ac/cituhk/index.html?idx=2">CityU Card</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/ac/hkbucc/index.html?idx=2">HKBU Credit Card</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/ac/hscscuhk/index.html?idx=2">SCS CUHK Credit Card</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/jcb/index.html?idx=2">JCB Card</OPTION>';
	//html+='<OPTION value="/hsb/eng/per/cre/hsfmc/index.html?idx=2">Fortune MasterCard</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/rmb/index.html?idx=2">Renminbi Credit Card</OPTION>';
	html+='<OPTION value="http://www.hangseng.com/hsb/eng/per/cre/vi/index.html?idx=2">Visa Infinite</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/hswmc/index.html?idx=2">World MasterCard</OPTION>';
	//html+='<OPTION value="/hsb/eng/per/cre/hsesmc/index.html?idx=2">e-shopping MasterCard</OPTION>';
	html+='</select></td>';
	html+='</tr></table>';
  document.write(html);
}

function createSelection2() {
	var html='';

	//html+='<img src="/hsb/com/spacer.gif" width="180" height="1" border="0"><br>';
	html+='<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr>';
	//html+='<td width="17"><img src="/hsb/com/redarrow.gif" width="12" height="14"></td>';
	html+='<td align="right"><font class="formsmall"><SELECT class="formsmall" onchange="gotoURL(this.options[this.selectedIndex].value)"></font>';

	html+='<option value="">Select a Card</option>';
	html+='<option value="">======================</option>';
	html+='<OPTION value="/hsb/eng/per/cre/hsccco/index.html?idx=2">Hang Seng Credit Card</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/hspmc/index.html?idx=2">Platinum Card</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/ac/mc/index.html?idx=2">MPOWER Card</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/hsuscc/index.html?idx=2">MPOWER Card (For Students)</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/ac/enjoy/index.html">enJoy Card</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/ac/muji/index.html?idx=2">MUJI Card</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/ac/jal/index.html?idx=2">JAL Hang Seng Card</OPTION>';
	//html+='<OPTION value="/hsb/eng/per/cre/ac/mcmug/index.html?idx=2">Mcmug Card</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/ac/mega/index.html">MegaBox Card</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/ac/ffmc/index.html?idx=2">Forever Friends Card</OPTION>';
	//html+='<OPTION value="/hsb/eng/per/cre/ac/wwfmc/index.html?idx=2">WWF MasterCard</OPTION>';
	//html+='<OPTION value="/hsb/eng/per/cre/ac/hkicsg/index.html?idx=2">HKICS Gold Card</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/ac/cuhkcc/index.html?idx=2">CUHK Credit Card</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/ac/cituhk/index.html?idx=2">CityU Card</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/ac/hkbucc/index.html?idx=2">HKBU Credit Card</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/ac/hscscuhk/index.html?idx=2">SCS CUHK Credit Card</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/jcb/index.html?idx=2">JCB Card</OPTION>';
	//html+='<OPTION value="/hsb/eng/per/cre/hsfmc/index.html?idx=2">Fortune MasterCard</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/rmb/index.html?idx=2">Renminbi Credit Card</OPTION>';
	html+='<OPTION value="http://www.hangseng.com/hsb/eng/per/cre/vi/index.html?idx=2">Visa Infinite</OPTION>';
	html+='<OPTION value="/hsb/eng/per/cre/hswmc/index.html?idx=2">World MasterCard</OPTION>';
	//html+='<OPTION value="/hsb/eng/per/cre/hsesmc/index.html?idx=2">e-shopping MasterCard</OPTION>';
	html+='</select></td>';
	html+='</tr></table>';
  document.write(html);
}

function gotoURL(x) {
	if (x!='')
		parent.location.href=x;
	return false;
}

var choice = '1';
var schoice = '1';
var choice2 = '1';
var choice01 = '1';
var choice02 = '1';
var choice03 = '1';

function writeApplyBox(param1,param2,param3,param4,param5,param6,param7,param8) {
	var html='';
	html+='<table width="180" border="0" cellspacing="0" cellpadding="0">';
	html+='<tr>';
	html+='<td colspan="3" background="/hsb/eng/per/cre/image/top01.gif"><table width="180" border="0" cellspacing="0" cellpadding="0">';
	html+='<tr>';
	html+='<td width="10" rowspan="2"><img src="/hsb/eng/per/cre/image/spacer.gif" width="1" height="32"></td>';
	html+='<td colspan="2"><img src="/hsb/eng/per/cre/image/spacer.gif" width="1" height="6"></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td width="18" valign="top"><div align="right">';
	html+='<input type="radio" name="choice" checked onclick="changeval(\'1\')">';
	html+='</div></td>';
	html+='<td width="152">&nbsp;</td>';
	html+='</tr>';
	html+='</table></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td colspan="3" background="/hsb/eng/per/cre/image/top02.gif"><table width="180" border="0" cellspacing="0" cellpadding="0">';
	html+='<tr>';
	html+='<td width="10"><img src="/hsb/eng/per/cre/image/spacer.gif" width="1" height="32"></td>';
	html+='<td width="18" valign="top"><div align="right">';
	html+='<input type="radio" name="choice" onclick="changeval(\'2\')">';
	html+='</div></td>';
	html+='<td width="152">&nbsp;</td>';
	html+='</tr>';
	html+='</table></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td rowspan="2"><img src="/hsb/eng/per/cre/image/left.gif" width="5" height="36"></td>';
	html+='<td><table width="100%" border="0" cellspacing="0" cellpadding="0">';
	html+='<tr>';
	html+='<td width="8%" valign="top"><img src="/hsb/eng/per/cre/image/arr.gif" width="14" height="11"></td>';
	html+='<td width="92%"><a href="JavaScript:eBankApply(\'';
	html+= param1;
	html+='\',\'';
	html+= param5;
	html+='\');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image6\',\'\',\'/hsb/eng/per/cre/image/personal_o.gif\',1)"><img src="/hsb/eng/per/cre/image/personal.gif" name="Image6" width="152" height="15" border="0"></a></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td valign="top"><img src="/hsb/eng/per/cre/image/arr.gif" width="14" height="11"></td>';
	html+='<td><a href="JavaScript:otherApply(\'';
	html+= param2;
	html+='\',\'';
	html+= param3;
	html+='\',\'';
	html+= param4;
	html+='\',\'';
	html+= param6;
	html+='\',\'';
	html+= param7;
	html+='\',\'';
	html+= param8;
	html+='\');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image7\',\'\',\'/hsb/eng/per/cre/image/other_o.gif\',1)"><img src="/hsb/eng/per/cre/image/other.gif" name="Image7" width="152" height="15" border="0"></a></td>';
	html+='</tr>';
	html+='</table></td>';
	html+='<td rowspan="2"><div align="right"><img src="/hsb/eng/per/cre/image/right.gif" width="9" height="36"></div></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td><img src="/hsb/eng/per/cre/image/buttom.gif" width="166" height="6"></td>';
	html+='</tr>';
	html+='</table>';
	document.write(html);
}

function swriteApplyBox(param1,param2,param3,param4,param5,param6,param7,param8) {
	var html='';
	html+='<table width="180" border="0" cellspacing="0" cellpadding="0">';
	html+='<tr>';
	html+='<td colspan="3" background="/hsb/eng/per/cre/image/top01.gif"><table width="180" border="0" cellspacing="0" cellpadding="0">';
	html+='<tr>';
	html+='<td width="10" rowspan="2"><img src="/hsb/eng/per/cre/image/spacer.gif" width="1" height="32"></td>';
	html+='<td colspan="2"><img src="/hsb/eng/per/cre/image/spacer.gif" width="1" height="6"></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td width="18" valign="top"><div align="right">';
	html+='<input type="radio" name="schoice" checked onclick="schangeval(\'1\')">';
	html+='</div></td>';
	html+='<td width="152">&nbsp;</td>';
	html+='</tr>';
	html+='</table></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td colspan="3" background="/hsb/eng/per/cre/image/top02.gif"><table width="180" border="0" cellspacing="0" cellpadding="0">';
	html+='<tr>';
	html+='<td width="10"><img src="/hsb/eng/per/cre/image/spacer.gif" width="1" height="32"></td>';
	html+='<td width="18" valign="top"><div align="right">';
	html+='<input type="radio" name="schoice" onclick="schangeval(\'2\')">';
	html+='</div></td>';
	html+='<td width="152">&nbsp;</td>';
	html+='</tr>';
	html+='</table></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td rowspan="2"><img src="/hsb/eng/per/cre/image/left.gif" width="5" height="36"></td>';
	html+='<td><table width="100%" border="0" cellspacing="0" cellpadding="0">';
	html+='<tr>';
	html+='<td width="8%" valign="top"><img src="/hsb/eng/per/cre/image/arr.gif" width="14" height="11"></td>';
	html+='<td width="92%"><a href="JavaScript:seBankApply(\'';
	html+= param1;
	html+='\',\'';
	html+= param5;
	html+='\');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image6\',\'\',\'/hsb/eng/per/cre/image/personal_o.gif\',1)"><img src="/hsb/eng/per/cre/image/personal.gif" name="Image6" width="152" height="15" border="0"></a></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td valign="top"><img src="/hsb/eng/per/cre/image/arr.gif" width="14" height="11"></td>';
	html+='<td><a href="JavaScript:sotherApply(\'';
	html+= param2;
	html+='\',\'';
	html+= param3;
	html+='\',\'';
	html+= param4;
	html+='\',\'';
	html+= param6;
	html+='\',\'';
	html+= param7;
	html+='\',\'';
	html+= param8;
	html+='\');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image7\',\'\',\'/hsb/eng/per/cre/image/other_o.gif\',1)"><img src="/hsb/eng/per/cre/image/other.gif" name="Image7" width="152" height="15" border="0"></a></td>';
	html+='</tr>';
	html+='</table></td>';
	html+='<td rowspan="2"><div align="right"><img src="/hsb/eng/per/cre/image/right.gif" width="9" height="36"></div></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td><img src="/hsb/eng/per/cre/image/buttom.gif" width="166" height="6"></td>';
	html+='</tr>';
	html+='</table>';
	document.write(html);
}

function writeApplyBox2(param1,param2,param3,param4) {
	var html='';
	html+='<table width="180" border="0" cellspacing="0" cellpadding="0">';
	html+='<tr>';
	html+='<td colspan="3" background="/hsb/eng/per/cre/image/top01.gif"><table width="180" border="0" cellspacing="0" cellpadding="0">';
	html+='<tr>';
	html+='<td width="10" rowspan="2"><img src="/hsb/eng/per/cre/image/spacer.gif" width="1" height="32"></td>';
	html+='<td colspan="2"><img src="/hsb/eng/per/cre/image/spacer.gif" width="1" height="6"></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td width="18" valign="top"><div align="right">';
	html+='<input type="radio" name="choice2" checked onclick="changeval2(\'1\')">';
	html+='</div></td>';
	html+='<td width="152">&nbsp;</td>';
	html+='</tr>';
	html+='</table></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td rowspan="2"><img src="/hsb/eng/per/cre/image/left.gif" width="5" height="36"></td>';
	html+='<td><table width="100%" border="0" cellspacing="0" cellpadding="0">';
	html+='<tr>';
	html+='<td width="8%" valign="top"><img src="/hsb/eng/per/cre/image/arr.gif" width="14" height="11"></td>';
	html+='<td width="92%"><a href="JavaScript:eBankApply2(\'';
	html+= param1;
	html+='\');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image6\',\'\',\'/hsb/eng/per/cre/image/personal_o.gif\',1)"><img src="/hsb/eng/per/cre/image/personal.gif" name="Image6" width="152" height="15" border="0"></a></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td valign="top"><img src="/hsb/eng/per/cre/image/arr.gif" width="14" height="11"></td>';
	html+='<td><a href="JavaScript:otherApply2(\'';
	html+= param2;
	html+='\',\'';
	html+= param3;
	html+='\',\'';
	html+= param4;
	html+='\');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image7\',\'\',\'/hsb/eng/per/cre/image/other_o.gif\',1)"><img src="/hsb/eng/per/cre/image/other.gif" name="Image7" width="152" height="15" border="0"></a></td>';
	html+='</tr>';
	html+='</table></td>';
	html+='<td rowspan="2"><div align="right"><img src="/hsb/eng/per/cre/image/right.gif" width="9" height="36"></div></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td><img src="/hsb/eng/per/cre/image/buttom.gif" width="166" height="6"></td>';
	html+='</tr>';
	html+='</table>';
	document.write(html);
}

function writeApplyBox01(param1,param2,param3,param4,param5,param6,param7,param8) {
	var html='';
	html+='<table width="180" border="0" cellspacing="0" cellpadding="0">';
	html+='<tr>';
	html+='<td colspan="3" background="/hsb/eng/per/cre/image/top01a.gif"><table width="180" border="0" cellspacing="0" cellpadding="0">';
	html+='<tr>';
	html+='<td width="10" rowspan="2"><img src="/hsb/eng/per/cre/image/spacer.gif" width="1" height="32"></td>';
	html+='<td colspan="2"><img src="/hsb/eng/per/cre/image/spacer.gif" width="1" height="6"></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td width="18" valign="top"><div align="right">';
	html+='<input type="radio" name="choice01" checked onclick="changeval01(\'1\')">';
	html+='</div></td>';
	html+='<td width="152">&nbsp;</td>';
	html+='</tr>';
	html+='</table></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td colspan="3" background="/hsb/eng/per/cre/image/top01b.gif"><table width="180" border="0" cellspacing="0" cellpadding="0">';
	html+='<tr>';
	html+='<td width="10"><img src="/hsb/eng/per/cre/image/spacer.gif" width="1" height="32"></td>';
	html+='<td width="18" valign="top"><div align="right">';
	html+='<input type="radio" name="choice01" onclick="changeval01(\'2\')">';
	html+='</div></td>';
	html+='<td width="152">&nbsp;</td>';
	html+='</tr>';
	html+='</table></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td rowspan="2"><img src="/hsb/eng/per/cre/image/left.gif" width="5" height="36"></td>';
	html+='<td><table width="100%" border="0" cellspacing="0" cellpadding="0">';
	html+='<tr>';
	html+='<td width="8%" valign="top"><img src="/hsb/eng/per/cre/image/arr.gif" width="14" height="11"></td>';
	html+='<td width="92%"><a href="JavaScript:eBankApply01(\'';
	html+= param1;
	html+='\',\'';
	html+= param5;
	html+='\');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image6\',\'\',\'/hsb/eng/per/cre/image/personal_o.gif\',1)"><img src="/hsb/eng/per/cre/image/personal.gif" name="Image6" width="152" height="15" border="0"></a></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td valign="top"><img src="/hsb/eng/per/cre/image/arr.gif" width="14" height="11"></td>';
	html+='<td><a href="JavaScript:otherApply01(\'';
	html+= param2;
	html+='\',\'';
	html+= param3;
	html+='\',\'';
	html+= param4;
	html+='\',\'';
	html+= param6;
	html+='\',\'';
	html+= param7;
	html+='\',\'';
	html+= param8;
	html+='\');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image7\',\'\',\'/hsb/eng/per/cre/image/other_o.gif\',1)"><img src="/hsb/eng/per/cre/image/other.gif" name="Image7" width="152" height="15" border="0"></a></td>';
	html+='</tr>';
	html+='</table></td>';
	html+='<td rowspan="2"><div align="right"><img src="/hsb/eng/per/cre/image/right.gif" width="9" height="36"></div></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td><img src="/hsb/eng/per/cre/image/buttom.gif" width="166" height="6"></td>';
	html+='</tr>';
	html+='</table>';
	document.write(html);
}

function writeApplyBox02(param1,param2,param3,param4,param5,param6,param7,param8) {
	var html='';
	html+='<table width="180" border="0" cellspacing="0" cellpadding="0">';
	html+='<tr>';
	html+='<td colspan="3" background="/hsb/eng/per/cre/image/top02a.gif"><table width="180" border="0" cellspacing="0" cellpadding="0">';
	html+='<tr>';
	html+='<td width="10" rowspan="2"><img src="/hsb/eng/per/cre/image/spacer.gif" width="1" height="32"></td>';
	html+='<td colspan="2"><img src="/hsb/eng/per/cre/image/spacer.gif" width="1" height="6"></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td width="18" valign="top"><div align="right">';
	html+='<input type="radio" name="choice02" checked onclick="changeval02(\'1\')">';
	html+='</div></td>';
	html+='<td width="152">&nbsp;</td>';
	html+='</tr>';
	html+='</table></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td colspan="3" background="/hsb/eng/per/cre/image/top02b.gif"><table width="180" border="0" cellspacing="0" cellpadding="0">';
	html+='<tr>';
	html+='<td width="10"><img src="/hsb/eng/per/cre/image/spacer.gif" width="1" height="32"></td>';
	html+='<td width="18" valign="top"><div align="right">';
	html+='<input type="radio" name="choice02" onclick="changeval02(\'2\')">';
	html+='</div></td>';
	html+='<td width="152">&nbsp;</td>';
	html+='</tr>';
	html+='</table></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td rowspan="2"><img src="/hsb/eng/per/cre/image/left.gif" width="5" height="36"></td>';
	html+='<td><table width="100%" border="0" cellspacing="0" cellpadding="0">';
	html+='<tr>';
	html+='<td width="8%" valign="top"><img src="/hsb/eng/per/cre/image/arr.gif" width="14" height="11"></td>';
	html+='<td width="92%"><a href="JavaScript:eBankApply02(\'';
	html+= param1;
	html+='\',\'';
	html+= param5;
	html+='\');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image6\',\'\',\'/hsb/eng/per/cre/image/personal_o.gif\',1)"><img src="/hsb/eng/per/cre/image/personal.gif" name="Image6" width="152" height="15" border="0"></a></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td valign="top"><img src="/hsb/eng/per/cre/image/arr.gif" width="14" height="11"></td>';
	html+='<td><a href="JavaScript:otherApply02(\'';
	html+= param2;
	html+='\',\'';
	html+= param3;
	html+='\',\'';
	html+= param4;
	html+='\',\'';
	html+= param6;
	html+='\',\'';
	html+= param7;
	html+='\',\'';
	html+= param8;
	html+='\');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image7\',\'\',\'/hsb/eng/per/cre/image/other_o.gif\',1)"><img src="/hsb/eng/per/cre/image/other.gif" name="Image7" width="152" height="15" border="0"></a></td>';
	html+='</tr>';
	html+='</table></td>';
	html+='<td rowspan="2"><div align="right"><img src="/hsb/eng/per/cre/image/right.gif" width="9" height="36"></div></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td><img src="/hsb/eng/per/cre/image/buttom.gif" width="166" height="6"></td>';
	html+='</tr>';
	html+='</table>';
	document.write(html);
}

function writeApplyBox03(param1,param2,param3,param4,param5,param6,param7,param8) {
	var html='';
	html+='<table width="180" border="0" cellspacing="0" cellpadding="0">';
	html+='<tr>';
	html+='<td colspan="3" background="/hsb/eng/per/cre/image/top03a.gif"><table width="180" border="0" cellspacing="0" cellpadding="0">';
	html+='<tr>';
	html+='<td width="10" rowspan="2"><img src="/hsb/eng/per/cre/image/spacer.gif" width="1" height="32"></td>';
	html+='<td colspan="2"><img src="/hsb/eng/per/cre/image/spacer.gif" width="1" height="6"></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td width="18" valign="top"><div align="right">';
	html+='<input type="radio" name="choice03" checked onclick="changeval03(\'1\')">';
	html+='</div></td>';
	html+='<td width="152">&nbsp;</td>';
	html+='</tr>';
	html+='</table></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td colspan="3" background="/hsb/eng/per/cre/image/top03b.gif"><table width="180" border="0" cellspacing="0" cellpadding="0">';
	html+='<tr>';
	html+='<td width="10"><img src="/hsb/eng/per/cre/image/spacer.gif" width="1" height="32"></td>';
	html+='<td width="18" valign="top"><div align="right">';
	html+='<input type="radio" name="choice03" onclick="changeval03(\'2\')">';
	html+='</div></td>';
	html+='<td width="152">&nbsp;</td>';
	html+='</tr>';
	html+='</table></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td rowspan="2"><img src="/hsb/eng/per/cre/image/left.gif" width="5" height="36"></td>';
	html+='<td><table width="100%" border="0" cellspacing="0" cellpadding="0">';
	html+='<tr>';
	html+='<td width="8%" valign="top"><img src="/hsb/eng/per/cre/image/arr.gif" width="14" height="11"></td>';
	html+='<td width="92%"><a href="JavaScript:eBankApply03(\'';
	html+= param1;
	html+='\',\'';
	html+= param5;
	html+='\');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image6\',\'\',\'/hsb/eng/per/cre/image/personal_o.gif\',1)"><img src="/hsb/eng/per/cre/image/personal.gif" name="Image6" width="152" height="15" border="0"></a></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td valign="top"><img src="/hsb/eng/per/cre/image/arr.gif" width="14" height="11"></td>';
	html+='<td><a href="JavaScript:otherApply03(\'';
	html+= param2;
	html+='\',\'';
	html+= param3;
	html+='\',\'';
	html+= param4;
	html+='\',\'';
	html+= param6;
	html+='\',\'';
	html+= param7;
	html+='\',\'';
	html+= param8;
	html+='\');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image7\',\'\',\'/hsb/eng/per/cre/image/other_o.gif\',1)"><img src="/hsb/eng/per/cre/image/other.gif" name="Image7" width="152" height="15" border="0"></a></td>';
	html+='</tr>';
	html+='</table></td>';
	html+='<td rowspan="2"><div align="right"><img src="/hsb/eng/per/cre/image/right.gif" width="9" height="36"></div></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td><img src="/hsb/eng/per/cre/image/buttom.gif" width="166" height="6"></td>';
	html+='</tr>';
	html+='</table>';
	document.write(html);
}

function writeApplyBox04(param1,param2,param3,param4,param5,param6,param7,param8) {
	var html='';
	html+='<table width="180" border="0" cellspacing="0" cellpadding="0">';
	html+='<tr>';
	html+='<td colspan="3" background="../image/top04a.gif"><table width="180" border="0" cellspacing="0" cellpadding="0">';
	html+='<tr>';
	html+='<td width="10" rowspan="2"><img src="http://www.hangseng.com/hsb/eng/per/cre/image/spacer.gif" width="1" height="32"></td>';
	html+='<td colspan="2"><img src="http://www.hangseng.com/hsb/eng/per/cre/image/spacer.gif" width="1" height="6"></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td width="18" valign="top"><div align="right">';
	html+='<input type="radio" name="choice04" checked onclick="changeval03(\'1\')">';
	html+='</div></td>';
	html+='<td width="152">&nbsp;</td>';
	html+='</tr>';
	html+='</table></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td rowspan="2"><img src="http://www.hangseng.com/hsb/eng/per/cre/image/left.gif" width="5" height="36"></td>';
	html+='<td><table width="100%" border="0" cellspacing="0" cellpadding="0">';
	html+='<tr>';
	html+='<td width="8%" valign="top"><img src="http://www.hangseng.com/hsb/eng/per/cre/image/arr.gif" width="14" height="11"></td>';
	html+='<td width="92%"><a href="javascript:piblogon(\'taxi\',\'e\');" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image6\',\'\',\'/hsb/eng/per/cre/image/personal_o.gif\',1)"><img src="http://www.hangseng.com/hsb/eng/per/cre/image/personal.gif" name="Image6" width="152" height="15" border="0"></a></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td valign="top"><img src="http://www.hangseng.com/hsb/eng/per/cre/image/arr.gif" width="14" height="11"></td>';
	html+='<td><a href="https://www.hangseng.com/genappl/html/index.asp?appl=taxins&lang=enu" target="_blank" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image7\',\'\',\'/hsb/eng/per/cre/image/other_o.gif\',1)"><img src="http://www.hangseng.com/hsb/eng/per/cre/image/other.gif" name="Image7" width="152" height="15" border="0"></a></td>';
	html+='</tr>';
	html+='</table></td>';
	html+='<td rowspan="2"><div align="right"><img src="http://www.hangseng.com/hsb/eng/per/cre/image/right.gif" width="9" height="36"></div></td>';
	html+='</tr>';
	html+='<tr>';
	html+='<td><img src="http://www.hangseng.com/hsb/eng/per/cre/image/buttom.gif" width="166" height="6"></td>';
	html+='</tr>';
	html+='</table>';
	document.write(html);
}


function eBankApply(param1,param5) {
	var param = '';
	if (choice == '1')
		param = param1;
	else
		param = param5;
	var url='https://www.hangseng.com/logon/eng/pib/logon.asp?srvc=' + param;
	window.open(url,"EbankControl","left=5,top=5,width=760,height=650,status=yes,scrollbars=yes,resizable=yes");
}

function seBankApply(param1,param5) {
	var param = '';
	if (schoice == '1')
		param = param1;
	else
		param = param5;
	var url='https://www.hangseng.com/logon/eng/pib/logon.asp?srvc=' + param;
	window.open(url,"EbankControl","left=5,top=5,width=760,height=650,status=yes,scrollbars=yes,resizable=yes");
}

function eBankApply01(param1,param5) {
	var param = '';
	if (choice01 == '1')
		param = param1;
	else
		param = param5;
	var url='https://www.hangseng.com/logon/eng/pib/logon.asp?srvc=' + param;
	window.open(url,"EbankControl","left=5,top=5,width=760,height=650,status=yes,scrollbars=yes,resizable=yes");
}

function eBankApply02(param1,param5) {
	var param = '';
	if (choice02 == '1')
		param = param1;
	else
		param = param5;
	var url='https://www.hangseng.com/logon/eng/pib/logon.asp?srvc=' + param;
	window.open(url,"EbankControl","left=5,top=5,width=760,height=650,status=yes,scrollbars=yes,resizable=yes");
}

function eBankApply03(param1,param5) {
	var param = '';
	if (choice03 == '1')
		param = param1;
	else
		param = param5;
	var url='https://www.hangseng.com/logon/eng/pib/logon.asp?srvc=' + param;
	window.open(url,"EbankControl","left=5,top=5,width=760,height=650,status=yes,scrollbars=yes,resizable=yes");
}
function eBankApply2(param1) {
	var url='https://www.hangseng.com/logon/eng/pib/logon.asp?srvc=' + param1;
	window.open(url,"EbankControl","left=5,top=5,width=760,height=650,status=yes,scrollbars=yes,resizable=yes");
}

function sotherApply(param2,param3,param4,param6,param7,param8) {
	var tmpparam1 = '';
	var tmpparam2 = '';
	var tmpparam3 = '';
	if (schoice == '1') {
		tmpparam1 = param2;
		tmpparam2 = param3;
		tmpparam3 = param4;
	} else {
		tmpparam1 = param6;
		tmpparam2 = param7;
		tmpparam3 = param8;
	}
	var url='https://www.hangseng.com/genappl/html/index.asp?appl=' + tmpparam1;
	url = url + '&func=' + tmpparam2;
	url = url + '&lang=' + tmpparam3;

	window.open(url,"apply","left=5,top=5,width=760,height=650,status=yes,scrollbars=yes,resizable=yes");
}

function otherApply(param2,param3,param4,param6,param7,param8) {
	var tmpparam1 = '';
	var tmpparam2 = '';
	var tmpparam3 = '';
	if (choice == '1') {
		tmpparam1 = param2;
		tmpparam2 = param3;
		tmpparam3 = param4;
	} else {
		tmpparam1 = param6;
		tmpparam2 = param7;
		tmpparam3 = param8;
	}
	var url='https://www.hangseng.com/genappl/html/index.asp?appl=' + tmpparam1;
	url = url + '&func=' + tmpparam2;
	url = url + '&lang=' + tmpparam3;

	window.open(url,"apply","left=5,top=5,width=760,height=650,status=yes,scrollbars=yes,resizable=yes");
}

function otherApply01(param2,param3,param4,param6,param7,param8) {
	var tmpparam1 = '';
	var tmpparam2 = '';
	var tmpparam3 = '';
	
	if (choice01 == '1') {
		tmpparam1 = param2;
		tmpparam2 = param3;
		tmpparam3 = param4;
		tmpparam9 = '18';
		
	} else {
		tmpparam1 = param6;
		tmpparam2 = param7;
		tmpparam3 = param8;
		tmpparam9 = '09';
	}
	
	var url='https://www.hangseng.com/genappl/html/is_index.asp?appl=iscard';
	url = url + '&func=' + tmpparam2;
	url = url + '&lang=' + tmpparam3;	
	url = url + '&prod=' + tmpparam1;
	url = url + '&etypt=' + tmpparam9;

	window.open(url,"apply","left=0,top=0,width=1000,height=700,status=yes,directories=yes,toolbar=yes,resizable=yes,menubar=yes,scrollbars=yes,location=yes,screenX=120,screenY=100");
}

function otherApply02(param2,param3,param4,param6,param7,param8) {
	var tmpparam1 = '';
	var tmpparam2 = '';
	var tmpparam3 = '';
	if (choice02 == '1') {
		tmpparam1 = param2;
		tmpparam2 = param3;
		tmpparam3 = param4;
		tmpparam9 = '08';
	} else {
		tmpparam1 = param6;
		tmpparam2 = param7;
		tmpparam3 = param8;
		tmpparam9 = '08';
	}
	
	var url='https://www.hangseng.com/genappl/html/is_index.asp?appl=iscard';
	url = url + '&func=' + tmpparam2;
	url = url + '&lang=' + tmpparam3;	
	url = url + '&prod=' + tmpparam1;
	url = url + '&etypt=' + tmpparam9;

	window.open(url,"apply","left=0,top=0,width=1000,height=700,status=yes,directories=yes,toolbar=yes,resizable=yes,menubar=yes,scrollbars=yes,location=yes,screenX=120,screenY=100");
}

function otherApply03(param2,param3,param4,param6,param7,param8) {
	var tmpparam1 = '';
	var tmpparam2 = '';
	var tmpparam3 = '';
	if (choice03 == '1') {
		tmpparam1 = param2;
		tmpparam2 = param3;
		tmpparam3 = param4;
		tmpparam9 = '16';
	} else {
		tmpparam1 = param6;
		tmpparam2 = param7;
		tmpparam3 = param8;
		tmpparam9 = '07';
	}
	
	var url='https://www.hangseng.com/genappl/html/is_index.asp?appl=iscard';
	url = url + '&func=' + tmpparam2;
	url = url + '&lang=' + tmpparam3;	
	url = url + '&prod=' + tmpparam1;
    url = url + '&etypt=' + tmpparam9;

	window.open(url,"apply","left=0,top=0,width=1000,height=700,status=yes,directories=yes,toolbar=yes,resizable=yes,menubar=yes,scrollbars=yes,location=yes,screenX=120,screenY=100");
}

function otherApply2(param2,param3,param4) {
	var url='https://www.hangseng.com/genappl/html/index.asp?appl=' + param2;
	url = url + '&func=' + param3;
	url = url + '&lang=' + param4;

	window.open(url,"apply","left=5,top=5,width=760,height=650,status=yes,scrollbars=yes,resizable=yes");
}

function changeval(param) {
	choice = param;
}

function schangeval(param) {
	schoice = param;
}

function changeval2(param) {
	choice2 = param;
}

function changeval01(param) {
	choice01 = param;
}

function changeval02(param) {
	choice02 = param;
}

function changeval03(param) {
	choice03 = param;
}

function eBankApplyOctopus() {
	var url='https://www.hangseng.com/logon/eng/pib/logon.asp?srvc=octo';
	window.open(url,"EbankControl","left=5,top=5,width=760,height=650,status=yes,scrollbars=yes,resizable=yes");
}
//-->
