_hud="undefined";
_ec=0;
function __A(a){return unescape(a)}
function _II(a,b,c){return a.indexOf(b,c?c:0)}
function _IL(a){return a!=_hud?a.length:0}
function _IS(a,b,c){return b>_IL(a)?"":a.substring(b,c!=null?c:_IL(a))}
function _LVP(a,b,c,d,e){c=_II(a,"&"+b+"=");c=c<0?_II(a,"?"+b+"="):c;if(c>-1){d=_II(a,'&',c+_IL(b)+2);e=_IS(a,c+_IL(b)+2,d>-1?d:_IL(a));
if(!_ec){if(!(_II(e,"//")==0))return e}else return e}return ""}
function _RPV(a){return(__A(_LVP(document.URL,a)))}

function _hbOnInit(){
	var a=_VN(hbx.mlc);
	if(a.indexOf('/')!=0)a='/'+a;

	if (_II(hbx.pu,"citigold.citibank.com.my")>0 || _II(hbx.pu,"citigold.com.my")>0){
		hbx.mlc="/APAC/Malaysia/Citigold/English"+a;
	}else{
		hbx.mlc="/APAC/Malaysia/Citibank/English"+a;
	}
}

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="HBX0100u";hbx.gn="vendorweb.citibank.com";

hbx.acct="DM550608FDEA";
hbx.pndef='file';
hbx.lt="auto";
hbx.pu=document.URL;
hbx.mlc="/not+categorized";
hbx.dlf="!.do";

if(_II(hbx.pu,"htmlPageName=")>0){
	hbx.pn="_P::htmlPageName";
}
else if(_II(hbx.pu,"portal/citimy_home.htm")>0){
	hbx.pn="Home";
	hbx.mlc="";
}
else if(_II(hbx.pu,"/JPS/portal/Index.do")>0){
	hbx.pn="Home";
	hbx.mlc="";
}
else{
	hbx.pn=location.pathname;
	if (hbx.pn=='/' || hbx.pn=="") {
		hbx.pn="Home";
		hbx.mlc="";
	}
}

if(_II(hbx.pu,"tabNo=")>0 && hbx.pn!="Home"){
	hbx.mlc=_RPV("tabNo");
	if(hbx.mlc=="3")hbx.mlc="/Credit+Cards";
	else if(hbx.mlc=="4")hbx.mlc="/Loans";
	else if(hbx.mlc=="5")hbx.mlc="/Deposits";
	else if(hbx.mlc=="6")hbx.mlc="/Investments";
	else if(hbx.mlc=="7")hbx.mlc="/Insurance";
	else if(hbx.mlc=="8")hbx.mlc="/Financial+Management";
	else if(hbx.mlc=="9")hbx.mlc="/Islamic+Banking";
}