function reset2(){document.frm.reset()}document.write('<script type="text/javascript" src="/portal/newgen/js/logincookie.js"></script>');
document.write('<script type="text/javascript" src="/portal/new-js/flash_detect_min.js"></script>');
function MM_preloadImages() { 
	document.getElementById('qsearch').style.fontWeight='bold';
  var d=document; if(d.cc_images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadcc_images.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
var currentpage=location.href.substr(location.href.lastIndexOf("/")+1,location.href.length)
if(currentpage.lastIndexOf("#")!=-1)
{
currentpage=currentpage.substr(0,currentpage.lastIndexOf("#"));	


}
if(currentpage=="rewards-home.htm")
	{
			currentpage=location.href.substr(location.href.lastIndexOf("/")+1,location.href.length)
			
			
			
	}else if(currentpage.lastIndexOf("?")!=-1)
{
currentpage=currentpage.substr(0,currentpage.lastIndexOf("?"));	

}
if(currentpage=="rewards-home.htm")
	{
currentpage="rewards-home.htm#citi-rewards";
}
var disappeardelay=250  
var enableanchorlink=1 
var hidemenu_onclick=1 

var ie5=document.all
var ns6=document.getElementById&&!document.all

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}

function showhide(obj, e, visible, hidden){
if (ie5||ns6)
dropmenuobj.style.left=dropmenuobj.style.top=-500
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover"){
	
obj.visibility=visible
}
else if (e.type=="click"){
obj.visibility=hidden
}
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie5 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie5 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie5 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ 
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) 
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return '0';
}

var timeout         = 0;
var closetimer		= 0;
var ddmenuitem      = 0;

function mopen(id)
{	

	document.getElementById('keywrds').style.backgroundPosition="-419px -230px"
	mcancelclosetime();
	//vbmenu_hide();
	lclose()

	if(ddmenuitem) ddmenuitem.style.display = 'none';

	ddmenuitem = document.getElementById(id);
	ddmenuitem.style.display = 'block';

}
function mclose()
{
document.getElementById('keywrds').style.backgroundPosition="-419px -205px"
	
	if(ddmenuitem) ddmenuitem.style.display = 'none';
	
}

function mclosetime()
{
	closetimer = window.setTimeout(mclose, timeout);
}

function mcancelclosetime()
{
	if(closetimer)
	{
		window.clearTimeout(closetimer);
		closetimer = null;
	}
}
var ids=0;
var seid=0;
function lopen(id,e)
{
	if(ids==0)
	{
		ids=1;
		var e=window.event || e
		var topmenuoffset=(typeof isTop!="undefined")? 6 : 0
		if (window.event) 
		{
				event.cancelBubble=true
		}
		else if (e.stopPropagation) 
		{
			e.stopPropagation()
		}
		document.getElementById('lopen').style.backgroundPosition="-231px -74px"
		lcancelclosetime();
		/*if(ddmenuitem)
			{ddmenuitem.style.display = 'none';}*/
			
		ddmenuitem = document.getElementById(id);
		ddmenuitem.style.display = 'block';
	}
	else
	{
		lclose();		
	}
}
function lclose()
{
	ids=0;
	document.getElementById('lopen').style.backgroundPosition="-231px -106px"
	
	if(ddmenuitem) ddmenuitem.style.display = 'none';
	
}

function lclosetime()
{
	closetimer = window.setTimeout(lclose, timeout);
}

function lcancelclosetime()
{
	if(closetimer)
	{
		window.clearTimeout(closetimer);
		closetimer = null;
	}
}



function dropdownmenu(obj, e, dropmenuID, isTop,lft,tp)
{

	var e=window.event || e
	var topmenuoffset=(typeof isTop!="undefined")? 6 : 0
	if (window.event) 
		event.cancelBubble=true
	else if (e.stopPropagation) 
		e.stopPropagation()
	
	
	if (ie5||ns6)
	{
		
		dropmenuobj=document.getElementById(dropmenuID)		

		
		
		dropmenuobj.x=getposOffset(obj, "left")
		dropmenuobj.y=getposOffset(obj, "top")
		if(ns6&&dropmenuID=='anylinkmenu2' )
			lft=lft-20;		
		dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+lft+"px"
		dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight-topmenuoffset+tp+"px"
		if(dropmenuobj.style.visibility=='hidden' || dropmenuobj.style.display=='none')
		{
			dropmenuobj.style.visibility='visible'; 
			dropmenuobj.style.display='block';
		}else
		{
			dropmenuobj.style.visibility='hidden';
			dropmenuobj.style.display='none';
		}
	}
	return clickreturnvalue()
}

function dropdownmenuin(obj,e,dropmenuID,isTop,lft,tp)
{ 
	

	var e=window.event || e
	var topmenuoffset=(typeof isTop!="undefined")? 6 : 0
	if (window.event) 
		event.cancelBubble=true
	else if (e.stopPropagation) 
		e.stopPropagation()
	
	
	if (ie5||ns6)
	{
		
		dropmenuobj=document.getElementById(dropmenuID)		

		
		
		dropmenuobj.x=getposOffset(obj, "left")
		dropmenuobj.y=getposOffset(obj, "top")
		
		if(ns6&&dropmenuID=='anylinkmenu2' )
			lft=lft-20;		

		if(dropmenuobj.style.visibility=='hidden')
		{
			dropmenuobj.style.visibility='visible'; 
		}else
		{
			dropmenuobj.style.visibility='hidden';
		}
	}
	return clickreturnvalue()
}
function dropdownmenuhide_1()
{ 

if(document.getElementById("dropdownmenu2"))
document.getElementById("dropdownmenu2").style.visibility='hidden';


if(document.getElementById("anylinkmenu1"))
document.getElementById("anylinkmenu1").style.visibility='hidden';

if(document.getElementById("botlinks"))
document.getElementById("botlinks").style.visibility='hidden';

if(document.getElementById("login-section"))
{
ids=0;
document.getElementById("login-section").style.display='none';
document.getElementById('lopen').style.backgroundPosition="-231px -106px"
}
}


function dropdownmenuhide(e)
{
	

	if (e && e.button && e.button != 1 && e.type == 'click')
	{
		
		return true;
	}
	else
	{
	
		dropdownmenuhide_1();
	}
}


function choose(obj, e, dropmenuID, isTop,lft,tp)
{

	var e=window.event || e
	var topmenuoffset=(typeof isTop!="undefined")? 6 : 0
	if (window.event) 
		event.cancelBubble=true
	else if (e.stopPropagation) 
		e.stopPropagation()
	
	
	if (ie5||ns6)
	{
		
		dropmenuobj=document.getElementById(dropmenuID)		

		
		
		dropmenuobj.x=getposOffset(obj, "left")
		dropmenuobj.y=getposOffset(obj, "top")
		if(ns6&&dropmenuID=='anylinkmenu2' )
			lft=lft-20;		
		dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+lft+"px"
		dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight-topmenuoffset+tp+"px"
		if(dropmenuobj.style.visibility=='hidden')
		{
			dropmenuobj.style.visibility='visible';
		}else
		{
			dropmenuobj.style.visibility='hidden';
		}
	}
	return clickreturnvalue()
}

function clickreturnvalue(){
if ((ie5||ns6) && !enableanchorlink) return false
else return true
}

function trimSpace(x)
{
   var emptySpace = / /g;
   var trimAfter = x.replace(emptySpace,"");
   return(trimAfter);
}

function keywrdsframe()
{
document.getElementById('keywordf').innerHTML='<iframe height="108" width="160" style="position:absolute; background-color:transparent; background-image:url(/portal/newgen/cards/tab/cc_images/Keywords_bg.gif); background-repeat:no-repeat; filter:alpha(opacity=0); " frameborder="0" src="javascript:void(0);"></iframe>';
}

if (typeof SESSIONURL == 'undefined')
{
	SESSIONURL = '';
}
if (typeof vbphrase == 'undefined')
{
	vbphrase = new Array();
}
var vB_Editor = new Array();
var ignorequotechars = false;
var pagenavcounter = 0;
var userAgent = navigator.userAgent.toLowerCase();
var is_opera  = (userAgent.indexOf('opera') != -1);
var is_saf    = ((userAgent.indexOf('applewebkit') != -1) || (navigator.vendor == 'Apple Computer, Inc.'));
var is_webtv  = (userAgent.indexOf('webtv') != -1);
var is_ie     = ((userAgent.indexOf('msie') != -1) && (!is_opera) && (!is_saf) && (!is_webtv));
var is_ie4    = ((is_ie) && (userAgent.indexOf('msie 4.') != -1));
var is_moz    = ((navigator.product == 'Gecko') && (!is_saf));
var is_kon    = (userAgent.indexOf('konqueror') != -1);
var is_ns     = ((userAgent.indexOf('compatible') == -1) && (userAgent.indexOf('mozilla') != -1) && (!is_opera) && (!is_webtv) && (!is_saf));
var is_ns4    = ((is_ns) && (parseInt(navigator.appVersion) == 4));
var is_mac    = (userAgent.indexOf('mac') != -1);
var is_regexp = (window.RegExp) ? true : false;
var AJAX_Compatible = false;
var pointer_cursor = (is_ie ? 'hand' : 'pointer');
function array_pop(a)
{
	if (typeof a != 'object' || !a.length)
	{
		return null;
	}
	else
	{
		var response = a[a.length - 1];
		a.length--;
		return response;
	}
}
function array_push(a, value)
{
	a[a.length] = value;
	return a.length;
}
function fetch_object(idname)
{
	if (document.getElementById)
	{
		return document.getElementById(idname);
	}
	else if (document.all)
	{
		return document.all[idname];
	}
	else if (document.layers)
	{
		return document.layers[idname];
	}
	else
	{
		return null;
	}
}
function fetch_tags(parentobj, tag)
{
	if (typeof parentobj.getElementsByTagName != 'undefined')
	{
		return parentobj.getElementsByTagName(tag);
	}
	else if (parentobj.all && parentobj.all.tags)
	{
		return parentobj.all.tags(tag);
	}
	else
	{
		return null;
	}
}
function do_an_e(eventobj)
{
	if (!eventobj || is_ie)
	{
		window.event.returnValue = false;
		window.event.cancelBubble = true;
		return window.event;
	}
	else
	{
		eventobj.stopPropagation();
		eventobj.preventDefault();
		return eventobj;
	}
}
function e_by_gum(eventobj)
{
	if (!eventobj || is_ie)
	{
		window.event.cancelBubble = true;
		return window.event;
	}
	else
	{
		if (eventobj.target.type == 'submit')
		{
			eventobj.target.form.submit();
		}
		eventobj.stopPropagation();
		return eventobj;
	}
}
function vbmenu_register(controlid, noimage, datefield)
{
	if (typeof vBmenu == 'object')
	{
		vBmenu.register(controlid, noimage);
	}
}
function vBulletin_init()
{
	if (is_webtv)
	{
		return false;
	}
	var imgs = fetch_tags(document, 'img');
	for (var i = 0; i < imgs.length; i++)
	{
		if (!imgs[i].title && imgs[i].alt != '')
		{
			imgs[i].title = imgs[i].alt;
		}
	}
	if (typeof vBmenu == 'object')
	{
		if (window.attachEvent && !is_saf)
		{
			document.attachEvent('onclick', vbmenu_hide);
			window.attachEvent('onresize', vbmenu_hide);
		}
		else if (document.addEventListener && !is_saf)
		{
			document.addEventListener('click', vbmenu_hide, false);
			window.addEventListener('resize', vbmenu_hide, false);
		}
		else
		{
			window.onclick = vbmenu_hide;
			window.onresize = vbmenu_hide;
		}
		var pagenavs = fetch_tags(document, 'td');
		for (var n = 0; n < pagenavs.length; n++)
		{
			if (pagenavs[n].hasChildNodes() && pagenavs[n].firstChild.name && pagenavs[n].firstChild.name.indexOf('PageNav') != -1)
			{
				var addr = pagenavs[n].title;
				pagenavs[n].title = '';
				pagenavs[n].innerHTML = '';
				pagenavs[n].id = 'pagenav.' + n;
				var pn = vBmenu.register(pagenavs[n].id);
				if (is_saf)
				{
					pn.controlobj._onclick = pn.controlobj.onclick;
					pn.controlobj.onclick = vBpagenav.prototype.controlobj_onclick;
				}
			}
		}
		if (typeof addr != 'undefined')
		{
			fetch_object('pagenav_form').addr = addr;
			fetch_object('pagenav_form').gotopage = vBpagenav.prototype.form_gotopage;
			fetch_object('pagenav_ibtn').onclick = vBpagenav.prototype.ibtn_onclick;
			fetch_object('pagenav_itxt').onkeypress = vBpagenav.prototype.itxt_onkeypress;
		}
		vBmenu.activate(true);
	}
	return true;
}

function vB_Popup_Handler()
{
	this.open_steps = 10;
	this.open_fade = false;
	this.active = false;
	this.menus = new Array();
	this.activemenu = null;
	this.hidden_selects = new Array();
}
vB_Popup_Handler.prototype.activate = function(active)
{
	this.active = active;
}
vB_Popup_Handler.prototype.register = function(controlkey, noimage)
{
	this.menus[controlkey] = new vB_Popup_Menu(controlkey, noimage);

	return this.menus[controlkey];
}
vB_Popup_Handler.prototype.hide = function()
{
	document.getElementById("singinid").src="/portal/newgen/cards/tab/cc_images/nw-sign_in.gif";
	if (this.activemenu != null)
	{
		this.menus[this.activemenu].hide();
	}
}
vBmenu = new vB_Popup_Handler();
function vbmenu_hide(e)
{
	if (e && e.button && e.button != 1 && e.type == 'click')
	{
		return true;
	}
	else
	{
		vBmenu.hide();
	}
}
function vB_Popup_Menu(controlkey, noimage)
{
	this.controlkey = controlkey;
	this.menuname = this.controlkey.split('.')[0] + '_menu';
	this.init_control(noimage);
	if (fetch_object(this.menuname))
	{
		this.init_menu();
	}
	this.slide_open = (is_opera ? false : true);
	this.open_steps = vBmenu.open_steps;
}
vB_Popup_Menu.prototype.init_control = function(noimage)
{
	this.controlobj = fetch_object(this.controlkey);
	this.controlobj.state = false;
	if (this.controlobj.firstChild && (this.controlobj.firstChild.tagName == 'TEXTAREA' || this.controlobj.firstChild.tagName == 'INPUT'))
	{
	}
	else
	{
		if (!noimage && !(is_mac && is_ie))
		{
			var space = document.createTextNode(' ');
			this.controlobj.appendChild(space);
			var img = document.createElement('img');			
		
		}
		this.controlobj.unselectable = true;
		if (!noimage)
		{
			this.controlobj.style.cursor = pointer_cursor;
		}
		this.controlobj.onclick = vB_Popup_Events.prototype.controlobj_onclick;
		this.controlobj.onmouseover = vB_Popup_Events.prototype.controlobj_onmouseover;
		this.controlobj.onmouseout = vB_Popup_Events.prototype.controlobj_onmouseout;
	}
}
vB_Popup_Menu.prototype.init_menu = function()
{
	this.menuobj = fetch_object(this.menuname);
	if (this.menuobj && !this.menuobj.initialized)
	{
		this.menuobj.initialized = true;
		this.menuobj.onclick = e_by_gum;
		this.menuobj.style.position = 'absolute';
		this.menuobj.style.zIndex = 50;
		if (is_ie && !is_mac)
		{
		}
		this.init_menu_contents();
	}
}
vB_Popup_Menu.prototype.init_menu_contents = function()
{
	var tds = fetch_tags(this.menuobj, 'td');
	for (var i = 0; i < tds.length; i++)
	{
		if (tds[i].className == 'vbmenu_option')
		{
			if (tds[i].title && tds[i].title == 'nohilite')
			{
				tds[i].title = '';
			}
			else
			{
				tds[i].controlkey = this.controlkey;
				tds[i].onmouseover = vB_Popup_Events.prototype.menuoption_onmouseover;
				tds[i].onmouseout = vB_Popup_Events.prototype.menuoption_onmouseout;
				if (typeof tds[i].onclick == 'function')
				{
					tds[i].ofunc = tds[i].onclick;
					tds[i].onclick = vB_Popup_Events.prototype.menuoption_onclick_function;
				}
				else
				{
					tds[i].onclick = vB_Popup_Events.prototype.menuoption_onclick_link;
				}
				if (!is_saf && !is_kon)
				{
					try
					{
						links = fetch_tags(tds[i], 'a');
						for (var j = 0; j < links.length; j++)
						{
							if (typeof links[j].onclick  == 'undefined')
							{
								links[j].onclick = e_by_gum;
							}
						}
					}
					catch(e)
					{
					}
				}
			}
		}
	}
}
vB_Popup_Menu.prototype.show = function(obj, instant)
{
	if (!vBmenu.active)
	{
		return false;
	}
	else if (!this.menuobj)
	{
		this.init_menu();			
	}
	if (!this.menuobj)
	{	
		return false;
	}
	if (vBmenu.activemenu != null)
	{	
		vBmenu.menus[vBmenu.activemenu].hide();
	}	
	vBmenu.activemenu = this.controlkey;
	this.menuobj.style.display = '';	
	if (vBmenu.slide_open)
	{
		this.menuobj.style.clip = 'rect(auto, auto, auto, auto)';		
	}	
	this.pos = this.fetch_offset(obj);
	this.leftpx = this.pos['left'];
	this.toppx = this.pos['top'] + obj.offsetHeight;	
	if ((this.leftpx + this.menuobj.offsetWidth) >= document.body.clientWidth && (this.leftpx + obj.offsetWidth - this.menuobj.offsetWidth) > 0)
	{
		this.leftpx = this.leftpx + obj.offsetWidth - this.menuobj.offsetWidth;
		this.direction = 'right';
	}
	else
	{
		this.direction = 'left'
	}	
	this.menuobj.style.left = this.leftpx + 'px';
	this.menuobj.style.top  = (this.toppx-3) + 'px';
	
	if (!instant && this.slide_open)
	{
		this.intervalX = Math.ceil(this.menuobj.offsetWidth / this.open_steps);
		this.intervalY = Math.ceil(this.menuobj.offsetHeight / this.open_steps);
		this.slide((this.direction == 'left' ? 0 : this.menuobj.offsetWidth), 0, 0);
	}
	else if (this.menuobj.style.clip && vBmenu.slide_open)
	{
		this.menuobj.style.clip = 'rect(auto, auto, auto, auto)';
	}	
	this.handle_overlaps(true);	
	if (this.controlobj.editorid)
	{
		this.controlobj.state = true;		
		vB_Editor[this.controlobj.editorid].menu_context(this.controlobj, 'mousedown');
	}	
}
vB_Popup_Menu.prototype.hide = function(e)
{
	if (e && e.button && e.button != 1)
	{
		return true;
	}
	this.stop_slide();
	this.menuobj.style.display = 'none';
	this.handle_overlaps(false);
	if (this.controlobj.editorid)
	{
		this.controlobj.state = false;
		vB_Editor[this.controlobj.editorid].menu_context(this.controlobj, 'mouseout');
	}
	vBmenu.activemenu = null;
}
vB_Popup_Menu.prototype.hover = function(obj)
{
	if (vBmenu.activemenu != null)
	{
		if (vBmenu.menus[vBmenu.activemenu].controlkey != this.id)
		{
			this.show(obj, true);
		}
	}
}
vB_Popup_Menu.prototype.choose = function(e, obj)
{
	var links = fetch_tags(obj, 'a');
	if (links[0])
	{
		if (is_ie)
		{
			links[0].click();
			window.event.cancelBubble = true;
		}
		else
		{
			if (e.shiftKey)
			{
				window.open(links[0].href);
				e.stopPropagation();
				e.preventDefault();
			}
			else
			{
				window.location = links[0].href;
				e.stopPropagation();
				e.preventDefault();
			}
		}
		this.hide();
	}
}

vB_Popup_Menu.prototype.slide = function(clipX, clipY, opacity)
{
	if (this.direction == 'left' && (clipX < this.menuobj.offsetWidth || clipY < this.menuobj.offsetHeight))
	{
		if (vBmenu.open_fade && is_ie)
		{
			opacity += 10;
			this.menuobj.filters.item('DXImageTransform.Microsoft.alpha').opacity = opacity;
		}
		clipX += this.intervalX;
		clipY += this.intervalY;
		this.menuobj.style.clip = "rect(auto, " + clipX + "px, " + clipY + "px, auto)";
		this.slidetimer = setTimeout("vBmenu.menus[vBmenu.activemenu].slide(" + clipX + ", " + clipY + ", " + opacity + ");", 0);
	}
	else if (this.direction == 'right' && (clipX > 0 || clipY < this.menuobj.offsetHeight))
	{
		if (vBmenu.open_fade && is_ie)
		{
			opacity += 10;
			menuobj.filters.item('DXImageTransform.Microsoft.alpha').opacity = opacity;
		}
		clipX -= this.intervalX;
		clipY += this.intervalY;
		this.menuobj.style.clip = "rect(auto, " + this.menuobj.offsetWidth + "px, " + clipY + "px, " + clipX + "px)";
		this.slidetimer = setTimeout("vBmenu.menus[vBmenu.activemenu].slide(" + clipX + ", " + clipY + ", " + opacity + ");", 0);
	}
	else
	{
		this.stop_slide();
	}
}
vB_Popup_Menu.prototype.stop_slide = function()
{
	clearTimeout(this.slidetimer);

	this.menuobj.style.clip = 'rect(auto, auto, auto, auto)';

	if (vBmenu.open_fade && is_ie)
	{
		this.menuobj.filters.item('DXImageTransform.Microsoft.alpha').opacity = 100;
	}
}
vB_Popup_Menu.prototype.fetch_offset = function(obj)
{
	var left_offset = obj.offsetLeft;
	var top_offset = obj.offsetTop;
	while ((obj = obj.offsetParent) != null)
	{
		left_offset += obj.offsetLeft;
		top_offset += obj.offsetTop;
	}
	return { 'left' : left_offset, 'top' : top_offset };
}
vB_Popup_Menu.prototype.overlaps = function(obj, m)
{
	var s = new Array();
	var pos = this.fetch_offset(obj);
	s['L'] = pos['left'];
	s['T'] = pos['top'];
	s['R'] = s['L'] + obj.offsetWidth;
	s['B'] = s['T'] + obj.offsetHeight;
	if (s['L'] > m['R'] || s['R'] < m['L'] || s['T'] > m['B'] || s['B'] < m['T'])
	{
		return false;
	}
	return true;
}
vB_Popup_Menu.prototype.handle_overlaps = function(dohide)
{
	if (is_ie)
	{
		var selects = fetch_tags(document, 'select');
		if (dohide)
		{
			var menuarea = new Array(); menuarea = {
				'L' : this.leftpx,
				'R' : this.leftpx + this.menuobj.offsetWidth,
				'T' : this.toppx,
				'B' : this.toppx + this.menuobj.offsetHeight
			};
			for (var i = 0; i < selects.length; i++)
			{
				if (this.overlaps(selects[i], menuarea))
				{
					var hide = true;
					var s = selects[i];
					while (s = s.parentNode)
					{
						if (s.className == 'vbmenu_popup')
						{
							hide = false;
							break;
						}
					}
					if (hide)
					{
						selects[i].style.visibility = 'hidden';
						array_push(vBmenu.hidden_selects, i);
					}
				}
			}
		}
		else
		{
			while (true)
			{
				var i = array_pop(vBmenu.hidden_selects);
				if (typeof i == 'undefined' || i == null)
				{
					break;
				}
				else
				{
					selects[i].style.visibility = 'visible';
				}
			}
		}
	}
}
function vB_Popup_Events()
{
}
vB_Popup_Events.prototype.controlobj_onclick = function(e)
{
	do_an_e(e);
	if (vBmenu.activemenu == null || vBmenu.menus[vBmenu.activemenu].controlkey != this.id)
	{		
		vBmenu.menus[this.id].show(this);
		document.getElementById("singinid").src="/portal/newgen/cards/tab/cc_images/nw-cbol-pannel_top.gif";
	}
	else
	{
		document.getElementById("singinid").src="/portal/newgen/cards/tab/cc_images/nw-sign_in.gif";
		vBmenu.menus[this.id].hide();
	}
};
vB_Popup_Events.prototype.controlobj_onmouseover = function(e)
{
	do_an_e(e);	
	vBmenu.menus[this.id].hover(this);

};
vB_Popup_Events.prototype.controlobj_onmouseout = function(e)
{
	if(document.getElementById('threadrating_menu').style.display=="none")
	{

	}
	else
	{
		
	}
};
vB_Popup_Events.prototype.menuoption_onclick_function = function(e)
{
	this.ofunc(e);
	vBmenu.menus[this.controlkey].hide();
};
vB_Popup_Events.prototype.menuoption_onclick_link = function(e)
{
	vBmenu.menus[this.controlkey].choose(e, this);
};
vB_Popup_Events.prototype.menuoption_onmouseover = function(e)
{
	this.className = 'vbmenu_hilite';
};
vB_Popup_Events.prototype.menuoption_onmouseout = function(e)
{
	this.className = 'vbmenu_option';	
};



function citi_products()
{
if(document.getElementById('citi_prod').selectedIndex==0)
{

window.location="https://www.online.citibank.co.in/portal/newgen/cards/tab/apply-now.htm?site=PORTAL&amp;creative=NGX&amp;section=INHLGPAN&amp;agencyCode=XER&amp;campaignCode=&amp;productCode=&amp;eOfferCode=INHLGPAN";

}
if(document.getElementById('citi_prod').selectedIndex==1)
{
window.location="http://online.citibank.co.in/products-services/banking/bank-account/open-a-bank-account.htm?eOfferCode=INHLGPAN"
}
if(document.getElementById('citi_prod').selectedIndex==2)
{
window.location="https://www.online.citibank.co.in/products-services/loans/ready-cash-personal-loan.htm?site=PORTAL&creative=NGX&section=INHLGPAN&agencyCode=XER&campaignCode=&productCode=&eOfferCode=INHLGPAN"
}
if(document.getElementById('citi_prod').selectedIndex==3)
{
window.location="http://online.citibank.co.in/products-services/investments/investments-home.htm?eOfferCode=INHLGPAN"
}
if(document.getElementById('citi_prod').selectedIndex==4)
{
window.location="https://www.online.citibank.co.in/portal/citiin/forms/citihealthforever.jsp?site=portal&creative=NGX&section=INHLGPAN&agencyCode=XER&campaignCode=&productCode=&eOfferCode=INHLGPAN"
}

}


function rewards_left(id)
{     
currentpages=location.href.substr(location.href.lastIndexOf("/")+1,location.href.length);
if(currentpages.lastIndexOf("#")!=-1)
{
currentpages=currentpages.substr(0,currentpages.lastIndexOf("#"));	
}
if(currentpages.lastIndexOf("?")!=-1){
currentpages=currentpages.substr(0,currentpages.lastIndexOf("?"));
}
if(currentpages=="rewards-home.htm"){

				document.getElementById("Subnav12").innerHTML=innerText;
				var temp=document.getElementById(id).innerHTML;
				document.getElementById(id).parentNode.innerHTML="<div style='color:#555555;font-size:11px;line-height:15px;'>"+temp+"</div>";
				 if(id=="citi-rewards"){
				rewardstab('Image11');
				}
				 if(id=="citi-catalogue"){
				rewardstab('Image12');
				}
				 if(id=="online-shopping"){
				rewardstab('Image13');
				}
				 if(id=="shop-at-a-store"){
				rewardstab('Image14');
				}
				}

}




var disclaimerpages=Array("form_jet_plat.htm","form_jet_gold.htm");
function left_ShowHide(src,img,obj){
	var imgopen = '/portal/newgen/cards/tab/cc_images/arrow_blue11.gif';
	var imgclose = '/portal/newgen/cards/tab/cc_images/arrow_blue1.gif';
var displaystatus=document.getElementById(src).style.display;
var ar = document.getElementById("dvleft").getElementsByTagName("ul"); 
var ulimg=document.getElementById("dvleft").getElementsByTagName("img"); 
var ulspan=document.getElementById("dvleft").getElementsByTagName("span"); 



for ( i=0; i<ulimg.length; i++){

			if(ulimg[i].className=="arrow")
				ulimg[i].src = imgclose;
        		}
			
for ( i=0; i<ulspan.length; i++){
	
		ulspan[i].style.fontWeight="normal";
	  		}
			
			
			

	
	
			for ( i=0; i<ar.length; i++){
				if (ar[i].className=="leftshowhide_sub") {
				ar[i].style.display = "none";
				document.getElementById(img).src = imgclose;
                document.getElementById(obj).style.fontWeight="normal";
				}
			}
	
			
			




		if( displaystatus== 'none'){
			document.getElementById(src).style.display = 'block';
			document.getElementById(img).src = imgopen;

document.getElementById(obj).style.fontWeight="bold";
		}
		else 
		{
			document.getElementById(src).style.display = 'none';
			document.getElementById(img).src = imgclose;
			if(document.getElementById(obj).parentNode.parentNode.className!="highlightelement1")
document.getElementById(obj).style.fontWeight="normal";
		}

}




function sublevelmenu(id,obj)
{

if(obj.href=="javascript:void(0);"){
if( document.getElementById(id).style.display == 'none'){
	
	allelemt=obj.parentNode.parentNode.getElementsByTagName("ul");
				
			for(i=0;i<allelemt.length;i++)
			{
			allelemt[i].style.display='none';
          
			}
			
	allelemt=obj.parentNode.parentNode.getElementsByTagName("a");
				
			for(i=0;i<allelemt.length;i++)
			{
				if(!(allelemt[i].parentNode.className=="highlightelement" || allelemt[i].className=="lasthightlightelemt" )){
					allelemt[i].style.fontWeight='normal';}
					
          
			}
	
  
			document.getElementById(id).style.display = 'block';
	

			
		}
		else 
		{
				
			document.getElementById(id).style.display = 'none';
			if(obj.parentNode.className!="highlightelement")
			obj.style.fontWeight = "normal";
		}
		}
}

function checkinarray(value,arry) {
	var i;
	for (i=0; i < arry.length; i++) {
		if (arry[i] == value) {
			return true;
		}
	}
	return false;
}
var links=Array();

function showinnerlevel()
{
			links[0]= document.getElementById("citi-rewards").href;
			links[1]= document.getElementById("citi-catalogue").href;
			links[2]= document.getElementById("online-shopping").href;
			links[3]= document.getElementById("shop-at-a-store").href;

	
var ulli=document.getElementById("dvleft").getElementsByTagName("li"); 
var ullia=document.getElementById("dvleft").getElementsByTagName("a"); 

if(checkinarray(currentpage,disclaimerpages))
{
	
	for ( i=0; i<ullia.length; i++){
		if (ullia[i].parentNode.parentNode.className=="leftshowhide_sub_sec" ) { 
		        ullia[i].innerHTML="<span style='color:#009beb;float:left!important;cursor:pointer;'>"+ullia[i].innerHTML+"</span>";
				if(ulli[i].parentNode.parentNode.previousSibling.nodeType == 3){
				ullia[i].parentNode.parentNode.parentNode.previousSibling.previousSibling.style.fontWeight="bold";
				ullia[i].parentNode.parentNode.style.display='block';
				ullia[i].parentNode.parentNode.parentNode.previousSibling.previousSibling.innerHTML='<img src="/portal/newgen/cards/tab/cc_images/arrow_blue1.gif" alt="" class="arrow1"  /><div style="font-weight:bold;color:#000066;">'+ullia[i].parentNode.parentNode.parentNode.previousSibling.previousSibling.childNodes[1].innerHTML+'</div>';	
				
				}else{
				ullia[i].parentNode.parentNode.parentNode.previousSibling.style.fontWeight="bold";
				ullia[i].parentNode.parentNode.style.display='block';
				ullia[i].parentNode.parentNode.parentNode.previousSibling.innerHTML='<img src="/portal/newgen/cards/tab/cc_images/arrow_blue1.gif" alt="" class="arrow1"  /><div style="font-weight:bold;color:#000066;">'+ullia[i].parentNode.parentNode.parentNode.previousSibling.childNodes[1].innerHTML+'</div>';	
				
				}
		}
	
	}


}

for ( i=0; i<ullia.length; i++){
		
	if (ullia[i].parentNode.className=="leftshowhide_sub" ) { 
url=ullia[i].href.substr(ullia[i].href.lastIndexOf("/")+1,ullia[i].href.length);
if(url.lastIndexOf("?")!=-1)
url=url.substr(0,url.lastIndexOf("?"));



	if(url==currentpage){
	ullia[i].parentNode.innerHTML='<img src="/portal/newgen/cards/tab/cc_images/arrow_blue1.gif" alt="" class="arrow1"  id="img10" /><div style="font-weight:bold;color:#000066;">'+ullia[i].childNodes[0].innerHTML+'</div>';
			if (ullia[i].parentNode.parentNode.className=="leftshowhide_sub_sec" ) { 
	ullia[i].parentNode.parentNode.style.display='block';
	ullia[i].parentNode.innerHTML="<div style='color:#555555;font-size:11px;'>"+ullia[i].innerHTML+"</div>";
	}		
	}
	}
	
}

						innerText=document.getElementById("Subnav12").innerHTML;
for ( i=0; i<ulli.length; i++){
	
			if (ulli[i].className=="lisubheadadj" ) { 
			url=ulli[i].childNodes[0].href.substr(ulli[i].childNodes[0].href.lastIndexOf("/")+1,ulli[i].childNodes[0].href.length);
		  if(url.lastIndexOf("?")!=-1)
			url=url.substr(0,url.lastIndexOf("?"));
		
		
				if(url==currentpage){
				
				 ulli[i].parentNode.style.display='block';
				 ulli[i].innerHTML="<span style='font-size:11px;color:#555555!important;'>"+ulli[i].childNodes[0].innerHTML+"</span>";
				 ulli[i].childNodes[0].href="javascript:void(0);";
				 
				   if(ulli[i].parentNode.parentNode.previousSibling.nodeType == 3){
				 ulli[i].parentNode.parentNode.previousSibling.previousSibling.style.fontWeight="bold";
				  ulli[i].parentNode.parentNode.previousSibling.previousSibling.childNodes[0].src='/portal/newgen/cards/tab/cc_images/arrow_blue11.gif';
				   }else
				   {
				 ulli[i].parentNode.parentNode.previousSibling.style.fontWeight="bold";
				   ulli[i].parentNode.parentNode.previousSibling.childNodes[0].src='/portal/newgen/cards/tab/cc_images/arrow_blue11.gif';
				   }
				 
				 
				 
			}else
			{
				
			}
			}
	

		if (ulli[i].className=="leftshowhide_sub_sub" ) { 

			url=ulli[i].childNodes[0].href.substr(ulli[i].childNodes[0].href.lastIndexOf("/")+1,ulli[i].childNodes[0].href.length);
			if(url.lastIndexOf("?")!=-1){
			url=url.substr(0,url.lastIndexOf("?"));}	

		
			
			
		if(url==currentpage){
		 ulli[i].childNodes[0].className="lasthightlightelemt";
		ulli[i].innerHTML="<div style='color:#555555;font-weight:normal;font-size:11px;line-height:15px;'>"+ulli[i].childNodes[0].innerHTML+"</div>";
		 ulli[i].parentNode.parentNode.parentNode.parentNode.style.display='block';
		 ulli[i].parentNode.parentNode.parentNode.style.display='block';
		 ulli[i].style.fontWeight="bold";
		 ulli[i].parentNode.style.display="block"
		  if(ulli[i].parentNode.parentNode.previousSibling.nodeType == 3){
		 ulli[i].parentNode.parentNode.previousSibling.previousSibling.style.fontWeight="bold";
		 ulli[i].parentNode.parentNode.previousSibling.previousSibling.className ='highlightelement';
		 ulli[i].parentNode.parentNode.parentNode.parentNode.previousSibling.previousSibling.style.fontWeight="block";
    	 ulli[i].parentNode.parentNode.parentNode.parentNode.previousSibling.previousSibling.className ='highlightelement1';
		 ulli[i].parentNode.parentNode.parentNode.parentNode.previousSibling.previousSibling.childNodes[0].src='/portal/newgen/cards/tab/cc_images/arrow_blue11.gif';
		 }
		 else{
		 ulli[i].parentNode.parentNode.previousSibling.style.fontWeight="bold";
		 ulli[i].parentNode.parentNode.previousSibling.className ='highlightelement';
		 ulli[i].parentNode.parentNode.parentNode.parentNode.previousSibling.style.fontWeight="bold";
		 ulli[i].parentNode.parentNode.parentNode.parentNode.previousSibling.className ='highlightelement1';
		  ulli[i].parentNode.parentNode.parentNode.parentNode.previousSibling.childNodes[0].src='/portal/newgen/cards/tab/cc_images/arrow_blue11.gif';
		}
		
		alllinks=(ulli[i].parentNode.parentNode.parentNode.parentNode.parentNode.getElementsByTagName("a"));
		
		for(j=0;j<alllinks.length;j++)
		{
			
		if(alllinks[j].parentNode.className=="highlightelement" ){
		alllinks[j].href="javascript:void(0);";
		}
		}
		 }
		 
		}
	  		}
if(currentpage.lastIndexOf("#")!=-1)
{
currentpages=currentpage.substr(0,currentpage.lastIndexOf("#"));	
}else
{
currentpages=currentpage;
}
if(currentpage=="rewards-home.htm")
	{
	var cp=location.href.substr(location.href.lastIndexOf("/")+1,location.href.length)
			if(cp.lastIndexOf("#")!=-1){
			var hashs=location.href.substr(location.href.lastIndexOf("#")+1,location.href.length);
			rewards_left(hashs);
			}else
			{	
			rewards_left('citi-rewards');
			}
	}
			
}
var innerText;
function MM_openBrWindow(theURL,winName,features) { 
  window.open(theURL,winName,features);
}


function rewardstab(re){
if( re == 'Image11')
{
document.getElementById('re1').style.display = 'block';
document.getElementById('re2').style.display = 'none';
document.getElementById('re3').style.display = 'none';
document.getElementById('re4').style.display = 'none';
document.getElementById('Image11').src="/portal/newgen/cards/tab/cc_images/city-rew-tab-on.gif";
document.getElementById('Image12').src="/portal/newgen/cards/tab/cc_images/red-citi-catalogue-off.gif";
document.getElementById('Image13').src="/portal/newgen/cards/tab/cc_images/online-shop-off.gif";
document.getElementById('Image14').src="/portal/newgen/cards/tab/cc_images/shop-at-a-store-off.gif";
document.getElementById('Image11').parentNode.style.cursor="pointer";
document.getElementById('Image12').parentNode.style.cursor="pointer";
document.getElementById('Image13').parentNode.style.cursor="pointer";
document.getElementById('Image14').parentNode.style.cursor="pointer";
document.getElementById(re).parentNode.style.cursor="default";
}
else if( re == 'Image12')
{
document.getElementById('re1').style.display = 'none';
document.getElementById('re2').style.display = 'block';
document.getElementById('re3').style.display = 'none';
document.getElementById('re4').style.display = 'none';
document.getElementById('Image11').src="/portal/newgen/cards/tab/cc_images/city-rew-tab-off.gif";
document.getElementById('Image12').src="/portal/newgen/cards/tab/cc_images/red-citi-catalogue-on.gif";
document.getElementById('Image13').src="/portal/newgen/cards/tab/cc_images/online-shop-off.gif";
document.getElementById('Image14').src="/portal/newgen/cards/tab/cc_images/shop-at-a-store-off.gif";
document.getElementById('Image11').parentNode.style.cursor="pointer";
document.getElementById('Image12').parentNode.style.cursor="pointer";
document.getElementById('Image13').parentNode.style.cursor="pointer";
document.getElementById('Image14').parentNode.style.cursor="pointer";
document.getElementById(re).parentNode.style.cursor="default";
}

else if( re == 'Image13')
{
document.getElementById('re1').style.display = 'none';
document.getElementById('re2').style.display = 'none';
document.getElementById('re3').style.display = 'block';
document.getElementById('re4').style.display = 'none';
document.getElementById('Image11').src="/portal/newgen/cards/tab/cc_images/city-rew-tab-off.gif";
document.getElementById('Image12').src="/portal/newgen/cards/tab/cc_images/red-citi-catalogue-off.gif";
document.getElementById('Image13').src="/portal/newgen/cards/tab/cc_images/online-shop-on.gif";
document.getElementById('Image14').src="/portal/newgen/cards/tab/cc_images/shop-at-a-store-off.gif";
document.getElementById('Image11').parentNode.style.cursor="pointer";
document.getElementById('Image12').parentNode.style.cursor="pointer";
document.getElementById('Image13').parentNode.style.cursor="pointer";
document.getElementById('Image14').parentNode.style.cursor="pointer";
document.getElementById(re).parentNode.style.cursor="default";
}

else if( re == 'Image14')
{
document.getElementById('re1').style.display = 'none';
document.getElementById('re2').style.display = 'none';
document.getElementById('re3').style.display = 'none';
document.getElementById('re4').style.display = 'block';
document.getElementById('Image11').src="/portal/newgen/cards/tab/cc_images/city-rew-tab-off.gif";
document.getElementById('Image12').src="/portal/newgen/cards/tab/cc_images/red-citi-catalogue-off.gif";
document.getElementById('Image13').src="/portal/newgen/cards/tab/cc_images/online-shop-off.gif";
document.getElementById('Image14').src="/portal/newgen/cards/tab/cc_images/shop-at-a-store-on.gif";
document.getElementById('Image11').parentNode.style.cursor="pointer";
document.getElementById('Image12').parentNode.style.cursor="pointer";
document.getElementById('Image13').parentNode.style.cursor="pointer";
document.getElementById('Image14').parentNode.style.cursor="pointer";
document.getElementById(re).parentNode.style.cursor="default";
}
}




function leftnav()
{
	document.getElementById('leftnavid').innerHTML='<div id="dvleft">	<ul style="list-style-type:none !important;"><div class="leftgradholder">	<div class="leftgradtop">		</div>	<div class="leftgradmid">	<li class="leftshowhide_sub" ><img src="/portal/newgen/seo/cards/new-images/arrow_blue1.gif" alt="" class="arrow"  id="img1" /><a title="View Credit Card Types" href="javascript:left_ShowHide(\'Navi1\',\'img1\',\'left1\')" ><span id="left1">View Credit Card Types</span></a></li><li class="leftliholder"><ul class="leftshowhide_sub"  id="Navi1" style="display:none; " >        <li class="lisubheadadj"><a title="Cash Back" href="javascript:void(0);" onclick="javascript:sublevelmenu(\'Subnav1\',this)">Cash Back</a></li><li class="leftliholder"><ul  style="display:none; float:left; margin:0px; padding:0px 0px 0px 0px!important;" id="Subnav1"><li class="leftshowhide_sub_sub"><a title="Citibank Cash  Back Credit Card" href="/portal/newgen/cards/tab/cash-back-credit-card.htm?eOfferCode=CHLNAV">Citibank Cash  Back <br/>Credit Card</a></li></ul></li>                                                             <li class="lisubheadadj"><a title="Shopping" href="javascript:void(0);" onclick="javascript:sublevelmenu(\'Subnav2\',this)">Shopping</a></li>              <li class="leftliholder">                <ul  style="display:none;" id="Subnav2">                    <li class="leftshowhide_sub_sub"><a title="Citibank Rewards Card" href="/portal/newgen/cards/rewards/citi-rewards-card.htm?eOfferCode=CHLNAV">Citibank Rewards Card</a></li>          <li class="leftshowhide_sub_sub"><a title="First Citizen Citibank Titanium credit Card" href="/portal/newgen/cards/tab/firstcitizencard.htm?eOfferCode=CHLNAV">First Citizen Citibank<br> Titanium credit Card</a></li>   <li class="leftshowhide_sub_sub"><a title="First Citizen Citibank Platinum Credit Card" href="/portal/newgen/cards/tab/firstcitizen-platinum-card.htm?eOfferCode=CHLNAV">First Citizen Citibank<br> Platinum Credit Card</a></li>    </ul>              </li>              <li class="lisubheadadj"><a title="Travel" href="javascript:void(0);" onclick="javascript:sublevelmenu(\'Subnav3\',this)">Travel</a></li>              <li class="leftliholder">                <ul  style="display:none; float:left; margin:0px; padding:0px 0px 0px 0px!important;" id="Subnav3"><li class="leftshowhide_sub_sub" style="line-height:14px;"><a title="Citibank PremierMiles Card" href="https://www.online.citibank.co.in/portal/newgen/cards/tab/citi-premiermiles-card.htm?site=PORTAL&creative=NGX&section=CHLNAV&agencyCode=XER&campaignCode=&productCode=&eOfferCode=CHLNAV">Citibank PremierMiles Card</a></li>    <li class="leftshowhide_sub_sub"><a title="Jet Airways Citibank Platinum Credit Card" href="https://www.online.citibank.co.in/portal/newgen/cards/tab/jetairplatinum.htm?site=PORTAL&creative=NGX&section=CHLNAV&agencyCode=XER&campaignCode=CARDSNET&productCode=ECRD&eOfferCode=CHLNAV">Jet Airways Citibank<br />  Platinum Credit Card</a></li>       </ul>              </li>              <li class="lisubheadadj"><a title="Fuel" href="javascript:void(0);" onclick="javascript:sublevelmenu(\'Subnav4\',this)">Fuel</a></li>              <li class="leftliholder">                <ul  style="display:none; float:left; margin:0px; padding:0px 0px 0px 0px!important;" id="Subnav4"> <li class="leftshowhide_sub_sub"><a href="/portal/newgen/cards/tab/indianoil-platinumcard.htm?eOfferCode=CHLNAV">IndianOil Citibank Platinum<br />Credit Card</a></li>   <li class="leftshowhide_sub_sub"><a title="IndianOil Citibank Titanium Credit Card" title="IndianOil Citibank Titanium Credit Card" href="/portal/newgen/cards/tab/indianoil-titaniumcard.htm?eOfferCode=CHLNAV">IndianOil Citibank Titanium<br />Credit Card</a></li>     </ul>              </li>   <li class="lisubheadadj"><a title="Lifestyle" href="javascript:void(0);" onclick="javascript:sublevelmenu(\'Subnav8\',this)">Lifestyle</a></li><li class="leftliholder">                <ul  style="display:none; float:left; margin:0px; padding:0px 0px 0px 0px!important;" id="Subnav8">            <li class="leftshowhide_sub_sub"><a title="Citi Platinum Select Credit Card" href="/cards/citiplatinumselect.htm?eOfferCode=CHLNAV">Citi Platinum Select Credit <br>Card</a></li>      <li class="leftshowhide_sub_sub"><a title="Citibank Ultima Credit Card" href="https://www.online.citibank.co.in/portal/newgen/cards/tab/ultima_card.htm?site=PORTAL&creative=NGX&section=CHLNAV&agencyCode=XER&campaignCode=&productCode=&eOfferCode=CHLNAV">Citibank Ultima Credit Card</a></li>                </ul>              </li> <li class="lisubheadadj" ><a title="Prepaid" href="javascript:void(0);" onclick="javascript:sublevelmenu(\'Subnav5\',this)">Prepaid</a></li> <li class="leftliholder"><ul id="Subnav5" style="display:none; float:left; margin:0px; padding:0px 0px 0px 0px!important;"> <li class="leftshowhide_sub_sub"><a title="Citibank World Money Card" href="https://www.online.citibank.co.in/portal/newgen/cards/tab/worldmoneycard.htm?site=PORTAL&creative=NGX&section=CHLNAV&agencyCode=XER&campaignCode=&productCode=&eOfferCode=CHLNAV">Citibank World Money Card</a></li> <li class="leftshowhide_sub_sub" style="line-height:14px;"><a title="Citibank World Money Corporate Card" href="https://www.online.citibank.co.in/portal/newgen/cards/tab/worldmoney-corporate-card.htm?site=PORTAL&creative=NGX&section=CHLNAV&agencyCode=XER&campaignCode=&productCode=&eOfferCode=CHLNAV">Citibank World Money <br/>Corporate Card</a> </li>    </ul></li>          <li class="lisubheadadj"><a title="Others" href="javascript:void(0);" onclick="javascript:sublevelmenu(\'Subnav6\',this)">Others</a></li>              <li class="leftliholder">                <ul  style="display:none; float:left; margin:0px; padding:0px 0px 0px 0px!important;" id="Subnav6"> <li class="leftshowhide_sub_sub"><a title="Jet Airways Citibank Titanium Credit Card" href="/portal/newgen/cards/tab/jetairtitaniumcard.htm?eOfferCode=CHLNAV">Jet Airways Citibank<br/> Titanium Credit Card</a></li>    <li class="leftshowhide_sub_sub"><a title="Jet Airways CitiBusiness Credit Card" href="/portal/newgen/cards/tab/jetaircitibiz.htm?eOfferCode=CHLNAV">Jet Airways CitiBusiness <br>Credit Card</a></li> <li class="leftshowhide_sub_sub"><a title="IndianOil CitiBusiness Gold Credit Card" href="/portal/newgen/cards/tab/ioc_citibusinessgold.htm?eOfferCode=CHLNAV">IndianOil CitiBusiness <br>Gold Credit Card</a></li><li class="leftshowhide_sub_sub"><a title="IndianOil Citibank Gold Credit Card" href="/portal/newgen/cards/tab/ioc_goldcard.htm?eOfferCode=CHLNAV">IndianOil Citibank Gold<br />Credit Card</a></li> <li class="leftshowhide_sub_sub"><a title="Citibank Platinum Credit Card" href="/portal/newgen/cards/tab/platinumcard.htm?eOfferCode=CHLNAV">Citibank Platinum Credit <br>Card</a></li>           <li class="leftshowhide_sub_sub"><a title="Citi Cash Rewards Credit Card" href="/portal/newgen/cards/tab/titanium-cash-rewards.htm?eOfferCode=CHLNAV">Citi Cash Rewards <br>Credit Card</a></li> </ul>              </li> </ul>          </li>         <li class="leftshowhide_sub" ><img src="/portal/newgen/seo/cards/new-images/arrow_blue1.gif" alt="" class="arrow" /><a title="Compare Credit Cards" href="/portal/newgen/cards/static/allcards/comparator/comparator.htm?eOfferCode=CHLNAV" ><span>Compare Credit Cards</span></a></li>		   <li class="leftshowhide_sub" ><img src="/portal/newgen/seo/cards/new-images/arrow_blue1.gif" alt="" class="arrow"  id="img10" /><a title="Apply Now" href="https://www.online.citibank.co.in/portal/newgen/cards/tab/apply-now.htm?site=PORTAL&creative=NGX&section=CHLNAV&agencyCode=&campaignCode=&productCode=&eOfferCode=CHLNAV"  ><span id="left10">Apply Now</span></a></li>         		          </div>		<div class="leftgradfoot">		</div></div>				<div class="leftgradholder">	<div class="leftgradtop">		</div>	<div class="leftgradmid">			<li class="leftshowhide_sub" ><img src="/portal/newgen/seo/cards/new-images/arrow_blue1.gif" alt="" class="arrow"  id="img11" /><a title="Manage Credit Card" href="javascript:left_ShowHide(\'Navi11\',\'img11\',\'left11\')" ><span id="left11">Manage Credit Card</span></a></li>	 <li class="leftliholder">		    <ul class="leftshowhide_sub"  id="Navi11" style="display:none; " >              <li class="lisubheadadj"><a title="Pay Credit Card Bills" href="/products-services/online-services/epay.htm?eOfferCode=CHLNAV" >Pay Credit Card Bills</a></li>              <li class="lisubheadadj"><a title="E-mail and SMS Alerts" href="/products-services/online-services/online-services-home.htm?eOfferCode=CHLNAV" >E-mail and SMS Alerts</a></li>                           <li class="lisubheadadj"><a title="Pay Utility Bills" href="/products-services/online-services/bill-pay.htm?eOfferCode=CHLNAV" >Pay Utility Bills</a></li>                          <li class="lisubheadadj"><a title="Update Contact Details" href="/?eOfferCode=CHLNAV">Update Contact Details</a></li>                       <li class="lisubheadadj"><a title="Internet Banking" href="/products-services/online-services/internet-banking.htm?eOfferCode=CHLNAV" >Internet Banking </a></li>                            </ul>          </li>          <li class="leftshowhide_sub" ><img src="/portal/newgen/seo/cards/new-images/arrow_blue1.gif" alt="" class="arrow" /><a title="Pay Credit Card Bills" href="/products-services/online-services/epay.htm?eOfferCode=CHLNAV" ><span>Pay Credit Card Bills</span></a></li>		         <li class="leftshowhide_sub" ><img src="/portal/newgen/seo/cards/new-images/arrow_blue1.gif" alt="" class="arrow" /><a title="Statement on E-mail" href="https://www.online.citibank.co.in/products-services/online-services/statement-on-email.htm?site=PORTAL&creative=NGX&section=CHLNAV&agencyCode=&campaignCode=&productCode=&eOfferCode=CHLNAV" ><span>Statement on E-mail</span></a></li>         		          </div>		<div class="leftgradfoot">		</div></div>	 		<div class="leftgradholder">	<div class="leftgradtop">		</div>	<div class="leftgradmid">				<li class="leftshowhide_sub" id="rewards_left"><img src="/portal/newgen/seo/cards/new-images/arrow_blue1.gif" alt="" class="arrow"  id="img12" /><a title="Rewards &amp; Offers" href="javascript:left_ShowHide(\'Navi12\',\'img12\',\'left12\')" ><span id="left12">Rewards &amp; Offers</span></a></li>	 <li class="leftliholder">		    <ul class="leftshowhide_sub"  id="Navi12" style="display:none; " >              <li class="lisubheadadj"><a title="Offers on your Credit Card" href="/card-offers/special-offers.htm?eOfferCode=CHLNAV" >Offers on your Credit Card</a></li>              <li class="lisubheadadj"><a title="Redeem Reward Points" href="javascript:void(0);" onclick="javascript:sublevelmenu(\'Subnav12\',this)">Redeem Reward Points</a></li>       <li class="leftliholder">                <ul  style="display:none;" id="Subnav12">                    <li class="leftshowhide_sub_sub"><a title="Earn Rewards" href="/portal/newgen/cards/tab/rewards-home.htm#citi-rewards" id="citi-rewards" onclick="rewards_left(\'citi-rewards\')">Earn Rewards</a></li>          <li class="leftshowhide_sub_sub" ><a title="Redeem from Rewards Catalogue" id="citi-catalogue" href="/portal/newgen/cards/tab/rewards-home.htm#citi-catalogue" onclick="rewards_left(\'citi-catalogue\')"style="line-height:15px;">Redeem from  Rewards <br>Catalogue</a></li>  <li class="leftshowhide_sub_sub"><a title="Online Shopping" href="/portal/newgen/cards/tab/rewards-home.htm#online-shopping" id="online-shopping" onclick="rewards_left(\'online-shopping\')">Online Shopping</a></li>  <li class="leftshowhide_sub_sub"><a title="Shop-at-a Store" href="/portal/newgen/cards/tab/rewards-home.htm#shop-at-a-store"  id="shop-at-a-store" onclick="rewards_left(\'shop-at-a-store\')">Shop-at-a Store</a></li> <li class="leftshowhide_sub_sub"><a title="Exclusive-rewards" href="/portal/newgen/cards/tab/rewards-home.htm#exclusive-rewards"  id="Exclusive-rewards" onclick="rewards_left(\'Exclusive-rewards\')">Exclusive-rewards</a></li>    </ul>              </li>                                                                               </ul>          </li>         <li class="leftshowhide_sub" style="list-style-type:none !important; "><img src="/portal/newgen/seo/cards/new-images/arrow_blue1.gif" alt="" class="arrow"  id="img13" /><a title="Insurance Benefits" href="javascript:left_ShowHide(\'Navi13\',\'img13\',\'left13\')" ><span id="left13">Insurance Benefits</span></a></li>	 <li class="leftliholder" style="list-style-type:none !important;">		    <ul class="leftshowhide_sub"  id="Navi13" style="display:none; list-style-type:none !important; " >              <li class="lisubheadadj"><a title="Health Forever" href="https://www.online.citibank.co.in/portal/citiin/forms/citihealthforever.jsp?site=PORTAL&creative=NGX&section=CHLNAV&agencyCode=XER&campaignCode=GHNET&productCode=AQCA&eOfferCode=CHLNAV">Health Forever</a></li>  <li class="lisubheadadj"><a title="Good Health Policy" href="https://www.online.citibank.co.in/portal/newgen/seo/cards/mediclaim-health-policy.htm?site=PORTAL&creative=NGX&section=CHLNAV&agencyCode=XER&campaignCode=GHNET&productCode=AQCA&eOfferCode=CHLNAV">Good Health Policy</a></li>    <li class="lisubheadadj"><a title="Smart Cash" href="https://www.online.citibank.co.in/portal/citiin/forms/smartcash/citi_smartcash_index.jsp?site=PORTAL&creative=NGX&section=CHLNAV&agencyCode=XER&campaignCode=GHNET&productCode=AQCA&eOfferCode=CHLNAV">Smart Cash</a></li>    <li class="lisubheadadj"><a title="Personal Accident Cover" href="https://www.online.citibank.co.in/portal/citiin/forms/pac/citi_personalcare_index.jsp?site=PORTAL&creative=NGX&section=CHLNAV&agencyCode=XER&campaignCode=GHNET&productCode=AQCA&eOfferCode=CHLNAV">Personal Accident Cover</a></li>                                       <li class="lisubheadadj"><a title="Travel Insurance" href="https://www.online.citibank.co.in/portal/citiin/forms/citiintravel.jsp?site=PORTAL&creative=&section=CHLNAV&agencyCode=&campaignCode=&productCode=&eOfferCode=CHLNAV" >Travel Insurance</a></li>                         <li class="lisubheadadj"><a title="Credit Shield Plus" href="https://www.online.citibank.co.in/products-services/insurance/life-insurance/credit-shield-plus.htm?site=PORTAL&creative=&section=CHLNAV&agencyCode=&campaignCode=&productCode=&eOfferCode=CHLNAV">Credit Shield Plus</a></li>                            </ul>          </li>		               		 		  <li class="leftshowhide_sub" ><img src="/portal/newgen/seo/cards/new-images/arrow_blue1.gif" alt="" class="arrow"  id="img14" /><a title="Other Benefits" href="javascript:left_ShowHide(\'Navi14\',\'img14\',\'left14\')" ><span id="left14">Other Benefits</span></a></li>	 <li class="leftliholder">		    <ul class="leftshowhide_sub"  id="Navi14" style="display:none; " >              <li class="lisubheadadj"><a title="Split It" href="https://www.online.citibank.co.in/portal/newgen/cards/tab/clickanemi.htm?site=PORTAL&creative=NGX&section=CHLNAV&agencyCode=XER&campaignCode=CARDSNET&productCode=ECRD&productname=WORLDMNY&eOfferCode=CHLNAV" >Split It</a></li><li class="lisubheadadj"><a title="Loan on your Credit Card" href="https://www.online.citibank.co.in/portal/newgen/cards/emi/loanurcard.htm?site=PORTAL&creative=NGX&section=CHLNAV&agencyCode=XER&campaignCode=CARDSNET&productCode=ECRD&productname=WORLDMNY&eOfferCode=CHLNAV" >Loan on your Credit Card</a></li> <li class="lisubheadadj"><a title="Card Protection Plan" href="https://www.online.citibank.co.in/portal/newgen/seo/cards/card_protection_plan.htm?site=PORTAL&creative=NGX&section=CHLNAV&agencyCode=XER&campaignCode=&productCode=&eOfferCode=CHLNAV" >Card Protection Plan</a></li>                                                     </ul>          </li>		      		          </div>		<div class="leftgradfoot">		</div></div>				<div class="leftgradholder">	<div class="leftgradtop">		</div>	<div class="leftgradmid"><li class="leftshowhide_sub" ><img src="/portal/newgen/seo/cards/new-images/arrow_blue1.gif" alt="" class="arrow"  id="img19" /><a title="Basics of Credit" href="javascript:left_ShowHide(\'Navi19\',\'img19\',\'left19\')" ><span id="left19">Basics of Credit</span></a></li>	 <li class="leftliholder">		    <ul class="leftshowhide_sub"  id="Navi19" style="display:none; " >              <li class="lisubheadadj"><a title="What is a Credit Bureau?" href="/portal/newgen/cards/tab/Credit_Bureau.htm?eOfferCode=CHLNAV" >What is a Credit Bureau?</a></li>      <li class="lisubheadadj"><a title="Use Credit Responsibly" href="/portal/newgen/creditwisely/index.htm?eOfferCode=CHLNAV" target="_blank" >Use Credit Responsibly</a></li>              <li class="lisubheadadj"><a title="Cardmember Terms &amp; Conditions" href="/portal/newgen/cards/cardmember.pdf" target="_blank" >Cardmember <br />Terms &amp; Conditions</a></li> <li class="lisubheadadj"><a title="Do Not Disturb Service" href="/customerservice/DND.htm?eOfferCode=CHLNAV" >Do Not Disturb Service</a></li>                       <li class="lisubheadadj"><a title="Most Important Terms &amp; Conditions (MITC)" href="/portal/newgen/cards/tab/creditcards_tc.htm?eOfferCode=CHLNAV#termsmitc" >Most Important Terms &amp; Conditions (MITC)</a></li>                              </ul>          </li>       <li class="leftshowhide_sub" ><img src="/portal/newgen/seo/cards/new-images/arrow_blue1.gif" alt="" class="arrow"  id="img14" /><a title="Contact Us" href="/customerservice/home.htm?eOfferCode=CHLNAV" ><span id="left14">Contact Us</span></a></li></div><div class="leftgradfoot"></div></div></ul>		  		  					</div>';

	}
	
	
	

function display_bottom(id)
{
if(document.getElementById(id).style.display=='none')
document.getElementById(id).style.display='block';
else
document.getElementById(id).style.display='none';
}

function displayno_bottom(id)
{
document.getElementById(id).style.display='none';
}


function topPage()
{
document.write('<div class="facebook">');

					
					flink='<a  onclick=\"window.open(\'/card-offers/inh-fb-disclaimer.htm\',\'\',\'width=760,height=452,top=100,left=100\');\" title=\"Follow us on facebook\" href=\"javascript:void(0);\"><img src="/portal/facebook.gif\"/></a>';
					document.write(flink);	

	
	document.write('<div id="fbk"></div></div>');
	document.write('<div id="top-container"><div class="country" title="Citibank India">Citibank India</div><div id="top-section"><div id="top-nav"><ul><li class="personal-banking" title="Personal Banking">Personal Banking</li><li><a class="nri-banking" href="/citi-nri.htm" target="_blank" title="NRI Banking">NRI Banking</a></li><li><a class="corporate-banking" href="/portal/newgen/corporate/index.htm" target="_blank" title="Corporate Banking">Corporate Banking</a></li></ul></div><div id="top-rhs-links"><ul><li><a href="https://www.online.citibank.co.in/products-services/banking/suvidha/suvidha-premium-account.htm?site=PORTAL&creative=NGX&section=TPTB01OA&agencyCode=XER&campaignCode=PLIPremiumDump0910&productCode=&eOfferCode=TPTB01OA" title="Open an Account">Open an Account</a><span>|</span></li><li><a href="/sitemap.htm" title="Site Map">Site Map</a></li></ul></div><form action="/portal/newgen/citigleresult.html" autocomplete="off" name="frm" id="cse-search-box" onsubmit="if(q.value==\'Search\'){q.value=\'\';this.style.fontWeight=\'bold\';}" > <div id="top-search"><div class="search"><input type="hidden" name="cx" value="012556927010794422044:xub2jikb_di" /><input type="hidden" name="cof" value="FORID:9;NB:1" /><input type="hidden" name="ie" value="UTF-8" /><input type="text" name="q" id="qsearch" size="31" value="Search"  onfocus="if(this.value==\'Search\'){this.value=\'\';this.style.fontWeight=\'bold\';}" onblur="if(this.value==\'\'){this.value=\'Search\';this.style.fontWeight=\'bold\';}" /></div><div class="search-btnbg"><button class="search-btn" type="submit" title="Search"></button></div></div></form></div><div class="bg-header"><div class="logo-container"><div class="logo" title="Citi"><a href="/"></a></div><div class="keywords"><a href="#" id="keywrds" onmouseover="mopen(\'m1\')" onmouseout="mclose();" title="Keywords/Quick Links">Keywords/Quick Links</a></div><div id="m1" style="display:none; position:relative; top:36px; margin:0; padding:0; float:right;z-index:1000; " onmouseover="mopen(\'m1\')" onmouseout="mclose();"> <span id="keywordf"></span><ul class="tpquicklinks-cc" style="position:absolute"><li><a title="Forms Download Center" href="/customerservice/download_forms.htm">Forms Download Center</a></li><li><a title="Instant IPIN" href="/products-services/online-services/internet-banking.htm">Instant IPIN</a></li><li><a title="Citibank\'s EPay" href="/products-services/online-services/epay.htm">Citibank\'s EPay</a></li><li><a title="Loan Online EMI Payment" href="/products-services/online-services/loan-online-emi-payment.htm" target="_blank">Loan Online EMI Payment</a></li><!--<li><a title="Debit Card - Cash Back offer"  href="https://www.online.citibank.co.in/ipl-offer/debit/ipl-debitcard-offer.htm?site=PORTAL&creative=NGX&section=TOPNAVKY&agencyCode=XER&campaignCode=&productCode=&eOfferCode=TOPNAVKY">Debit Card Offer - Get your<br /> Cash Back</a></li>--><li><a title="Share your feedback" href="https://www.online.citibank.co.in/portal/newgen/customer/feedback-form.htm?site=PORTAL&creative=NGX&section=TOPNAVKY&agencyCode=XER&campaignCode=&productCode=&eOfferCode=TOPNAVKY" target="_blank">Share your feedback</a></li></ul></div></div><div id="main-menu"><ul><li><a class="home" href="/" title="Home">Home</a></li><li><a class="products-services-active" title="Products &amp; Services" href="/products-services/products-services.htm">Product &amp; Services</a></li><li><a class="special-offers" href="/card-offers/special-offers.htm" title="Special Offers">Special Offers</a></li><li><a class="apply-now" href="/online-application/apply-now-online.htm" title="Apply Now">Apply Now</a> </li><li><a class="customer-service" href="/customerservice/home.htm" title="Customer Service">Customer Services</a></li></ul><div class="cash_back" ><a href="https://www.online.citibank.co.in/portal/newgen/cards/fuel/Ioc-apply-now.htm?site=PORTAL&creative=NGX&section=WMCTOP&agencyCode=XER&campaignCode=&productCode=&eOfferCode=WMCTOP"  title="IndianOil Citibank Platinum Credit Card"><img src="/products-services/prdserimg/IOC-icon.gif" /></a></div></div><div class="lopenid"><a title="Click here to Sign in to your account" href="javascript://" id="lopen" onClick="lopen(\'login-section\',event)" ></a></div></div></div> ');

}

function change_topmenu(id)
{
	if(id == "pands")
{	  
	document.getElementById("PandS").className ="products-services";
	}
}

function footerPage()
{
	document.write('<div id="footer" style="padding-top:17px!important;"><div class="footer-top"><div class="footer-top1"><span class="footer-lnk"><a title="citigroup.com"  href="http://www.citi.com/" target="_blank">citigroup.com</a></span></div>	<div class="footer-top2"> <div class="footer-lnk"><span class="txt-space"><a title="Schedule of Fees &amp; Charges" href="/soc/schedule-of-fees-and-charges.htm">Schedule of Fees &amp; Charges</a></span><span class="txt-space"><a title="Base Rate" href="/portal/newgen/images1/Baserate.pdf" target="_blank">Base Rate</a></span><span class="txt-space"><a title="Key Policies &amp; Commitments" href="/policies/key-policies-and-commitments.htm">Key Policies &amp; Commitments</a></span><span class="txt-space"><a title="Privacy" href="/privacy/privacy.htm">Privacy</a></span><span class="txt-space"><a title="Security" href="/products-services/online-services/online-security.htm">Security</a></span><span class="txt-space"><a title="Site Map" href="/sitemap.htm">Site Map</a></span></div> </div></div>  <div class="footer-bottom1"><div title="Citi" class="footer-logo"></div></div><div class="footer-bottom2"><span class="footer-txt">Citi.com is the global source of information about and access to financial services provided by the Citigroup family of companies.<br /> Copyright &copy; 2011 Citigroup Inc.</span> </div></div>')
}
function footerinner()
{
	document.write('<p style="padding-left: 22px;"><a title="Feedback" href="https://www.online.citibank.co.in/portal/citi_home_center.jsp?frameset=centerFramesetVis&framevar1=brandID&frameval1=cbxHmBID&framevar2=workID&frameval2=cbxindfeedpgWID&site=PORTAL&creative=NGX&section=PRDSERV&agencyCode=XER&campaignCode=&productCode=&eOfferCode=PRDSERV">Feedback</a> | <a title="Careers" href="/careers/careers-at-citi.htm" target="_blank">Careers</a> | <a title="Press Room" href="/press-room/citi-in-india.htm">Press Room</a></p>    <p class="homelink" style="padding: 3px 22px 3px; line-height: 14px; text-align: justify;"><strong>Products &amp; Services:</strong> <a title="Banking" href="/products-services/banking/bank-account/banking.htm">Banking</a> <span>|</span> <a title="Citigold Wealth Management" href="/products-services/banking/citigold/citigold.htm">Citigold Wealth Management</a> <span>|</span> <a title="Investments" href="/products-services/investments/investments-home.htm">Investments</a> <span>|</span> <a title="Insurance" href="/products-services/insurance/insurance.htm">Insurance</a> <span>|</span> <a title="Credit Card" href="/portal/newgen/seo/cards/credit-cards.htm">Credit Card</a> <span>|</span> <a title="Online Services" href="/products-services/online-services/online-services-home.htm">Online Services</a> <span>|</span> <a title="Mobile Services"  href="/products-services/online-services/citi-mobile.htm">Mobile Services</a> </p>')
}

function footerPageinner()
{
	document.write('<div id="footer" style="padding-top:17px!important;"><div class="footer-top"><div class="footer-top1"><span class="footer-lnk"><a href="#">citigroup.com</a></span></div>	<div class="footer-top2"> <div class="footer-lnk"><span class="txt-space"><a href="#">Schedule of Fees &amp; Charges</a></span><span class="txt-space"><a href="#">Key Policies &amp; Commitments</a></span><span class="txt-space"><a href="#">Privacy</a></span><span class="txt-space"><a href="#">Security</a></span><span class="txt-space"><a href="#">Site Map</a></span></div> </div></div>  <div class="footer-bottom1"><div title="Citi" class="footer-logo"></div></div><div class="footer-bottom2"><span class="footer-txt">Citi.com is the global source of information about and access to financial services provided by the Citigroup family of companies.<br /> Copyright &copy; 2010 Citigroup Inc.</span> </div></div>');
}


function logright()
{
	document.write('<div id="login-section"  style="display:none; position:absolute; margin-top:-77px; padding:0; margin-left:680px;" onClick="ids=0;lopen(\'login-section\',event)"  onmouseover="ids=0;lopen(\'login-section\',event)" ><div class="login-info"><h2>Login to Citibank Online</h2><div style="float:left; width:202px; height:20px;"><form name="login" autocomplete="off" action="" method="post" style="margin:0px;padding:0px;"><input type="hidden" name="Randnum" value="Login_Num"/> <input type="hidden" name="eOfferCode" value=""/>');document.write('<select id=\"type\" name=\"type\" class=\"login-input\">	<option class=\"option1\" value=\"\" 		selected=\"selected\">LOGIN</option>');if(pnz==1){for(i=0;i<num-1;i++)document.write('<option value="+zval[i]+">'+zval[i]+"</option>")}document.write('</select>');document.write('<span></form></span>');document.write('<button class="login-go" onclick="javascript:test1()" title="LOGIN"></button></div><p><a href="https://www.citibank.co.in/ssjsps/ssindex.do" target="_blank" title="Get your IPIN here">Get your IPIN here</a> to login to Citibank Online and for online purchases!</p><p>Credit Card payment from any bank - <a href="/products-services/online-services/epay.htm?eOfferCode=CINNTPTB" title="EPay Now">EPay Now</a></p><h2 class="apply" style="padding-top:7px;">Apply for Citibank Products</h2><select class="login-input" name="type" id="citi_prod"><option>Credit Cards</option><option>Banking Account</option><option>Loans</option><option>Investments</option><option>Insurance</option></select><button class="login-go" onclick="javascript:citi_products()" title="Apply for Citibank Products"></button></div></div>')
	}
	
	
	function showRewards(){

	document.getElementById('showrewards').style.visibility="visible";
}


var slideshow2_noFading = false;
var slideshow2_timeBetweenSlides =4000;	// Amount of time between each image(1000 = 1 second)
var slideshow2_fadingSpeed = 10;	// Speed of fading	(Lower value = faster)


var slideshow2_stats = new Array();

var slideshow2_slideIndex = new Array();	// Index of current image shown
var slideshow2_slideIndexNext = new Array();	// Index of next image shown
var slideshow2_imageDivs = new Array();	// Array of image divs(Created dynamically)
var slideshow2_currentOpacity = new Array();	// Initial opacity
var slideshow2_imagesInGallery = new Array();	// Number of images in gallery
var Opera = navigator.userAgent.indexOf('Opera')>=0?true:false;
function createParentDivs(imageIndex,divId)
{
	if(imageIndex==slideshow2_imagesInGallery[divId]){	
		showGallery(divId);
	}else{
		var imgObj = document.getElementById(divId + '_' + imageIndex);	
		if(Opera)imgObj.style.position = 'static';
		if(!slideshow2_imageDivs[divId])slideshow2_imageDivs[divId] = new Array();
		slideshow2_imageDivs[divId][slideshow2_imageDivs[divId].length] =  imgObj;

		imgObj.style.visibility = 'hidden';	
		imageIndex++;
		createParentDivs(imageIndex,divId);	
	}		
}

function showGallery(divId)
{
	if(slideshow2_slideIndex[divId]==-1)slideshow2_slideIndex[divId]=0; else slideshow2_slideIndex[divId]++;	// Index of next image to show
	if(slideshow2_slideIndex[divId]==slideshow2_imageDivs[divId].length)slideshow2_slideIndex[divId]=0;
	slideshow2_slideIndexNext[divId] = slideshow2_slideIndex[divId]+1;	// Index of the next next image
	if(slideshow2_slideIndexNext[divId]==slideshow2_imageDivs[divId].length)slideshow2_slideIndexNext[divId] = 0;

	
	slideshow2_currentOpacity[divId]=100;	// Reset current opacity

	// Displaying image divs
	slideshow2_imageDivs[divId][slideshow2_slideIndex[divId]].style.visibility = 'visible';
	if(Opera)slideshow2_imageDivs[divId][slideshow2_slideIndex[divId]].style.display = 'inline';
	if(navigator.userAgent.indexOf('Opera')<0){
		slideshow2_imageDivs[divId][slideshow2_slideIndexNext[divId]].style.visibility = 'visible';
	}
	
	if(document.all){	// IE rules
		slideshow2_imageDivs[divId][slideshow2_slideIndex[divId]].style.filter = 'alpha(opacity=100)';
		slideshow2_imageDivs[divId][slideshow2_slideIndexNext[divId]].style.filter = 'alpha(opacity=1)';
	}else{
		slideshow2_imageDivs[divId][slideshow2_slideIndex[divId]].style.opacity = 0.99;	// Can't use 1 and 0 because of screen flickering in FF
		slideshow2_imageDivs[divId][slideshow2_slideIndexNext[divId]].style.opacity = 0.01;
	}		
	

	tt=setTimeout('revealImage("' + divId + '")',slideshow2_timeBetweenSlides);		
}

function revealImage(divId)
{ 
    
	if(slideshow2_noFading){
		slideshow2_imageDivs[divId][slideshow2_slideIndex[divId]].style.visibility = 'hidden';
		if(Opera)slideshow2_imageDivs[divId][slideshow2_slideIndex[divId]].style.display = 'none';
		showGallery(divId);
		return;
	}
	slideshow2_currentOpacity[divId]--;
	if(document.all){
		slideshow2_imageDivs[divId][slideshow2_slideIndex[divId]].style.filter = 'alpha(opacity='+slideshow2_currentOpacity[divId]+')';
		slideshow2_imageDivs[divId][slideshow2_slideIndexNext[divId]].style.filter = 'alpha(opacity='+(100-slideshow2_currentOpacity[divId])+')';
	}else{
		slideshow2_imageDivs[divId][slideshow2_slideIndex[divId]].style.opacity = Math.max(0.01,slideshow2_currentOpacity[divId]/100);	
		// Can't use 1 and 0 because of screen flickering in FF
		slideshow2_imageDivs[divId][slideshow2_slideIndexNext[divId]].style.opacity = Math.min(0.99,(1 - (slideshow2_currentOpacity[divId]/100)));
	}
	if(slideshow2_currentOpacity[divId]>0){
		t=setTimeout('revealImage("' + divId + '")',slideshow2_fadingSpeed);
	}else{
		slideshow2_imageDivs[divId][slideshow2_slideIndex[divId]].style.visibility = 'hidden';	
		if(Opera)slideshow2_imageDivs[divId][slideshow2_slideIndex[divId]].style.display = 'none';		
		
		document.getElementById("content0").style.color='#0099FF';
		document.getElementById("content1").style.color='#0099FF';
		//document.getElementById("content2").style.color='#0099FF';
		//document.getElementById("content3").style.color='#0099FF';
		if (slideshow2_slideIndex[divId]==0)
		{
			document.getElementById("topban").href="#";
		}
			else if (slideshow2_slideIndex[divId]==1)
		{  
			document.getElementById("topban").href="#";
		}
			
		document.getElementById("content"+slideshow2_slideIndex[divId]).style.color='#FF6600';
		showGallery(divId);
		
	}
}

function initImageGallery(divId)
{
	var slideshow2_galleryContainer = document.getElementById(divId);
	
	
	slideshow2_slideIndex[divId] = -1;
	slideshow2_slideIndexNext[divId] = false;
	
	var galleryImgArray = slideshow2_galleryContainer.getElementsByTagName('IMG');
	for(var no=0;no<galleryImgArray.length;no++){
		galleryImgArray[no].id = divId + '_' + no;
	}
	
	slideshow2_imagesInGallery[divId] = galleryImgArray.length;
	createParentDivs(0,divId);		
	changeslide("0","imageSlideshowHolder");
	
}

function changeslide(id,divId)
{	clearTimeout(tt);clearTimeout(t);
slideshow2_imageDivs[divId][slideshow2_slideIndex[divId]].style.visibility = 'hidden';	
		if(Opera)slideshow2_imageDivs[divId][slideshow2_slideIndex[divId]].style.display = 'none';			slideshow2_slideIndex[divId]=id;
slideshow2_imageDivs[divId][id].style.visibility = 'hidden';	
		if(Opera)slideshow2_imageDivs[divId][id].style.display = 'block';	
	

		document.getElementById("content0").style.color='#0099FF';
		document.getElementById("content1").style.color='#0099FF';
		//document.getElementById("content2").style.color='#0099FF';
		//document.getElementById("content3").style.color='#0099FF';
		
		if (slideshow2_slideIndex[divId]==0)
		{
			document.getElementById("topban").href="javascript:MM_openBrWindow('http://www.google.co.in/','','width=760,height=499,top=70,left=125')";
		}
			else if (slideshow2_slideIndex[divId]==1)
		{  
			document.getElementById("topban").href="#";
		}
			
		
		document.getElementById("content"+slideshow2_slideIndex[divId]).style.color='#FF6600';

	
showGallery(divId);
		
		
}
var tt,t;

 var allHTMLTags = new Array();

    function getElementByClass(theClass,size) {

    var allHTMLTags=document.getElementsByTagName("*");

    for (i=0; i<allHTMLTags.length; i++) {

    if (allHTMLTags[i].className==theClass) {


    allHTMLTags[i].style.fontSize=size;

    }
    }
    }



function small(){
		document.getElementById('fontsizehold').style.visibility ="hidden";
	document.getElementById('fontsizehold').innerHTML = '<input style="cursor:default;" type="image" src="/portal/newgen/cards/tab/cc_images/a1.gif" alt="Original Font Size" title="Original Font Size" name="small" id="small" value="" onclick="small();" /><input style="cursor:pointer;" type="image" src="/portal/newgen/cards/tab/cc_images/b.gif" alt="Medium Font Size" title="Medium Font Size" value="" onclick="medium();" name="medium" id="medium" /><input style="cursor:pointer;" type="image" src="/portal/newgen/cards/tab/cc_images/c.gif" alt="Larger Font Size" title="Larger Font Size" name="large1" id="large1" value="" onclick="large(); doRefresh();" />';
	document.getElementById('fontsizehold').style.visibility ="visible";
	getElementByClass("topintrotext","12px");
	getElementByClass("txt9","9px");
	getElementByClass("txt10","10px");
	getElementByClass("txt11","11px");
	getElementByClass("txt15","11px");
	getElementByClass("superscript1","11px");	
	getElementByClass("plsheadtxt1","11px");
	getElementByClass("txt12","12px");
	getElementByClass("topbanerlistright","12px");
	getElementByClass("txt13","13px");
	getElementByClass("txt16","16px");
	getElementByClass("plusminus","11px");
	getElementByClass("blue12b","12px");
	getElementByClass("card_top3reason","16px");
	getElementByClass("txt11_blue","11px");
	getElementByClass("plusminus2","11px");
	getElementByClass("plsheadtxt2","11px");
	getElementByClass("txt14orange","14px");
	
}



function medium(){
		document.getElementById('fontsizehold').style.visibility ="hidden";
	document.getElementById('fontsizehold').innerHTML ='<input style="cursor:pointer;" type="image" src="/portal/newgen/cards/tab/cc_images/a.gif" alt="Original Font Size" title="Original Font Size" name="small" id="small" value="" onclick="small();" /><input style="cursor:default;" type="image" src="/portal/newgen/cards/tab/cc_images/b1.gif" alt="Medium Font Size" title="Medium Font Size" value="" onclick="medium();" name="medium" id="medium" /><input style="cursor:pointer;" type="image" src="/portal/newgen/cards/tab/cc_images/c.gif" alt="Larger Font Size" title="Larger Font Size" name="large1" id="large1" value="" onclick="large(); doRefresh();" />';
	document.getElementById('fontsizehold').style.visibility ="visible";
	getElementByClass("topintrotext","14px");
	getElementByClass("txt9","11px");
	getElementByClass("txt10","12px");
	getElementByClass("txt11","13px");
	getElementByClass("txt15","13px");
	getElementByClass("superscript1","13px");
	getElementByClass("plsheadtxt1","13px");
	getElementByClass("txt12","14px");
	getElementByClass("topbanerlistright","14px");
	getElementByClass("txt13","15px");
	getElementByClass("txt16","18px");
	getElementByClass("plusminus","13px");
	getElementByClass("blue12b","14px");
	getElementByClass("card_top3reason","18px");
    getElementByClass("txt11_blue","13px");
	getElementByClass("plusminus2","13px");
	getElementByClass("plsheadtxt2","13px");
	getElementByClass("blue12b","14px");
	getElementByClass("txt14orange","16px");
}

function large(){
	document.getElementById('fontsizehold').style.visibility ="hidden";
	document.getElementById('fontsizehold').innerHTML = '<input style="cursor:pointer;" type="image" src="/portal/newgen/cards/tab/cc_images/a.gif" alt="Original Font Size" title="Original Font Size" name="small" id="small" value="" onclick="small();" /><input style="cursor:pointer;" type="image" src="/portal/newgen/cards/tab/cc_images/b.gif" alt="Medium Font Size" title="Medium Font Size" value="" onclick="medium();" name="medium" id="medium" /><input style="cursor:default;" type="image" src="/portal/newgen/cards/tab/cc_images/c1.gif" alt="Larger Font Size" title="Larger Font Size" name="large1" id="large1" value="" onclick="large(); doRefresh();" />';
	document.getElementById('fontsizehold').style.visibility ="visible";
	getElementByClass("topintrotext","16px");
	getElementByClass("txt9","13px");
			getElementByClass("txt15","15px");
	getElementByClass("txt10","14px");
	getElementByClass("txt11","15px");
	getElementByClass("superscript1","15px");
	getElementByClass("plsheadtxt1","15px");
	getElementByClass("txt12","16px");
	getElementByClass("topbanerlistright","16px");
	getElementByClass("txt13","17px");
	getElementByClass("txt16","20px");
	getElementByClass("plusminus","15px");
	getElementByClass("blue12b","16px");
	getElementByClass("card_top3reason","20px");
	getElementByClass("txt11_blue","15px");
	getElementByClass("plusminus2","15px");
	getElementByClass("plsheadtxt2","15px");
	getElementByClass("blue12b","15px");
	getElementByClass("txt14orange","18px");
	
}

function doRefresh()
{
	
}

function wmc(re){
if( re == 'Image11' )
{
	
document.getElementById('app1').style.display = 'block';
document.getElementById('app2').style.display = 'none';
document.getElementById('app3').style.display = 'none';
document.getElementById('app4').style.display = 'none';
document.getElementById('Image11').src="/portal/newgen/cards/tab/cc_images/wmc-tab1-on.gif";
document.getElementById('Image12').src="/portal/newgen/cards/tab/cc_images/wmc-tab2-off.gif";
document.getElementById('Image13').src="/portal/newgen/cards/tab/cc_images/wmc-tab3-off.gif";
document.getElementById('Image14').src="/portal/newgen/cards/tab/cc_images/wmc-tab4-off.gif";
document.getElementById('Image11').parentNode.style.cursor="pointer";
document.getElementById('Image12').parentNode.style.cursor="pointer";
document.getElementById('Image13').parentNode.style.cursor="pointer";
document.getElementById('Image14').parentNode.style.cursor="pointer";
document.getElementById(re).parentNode.style.cursor="default";
}
else if( re == 'Image12' )
{
document.getElementById('app1').style.display = 'none';
document.getElementById('app2').style.display = 'block';
document.getElementById('app3').style.display = 'none';
document.getElementById('app4').style.display = 'none';
document.getElementById('Image11').src="/portal/newgen/cards/tab/cc_images/wmc-tab1-off.gif";
document.getElementById('Image12').src="/portal/newgen/cards/tab/cc_images/wmc-tab2-on.gif";
document.getElementById('Image13').src="/portal/newgen/cards/tab/cc_images/wmc-tab3-off.gif";
document.getElementById('Image14').src="/portal/newgen/cards/tab/cc_images/wmc-tab4-off.gif";
document.getElementById('Image11').parentNode.style.cursor="pointer";
document.getElementById('Image12').parentNode.style.cursor="pointer";
document.getElementById('Image13').parentNode.style.cursor="pointer";
document.getElementById('Image14').parentNode.style.cursor="pointer";
document.getElementById(re).parentNode.style.cursor="default";
}
else if( re == 'Image13' )
{
document.getElementById('app1').style.display = 'none';
document.getElementById('app2').style.display = 'none';
document.getElementById('app3').style.display = 'block';
document.getElementById('app4').style.display = 'none';
document.getElementById('Image11').src="/portal/newgen/cards/tab/cc_images/wmc-tab1-off.gif";
document.getElementById('Image12').src="/portal/newgen/cards/tab/cc_images/wmc-tab2-off.gif";
document.getElementById('Image13').src="/portal/newgen/cards/tab/cc_images/wmc-tab3-on.gif";
document.getElementById('Image14').src="/portal/newgen/cards/tab/cc_images/wmc-tab4-off.gif";
document.getElementById('Image11').parentNode.style.cursor="pointer";
document.getElementById('Image12').parentNode.style.cursor="pointer";
document.getElementById('Image13').parentNode.style.cursor="pointer";
document.getElementById('Image14').parentNode.style.cursor="pointer";
document.getElementById(re).parentNode.style.cursor="default";
}
else if( re == 'Image14' )
{
document.getElementById('app1').style.display = 'none';
document.getElementById('app2').style.display = 'none';
document.getElementById('app3').style.display = 'none';
document.getElementById('app4').style.display = 'block';
document.getElementById('Image11').src="/portal/newgen/cards/tab/cc_images/wmc-tab1-off.gif";
document.getElementById('Image12').src="/portal/newgen/cards/tab/cc_images/wmc-tab2-off.gif";
document.getElementById('Image13').src="/portal/newgen/cards/tab/cc_images/wmc-tab3-off.gif";
document.getElementById('Image14').src="/portal/newgen/cards/tab/cc_images/wmc-tab4-on.gif";
document.getElementById('Image11').parentNode.style.cursor="pointer";
document.getElementById('Image12').parentNode.style.cursor="pointer";
document.getElementById('Image13').parentNode.style.cursor="pointer";
document.getElementById('Image14').parentNode.style.cursor="pointer";
document.getElementById(re).parentNode.style.cursor="default";
}

}


function premier(re){
if( re == 'Image11' )
{	
document.getElementById('app1').style.display = 'block';
document.getElementById('app2').style.display = 'none';
document.getElementById('app3').style.display = 'none';
document.getElementById('app4').style.display = 'none';
document.getElementById('app5').style.display = 'none';
document.getElementById('Image11').src="/portal/newgen/cards/tab/cc_images/premier-tab1-on.gif";
document.getElementById('Image12').src="/portal/newgen/cards/tab/cc_images/premier-tab2-off.gif";
document.getElementById('Image13').src="/portal/newgen/cards/tab/cc_images/premier-tab3-off.gif";
document.getElementById('Image14').src="/portal/newgen/cards/tab/cc_images/premier-tab4-off.gif";
document.getElementById('Image15').src="/portal/newgen/cards/tab/cc_images/wmc-tab5new-off.gif";
document.getElementById('Image11').parentNode.style.cursor="pointer";
document.getElementById('Image12').parentNode.style.cursor="pointer";
document.getElementById('Image13').parentNode.style.cursor="pointer";
document.getElementById('Image14').parentNode.style.cursor="pointer";
document.getElementById('Image15').parentNode.style.cursor="pointer";
document.getElementById(re).parentNode.style.cursor="default";
}
else if( re == 'Image12' )
{
document.getElementById('app1').style.display = 'none';
document.getElementById('app2').style.display = 'block';
document.getElementById('app3').style.display = 'none';
document.getElementById('app4').style.display = 'none';
document.getElementById('app5').style.display = 'none';
document.getElementById('Image11').src="/portal/newgen/cards/tab/cc_images/premier-tab1-off.gif";
document.getElementById('Image12').src="/portal/newgen/cards/tab/cc_images/premier-tab2-on.gif";
document.getElementById('Image13').src="/portal/newgen/cards/tab/cc_images/premier-tab3-off.gif";
document.getElementById('Image14').src="/portal/newgen/cards/tab/cc_images/premier-tab4-off.gif";
document.getElementById('Image15').src="/portal/newgen/cards/tab/cc_images/wmc-tab5new-off.gif";
document.getElementById('Image11').parentNode.style.cursor="pointer";
document.getElementById('Image12').parentNode.style.cursor="pointer";
document.getElementById('Image13').parentNode.style.cursor="pointer";
document.getElementById('Image14').parentNode.style.cursor="pointer";
document.getElementById('Image15').parentNode.style.cursor="pointer";
document.getElementById(re).parentNode.style.cursor="default";
}
else if( re == 'Image13' )
{
document.getElementById('app1').style.display = 'none';
document.getElementById('app2').style.display = 'none';
document.getElementById('app3').style.display = 'block';
document.getElementById('app4').style.display = 'none';
document.getElementById('app5').style.display = 'none';
document.getElementById('Image11').src="/portal/newgen/cards/tab/cc_images/premier-tab1-off.gif";
document.getElementById('Image12').src="/portal/newgen/cards/tab/cc_images/premier-tab2-off.gif";
document.getElementById('Image13').src="/portal/newgen/cards/tab/cc_images/premier-tab3-on.gif";
document.getElementById('Image14').src="/portal/newgen/cards/tab/cc_images/premier-tab4-off.gif";
document.getElementById('Image15').src="/portal/newgen/cards/tab/cc_images/wmc-tab5new-off.gif";
document.getElementById('Image11').parentNode.style.cursor="pointer";
document.getElementById('Image12').parentNode.style.cursor="pointer";
document.getElementById('Image13').parentNode.style.cursor="pointer";
document.getElementById('Image14').parentNode.style.cursor="pointer";
document.getElementById('Image15').parentNode.style.cursor="pointer";
document.getElementById(re).parentNode.style.cursor="default";
}
else if( re == 'Image14' )
{
document.getElementById('app1').style.display = 'none';
document.getElementById('app2').style.display = 'none';
document.getElementById('app3').style.display = 'none';
document.getElementById('app4').style.display = 'block';
document.getElementById('app5').style.display = 'none';
document.getElementById('Image11').src="/portal/newgen/cards/tab/cc_images/premier-tab1-off.gif";
document.getElementById('Image12').src="/portal/newgen/cards/tab/cc_images/premier-tab2-off.gif";
document.getElementById('Image13').src="/portal/newgen/cards/tab/cc_images/premier-tab3-off.gif";
document.getElementById('Image14').src="/portal/newgen/cards/tab/cc_images/premier-tab4-on.gif";
document.getElementById('Image15').src="/portal/newgen/cards/tab/cc_images/wmc-tab5new-off.gif";
document.getElementById('Image11').parentNode.style.cursor="pointer";
document.getElementById('Image12').parentNode.style.cursor="pointer";
document.getElementById('Image13').parentNode.style.cursor="pointer";
document.getElementById('Image14').parentNode.style.cursor="pointer";
document.getElementById('Image15').parentNode.style.cursor="pointer";
document.getElementById(re).parentNode.style.cursor="default";
}
else if( re == 'Image15' )
{
document.getElementById('app1').style.display = 'none';
document.getElementById('app2').style.display = 'none';
document.getElementById('app3').style.display = 'none';
document.getElementById('app4').style.display = 'none';
document.getElementById('app5').style.display = 'block';
document.getElementById('Image11').src="/portal/newgen/cards/tab/cc_images/premier-tab1-off.gif";
document.getElementById('Image12').src="/portal/newgen/cards/tab/cc_images/premier-tab2-off.gif";
document.getElementById('Image13').src="/portal/newgen/cards/tab/cc_images/premier-tab3-off.gif";
document.getElementById('Image14').src="/portal/newgen/cards/tab/cc_images/premier-tab4-off.gif";
document.getElementById('Image15').src="/portal/newgen/cards/tab/cc_images/wmc-tab5new-on.gif";
document.getElementById('Image11').parentNode.style.cursor="pointer";
document.getElementById('Image12').parentNode.style.cursor="pointer";
document.getElementById('Image13').parentNode.style.cursor="pointer";
document.getElementById('Image14').parentNode.style.cursor="pointer";
document.getElementById('Image15').parentNode.style.cursor="pointer";
document.getElementById(re).parentNode.style.cursor="default";
}
}


function showhide22(src,img){
	var imgopen = '/portal/newgen/cards/tab/cc_images/cc-minus.gif';
	var imgclose = '/portal/newgen/cards/tab/cc_images/cc-plus.gif';

		if(document.getElementById(src).style.display == 'none'){
			document.getElementById(src).style.display = 'block';
			document.getElementById(img).src = imgopen;

		}
		else 
		{
			document.getElementById(src).style.display = 'none';
			document.getElementById(img).src = imgclose;
		}
}


/*  Tool tip start here  */

function hideDiv()
{
	document.getElementById('Layer1').style.display="none";
}
function showDiv()
{
	document.getElementById('Layer1').style.display="block";
}

/*end */

var dw_event = {
  
  add: function(obj, etype, fp, cap) {
    cap = cap || false;
    if (obj.addEventListener) obj.addEventListener(etype, fp, cap);
    else if (obj.attachEvent) obj.attachEvent("on" + etype, fp);
  }, 

  remove: function(obj, etype, fp, cap) {
    cap = cap || false;
    if (obj.removeEventListener) obj.removeEventListener(etype, fp, cap);
    else if (obj.detachEvent) obj.detachEvent("on" + etype, fp);
  }, 

  DOMit: function(e) { 
    e = e? e: window.event;
    e.tgt = e.srcElement? e.srcElement: e.target;
    
    if (!e.preventDefault) e.preventDefault = function () { return false; }
    if (!e.stopPropagation) e.stopPropagation = function () { if (window.event) window.event.cancelBubble = true; }
        
    return e;
  }
  
}
var viewport = {
  getWinWidth: function () {
    this.width = 0;
    if (window.innerWidth) this.width = window.innerWidth - 18;
    else if (document.documentElement && document.documentElement.clientWidth) 
  		this.width = document.documentElement.clientWidth;
    else if (document.body && document.body.clientWidth) 
  		this.width = document.body.clientWidth;
  },
  
  getWinHeight: function () {
    this.height = 0;
    if (window.innerHeight) this.height = window.innerHeight - 18;
  	else if (document.documentElement && document.documentElement.clientHeight) 
  		this.height = document.documentElement.clientHeight;
  	else if (document.body && document.body.clientHeight) 
  		this.height = document.body.clientHeight;
  },
  
  getScrollX: function () {
    this.scrollX = 0;
  	if (typeof window.pageXOffset == "number") this.scrollX = window.pageXOffset;
  	else if (document.documentElement && document.documentElement.scrollLeft)
  		this.scrollX = document.documentElement.scrollLeft;
  	else if (document.body && document.body.scrollLeft) 
  		this.scrollX = document.body.scrollLeft; 
  	else if (window.scrollX) this.scrollX = window.scrollX;
  },
  
  getScrollY: function () {
    this.scrollY = 0;    
    if (typeof window.pageYOffset == "number") this.scrollY = window.pageYOffset;
    else if (document.documentElement && document.documentElement.scrollTop)
  		this.scrollY = document.documentElement.scrollTop;
  	else if (document.body && document.body.scrollTop) 
  		this.scrollY = document.body.scrollTop; 
  	else if (window.scrollY) this.scrollY = window.scrollY;
  },
  
  getAll: function () {
    this.getWinWidth(); this.getWinHeight();
    this.getScrollX();  this.getScrollY();
  }
  
}
var Tooltip = {
    followMouse: true,
    offX: 8,
    offY: 12,
    tipID: "tipDiv",
    showDelay: 100,
    hideDelay: 200,
    
    ready:false, timer:null, tip:null, 
  
    init: function() {  
        if ( document.createElement && document.body && typeof document.body.appendChild != "undefined" ) {
            if ( !document.getElementById(this.tipID) ) {
                var el = document.createElement("DIV");
                el.id = this.tipID; document.body.appendChild(el);
            }
            this.ready = true;
        }
    },
    
    show: function(e, msg) {
        if (this.timer) { clearTimeout(this.timer);	this.timer = 0; }
        this.tip = document.getElementById( this.tipID );
        if (this.followMouse) 
            dw_event.add( document, "mousemove", this.trackMouse, true );
        this.writeTip("");  
        this.writeTip(msg);
        viewport.getAll();
        this.positionTip(e);
        this.timer = setTimeout("Tooltip.toggleVis('" + this.tipID + "', 'visible')", this.showDelay);
    },
    
    writeTip: function(msg) {
        if ( this.tip && typeof this.tip.innerHTML != "undefined" ) this.tip.innerHTML = msg;
    },
    
    positionTip: function(e) {
        if ( this.tip && this.tip.style ) {
            
            var x = e.pageX? e.pageX: e.clientX + viewport.scrollX;
            var y = e.pageY? e.pageY: e.clientY + viewport.scrollY;
    
            if ( x + this.tip.offsetWidth + this.offX > viewport.width + viewport.scrollX ) {
                x = x - this.tip.offsetWidth - this.offX;
                if ( x < 0 ) x = 0;
            } else x = x + this.offX;
        
            if ( y + this.tip.offsetHeight + this.offY > viewport.height + viewport.scrollY ) {
                y = y - this.tip.offsetHeight - this.offY;
                if ( y < viewport.scrollY ) y = viewport.height + viewport.scrollY - this.tip.offsetHeight;
            } else y = y + this.offY;
            
            this.tip.style.left = x + "px"; this.tip.style.top = y + "px";
        }
    },
    
    hide: function() {
        if (this.timer) { clearTimeout(this.timer);	this.timer = 0; }
        this.timer = setTimeout("Tooltip.toggleVis('" + this.tipID + "', 'hidden')", this.hideDelay);
        if (this.followMouse) 
            dw_event.remove( document, "mousemove", this.trackMouse, true );
        this.tip = null; 
    },

    toggleVis: function(id, vis) { 
        var el = document.getElementById(id);
        if (el) el.style.visibility = vis;
		if(vis=='hidden'){
			  el.style.left = "0px"; el.style.top = "0px";
		}
		
    },
    
    trackMouse: function(e) {
    	e = dw_event.DOMit(e);
     	Tooltip.positionTip(e);
    }
    
}
function doTooltip(e, msg) {
  if ( typeof Tooltip == "undefined" || !Tooltip.ready ) return;
  Tooltip.show(e, msg);
}

function hideTip() {
  if ( typeof Tooltip == "undefined" || !Tooltip.ready ) return;
  Tooltip.hide();
}


function worldmoney(id,total){
img=id.substring(1,2,3,4);
var tabnames = ['wmc-tab1','wmc-tab2','wmc-tab4new','wmc-tab5new'];
for(i=1; i<=total; i++){
document.getElementById('app'+i).style.display = 'none';
document.getElementById('_'+i+tabnames[i-1]).src="/portal/newgen/cards/tab/cc_images/"+tabnames[i-1]+"-off.gif";
document.getElementById('_'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('app'+img).style.display = 'block';
document.getElementById(id).src="/portal/newgen/cards/tab/cc_images/"+tabnames[img-1]+"-on.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}

function rewardsplat(id,total){
img=id.substring(1,2,3,4);
var tabnames = ['rpc-tab1','rpc-tab2','rpc-tab4new','rpc-tab5new'];
for(i=1; i<=total; i++){
document.getElementById('app'+i).style.display = 'none';
document.getElementById('_'+i+tabnames[i-1]).src="/portal/newgen/cards/tab/cc_images/"+tabnames[i-1]+"-off.gif";
document.getElementById('_'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('app'+img).style.display = 'block';
document.getElementById(id).src="/portal/newgen/cards/tab/cc_images/"+tabnames[img-1]+"-on.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}
	function ultimacard(re){
if( re == 'Image11' )
{	
document.getElementById('app1').style.display = 'block';
document.getElementById('app2').style.display = 'none';

document.getElementById('Image11').src="/portal/newgen/cards/tab/cc_images/rpc-tab2-on.gif";
document.getElementById('Image12').src="/portal/newgen/cards/tab/cc_images/rpc-tab5new-off.gif";

document.getElementById('Image11').parentNode.style.cursor="pointer";
document.getElementById('Image12').parentNode.style.cursor="pointer";

document.getElementById(re).parentNode.style.cursor="default";
}
else if( re == 'Image12' )
{
document.getElementById('app1').style.display = 'none';
document.getElementById('app2').style.display = 'block';

document.getElementById('Image11').src="/portal/newgen/cards/tab/cc_images/rpc-tab2-off.gif";
document.getElementById('Image12').src="/portal/newgen/cards/tab/cc_images/rpc-tab5new-on.gif";

document.getElementById('Image11').parentNode.style.cursor="pointer";
document.getElementById('Image12').parentNode.style.cursor="pointer";

document.getElementById(re).parentNode.style.cursor="default";
}

}

function showhide11(src,img){
	var imgopen = '/portal/newgen/cards/tab/cc_images/cc-minus.gif';
	var imgclose = '/portal/newgen/cards/tab/cc_images/cc-plus.gif';

		if(document.getElementById(src).style.display == 'none'){
			document.getElementById(src).style.display = 'block';
			document.getElementById(img).src = imgopen;

		}
		else 
		{
			document.getElementById(src).style.display = 'none';
			document.getElementById(img).src = imgclose;
		}
}
