/*document.write("<table width='900' align='center' border='0' cellspacing='0' cellpadding='0' ID='Table1'>");
document.write("  <tr align='right' valign='top'> ");
document.write("    <td colspan='4'> ");
document.write("      <table width='5%' height='20'  border='0' cellpadding='0' cellspacing='0'>");
document.write("        <tr> ");
document.write("		  <td width='10'><img src='/consumer/portuguese/img/pixel.gif'></td>");
document.write("          <td width='33%' nowrap><a href='/consumer/portuguese/hlp-contact.htm'>Contacte-nos</a> | <a href='/consumer/portuguese/mappa.htm'>Mapa do site</a></td>");
document.write("          <td nowrap><img src='/consumer/portuguese/img/pixel.gif' width='10' height='1'></td>");
document.write("        </tr>");
document.write("      </table>");
document.write("    </td>");
document.write("  </tr>");
document.write("  </table>");
document.write("  <table width='100%' align='center' border='0' cellspacing='0' cellpadding='0'>");
document.write("  <tr valign='top' > ");
document.write("    <td colspan='4' width='100%'><img src='/consumer/portuguese/img/1grey.gif' width='100%' height='1' vspace='10'></td>");
document.write("  </tr>");
document.write("  </table>");
document.write("  <table width='900' align='center' border='0' cellspacing='0' cellpadding='0'>");
document.write("  <tr valign='top'> ");
document.write("  <td><img src='/consumer/portuguese/img/pixel.gif' width='5' height='1'></td>");
document.write("    <td><img src='/consumer/portuguese/img/citi/ftr_logo.gif' ><br> ");
document.write("    <a href='http://www.citibank.com?lid=CitiOnline&lpos=bottom' class='footer'>Citibank.com</a></td>");
if(prodPageNum != 156)
{
document.write("    <td align='center'><img src='/consumer/portuguese/img/pixel.gif' width='25' height='5'><a href='/consumer/portuguese/serve-icard.htm'><font class='homefooter' face='Arial'>Active os <strong><font color='#0099CC'>Extractos Online</font></strong> e ajude a preservar o ambiente ></font></a></td>");
}
document.write("    <td nowrap align='right' class='footer'><div align='right'>");
document.write("        <a href='/consumer/portuguese/hlp-privacy.htm?lid=CitiOnline&lpos=bottom' class='footer' >Privacidade</a><br>");
document.write("        <a href='/consumer/portuguese/hlp-privacy2.htm' class='footer' >Política de dados online</a><br>");
document.write("        <a href='/consumer/portuguese/hlp-disclaim.htm' class='footer'>Termos, condições e avisos</a><br>");
document.write("        Copyright &copy; 2006 Citigroup Inc.</div></td>");
document.write("    <td><img src='/consumer/portuguese/img/pixel.gif' width='6' height='1'></td>");
document.write("  </tr>");
document.write("</table>");*/
/*document.write("<div class='footer'>");	
	document.write("<div class='links'> ");	
	document.write("<ul>");	
	document.write("<li>&bull; <a href='privacidade.html'>Seguran&ccedil;a e Privacidade</a> </li>");	
	document.write("<li>&bull; <a href='politica_dados.html'>Polit&iacute;ca de dados online</a></li> ");	
	document.write("<li>&bull; <a href='termos_condicoes.html'>Termos, condi&ccedil;&otilde;es e avisos</a></li>");	
	document.write("</ul>");	
	document.write("<div class='clear'></div>");	
	document.write("</div>");	
	document.write("<div class='clear'></div>");	
	document.write("<div class='copyright txt'> Copyright &copy; 2007 Citigroup Inc. <img src='images/img_logo_peq.gif' alt='Citi' /></div>");	
	document.write("</div>");*/
for (i=0;i<document.links.length;i++) {

var strHref = document.links[i].href;
//alert("Came" + strHref + "  - " )


	if ( ((strHref.substring(0,11)).toLowerCase()== 'javascript:') ||(strHref.indexOf("history")>0) || (strHref.indexOf("#")>0) )
	{}
	else
	{
		//document.links[i].href=document.links[i].href + strSource
		if(strHref.indexOf("?")>0)
		{
			if( (strHref.indexOf("?/portugal/consumer/appform/cartoescredito.htm?cboCcardApply=1")>0) || (strHref.indexOf("?/portugal/consumer/appform/cartoescredito.htm?cboCcardApply=2")>0) || (strHref.indexOf("?/portugal/consumer/appform/cartoescredito.htm?cboCcardApply=3")>0) || (strHref.indexOf("?/portugal/consumer/appform/cartoescredito.htm?cboCcardApply=4")>0) || (strHref.indexOf("?/portugal/consumer/appform/cartoescredito.htm?cboCcardApply=5")>0) )
				document.links[i].href=document.links[i].href + strSource.replace("?","&");
			else if(strHref.indexOf("?/portugal/consumer/appform/cartoescredito.htm")>0)
				document.links[i].href=document.links[i].href + strSource;
			else if(strHref.indexOf("?/portugal/consumer/appform/account/aberturaconta.htm")>0)
				document.links[i].href=document.links[i].href + strSource;
			else if(strHref.indexOf("?/portugal/consumer/appform/loan/creditopessoal.htm")>0)
				document.links[i].href=document.links[i].href + strSource;
			
			else
				document.links[i].href=document.links[i].href + strSource.replace("?","&");
		}
		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

hbx.pn="PUT+PAGE+NAME+HERE";//PAGE NAME(S)
hbx.mlc="CONTENT+CATEGORY";//MULTI-LEVEL CONTENT CATEGORY
hbx.pndef="file";//DEFAULT PAGE NAME
hbx.ctdef="full";//DEFAULT CONTENT CATEGORY
function _hbOnPrePVR(){
if(_mlc != 0){
_mlc = "/EMEA/PT" + _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

//INSERT CUSTOM EVENTS

//END EDITABLE SECTION

//REQUIRED SECTION. CHANGE "YOURSERVER" TO VALID LOCATION ON YOUR WEB SERVER (HTTPS IF FROM SECURE SERVER)

//Script for HBX Tool
var hbxvar;
hbxvar=document.location.href;
if (hbxvar.indexOf("www.citibank.pt") > 0)
{
hbx.acct="DM57071265DW;DM5707193LEW;DM57061446AB";//ACCOUNT NUMBER(S)
document.write("<script language='javascript1.1' src='metrics/hbx.js'></script>");
}
else
{
hbx.acct="DM550608FDEA";//ACCOUNT NUMBER(S)
document.write("<script language='javascript1.1' src='metrics/hbx.js'></script>");
}
//
