var d=new Date();
document.write("<table width='100%' border='0' cellspacing='0' cellpadding='0' ID='Table1'>");
document.write("  <tr align='right' valign='top'> ");
document.write("    <td colspan='4'> ");
document.write("    </td>");
document.write("  </tr>");

document.write("  <tr valign='top'> ");
document.write("<td class='footer'><img src='/personal/img/pixel.gif' width='3' height='1'></td><td colspan='3' class='footer' align='right'><a href='/personal/banking/info/access/index.htm' target='_blank'>accessibility</a> | <a href='/personal/banking/info/privacy/index.htm' target='_blank'>privacy</a> | <a href='/caw/sitemap/index.htm'>site map</a></td>");

document.write("  </tr>");
document.write("  <tr valign='top'> ");
document.write("    <td colspan='4'><img src='/caw/img/1grey.gif' width='100%' height='1' vspace='10'></td>");
document.write("  </tr>");
document.write("  <tr valign='top'> ");
document.write("<td><img src='/personal/img/pixel.gif' width='3' height='1'></td><td colspan='3' class='footer'>Investment and insurance products are not insured by any governmental agencies, are not bank deposits, and are neither obligations of, nor guaranteed by, Citigroup, or any of its affiliates, unless otherwise stated. Investment Products are subject to investment risks, including possible loss of some or all of the principal amount invested. Past performance is not indicative of future results, investments can go down as well as up. Investment Funds should be viewed as a medium-term to long-term investment (at least 5 years).<br><br>By using this website, registered in the United Kingdom, you agree to the <a href='/personal/cards/terms_cond.htm' target='_blank'>Terms and Conditions</a>.<br><br>This website is not intended for distribution to, or use by any person in any country where such distribution or use would be subject to or contrary to local law or regulation.<br><br>Calls may be recorded or monitored for training and service quality purposes. Calls to 0800 numbers are free from a UK landline, mobile costs may vary.<br><br>Citibank "+d.getFullYear()+". Citibank is a registered service mark of Citibank, N.A. or Citigroup. Citi, Arc design and CITI NEVER SLEEPS are service marks of Citibank, N.A. or Citigroup Inc. <a href='/personal/cards/terms_cond.htm' target='_blank'>Citibank International Plc</a> is licensed by the Office of Fair Trading to supply credit. Our licence number is 0482552. For all other activities we are authorised and regulated by the Financial Services Authority. FSA reference number 122342. Registered in England No. 1088249. Registered Office: Citigroup Centre, Canada Square, Canary Wharf, London E14 5LB. Vat No. GB 429 6256 29. Ultimately owned by Citigroup Inc., New York, USA.<br><br></td>");

document.write("  </tr>");
document.write("  <tr valign='top'> ");
document.write("  <td><img src='/caw/img/pixel.gif' width='10' height='1'></td>");
document.write("    <td class='footer'><img src='/caw/img/citi/ftr_logo.gif' ><br> ");
document.write("    <a href='http://www.citi.com' target='_blank'>Citi.com</a></td>");
document.write("    <td nowrap align='right' class='footer'>");
document.write("Copyright &copy; "+d.getFullYear()+"&nbsp;Citigroup Inc.</td>");
document.write("    <td><img src='/caw/img/pixel.gif' width='3' height='1'></td>");
document.write("  </tr>");
document.write("</table>");

if ((tab == '1') && (subnum == '1') && (leftnum == '999')){
var strSource = "";
	if(strSource.indexOf("0000")>0) {}
	else{
		if(strSource.substring(0,1)=="?"){}
		else 		
			strSource =  ""
	}
}
for (i=0;i<document.links.length;i++) {
var strHref = (document.links[i].href).toLowerCase();
    if ( ((strHref.substring(0,11)).toLowerCase()== 'javascript:') ||(strHref.indexOf("history")>0 || (strHref.indexOf("#")>0) || ((strHref.substring(0,7)).toLowerCase()== 'mailto:')))
	{}
	else
	{
		if (document.links[i].hostname == location.hostname){
			if(strHref.indexOf("?")>0) 
			{
				if(strHref.indexOf("gohttps")>0)
				{	
					document.links[i].href=document.links[i].href + strSource 
				}
				else		
				{
					document.links[i].href=document.links[i].href + strSource.replace("?","&")
				}

			}
			else
			{
					if((tab == 4) && (subnum == 1)   )
					{
						if(campaign==1)
						{
						if(strSource.indexOf("source")<0 )
							{
								var temp=strSource.substring(1,strSource.length);
								document.links[i].href=document.links[i].href + "?source=3957&"+temp;

							   }
							   else
								{
								   document.links[i].href=document.links[i].href + strSource

								}
						}
						else
						{
							document.links[i].href=document.links[i].href + strSource
						}
					}
					else
				{
					document.links[i].href=document.links[i].href + strSource
				}
		
			}

		}
}
}






var _hbEC=0,_hbE=new Array;function _hbEvent(a,b){b=_hbE[_hbEC++]=new Object();b._N=a;b._C=0;return b;}
var hbx=_hbEvent("pv");hbx.vpc="HBX0200u";hbx.gn="vendorweb.citibank.com";

//BEGIN EDITABLE SECTION

//CONFIGURATION VARIABLES




var location1 = location.href;
if (location1.search("http://www.citibank.co.uk")==0){
	hbx.acct="DM57061446AB;DM5707193LEW;DM570712KADA";// PROD
}else{	
	hbx.acct="DM550608FDEA";// UAT
}	


hbx.pn="/homepage";//PAGE NAME(S)
hbx.mlc="CONTENT+CATEGORY";//MULTI-LEVEL CONTENT CATEGORY
hbx.pndef="index.html";//DEFAULT PAGE NAME
hbx.ctdef="full";//DEFAULT CONTENT CATEGORY
function _hbOnPrePVR(){
if(_mlc != 0){
_mlc = "/EMEA/UK/Citibank" + _mlc
}
}

//OPTIONAL PAGE VARIABLES
//ACTION SETTINGS
hbx.fv="";//FORM VALIDATION MINIMUM ELEMENTS OR SUBMIT FUNCTION NAME
hbx.lt="auto";//LINK TRACKING
hbx.dlf="n";//DOWNLOAD FILTER
hbx.dft="n";//DOWNLOAD FILE NAMING
hbx.elf="n";//EXIT LINK FILTER

//SEGMENTS AND FUNNELS
hbx.seg="*;*;1";//VISITOR SEGMENTATION
hbx.fnl="";//FUNNELS

//CUSTOM VARIABLES
hbx.ci="";//CUSTOMER ID
hbx.hc1="";//CUSTOM 1
hbx.hc2="";//CUSTOM 2
hbx.hc3="";//CUSTOM 3
hbx.hc4="";//CUSTOM 4
hbx.hrf="";//CUSTOM REFERRER
hbx.pec="";//ERROR CODES

//INSERT CUSTOM EVENTS

//END EDITABLE SECTION

//REQUIRED SECTION. CHANGE "YOURSERVER" TO VALID LOCATION ON YOUR WEB SERVER (HTTPS IF FROM SECURE SERVER)

document.write("<script language='javascript1.1' src='https://www.citibank.co.uk/personals/js/hbx.js' type='text/javascript'></script>");
