function toggleSub(submenu) {	if(document.getElementById(submenu).style.display == 'none')	{		document.getElementById(submenu).style.display = 'block'	}	else	{		document.getElementById(submenu).style.display = 'none'	}}	function showeSub(submenu) {		if (document.getElementById(submenu).style.display == 'none') 	{		//document.getElementById('submenu1').style.display = 'none';		document.getElementById('submenu2').style.display = 'none';		document.getElementById('submenu3').style.display = 'none';		document.getElementById('submenu4').style.display = 'none';		document.getElementById('submenu5').style.display = 'none';		document.getElementById('submenu6').style.display = 'none';		document.getElementById('submenu7').style.display = 'none';		document.getElementById('submenu8').style.display = 'none';				document.getElementById(submenu).style.display = 'block';	}	else	{		document.getElementById(submenu).style.display = 'none'		}}////////////////////////////// getAnchorPosition(anchorname)//   This function returns an object having .x and .y properties which are the coordinates//   of the named anchor, relative to the page.function getAnchorPosition(anchorname) {	// This function will return an Object with x and y properties	var useWindow=false;	var coordinates=new Object();	var x=0,y=0;	// Browser capability sniffing	var use_gebi=false, use_css=false, use_layers=false;	if (document.getElementById) { use_gebi=true; }	else if (document.all) { use_css=true; }	else if (document.layers) { use_layers=true; }	// Logic to find position 	if (use_gebi && document.all) {		x=AnchorPosition_getPageOffsetLeft(document.all[anchorname]);		y=AnchorPosition_getPageOffsetTop(document.all[anchorname]);		}	else if (use_gebi) {		var o=document.getElementById(anchorname);		x=AnchorPosition_getPageOffsetLeft(o);		y=AnchorPosition_getPageOffsetTop(o);		} 	else if (use_css) {		x=AnchorPosition_getPageOffsetLeft(document.all[anchorname]);		y=AnchorPosition_getPageOffsetTop(document.all[anchorname]);		}	else if (use_layers) {		var found=0;		for (var i=0; i<document.anchors.length; i++) {			if (document.anchors[i].name==anchorname) { found=1; break; }			}		if (found==0) {			coordinates.x=0; coordinates.y=0; return coordinates;			}		x=document.anchors[i].x;		y=document.anchors[i].y;		}	else {		coordinates.x=0; coordinates.y=0; return coordinates;		}	coordinates.x=x-30;	coordinates.y=y-15;	return coordinates;	}// Functions for IE to get position of an objectfunction AnchorPosition_getPageOffsetLeft (el) {	var ol=el.offsetLeft;	while ((el=el.offsetParent) != null) { ol += el.offsetLeft; }	return ol;	}function AnchorPosition_getWindowOffsetLeft (el) {	return AnchorPosition_getPageOffsetLeft(el)-document.body.scrollLeft;	}	function AnchorPosition_getPageOffsetTop (el) {	var ot=el.offsetTop;	while((el=el.offsetParent) != null) { ot += el.offsetTop; }	return ot;	}function AnchorPosition_getWindowOffsetTop (el) {	return AnchorPosition_getPageOffsetTop(el)-document.body.scrollTop;	}//------------------------------------------------------------------------------/////////////////////////////////////////Most Cards//Cash back on all purchasesvar msg0 = '<table width="290" cellpadding=1 cellspacing=0 border=0 bgcolor="#bbbbbb"><tr><td><table width="100%" cellpadding=5 cellspacing=0 border=0 bgcolor="#ffffff"><tr><td align=right class="greytxt"><img src="images/spacer.gif" width="10" height="1"><a href="javascript:tooltips_onmouseout();" class="lbluetxt">X Close</a></td></tr><tr><td valign=top class="greytxt">Save 1% off all other<br>purchasesAll other Retail Purchases and bill payments (excluding purchases at BP) made using your Card will give you 1% Cash Back on the first $60,000 spent on your Account in any 12 month period from the date you are enrolled in the BP-Cash Back program. All Cash Back will be automatically credited to your Account at the start of the next Statement Period.</td></tr></table></td></tr></table>';//Balance Transfervar msg1 = '<table width="290" cellpadding=1 cellspacing=0 border=0 bgcolor="#bbbbbb"><tr><td><table width="100%" cellpadding=5 cellspacing=0 border=0 bgcolor="#ffffff"><tr><td align=right class="greytxt"><img src="images/spacer.gif" width="10" height="1"><a href="javascript:tooltips_onmouseout();" class="lbluetxt">X Close</a></td></tr><tr><td valign=top class="greytxt">Transferring balances from one credit card to another, usually to take advantage of a lower interest rate. Transfers are limited to the available credit on the receiving card.</td></tr></table></td></tr></table>';// annual feevar msg2 = '<table width="290" cellpadding=1 cellspacing=0 border=0 bgcolor="#bbbbbb"><tr><td><table width="100%" cellpadding=5 cellspacing=0 border=0 bgcolor="#ffffff"><tr><td align=right class="greytxt"><img src="images/spacer.gif" width="10" height="1"><a href="javascript:tooltips_onmouseout();" class="lbluetxt">X Close</a></td></tr><tr><td valign=top class="greytxt">The annual fee is the yearly cost you pay for having the card. Citibank will charge your annual primary cardholder fee to your account on the first anniversary date Citibank approved your account, then on each anniversary date of the account.</td></tr></table></td></tr></table>';// Standard Interest Ratevar msg3 = '<table width="290" cellpadding=1 cellspacing=0 border=0 bgcolor="#bbbbbb"><tr><td><table width="100%" cellpadding=5 cellspacing=0 border=0 bgcolor="#ffffff"><tr><td align=right class="greytxt"><img src="images/spacer.gif" width="10" height="1"><a href="javascript:tooltips_onmouseout();" class="lbluetxt">X Close</a></td></tr><tr><td valign=top class="greytxt">The rate that a bank or credit provider charges for the money it lends to you.</td></tr></table></td></tr></table>';// Maximum Credit Limitvar msg4 = '<table width="290" cellpadding=1 cellspacing=0 border=0 bgcolor="#bbbbbb"><tr><td><table width="100%" cellpadding=5 cellspacing=0 border=0 bgcolor="#ffffff"><tr><td align=right class="greytxt"><img src="images/spacer.gif" width="10" height="1"><a href="javascript:tooltips_onmouseout();" class="lbluetxt">X Close</a></td></tr><tr><td valign=top class="greytxt">The maximum balance you can carry on your credit card or line of credit account.</td></tr></table></td></tr></table>';// Citibank World Privilegesvar msg5 = '<table width="290" cellpadding=1 cellspacing=0 border=0 bgcolor="#bbbbbb"><tr><td><table width="100%" cellpadding=5 cellspacing=0 border=0 bgcolor="#ffffff"><tr><td align=right class="greytxt"><img src="images/spacer.gif" width="10" height="1"><a href="javascript:tooltips_onmouseout();" class="lbluetxt">X Close</a></td></tr><tr><td valign=top class="greytxt">Get 1% cash back on all other purchases</td></tr></table></td></tr></table>';// Extended Warrantyvar msg6 = '<table width="290" cellpadding=1 cellspacing=0 border=0 bgcolor="#bbbbbb"><tr><td><table width="100%" cellpadding=5 cellspacing=0 border=0 bgcolor="#ffffff"><tr><td align=right class="greytxt"><img src="images/spacer.gif" width="10" height="1"><a href="javascript:tooltips_onmouseout();" class="lbluetxt">X Close</a></td></tr><tr><td valign=top class="greytxt">When you buy eligible products with your Citibank Platinum Card you will receive an extended warranty for a period up to 12 months.<br><a href="/global_docs/pdf/MCG7932.pdf" class="lbluetxt" target="_blank">Extended Warranty Insurance Terms and Conditions</a></td></tr></table></td></tr></table>';// Qantas Frequent Flyervar msg7 = '<table width="290" cellpadding=1 cellspacing=0 border=0 bgcolor="#bbbbbb"><tr><td><table width="100%" cellpadding=5 cellspacing=0 border=0 bgcolor="#ffffff"><tr><td align=right class="greytxt"><img src="images/spacer.gif" width="10" height="1"><a href="javascript:tooltips_onmouseout();" class="lbluetxt">X Close</a></td></tr><tr><td valign=top class="greytxt">Redeem Reward points for Qantas Frequent Flyer points at a rate of 1 Reward point for 1 Qantas Frequent Flyer point.</td></tr></table></td></tr></table>';// Free Transit Accident Insurancevar msg8 = '<table width="290" cellpadding=1 cellspacing=0 border=0 bgcolor="#bbbbbb"><tr><td><table width="100%" cellpadding=5 cellspacing=0 border=0 bgcolor="#ffffff"><tr><td align=right class="greytxt"><img src="images/spacer.gif" width="10" height="1"><a href="javascript:tooltips_onmouseout();" class="lbluetxt">X Close</a></td></tr><tr><td valign=top class="greytxt">Purchase your travel tickets with your Citibank Platinum Card and you and your family will receive up to $200,000 if you were to sustain an injury as a passenger whilst travelling.<br><a href="/global_docs/pdf/MCG7932.pdf" class="lbluetxt" target="_blank">Transit Accident Insurance Terms and Conditions</a></td></tr></table></td></tr></table>';// FREE Purchase Covervar msg9 = '<table width="290" cellpadding=1 cellspacing=0 border=0 bgcolor="#bbbbbb"><tr><td><table width="100%" cellpadding=5 cellspacing=0 border=0 bgcolor="#ffffff"><tr><td align=right class="greytxt"><img src="images/spacer.gif" width="10" height="1"><a href="javascript:tooltips_onmouseout();" class="lbluetxt">X Close</a></td></tr><tr><td valign=top class="greytxt">If any items are lost, stolen or damaged within three months of purchase on your Citibank Credit Card, we will arrange for them to be repaired, replaced, rebuilt or reinstated, free of charge, anywhere in the world (available on Silver, Gold, Platinum and BP-Citibank MasterCards).</td></tr></table></td></tr></table>';// Free FRAUDSHIELDvar msg10 = '<table width="290" cellpadding=1 cellspacing=0 border=0 bgcolor="#bbbbbb"><tr><td><table width="100%" cellpadding=5 cellspacing=0 border=0 bgcolor="#ffffff"><tr><td align=right class="greytxt"><img src="images/spacer.gif" width="10" height="1"><a href="javascript:tooltips_onmouseout();" class="lbluetxt">X Close</a></td></tr><tr><td valign=top class="greytxt">If we detect any irregular transactions on your Account, we will call you immediately, even if you are overseas (if we have your contact details). All you need to do is call CitiPhone Banking on <b>132484</b> and provide your contact details before you travel.</td></tr></table></td></tr></table>';//Optional CreditShield&#174; Plus Insurancevar msg11 = '<table width="290" cellpadding=1 cellspacing=0 border=0 bgcolor="#bbbbbb"><tr><td><table width="100%" cellpadding=5 cellspacing=0 border=0 bgcolor="#ffffff"><tr><td align=right class="greytxt"><img src="images/spacer.gif" width="10" height="1"><a href="javascript:tooltips_onmouseout();" class="lbluetxt">X Close</a></td></tr><tr><td valign=top class="greytxt">If you are unable to work due to illness, accident or unemployment, CreditShield&#174;  will cover your minimum monthly repayments. In the event of death or total disablement CreditShield&#174; <i>Plus</i> will pay off your outstanding balance up to $30,000.</td></tr></table></td></tr></table>';//BP-Citibank Mastercard//BP Rewardsvar msg12 = '<table width="290" cellpadding=1 cellspacing=0 border=0 bgcolor="#bbbbbb"><tr><td><table width="100%" cellpadding=5 cellspacing=0 border=0 bgcolor="#ffffff"><tr><td align=right class="greytxt"><img src="images/spacer.gif" width="10" height="1"><a href="javascript:tooltips_onmouseout();" class="lbluetxt">X Close</a></td></tr><tr><td valign=top class="greytxt">Save 5% off petrol and everything else you buy at BP</td></tr></table></td></tr></table>';//Platinum//Free Personalised Reward Points Programvar msg13 = '<table width="290" cellpadding=1 cellspacing=0 border=0 bgcolor="#bbbbbb"><tr><td><table width="100%" cellpadding=5 cellspacing=0 border=0 bgcolor="#ffffff"><tr><td align=right class="greytxt"><img src="images/spacer.gif" width="10" height="1"><a href="javascript:tooltips_onmouseout();" class="lbluetxt">X Close</a></td></tr><tr><td valign=top class="greytxt">Enjoy complimentary access to a superior Rewards program with Reward points that don&rsquo;t expire while the card remains open.</td></tr></table></td></tr></table>';//Personal 24 hour Concierge servicesvar msg14 = '<table width="290" cellpadding=1 cellspacing=0 border=0 bgcolor="#bbbbbb"><tr><td><table width="100%" cellpadding=5 cellspacing=0 border=0 bgcolor="#ffffff"><tr><td align=right class="greytxt"><img src="images/spacer.gif" width="10" height="1"><a href="javascript:tooltips_onmouseout();" class="lbluetxt">X Close</a></td></tr><tr><td valign=top class="greytxt">Personal Concierge Service (Exclusive to Platinum cardholders)<br>Enjoy the privilege and convenience of a Personal Concierge to provide you with information and assistance for both business and pleasure. This service can recommend a restaurant in New York, book theatre tickets in London and arrange flowers or last-minute gifts for family and friends. They will take care of the little things, so you can look after the big ones. With Citibank Platinum you can use the Personal Concierge from anywhere in the world, and is available to you 24 hours day, 7 days a week.</td></tr></table></td></tr></table>';//Citibank Take Flightvar msg15 = '<table width="290" cellpadding=1 cellspacing=0 border=0 bgcolor="#bbbbbb"><tr><td><table width="100%" cellpadding=5 cellspacing=0 border=0 bgcolor="#ffffff"><tr><td align=right class="greytxt"><img src="images/spacer.gif" width="10" height="1"><a href="javascript:tooltips_onmouseout();" class="lbluetxt">X Close</a></td></tr><tr><td valign=top class="greytxt">The new and improved Citibank Take Flight is now most flexible travel program available. We’ve made it so that you can fly on any airline, anywhere, anytime using your reward points.<br><br>Take Flight Cashback* now allows you to book your flights with any travel provider of your choice. Just pay with your Citibank credit card and then simply redeem points* to get credit back on your card. This means you are able to choose which airline and which flight best suits you. Now that is flexible! <br><br>Or choose to redeem your points for one of our travel vouchers.<br><br>Click on the Your Travel tile on the <a href="/rewards" class="lbluetxt">Rewards homepage</a> for more details.<br><br>* Minimum points redemption 3000 points </td></tr></table></td></tr></table>';//Interest free periodvar msg16 = '<table width="290" cellpadding=1 cellspacing=0 border=0 bgcolor="#bbbbbb"><tr><td><table width="100%" cellpadding=5 cellspacing=0 border=0 bgcolor="#ffffff"><tr><td align=right class="greytxt"><img src="images/spacer.gif" width="10" height="1"><a href="javascript:tooltips_onmouseout();" class="lbluetxt">X Close</a></td></tr><tr><td valign=top class="greytxt">Some credit cards give the cardholder the option to make transactions on their account without being charged any interest. If your card has an ‘interest free day’ clause (check your pre contractual statement or your conditions of use) then you will qualify for interest free use so long as you pay the entire closing balance of each monthly statement before the due date shown on the statement. If you pay less than the full closing balance as shown on the statement you will incur interest charges in accord with the conditions of use. If you short pay one time, you usually need to pay the full balance for two consecutive months before your account will be interest free again.<br><br>If you carry a balance on your credit card from month to month, you do not have an interest-free period even if your conditions of use say your account has interest free days options. You are charged interest immediately when you make a purchase.<br><br>For example, if you have a balance of $500 and make a payment of $50 on June 1st, and buy an item for $50 on June 2nd, you will immediately be charged interest on that $50 purchase. This is because you have an outstanding balance of approximately $450 between June 2nd and your next statement.<br><br>Importantly, if your credit card is not an interest free day type account, even if you pay the statement balance in full each month, you will still be charged interest. </td></tr></table></td></tr></table>';//BP Featuresvar msg17 = '<table width="290" cellpadding=1 cellspacing=0 border=0 bgcolor="#bbbbbb"><tr><td><table width="100%" cellpadding=5 cellspacing=0 border=0 bgcolor="#ffffff"><tr><td align=right class="greytxt"><img src="images/spacer.gif" width="10" height="1"><a href="javascript:tooltips_onmouseout();" class="lbluetxt">X Close</a></td></tr><tr><td valign=top class="greytxt">With your Citibank credit card and your ATM PIN, you can withdraw cash up to $1,000 per day. Multiple withdrawals may be required to access up to $1,000. Standard cash advance fees and charges may apply.</td></tr></table></td></tr></table>';var msg18 = '<table width="290" cellpadding=1 cellspacing=0 border=0 bgcolor="#bbbbbb"><tr><td><table width="100%" cellpadding=5 cellspacing=0 border=0 bgcolor="#ffffff"><tr><td align=right class="greytxt"><img src="images/spacer.gif" width="10" height="1"><a href="javascript:tooltips_onmouseout();" class="lbluetxt">X Close</a></td></tr><tr><td valign=top class="greytxt">With your Citibank credit card and your ATM PIN, you can withdraw cash up to $1,000 per day provided you have not reached your credit limit. Standard cash advance fees and charges may apply.</td></tr></table></td></tr></table>';var msg19 = '<table width="290" cellpadding=1 cellspacing=0 border=0 bgcolor="#bbbbbb"><tr><td><table width="100%" cellpadding=5 cellspacing=0 border=0 bgcolor="#ffffff"><tr><td align=right class="greytxt"><img src="images/spacer.gif" width="10" height="1"><a href="javascript:tooltips_onmouseout();" class="lbluetxt">X Close</a></td></tr><tr><td valign=top class="greytxt">You can make withdrawals at any bank in the world that displays the VISA or MasterCard logo (photo identification required). Your Citibank Credit Card and ATM PIN will be required. Fees and charges may apply.</td></tr></table></td></tr></table>';///////////////////////////////////var ns4 = (document.layers)? true:falsevar ie4 = (document.all)? true:falsevar ie5 = (document.getElementById)? true : false;//Layer pointer objects declarationsvar objToolTips;//==============================================================================function finit(){	if(ns4)	{		objToolTips=document.divToolTips;	}	else if(ie4)	{		objToolTips=document.all["divToolTips"].style;	}	else if(ie5)	{		objToolTips=document.getElementById("divToolTips").style;	}	hideObject(objToolTips)}//==============================================================================function showObject(obj){	if(obj!=null)	{		if (ns4)		{			obj.visibility = "show";		}		else		{			obj.visibility = "visible";		}	}}//==============================================================================function hideObject(obj){	if(obj!=null)	{		if (ns4)		{			obj.visibility = "hide";		}		else		{			obj.visibility = "hidden";		}	}}//==============================================================================function layerWrite(id,nestref,text){	if(ns4)	{		var lyr=(nestref)?eval('document.'+nestref+'.document.'+id+'.document'):document.layers[id].document;		lyr.open();		lyr.write(text);		lyr.close();	}	else if(ie4)	{		document.all[id].innerHTML=text;	}	else	{		document.getElementById(id).innerHTML=text;	}}//==============================================================================var tooltip_show=1;var delay = 0;function showToolTips(img,msg,apos,w,h){			finit();	eval("var objToolTipsPos=getAnchorPosition('"+apos+"');");	var tooltip_left = parseInt(objToolTipsPos.x);	var tooltip_top = parseInt(objToolTipsPos.y);	if(ns4)	{		//alert("ns4");		tooltip_left=tooltip_left+3;		tooltip_top=tooltip_top+44;		delay = 4500;	}	else if(ie4)	{		//alert("ie4");		tooltip_left=tooltip_left+7;		tooltip_top=tooltip_top+65;	}	else if(ie5)	{		//alert("ie5");		tooltip_left=tooltip_left+7;		tooltip_top=tooltip_top+60;	}	objToolTips.left = tooltip_left+w;	objToolTips.top  = tooltip_top+h;	writeContent("divToolTips", msg);	showObject(objToolTips);	tooltips_onmouseover();	window.setTimeout("hideToolTip()",delay);}function writeContent(apos, msg){	strmsg=msg;	layerWrite(apos,false,strmsg);}function tooltips_onmouseover(){	//window.status="tooltips_onmouseover";	tooltip_show=1;}function tooltips_onmouseout(){	//window.status="tooltips_onmouseout";	tooltip_show=0;}function hideToolTip(){	if(tooltip_show==0)	{		hideObject(objToolTips);	}	window.setTimeout("hideToolTip()",delay);}/////////////////////////////function backdiv(hobj,sobj){		//alert(hobj);	hobject=document.getElementById(hobj);	sobject=document.getElementById(sobj);		hobject.style.display='none';	sobject.style.display='';	}//Step1 code starts herefunction below_income(){	frm=document.frm1;	if (frm.income[0].checked)	{		frm.feature8.checked=false;		frm.feature10.checked=false;		frm.feature8.disabled=true;		frm.feature10.disabled=true;		for (var i=1;i<=10;i++)		{			if (i!=8 && i!=10)			{				eval("frm.feature"+i+".checked=false");				eval("frm.feature"+i+".disabled=false");			}		}	}	if (frm.income[1].checked)	{		for (var i=1;i<=10;i++)		{			eval("frm.feature"+i+".disabled=false");			eval("frm.feature"+i+".checked=false");		}	}}function check_features(){	frm=document.frm1;		if (frm.income[0].checked || frm.income[1].checked)	{		if (frm.feature2.checked)		{			for (var i=1;i<=10;i++)			{				if (i!=1 && i!=2 && i!=9)				{					eval("frm.feature"+i+".checked=false");					eval("frm.feature"+i+".disabled=true");				}			}		}		else		{			for (var i=1;i<=10;i++)			{				if ((frm.income[0].checked && i!=1 && i!=2 && i!=9 && i!=8 && i!=10) 				|| (frm.income[1].checked && i!=1 && i!=2 && i!=9))				{					eval("frm.feature"+i+".disabled=false");				}			}		}		if (frm.feature3.checked || frm.feature4.checked || frm.feature5.checked || frm.feature6.checked || frm.feature7.checked || frm.feature8.checked || frm.feature10.checked)		{			for (var i=1;i<=10;i++)			{				if (i==2)				{					eval("frm.feature"+i+".checked=false");					eval("frm.feature"+i+".disabled=true");				}			}		}		else		{			frm.feature2.disabled=false;					}	}	}function validate(){	frm=document.frm1;	if (!frm.income[0].checked && !frm.income[1].checked)	{		alert("Please indicate your income range");		frm.income[0].focus();		return false;	}	if (!frm.feature1.checked && !frm.feature2.checked && !frm.feature3.checked && !frm.feature4.checked && !frm.feature5.checked && !frm.feature6.checked && !frm.feature7.checked && !frm.feature8.checked && !frm.feature9.checked && !frm.feature10.checked)	{		alert("Please select your needs");		frm.feature1.focus();		return false;	}}//Step1 Code ends here//Step2 Code starts herevar msgstring;function write_text(displayid){if(document.layers){ //thisbrowser="NN4";s1 = document.layers[displayid];s1.document.open();s1.document.write(msgstring);s1.document.close();}if(document.all){//thisbrowser="ie"s1 = document.all[displayid];s1.innerHTML=msgstring;}if(document.getElementById){//thisbrowser="NN6";s1 = document.getElementById(displayid);s1.innerHTML =msgstring; }}function show_needstxt(){	frm=document.frm1;	msgstring="You selected your needs as:<br>";	var needs=Array ('<img src="/global_images/cards/tick2.gif" width="16" height="15" border="0" alt="" hspace="3" vspace="2">Interest free days','<br><img src="/global_images/cards/tick2.gif" width="16" height="15" border="0" alt="" hspace="3">Lower ongoing interest rate','<br><img src="/global_images/cards/tick2.gif" width="16" height="15" border="0" alt="" hspace="3">Low rates on balance transfers','<br><img src="/global_images/cards/tick2.gif" width="16" height="15" border="0" alt="" hspace="3">Cash back on purchases','<br><img src="/global_images/cards/tick2.gif" width="16" height="15" border="0" alt="" hspace="3">Free purchase cover','<br><img src="/global_images/cards/tick2.gif" width="16" height="15" border="0" alt="" hspace="3">Free rewards program','<br><img src="/global_images/cards/tick2.gif" width="16" height="15" border="0" alt="" hspace="3">Qantas frequent flyer','<br><img src="/global_images/cards/tick2.gif" width="16" height="15" border="0" alt="" hspace="3">International travel insurance','<br><img src="/global_images/cards/tick2.gif" width="16" height="15" border="0" alt="" hspace="3">Use the card overseas','<br><img src="/global_images/cards/tick2.gif" width="16" height="15" border="0" alt="" hspace="3">Personalised concierge');		for (var i=0;i<=9;i++)	{		if (eval("frm.feature"+(i+1)+".checked"))		{			msgstring+=needs[i];		}	}	write_text('featuretxt');}function show_cards(){	frm=document.frm1;	var step1_id=document.getElementById('step1');	var step2_id=document.getElementById('step2');	var clear_id=document.getElementById('clear');	var cashback_id=document.getElementById('cashback');	var bp_id=document.getElementById('bp');	var silver_id=document.getElementById('silver');	var gold_id=document.getElementById('gold');	var platinum_id=document.getElementById('platinum');	var clear2_id=document.getElementById('clear2');	var cashback2_id=document.getElementById('cashback2');	var bp2_id=document.getElementById('bp2');	var silver2_id=document.getElementById('silver2');	var gold2_id=document.getElementById('gold2');	var platinum2_id=document.getElementById('platinum2');	var alternate_id=document.getElementById('alternate');	var cleartc_id=document.getElementById('cleartc');	var cashbacktc_id=document.getElementById('cashbacktc');	var bptc_id=document.getElementById('bptc');	var silvertc_id=document.getElementById('silvertc');	var goldtc_id=document.getElementById('goldtc');	var platinumtc_id=document.getElementById('platinumtc');		if (frm.feature1.checked || frm.feature2.checked || frm.feature3.checked || frm.feature4.checked || frm.feature5.checked || frm.feature6.checked || frm.feature7.checked || frm.feature8.checked || frm.feature9.checked || frm.feature10.checked && (frm.income[0].checked || frm.income[1].checked))	{		step1_id.style.display='none';		step2_id.style.display='';		if (!frm.feature3.checked && !frm.feature4.checked && !frm.feature5.checked && !frm.feature6.checked && !frm.feature7.checked && !frm.feature8.checked && !frm.feature10.checked)		{			clear_id.style.display='';			cleartc_id.style.display='';		}		else		{			clear_id.style.display='none';			cleartc_id.style.display='none';		}		if (!frm.feature2.checked && !frm.feature5.checked && !frm.feature6.checked && !frm.feature7.checked && !frm.feature8.checked && !frm.feature10.checked)		{			cashback_id.style.display='';			cashbacktc_id.style.display='';		}		else		{			cashback_id.style.display='none';			cashbacktc_id.style.display='none';		}		if (!frm.feature2.checked && !frm.feature6.checked && !frm.feature7.checked && !frm.feature8.checked && !frm.feature9.checked && !frm.feature10.checked)		{			bp_id.style.display='';			bptc_id.style.display='';		}		else		{			bp_id.style.display='none';			bptc_id.style.display='none';		}		if (!frm.feature2.checked && !frm.feature8.checked && !frm.feature10.checked)		{			silver_id.style.display='';			silvertc_id.style.display='';		}		else		{			silver_id.style.display='none';			silvertc_id.style.display='none';		}		if (!frm.feature2.checked && !frm.feature10.checked && !frm.income[0].checked)		{			gold_id.style.display='';			goldtc_id.style.display='';		}		else		{			gold_id.style.display='none';			goldtc_id.style.display='none';		}		if (!frm.feature2.checked && !frm.income[0].checked)		{			platinum_id.style.display='';			platinumtc_id.style.display='';		}		else		{			platinum_id.style.display='none';			platinumtc_id.style.display='none';		}	}}function check_select(elem){	frm=document.frm1;	if (eval("document.frm1."+elem+".disabled==false") && eval("document.frm1."+elem+".checked==false"))	{	eval("document.frm1."+elem+".checked=true");	}}function check_income(elem){	eval("document.frm1."+elem+".checked=true");}function uncheck_all(){	frm=document.frm1;	frm.card1.checked=false;	frm.card2.checked=false;	frm.card3.checked=false;	frm.card4.checked=false;	frm.card5.checked=false;	frm.card6.checked=false;}function show_comptable(){	frm=document.frm1;	var j=0;	var c1,c2,c3,c4,c5,c6;	for (var i=1;i<=6;i++)	{		if (eval('frm.card'+i+'.checked==true'))		{			j++;		}	}	if (j<1)	{		alert("Please select a card");		return false;	}	if (frm.card1.checked)	{		c1="clear";	}	else	{		c1="";	}	if (frm.card2.checked)	{		c2="cash";	}	else	{		c2="";	}	if (frm.card3.checked)	{		c3="bp";	}	else	{		c3="";	}	if (frm.card4.checked)	{		c4="silver";	}	else	{		c4="";	}	if (frm.card5.checked)	{		c5="gold";	}	else	{		c5="";	}	if (frm.card6.checked)	{		c6="plat";	}	else	{		c6="";	}	window.open("/global_docs/Compare_our_cards.htm?c1="+c1+"&c2="+c2+"&c3="+c3+"&c4="+c4+"&c5="+c5+"&c6="+c6,'','width=1010,height=650,scrollbars=yes,resizable=no,top=10,left=10');}//Step2 Code ends here//Step3 Code starts herefunction show_selectedcards(){		frm=document.frm1;	var step2_id=document.getElementById('step2');	var step3_id=document.getElementById('step3');	var clear1_id=document.getElementById('clear1');	var cashback1_id=document.getElementById('cashback1');	var bp1_id=document.getElementById('bp1');	var silver1_id=document.getElementById('silver1');	var gold1_id=document.getElementById('gold1');	var platinum1_id=document.getElementById('platinum1');	if (!frm.card1.checked && !frm.card2.checked && !frm.card3.checked && !frm.card4.checked && !frm.card5.checked && !frm.card6.checked)	{		alert("Please select the card(s) you need");		return false;	}	else	{		step2_id.style.display='none';		step3_id.style.display='';	}	if (frm.card1.checked)	{		clear1_id.style.display='';	}	else	{		clear1_id.style.display='none';	}	if (frm.card2.checked)	{		cashback1_id.style.display='';	}	else	{		cashback1_id.style.display='none';	}	if (frm.card3.checked)	{		bp1_id.style.display='';	}	else	{		bp1_id.style.display='none';	}	if (frm.card4.checked)	{		silver1_id.style.display='';	}	else	{		silver1_id.style.display='none';	}	if (frm.card5.checked)	{		gold1_id.style.display='';	}	else	{		gold1_id.style.display='none';	}	if (frm.card6.checked)	{		platinum1_id.style.display='';	}	else	{		platinum1_id.style.display='none';	}}function show_faq(obj){	var card_id=document.getElementById(obj);		if (card_id.style.display!='')	{//alert(i)		card_id.style.display="";	}	else	{		card_id.style.display="none";	}}//Step3 Code ends here//--
