function reset1(){document.frm.reset();}
document.write('<script type="text/javascript" src="/portal/new-js/flash_detect_min.js"></script>');
document.write('<script type="text/javascript" src="/portal/newgen/js/logincookie.js"></script>');
function beauty()
{
	document.resetbeauty.reset();

}
document.write('<script type="text/javascript" src="/portal/newgen/js/logincookie.js"></script>');
function MM_openBrWindow(theURL,winName,features) { 
  window.open(theURL,winName,features);
}

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 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 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&creative=NGX&section=CINNTPTB&agencyCode=XER&campaignCode=&productCode=&eOfferCode=CINNTPTB"}if(document.getElementById('citi_prod').selectedIndex==1){window.location="/products-services/banking/bank-account/open-a-bank-account.htm?eOfferCode=CINNTPTB"}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=CINNTPTB&agencyCode=XER&campaignCode=&productCode=&eOfferCode=CINNTPTB"}if(document.getElementById('citi_prod').selectedIndex==3){window.location="/products-services/investments/investments-home.htm?eOfferCode=CINNTPTB"}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=CINNTPTB&agencyCode=XER&campaignCode=&productCode=&eOfferCode=CINNTPTB"}}
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;
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 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(/card-offers/special-images/Keywords_bg.gif); background-repeat:no-repeat; filter:alpha(opacity=0); " frameborder="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');

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("?"));	

}

var disclaimerpages=Array("form_jet_plat.htm","form_jet_gold.htm");
function left_ShowHide(src,img,obj){
	var imgopen = '/card-offers/special-images/arrow_blue11.gif';
	var imgclose = '/card-offers/special-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 checkinarray(value,arry) {
	var i;
	for (i=0; i < arry.length; i++) {
		if (arry[i] == value) {
			return true;
		}
	}
	return false;
}
var linklist=new Array();

function showinnerlevel()
{



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="/card-offers/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="/card-offers/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" ) { 
	
	if(ullia[i].href.substr(ullia[i].href.lastIndexOf("/")+1,ullia[i].href.length)==currentpage){
	ullia[i].parentNode.innerHTML='<img src="/card-offers/images/arrow_blue1.gif" alt="" class="arrow1"  id="img10" style="margin-bottom:5px;" /><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>";
	}		
	}
	}
	
}

var currentpagenew=location.href.substr(location.href.lastIndexOf("/")+1,location.href.length)
currentpagenew=currentpagenew.substr(currentpagenew.lastIndexOf("#")+1,currentpagenew.length)

for ( i=0; i<ulli.length; i++){
	linklist[i]=ulli[i].innerHTML;
	

			if (ulli[i].className=="lisubheadadj" ) { 
			
			
            var links=ulli[i].childNodes[0].href.substr(ulli[i].childNodes[0].href.lastIndexOf("/")+1,ulli[i].childNodes[0].href.length);
			links=links.substr(links.lastIndexOf("#")+1,links.length);
			
			var currentotherpage=location.href.substr(location.href.lastIndexOf("/")+1,location.href.length)
				if(currentotherpage.lastIndexOf("#")!=-1)
				{
				currentotherpage=currentotherpage.substr(0,currentotherpage.lastIndexOf("#"));	
				}

				if(currentotherpage.lastIndexOf("?")!=-1)
				{
				currentotherpage=currentotherpage.substr(0,currentotherpage.lastIndexOf("?"));	
				}

			//alert(currentotherpage);
			if(currentotherpage=="credit-card-offers-gourmet-gurgaon.htm")
			currentpagenew="cGourmet";			
			if(currentotherpage=="credit-card-offers-gourmet-bangalore.htm")
			currentpagenew="cGourmet";			
			if(currentotherpage=="credit-card-offers-gourmet-chennai.htm")
			currentpagenew="cGourmet";			
			if(currentotherpage=="credit-card-offers-gourmet-delhi.htm")
			currentpagenew="cGourmet";			
			if(currentotherpage=="credit-card-offers-gourmet-mumbai.htm")
			currentpagenew="cGourmet";
			if(currentotherpage=="credit-card-offers-trident-hotel.htm")
			currentpagenew="ctravel";
			
			if(currentotherpage=="debit-offers-gourmet-bangalore.htm")
			currentpagenew="dGourmet";
			if(currentotherpage=="debit-offers-gourmet-chennai.htm")
			currentpagenew="dGourmet";
			if(currentotherpage=="debit-offers-gourmet-mumbai.htm")
			currentpagenew="dGourmet";
			if(currentotherpage=="debit-offers-gourmet-delhi.htm")
			currentpagenew="dGourmet";
			if(currentotherpage=="debit-offers-gourmet-pune.htm")
			currentpagenew="dGourmet";
			
			if(currentotherpage=="debit-offers-gourmet-hyderabad.htm")
			currentpagenew="dGourmet";
			
			if(currentotherpage=="debit-offers-lifestyle.htm")
			currentpagenew="dLifestyle";
			if(currentotherpage=="debit-offers-half-price-wednesdays.htm")
			currentpagenew="dWednesdays";
			
			
			if(links==currentpagenew){
			
				 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='/card-offers/images/arrow_blue11.gif';
				   }else
				   {
				 ulli[i].parentNode.parentNode.previousSibling.style.fontWeight="bold";
				   ulli[i].parentNode.parentNode.previousSibling.childNodes[0].src='/card-offers/images/arrow_blue11.gif';
				   }
				 
				 
				 
			}else
			{
				
			}
			}
			
			
		if (ulli[i].className=="leftshowhide_sub_sub" ) { 
		if(ulli[i].childNodes[0].href.substr(ulli[i].childNodes[0].href.lastIndexOf("/")+1,ulli[i].childNodes[0].href.length)==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="bold";
    	 ulli[i].parentNode.parentNode.parentNode.parentNode.previousSibling.previousSibling.className ='highlightelement1';
		 ulli[i].parentNode.parentNode.parentNode.parentNode.previousSibling.previousSibling.childNodes[0].src='/card-offers/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='/card-offers/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(location.href.lastIndexOf("#")!=-1)
			tabHightlight(currentpagenew.substr(0,1)+currentpagenew)
			
			document.getElementById("dvleft").style.visibility='visible';
			
}
var innerText;
 

	
	
function leftnavhighlight(id)
{
document.getElementById('icon-nav').innerHTML='<ul><li class="dining"><a href="javascript:tabHightlight(\'ccGourmet\');leftnavhighlight(\'1\');" id="leftnav_1">Dining</a></li><li class="shopping"><a href="javascript:tabHightlight(\'ccshopping\');leftnavhighlight(\'2\');" id="leftnav_2">Shopping</a></li>  <li class="entertainment"><a href="javascript:tabHightlight(\'ccentertainment\');leftnavhighlight(\'3\');" id="leftnav_3">Entertainment</a></li> <li class="travel"><a href="javascript:tabHightlight(\'cctravel\');leftnavhighlight(\'4\');" id="leftnav_4">Travel</a></li> <li class="others"><a href="javascript:tabHightlight(\'ccothers\');leftnavhighlight(\'5\');" id="leftnav_5">Others</a></li></ul>';
document.getElementById('leftnav_'+id).parentNode.className=document.getElementById('leftnav_'+id).parentNode.className+'1';

}
	

function tabfunctionmain(id,total){
img=id.substring(1,2);
var tabnames = ['so-cc-tab','so-dc-tab'];
for(i=1; i<=total; i++){
document.getElementById('rehome'+i).style.display = 'none';
document.getElementById('_'+i+tabnames[i-1]).src="/card-offers/special-images/"+tabnames[i-1]+"-off.gif";
document.getElementById('_'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('rehome'+img).style.display = 'block';
document.getElementById(id).src="/card-offers/special-images/"+tabnames[img-1]+"-on.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}



function tabfunctionnhome(id,total){
img=id.substring(1,2,3,4);
var tabnames = ['gourmet-tab','travel-tab','entertainment-tab','others-tab'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('_'+i+tabnames[i-1]).src="/card-offers/special-images/"+tabnames[i-1]+"-off.gif";
document.getElementById('_'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/card-offers/special-images/"+tabnames[img-1]+"-on.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}



function tabfunctionnhome1(id,total){
img=id.substring(1,2,3,4);
var tabnames = ['gourmetdc-tab','traveldc-tab','pricedc-tab','othersdc-tab'];
for(i=1; i<=total; i++){
document.getElementById('remain'+i).style.display = 'none';
document.getElementById('_'+i+tabnames[i-1]).src="/card-offers/special-images/"+tabnames[i-1]+"-off.gif";
document.getElementById('_'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('remain'+img).style.display = 'block';
document.getElementById(id).src="/card-offers/special-images/"+tabnames[img-1]+"-on.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}


function homesel()
{

if(document.getElementById("homeselect").value=="1")
{
document.getElementById("home1").style.display="block";
document.getElementById("home2").style.display="none";
document.getElementById("home3").style.display="none";
document.getElementById("home4").style.display="none";
document.getElementById("home5").style.display="none";


}
if(document.getElementById("homeselect").value=="2")
{
document.getElementById("home1").style.display="none";
document.getElementById("home2").style.display="block";
document.getElementById("home3").style.display="none";
document.getElementById("home4").style.display="none";
document.getElementById("home5").style.display="none";
}
if(document.getElementById("homeselect").value=="3")
{
document.getElementById("home1").style.display="none";
document.getElementById("home2").style.display="none";
document.getElementById("home3").style.display="block";
document.getElementById("home4").style.display="none";
document.getElementById("home5").style.display="none";

}
if(document.getElementById("homeselect").value=="4")
{
document.getElementById("home1").style.display="none";
document.getElementById("home2").style.display="none";
document.getElementById("home3").style.display="none";
document.getElementById("home4").style.display="block";
document.getElementById("home5").style.display="none";
}
if(document.getElementById("homeselect").value=="5")
{
document.getElementById("home1").style.display="none";
document.getElementById("home2").style.display="none";
document.getElementById("home3").style.display="none";
document.getElementById("home4").style.display="none";
document.getElementById("home5").style.display="block";
}
}




function homeselone()
{

if(document.getElementById("cityselect1").value=="1")
{
document.getElementById("homea").style.display="block";
document.getElementById("homeb").style.display="none";
document.getElementById("homec").style.display="none";
document.getElementById("homed").style.display="none";
document.getElementById("homee").style.display="none";
document.getElementById("homef").style.display="none";
document.getElementById("homeg").style.display="none";
}
if(document.getElementById("cityselect1").value=="2")
{
document.getElementById("homea").style.display="none";
document.getElementById("homeb").style.display="block";
document.getElementById("homec").style.display="none";
document.getElementById("homed").style.display="none";
document.getElementById("homee").style.display="none";
document.getElementById("homef").style.display="none";
document.getElementById("homeg").style.display="none";
}
if(document.getElementById("cityselect1").value=="3")
{
document.getElementById("homea").style.display="none";
document.getElementById("homeb").style.display="none";
document.getElementById("homec").style.display="block";
document.getElementById("homed").style.display="none";
document.getElementById("homee").style.display="none";
document.getElementById("homef").style.display="none";
document.getElementById("homeg").style.display="none";
}
if(document.getElementById("cityselect1").value=="4")
{
document.getElementById("homea").style.display="none";
document.getElementById("homeb").style.display="none";
document.getElementById("homec").style.display="none";
document.getElementById("homed").style.display="block";
document.getElementById("homee").style.display="none";
document.getElementById("homef").style.display="none";
document.getElementById("homeg").style.display="none";
}
if(document.getElementById("cityselect1").value=="5")
{
document.getElementById("homea").style.display="none";
document.getElementById("homeb").style.display="none";
document.getElementById("homec").style.display="none";
document.getElementById("homed").style.display="none";
document.getElementById("homee").style.display="block";
document.getElementById("homef").style.display="none";
document.getElementById("homeg").style.display="none";
}
if(document.getElementById("cityselect1").value=="6")
{
document.getElementById("homea").style.display="none";
document.getElementById("homeb").style.display="none";
document.getElementById("homec").style.display="none";
document.getElementById("homed").style.display="none";
document.getElementById("homee").style.display="none";
document.getElementById("homef").style.display="block";
document.getElementById("homeg").style.display="none";
}
if(document.getElementById("cityselect1").value=="7")
{
document.getElementById("homea").style.display="none";
document.getElementById("homeb").style.display="none";
document.getElementById("homec").style.display="none";
document.getElementById("homed").style.display="none";
document.getElementById("homee").style.display="none";
document.getElementById("homef").style.display="none";
document.getElementById("homeg").style.display="block";
}
}

function topPage()
{

document.write('<div class="follow">');

					
					document.write('<a class="fb" href=\"JavaScript:void(0);\" onclick="MM_openBrWindow(\'/card-offers/inh-fb-disclaimer.htm\',\'\',\'width=760,height=452,top=70,left=125\');\" title=\"Follow us on facebook\"></a> <a class="li" href=\"JavaScript:void(0);\" onclick="MM_openBrWindow(\'/portal/LinkedIn/linkedin-disclaimer.htm\',\'\',\'width=760,height=452,top=100,left=100\');\" title=\"Follow us on LinkedIn\"></a></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="javascript:void(0);" 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; " 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" title="Products &amp; Services" href="/products-services/products-services.htm">Product &amp; Services</a></li><li><a class="special-offers-active" 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><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 footerPage()
{
	document.write('<div id="footer" style="padding-top:17px!important;"><div class="footer-top"><div class="footer-top1"><span class="footer-lnk"><a 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 href="/soc/schedule-of-fees-and-charges.htm">Schedule of Fees &amp; Charges</a></span><span class="txt-space"><a href="/portal/newgen/images1/Baserate.pdf" target="_blank">Base Rate</a></span><span class="txt-space"><a href="/policies/key-policies-and-commitments.htm">Key Policies &amp; Commitments</a></span><span class="txt-space"><a href="/privacy/privacy.htm">Privacy</a></span><span class="txt-space"><a href="/products-services/online-services/online-security.htm">Security</a></span><span class="txt-space"><a 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 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="http://www.citi.com/">citigroup.com</a></span></div>	<div class="footer-top2"> <div class="footer-lnk"><span class="txt-space"><a href="/soc/schedule-of-fees-and-charges.htm">Schedule of Fees &amp; Charges</a></span><span class="txt-space"><a href="/portal/newgen/images1/Baserate.pdf">Base Rate</a></span><span class="txt-space"><a href="/policies/key-policies-and-commitments.htm">Key Policies &amp; Commitments</a></span><span class="txt-space"><a href="/privacy/privacy.htm">Privacy</a></span><span class="txt-space"><a href="/products-services/online-services/online-security.htm">Security</a></span><span class="txt-space"><a 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><a href="#top"><img src="/portal/newgen/seo/cards/new-images/page-top.gif" class="pagetop1" alt="Page Top" title="Page Top" border="0" /></a></div>');
}



function footerinner()
{
	document.write('<p style="padding-left: 22px;"><a href="https://www.online.citibank.co.in/portal/citi_home_center.jsp?frameset=centerFramesetVis&amp;framevar1=brandID&amp;frameval1=cbxHmBID&amp;framevar2=workID&amp;frameval2=cbxindfeedpgWID&amp;site=PORTAL&amp;creative=NGX&amp;section=SPLOFFDBCK&amp;agencyCode=XER&amp;campaignCode=&amp;productCode=&amp;eOfferCode=SPLOFFDBCK">Feedback</a> | <a href="/careers/careers-at-citi.htm" onclick="return ! window.open(this.href);">Careers</a> | <a 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 href="/products-services/banking/bank-account/banking.htm">Banking</a> <span>|</span> <a href="/products-services/banking/citigold/citigold.htm">Citigold Wealth Management</a> <span>|</span> <a href="/products-services/investments/investments-home.htm">Investments</a> <span>|</span> <a href="/products-services/insurance/insurance.htm">Insurance</a> <span>|</span> <a href="/portal/newgen/seo/cards/credit-cards.htm">Credit Card</a> <span>|</span> <a href="/products-services/online-services/online-services-home.htm">Online Services</a> <span>|</span> <a href="/products-services/online-services/citi-mobile.htm">Mobile Services</a> </p>');
}
function logright()
{
	document.write('<div id="login-section"  style="display:none; position:absolute; margin-top:-77px; padding:0; margin-left:680px; z-index:5;" 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 leftnav()
{

	document.getElementById('leftnavid').innerHTML='<div id="leftnavidnew"></div> <div id="icon-nav"><ul><li class="dining"><a href="/card-offers/special-offers.htm?lv=dining" id="leftnav_1">Dining</a></li><li class="shopping"><a href="/card-offers/special-offers.htm?lv=shopping" id="leftnav_2">Shopping</a></li>  <li class="entertainment"><a href="/card-offers/special-offers.htm?lv=entertainment" id="leftnav_3">Entertainment</a></li> <li class="travel"><a href="/card-offers/special-offers.htm?lv=travel" id="leftnav_4">Travel</a></li> <li class="others"><a href="/card-offers/special-offers.htm?lv=others" id="leftnav_5">Others</a></li></ul></div><div class="social-band"> <a href="JavaScript:void(0);" onclick="twitterdis(); "><img alt="twitter" title="twitter" src="/card-offers/images/twitter.jpg" /></a> <a href="JavaScript:void(0);" onclick="facebookdis();"><img alt="facebook" title="facebook" src="/card-offers/images/facebook.jpg" /></a> </div><div class="mof"><a href="https://www.online.citibank.co.in/portal/newgen/cards/tab/apply-now.htm?category=shopping&site=PORTAL&creative=NGX&section=SPLOLNBAN2&agencyCode=XER&campaignCode=&productCode=&eOfferCode=SPLOLNBAN2"><img style="border:0" alt="MISSING OUT ON OFFERS?" title="MISSING OUT ON OFFERS?" src="/card-offers/images/mising-out.gif" /></a></div>';
	}

	
function facebookdis()
{
var u = location.href;
var ecode='';
var txt='';
if(u.indexOf('/card-offers/special-offers.htm')!=-1)
{
ecode='GOUSOFB';
txt='We recommend these fabulous offers that have been lined up for you!';
}
if(u.indexOf('/card-offers/mumbai.htm')!=-1)
{
ecode='GOUMUMFB';
txt='We recommend these fabulous offers that have been lined up for you!';
}

if(u.indexOf('/card-offers/gurgaon.htm')!=-1)
{
ecode='GOUGURFB';
txt='We recommend these fabulous offers that have been lined up for you!';
}

if(u.indexOf('/card-offers/special-offers.htm')!=-1)
{
ecode='GOUSOFB';
txt='We recommend these fabulous offers that have been lined up for you!';
}

if(u.indexOf('/card-offers/delhi.htm')!=-1)
{
ecode='GOUDELFB';
txt='We recommend these fabulous offers that have been lined up for you!';
}

if(u.indexOf('/card-offers/dining.htm')!=-1)
{
ecode='GOUDINEFB';
txt='Explore sumptuous offers - Check out the irresistible Deal awaiting you in your city. Get set for the feast!';
}

if(u.indexOf('/card-offers/debit-card-pune.htm')!=-1)
{
ecode='GOUDPUNFB';
txt='Explore sumptuous offers - Check out the irresistible Deal awaiting you in your city. Get set for the feast!';
}

if(u.indexOf('/card-offers/debit-card-mumbai.htm')!=-1)
{
ecode='GOUDMUMFB';
txt='Explore sumptuous offers - Check out the irresistible Deal awaiting you in your city. Get set for the feast!';
}

if(u.indexOf('/card-offers/debit-card-hyderabad.htm')!=-1)
{
ecode='GOUDHYDFB';
txt='Explore sumptuous offers - Check out the irresistible Deal awaiting you in your city. Get set for the feast!';
}

if(u.indexOf('/card-offers/debit-card-gurgaon.htm')!=-1)
{
ecode='GOUDGURFB';
txt='Explore sumptuous offers - Check out the irresistible Deal awaiting you in your city. Get set for the feast!';
}

if(u.indexOf('/card-offers/debit-card-delhi.htm')!=-1)
{
ecode='GOUDDELFB';
txt='Explore sumptuous offers - Check out the irresistible Deal awaiting you in your city. Get set for the feast!';
}

if(u.indexOf('/card-offers/debit-card-chennai.htm')!=-1)
{
ecode='GOUDCHEFB';
txt='Explore sumptuous offers - Check out the irresistible Deal awaiting you in your city. Get set for the feast!';
}

if(u.indexOf('/card-offers/debit-card-bengaluru.htm')!=-1)
{
ecode='GOUDBENFB';
txt='Explore sumptuous offers - Check out the irresistible Deal awaiting you in your city. Get set for the feast!';
}

if(u.indexOf('/card-offers/credit-card-pune.htm')!=-1)
{
ecode='GOUCPUNFB';
txt='Explore sumptuous offers - Check out the irresistible Deal awaiting you in your city. Get set for the feast!';
}

if(u.indexOf('/card-offers/credit-card-mumbai.htm')!=-1)
{
ecode='GOUCMUMFB';
txt='Explore sumptuous offers - Check out the irresistible Deal awaiting you in your city. Get set for the feast!';
}

if(u.indexOf('/card-offers/credit-card-delhi.htm')!=-1)
{
ecode='GOUCDELFB';
txt='Explore sumptuous offers - Check out the irresistible Deal awaiting you in your city. Get set for the feast!';
}

if(u.indexOf('/card-offers/credit-card-chennai.htm')!=-1)
{
ecode='GOUCCHEFB';
txt='Explore sumptuous offers - Check out the irresistible Deal awaiting you in your city. Get set for the feast!';
}

if(u.indexOf('/card-offers/credit-card-bengaluru.htm')!=-1)
{
ecode='GOUCBENFB';
txt='Explore sumptuous offers - Check out the irresistible Deal awaiting you in your city. Get set for the feast!';
}

if(u.indexOf('/card-offers/beauty-and-wellness-offers.htm')!=-1)
{
ecode='SPECIALBAW';
txt='We recommend these fabulous offers that have been lined up for you!';
}


MM_openBrWindow('/card-offers/facebook-disclaimer.htm?eOfferCode='+ecode+'&u='+u+'&t='+txt,'','width=760,height=382,top=100,left=100');
}


function twitterdis()
{
var u = location.href;
var ecode='';

if(u.indexOf('/card-offers/special-offers.htm')!=-1)
{
ecode='GOUSOTW';

}
if(u.indexOf('/card-offers/mumbai.htm')!=-1)
{
ecode='GOUMUMTW';

}

if(u.indexOf('/card-offers/gurgaon.htm')!=-1)
{
ecode='GOUGURTW';

}

if(u.indexOf('/card-offers/special-offers.htm')!=-1)
{
ecode='GOUSOTW';

}

if(u.indexOf('/card-offers/delhi.htm')!=-1)
{
ecode='GOUDELTW';

}

if(u.indexOf('/card-offers/dining.htm')!=-1)
{
ecode='GOUDINETW';

}

if(u.indexOf('/card-offers/debit-card-pune.htm')!=-1)
{
ecode='GOUDPUNTW';

}

if(u.indexOf('/card-offers/debit-card-mumbai.htm')!=-1)
{
ecode='GOUDMUMTW';

}

if(u.indexOf('/card-offers/debit-card-hyderabad.htm')!=-1)
{
ecode='GOUDHYDTW';

}

if(u.indexOf('/card-offers/debit-card-gurgaon.htm')!=-1)
{
ecode='GOUDGURTW';

}

if(u.indexOf('/card-offers/debit-card-delhi.htm')!=-1)
{
ecode='GOUDDELTW';

}

if(u.indexOf('/card-offers/debit-card-chennai.htm')!=-1)
{
ecode='GOUDCHETW';

}

if(u.indexOf('/card-offers/debit-card-bengaluru.htm')!=-1)
{
ecode='GOUDBENTW';

}

if(u.indexOf('/card-offers/credit-card-pune.htm')!=-1)
{
ecode='GOUCPUNTW';

}

if(u.indexOf('/card-offers/credit-card-mumbai.htm')!=-1)
{
ecode='GOUCMUMTW';

}

if(u.indexOf('/card-offers/credit-card-delhi.htm')!=-1)
{
ecode='GOUCDELTW';

}

if(u.indexOf('/card-offers/credit-card-chennai.htm')!=-1)
{
ecode='GOUCCHETW';

}

if(u.indexOf('/card-offers/credit-card-bengaluru.htm')!=-1)
{
ecode='GOUCBENTW';

}

if(u.indexOf('/card-offers/beauty-and-wellness-offers.htm')!=-1)
{
ecode='SPECIALBAW';

}



MM_openBrWindow('/card-offers/twitter-disclaimer.htm?eOfferCode='+ecode,'','width=760,height=382,top=100,left=100');
}		
	

	
	
function tabHightlight(id)
{
var cpage=location.href.substr(location.href.lastIndexOf("/")+1,location.href.length)
if(cpage.lastIndexOf("#")!=-1)
{
cpage=cpage.substr(0,cpage.lastIndexOf("#"));	


}
if(cpage.lastIndexOf("?")!=-1)
{
cpage=cpage.substr(0,cpage.lastIndexOf("?"));	
}
if(cpage!="/card-offers/special-offers.htm" && cpage!="debit-offers-gourmet-hyderabad.htm" && cpage!="debit-offers-gourmet-pune.htm")
{
return true;
}

var ulli=document.getElementById("dvleft").getElementsByTagName("li"); 

for ( i=0; i<ulli.length; i++){
	ulli[i].innerHTML=linklist[i];
	
}
document.getElementById(id).innerHTML="<span style='font-size:11px;color:#555555!important;'>"+document.getElementById(id).childNodes[0].innerHTML+"</span>";
if((id.substr(0,1))=="c"){
left_ShowHide('Navi2','img2','left2');
tabfunctionmain('_1so-cc-tab','2')
}

if((id.substr(0,1))=="d"){
left_ShowHide('Navi3','img3','left3');
tabfunctionmain('_2so-dc-tab','2');
}

if(id=="ccGourmet")
{
tabfunctionnhome('_1gourmet-tab','4');
}

if(id=="cctravel")
{
tabfunctionnhome('_2travel-tab','4')
}
if(id=="ccentertainment")
{
tabfunctionnhome('_3entertainment-tab','4')
}
if(id=="ccothers")
{
tabfunctionnhome('_4others-tab','4');
}

if(id=="ddGourmet")
{
tabfunctionnhome1('_1gourmetdc-tab','3');
}

if(id=="ddTravel")
{
tabfunctionnhome1('_2traveldc-tab','3');
}

if(id=="ddWednesdays")
{
tabfunctionnhome1('_3pricedc-tab','3');
}



}

function beauty()
{
	document.resetbeauty.reset();

}


function fccsel()
{

if(document.getElementById("fccselect").value=="1")
{
document.getElementById("mumid").style.display="block";
document.getElementById("delid").style.display="none";
document.getElementById("benid").style.display="none";
document.getElementById("mumid1").style.display="block";
document.getElementById("delid1").style.display="none";
document.getElementById("benid1").style.display="none";
document.getElementById("fcc1").style.display="block";
document.getElementById("fcc2").style.display="none";
document.getElementById("fcc3").style.display="none";
}
if(document.getElementById("fccselect").value=="2")
{
document.getElementById("mumid").style.display="none";
document.getElementById("delid").style.display="block";
document.getElementById("benid").style.display="none";
document.getElementById("mumid1").style.display="none";
document.getElementById("delid1").style.display="block";
document.getElementById("benid1").style.display="none";
document.getElementById("fcc1").style.display="none";
document.getElementById("fcc2").style.display="block";
document.getElementById("fcc3").style.display="none";
}
if(document.getElementById("fccselect").value=="3")
{
document.getElementById("mumid").style.display="none";
document.getElementById("delid").style.display="none";
document.getElementById("benid").style.display="block";
document.getElementById("mumid1").style.display="none";
document.getElementById("delid1").style.display="none";
document.getElementById("benid1").style.display="block";
document.getElementById("fcc1").style.display="none";
document.getElementById("fcc2").style.display="none";
document.getElementById("fcc3").style.display="block";
}
}






function storechange()
{
var city = document.getElementById('city').options[document.getElementById('city').selectedIndex].value;
var store = document.getElementById('store').options[document.getElementById('store').selectedIndex].value;
 if(store!='' && city!='')
{
clearall();
document.getElementById(store).style.display='block';
}
else
{
clearall();

}

}

function citychange()
{
var city = document.getElementById('city').options[document.getElementById('city').selectedIndex].value;
clearall();
if(city!='')
{
if(city=='Ahmedabad')
{
document.getElementById('storeid').innerHTML='<select name="store" id="store" class="drp_offer" onchange="storechange();" ><option value="">Choose one</option><option value="a1">Alien</option><option value="a2">All India Communication</option>                    <option value="a3">Bohra Communication</option><option value="a4">Sunshine Retail Pvt. Ltd.</option></select>';
}
if(city=='Bengaluru')
{
document.getElementById('storeid').innerHTML='<select name="store" id="store" class="drp_offer" onchange="storechange();" >              <option value="">Choose one</option>            <option value="b1">Air Connect</option>                    <option value="b2">G8 Communications</option>                    <option value="b3">Just Call</option>                    <option value="b4">Kapil Telecom</option>                    <option value="b5">Mahaveer Cell Links</option>                    <option value="b6">Nokia Concept Store</option>                    <option value="b7">Orbit Communications 2</option>                    <option value="b8">Rajani Communication</option>                    <option value="b9">Simtel Mobile Planet</option>                    <option value="b10">Talk Telecom</option>                    <option value="b11">Transcell Solution &amp; Services</option>      </select>';
}
if(city=='Chandigarh')
{
document.getElementById('storeid').innerHTML='<select name="store" id="store" class="drp_offer" onchange="storechange();" >         <option value="">Choose one</option>        <option value="c1">Aggarwal Communication</option>                    <option value="c2">Rajhans Photo Centre</option>      </select>';
}
if(city=='Chennai')
{
document.getElementById('storeid').innerHTML='<select name="store" id="store" class="drp_offer" onchange="storechange();" >         <option value="">Choose one</option>                     <option value="t1">Aikon Communications</option>                    <option value="t2">Arvindh Communications</option>                    <option value="t3">Asterix</option>                    <option value="t4">Cell Point (NPD)</option>                    <option value="t5">Fone City</option>                    <option value="t6">Fone City - 2</option>                    <option value="t7">Fone City - 3</option>                    <option value="t8">Matrix</option>                    <option value="t9">Munoth Industries (Head Office)</option>                    <option value="t10">N Mothilal and Co. 1</option>                    <option value="t11">Nokia Concept Store</option>                    <option value="t12">Rekha Department Store</option>                    <option value="t13">Rocky Agencies</option>                    <option value="t14">Rocky Marketing</option>                    <option value="t15">Sai Guru Communications</option>                    <option value="t16">Sayar Systems</option>       </select>';
}
if(city=='Faridabad')
{
document.getElementById('storeid').innerHTML='<select name="store" id="store" class="drp_offer" onchange="storechange();" >           <option value="">Choose one</option>         <option value="d12">Music Planet</option>         </select>';
}
if(city=='Ghaziabad')
{
document.getElementById('storeid').innerHTML='<select name="store" id="store" class="drp_offer" onchange="storechange();" >           <option value="">Choose one</option>                             <option value="d2">Arena Mobile - I</option>                    <option value="d3">Arena Mobile - II</option>                    <option value="d4">Arena Mobile - III</option>                    <option value="d5">Arena Mobile - IV</option>             </select>';
}
if(city=='Gurgoan')
{
document.getElementById('storeid').innerHTML='<select name="store" id="store" class="drp_offer" onchange="storechange();" >      <option value="">Choose one</option>      <option value="d1">Air Connect</option>       <option value="d7">Compmart India Pvt. Ltd.</option>    <option value="d13">Priya Communication</option>      <option value="d16">Samarth Lifestyle</option>         </select>';
}

if(city=='Hyderabad')
{
document.getElementById('storeid').innerHTML='<select name="store" id="store" class="drp_offer" onchange="storechange();" >        <option value="">Choose one</option>                        <option value="h1">Creation Premium Products</option>                    <option value="h2">Creation Premium</option>                    <option value="h3">Kanishk Communication</option>                    <option value="h4">Mithali Electronics</option>                    <option value="h5">Naman Mobiles</option>                    <option value="h6">Sahasra Communications</option>                     <option value="h7">Suman Telecom</option>                    <option value="h8">Vardhaman Communications</option>     </select>';
}
if(city=='Kolkata')
{
document.getElementById('storeid').innerHTML='<select name="store" id="store" class="drp_offer" onchange="storechange();" >         <option value="">Choose one</option>                 <option value="k1">A.M. Mobile Pvt. Ltd.</option>                    <option value="k2">A.M. Mobile Telecom Pvt. Ltd.</option>                    <option value="k3">A.M. Mobile</option>                    <option value="k4">Crazy Infovision</option>                    <option value="k5">Limton Pvt. Ltd.</option>                    <option value="k6">M/S Vivek</option>                    <option value="k7">On One Nawaz</option>                    <option value="k8">Paradise Electronics</option>                    <option value="k9">Paradise</option>                    <option value="k10">Prapti</option>                    <option value="k11">Prapti Telecom</option>                    <option value="k12">Satyam</option>                    <option value="k13">Skyline Communication</option>                    <option value="k14">Vision Cell</option>                    <option value="k15">Wireless Networks</option>        </select>';
}

if(city=='Mumbai')
{
document.getElementById('storeid').innerHTML='<select name="store" id="store" class="drp_offer" onchange="storechange();" >          <option value="">Choose one</option>               <option value="m1">Addon Retail Pvt. Ltd.</option>                    <option value="m2">Cellular World</option>                    <option value="m3">e-Store</option>                    <option value="m4">Foneman</option>                    <option value="m5">Harmony Audio Pvt. Ltd.</option>                    <option value="m6">Keep Talking</option>                    <option value="m7">Kings Electronics Pvt. Ltd.</option>                    <option value="m8">Magnet Telelinks Pvt. Ltd.</option>                    <option value="m9">Omkar Telecom</option>                    <option value="m10">Phone Shop</option>                    <option value="m11">Plus Business Machines</option>                    <option value="m12">Prime Collection</option>                    <option value="m13">Rajlaxmi Ranger Telecom</option>                    <option value="m14">Solutions</option>                    <option value="m15">Swastik Mobile Shop</option>                    <option value="m16">Voice Infocom</option>              </select>';
}
if(city=='New Delhi')
{
document.getElementById('storeid').innerHTML='<select name="store" id="store" class="drp_offer" onchange="storechange();" >     <option value="">Choose one</option>        <option value="d6">Benz India Pvt. Ltd.</option>                                      <option value="d8">Electronic Gallery</option>                    <option value="d9">Electronic Ways</option>                    <option value="d10">Hotline Communication</option>                                                             <option value="d14">S.D. Enterprises</option>                    <option value="d15">S.R. Telecom</option>         <option value="d16">Samarth Lifestyle</option>                             <option value="d17">Samarth Lifestyle Retailing Pvt. Ltd.</option>                    <option value="d18">Sushil Telecom</option>                    <option value="d19">Techmart Superstore Pvt. Ltd.</option>                    <option value="d20">UTG Computer</option>                    <option value="d21">Vice Cell Mart Pvt. Ltd.</option>             </select>';
}
if(city=='Noida')
{
document.getElementById('storeid').innerHTML='<select name="store" id="store" class="drp_offer" onchange="storechange();" >      <option value="">Choose one</option>       <option value="d11">Mobile Spacetel</option>   <option value="d16">Samarth Lifestyle</option>            </select>';
}


}
else
{
clearall();
document.getElementById('storeid').innerHTML='<select name="store" id="store" class="drp_offer" onchange="storechange();" >         <option value="">Choose one</option>                 </select>';
}

}



function clearall()
{
for(var i=1;i<=4;i++)
document.getElementById('a'+i).style.display='none';
for(var j=1;j<=11;j++)
document.getElementById('b'+j).style.display='none';
for(var k=1;k<=2;k++)
document.getElementById('c'+k).style.display='none';
for(var l=1;l<=16;l++)
document.getElementById('t'+l).style.display='none';
for(var l=1;l<=21;l++)
document.getElementById('d'+l).style.display='none';
for(var l=1;l<=8;l++)
document.getElementById('h'+l).style.display='none';
for(var l=1;l<=15;l++)
document.getElementById('k'+l).style.display='none';
for(var l=1;l<=16;l++)
document.getElementById('m'+l).style.display='none';

}

function logi1()
{
var mainwin;
var wdh=screen.width;
var hgt=0.85*screen.height;
var st="toolbar=0,location=1,directories=0,status=1,menubar=0,scrollbars=1,resizable=0,top=0,left=0,width="+wdh+",height="+hgt;
mainwin=window.open("https://www.citibank.co.in/ibank/login/IQPin.jsp","Citibank",st);
}
function hyderabadsel()
{
if(document.getElementById("hyderabadselect").value=="1")
{
document.getElementById("hyd1").style.display="block";
document.getElementById("hyd2").style.display="none";
document.getElementById("hyd3").style.display="none";
document.getElementById("hyd4").style.display="none";
document.getElementById("hyd5").style.display="none";


}
if(document.getElementById("hyderabadselect").value=="2")
{
document.getElementById("hyd1").style.display="none";
document.getElementById("hyd2").style.display="block";
document.getElementById("hyd3").style.display="none";
document.getElementById("hyd4").style.display="none";
document.getElementById("hyd5").style.display="none";


}
if(document.getElementById("hyderabadselect").value=="3")
{
document.getElementById("hyd1").style.display="none";
document.getElementById("hyd2").style.display="none";
document.getElementById("hyd3").style.display="block";
document.getElementById("hyd4").style.display="none";
document.getElementById("hyd5").style.display="none";

}
if(document.getElementById("hyderabadselect").value=="4")
{
document.getElementById("hyd1").style.display="none";
document.getElementById("hyd2").style.display="none";
document.getElementById("hyd3").style.display="none";
document.getElementById("hyd4").style.display="block";
document.getElementById("hyd5").style.display="none";

}
if(document.getElementById("hyderabadselect").value=="5")
{
document.getElementById("hyd1").style.display="none";
document.getElementById("hyd2").style.display="none";
document.getElementById("hyd3").style.display="none";
document.getElementById("hyd4").style.display="none";
document.getElementById("hyd5").style.display="block";
}

}



function dcresetform()
{
	document.resetform.reset();
}


function punesel()
{
if(document.getElementById("puneselect").value=="1")
{
document.getElementById("pun1").style.display="block";
document.getElementById("pun2").style.display="none";
document.getElementById("pun3").style.display="none";
document.getElementById("pun4").style.display="none";
document.getElementById("pun5").style.display="none";
document.getElementById("pun6").style.display="none";
document.getElementById("pun7").style.display="none";
document.getElementById("pun8").style.display="none";
document.getElementById("pun9").style.display="none";


}
if(document.getElementById("puneselect").value=="2")
{
document.getElementById("pun1").style.display="none";
document.getElementById("pun2").style.display="block";
document.getElementById("pun3").style.display="none";
document.getElementById("pun4").style.display="none";
document.getElementById("pun5").style.display="none";
document.getElementById("pun6").style.display="none";
document.getElementById("pun7").style.display="none";
document.getElementById("pun8").style.display="none";
document.getElementById("pun9").style.display="none";

}
if(document.getElementById("puneselect").value=="3")
{
document.getElementById("pun1").style.display="none";
document.getElementById("pun2").style.display="none";
document.getElementById("pun3").style.display="block";
document.getElementById("pun4").style.display="none";
document.getElementById("pun5").style.display="none";
document.getElementById("pun6").style.display="none";
document.getElementById("pun7").style.display="none";
document.getElementById("pun8").style.display="none";
document.getElementById("pun9").style.display="none";

}
if(document.getElementById("puneselect").value=="4")
{
document.getElementById("pun1").style.display="none";
document.getElementById("pun2").style.display="none";
document.getElementById("pun3").style.display="none";
document.getElementById("pun4").style.display="block";
document.getElementById("pun5").style.display="none";
document.getElementById("pun6").style.display="none";
document.getElementById("pun7").style.display="none";
document.getElementById("pun8").style.display="none";
document.getElementById("pun9").style.display="none";

}
if(document.getElementById("puneselect").value=="5")
{
document.getElementById("pun1").style.display="none";
document.getElementById("pun2").style.display="none";
document.getElementById("pun3").style.display="none";
document.getElementById("pun4").style.display="none";
document.getElementById("pun5").style.display="block";
document.getElementById("pun6").style.display="none";
document.getElementById("pun7").style.display="none";
document.getElementById("pun8").style.display="none";
document.getElementById("pun9").style.display="none";

}
if(document.getElementById("puneselect").value=="6")
{
document.getElementById("pun1").style.display="none";
document.getElementById("pun2").style.display="none";
document.getElementById("pun3").style.display="none";
document.getElementById("pun4").style.display="none";
document.getElementById("pun5").style.display="none";
document.getElementById("pun6").style.display="block";
document.getElementById("pun7").style.display="none";
document.getElementById("pun8").style.display="none";
document.getElementById("pun9").style.display="none";

}
if(document.getElementById("puneselect").value=="7")
{
document.getElementById("pun1").style.display="none";
document.getElementById("pun2").style.display="none";
document.getElementById("pun3").style.display="none";
document.getElementById("pun4").style.display="none";
document.getElementById("pun5").style.display="none";
document.getElementById("pun6").style.display="none";
document.getElementById("pun7").style.display="block";
document.getElementById("pun8").style.display="none";
document.getElementById("pun9").style.display="none";

}
if(document.getElementById("puneselect").value=="8")
{
document.getElementById("pun1").style.display="none";
document.getElementById("pun2").style.display="none";
document.getElementById("pun3").style.display="none";
document.getElementById("pun4").style.display="none";
document.getElementById("pun5").style.display="none";
document.getElementById("pun6").style.display="none";
document.getElementById("pun7").style.display="none";
document.getElementById("pun8").style.display="block";
document.getElementById("pun9").style.display="none";

}
if(document.getElementById("puneselect").value=="9")
{
document.getElementById("pun1").style.display="none";
document.getElementById("pun2").style.display="none";
document.getElementById("pun3").style.display="none";
document.getElementById("pun4").style.display="none";
document.getElementById("pun5").style.display="none";
document.getElementById("pun6").style.display="none";
document.getElementById("pun7").style.display="none";
document.getElementById("pun8").style.display="none";
document.getElementById("pun9").style.display="block";

}
}




var slideshow2_noFading = false;
var slideshow2_timeBetweenSlides =4000;
var slideshow2_fadingSpeed = 10;	


var slideshow2_stats = new Array();

var slideshow2_slideIndex = new Array();	
var slideshow2_slideIndexNext = new Array();	
var slideshow2_imageDivs = new Array();	
var slideshow2_currentOpacity = new Array();	
var slideshow2_imagesInGallery = new Array();	
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]++;	
	if(slideshow2_slideIndex[divId]==slideshow2_imageDivs[divId].length)slideshow2_slideIndex[divId]=0;
	slideshow2_slideIndexNext[divId] = slideshow2_slideIndex[divId]+1;	
	if(slideshow2_slideIndexNext[divId]==slideshow2_imageDivs[divId].length)slideshow2_slideIndexNext[divId] = 0;
	
	slideshow2_currentOpacity[divId]=100;
	
	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){	
		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;	
		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);	
		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';
		if (slideshow2_slideIndex[divId]==0)
		{
			document.getElementById("topban").href="/portal/newgen/seo/cards/ioc-offer/ioc-offer.htm?eOfferCode=SPLOFSHWBN3";
document.getElementById("topban").target="_blank";
		}
			else if (slideshow2_slideIndex[divId]==1)
		{  
			document.getElementById("topban").href="/dining-offers.htm?eOfferCode=SPLOFSHWBN";
			document.getElementById("topban").target="_blank";
		}
		else if (slideshow2_slideIndex[divId]==2)
		{  
			document.getElementById("topban").href="/card-offers/citi-privileges.htm?eOfferCode=SPLOFSHWBN2";
document.getElementById("topban").target="_self";
		}
			
		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';
		
		if (slideshow2_slideIndex[divId]==0)
		{
			document.getElementById("topban").href="/portal/newgen/seo/cards/ioc-offer/ioc-offer.htm?eOfferCode=SPLOFSHWBN3";
document.getElementById("topban").target="_blank";
		}
			else if (slideshow2_slideIndex[divId]==1)
		{  
			document.getElementById("topban").href="/dining-offers.htm?eOfferCode=SPLOFSHWBN";
			document.getElementById("topban").target="_blank";

		}
			else if (slideshow2_slideIndex[divId]==2)
		{  
				document.getElementById("topban").href="/card-offers/citi-privileges.htm?eOfferCode=SPLOFSHWBN2";
document.getElementById("topban").target="_self";

		}
			
		
		document.getElementById("content"+slideshow2_slideIndex[divId]).style.color='#FF6600';

showGallery(divId);
		
}
var tt,t;
