
var FlashDetect=new function(){var self=this;self.installed=false;self.raw="";self.major=-1;self.minor=-1;self.revision=-1;self.revisionStr="";var activeXDetectRules=[{"name":"ShockwaveFlash.ShockwaveFlash.7","version":function(obj){return getActiveXVersion(obj);}},{"name":"ShockwaveFlash.ShockwaveFlash.6","version":function(obj){var version="6,0,21";try{obj.AllowScriptAccess="always";version=getActiveXVersion(obj);}catch(err){}
return version;}},{"name":"ShockwaveFlash.ShockwaveFlash","version":function(obj){return getActiveXVersion(obj);}}];var getActiveXVersion=function(activeXObj){var version=-1;try{version=activeXObj.GetVariable("$version");}catch(err){}
return version;};var getActiveXObject=function(name){var obj=-1;try{obj=new ActiveXObject(name);}catch(err){obj={activeXError:true};}
return obj;};var parseActiveXVersion=function(str){var versionArray=str.split(",");return{"raw":str,"major":parseInt(versionArray[0].split(" ")[1],10),"minor":parseInt(versionArray[1],10),"revision":parseInt(versionArray[2],10),"revisionStr":versionArray[2]};};var parseStandardVersion=function(str){var descParts=str.split(/ +/);var majorMinor=descParts[2].split(/\./);var revisionStr=descParts[3];return{"raw":str,"major":parseInt(majorMinor[0],10),"minor":parseInt(majorMinor[1],10),"revisionStr":revisionStr,"revision":parseRevisionStrToInt(revisionStr)};};var parseRevisionStrToInt=function(str){return parseInt(str.replace(/[a-zA-Z]/g,""),10)||self.revision;};self.majorAtLeast=function(version){return self.major>=version;};self.minorAtLeast=function(version){return self.minor>=version;};self.revisionAtLeast=function(version){return self.revision>=version;};self.versionAtLeast=function(major){var properties=[self.major,self.minor,self.revision];var len=Math.min(properties.length,arguments.length);for(i=0;i<len;i++){if(properties[i]>=arguments[i]){if(i+1<len&&properties[i]==arguments[i]){continue;}else{return true;}}else{return false;}}};self.FlashDetect=function(){if(navigator.plugins&&navigator.plugins.length>0){var type='application/x-shockwave-flash';var mimeTypes=navigator.mimeTypes;if(mimeTypes&&mimeTypes[type]&&mimeTypes[type].enabledPlugin&&mimeTypes[type].enabledPlugin.description){var version=mimeTypes[type].enabledPlugin.description;var versionObj=parseStandardVersion(version);self.raw=versionObj.raw;self.major=versionObj.major;self.minor=versionObj.minor;self.revisionStr=versionObj.revisionStr;self.revision=versionObj.revision;self.installed=true;}}else if(navigator.appVersion.indexOf("Mac")==-1&&window.execScript){var version=-1;for(var i=0;i<activeXDetectRules.length&&version==-1;i++){var obj=getActiveXObject(activeXDetectRules[i].name);if(!obj.activeXError){self.installed=true;version=activeXDetectRules[i].version(obj);if(version!=-1){var versionObj=parseActiveXVersion(version);self.raw=versionObj.raw;self.major=versionObj.major;self.minor=versionObj.minor;self.revision=versionObj.revision;self.revisionStr=versionObj.revisionStr;}}}}}();};FlashDetect.JS_RELEASE="1.0.4";


//document.write('<script type="text/javascript" src="flash_detect_min.js"></script>');
//document.write('<script type="text/javascript" src="swfobject.js"></script>');
   
   
document.write('<div class="follow" style="margin-left :825px; margin-top: -2px;position: absolute;">');

					
					flink='<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>';
					document.write(flink);
	
	
	
document.write('<div id="fbk"></div></div>');


document.write('<h1 class="himg"><img title="Citibank India" alt="Citibank India" src="/global-images/citibank-india.gif" alt="" title="" /></h1><div class="dvtoptab"><ul><li class="pb"><a href="javascript://" title="Personal Banking"></a> </li><li class="nrib"><a href="/citi-nri.htm" target="_blank" title="NRI Banking">NRI Banking</a></li><li class="cb"><a href="/portal/newgen/corporate/index.htm" target="_blank" title="Corporate Banking">Corporate Banking</a></li></ul></div><div id="dvMenu" ><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 style="color:#999999;"> | </span> <a href="/sitemap.htm" title="Site Map">Site&nbsp;Map</a> </div><form action="/portal/newgen/citigleresult.html" autocomplete="off" id="cse-search-box" onsubmit="if(q.value==\'Search\'){q.value=\'\';this.style.fontWeight=\'bold\';}" > <div class="dvsearch"><div class="srch-input"><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-btn"><input type="image" src="/portal/india-images/searchbtn.gif" style="width:21px !important; height:22px !important; float:left; margin:0px;" alt="Search" title="Search" name="Search" /></div></div></form> <div id="dvHeader"><!-- Header div starts here -->    <div  id="dvLogoContainer">   <div id="dvLogo"><div class="toptrans" id="trans_top"></div><a href="/"><img src="/portal/india-images/citi_logo.gif" border="0" alt="Citi" title="Citi" /> </a></div>   <div id="dvTopSearch">    <div id="dvSearch" style="background-image:none;">&nbsp;</div><ul id="sddm">	<li >																																																													<a href="javascript:void(0);" id="newtest1" onmouseover="mopen(\'m1\'); " onmouseout="mclosetime();" title="Keywords/Quick Links" style="width:160px;background-image: url(/global-images/keyword_normal.gif); background-repeat:no-repeat; background-position:bottom;height:22px;" ></a>		<div id="m1" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"><iframe height="108" width="160" style="position:absolute; background-color:transparent; background-image:url(/portal/india-images/Keywords_bg.gif); background-repeat:no-repeat; display:none; filter:alpha(opacity=0); background-position:bottom left;" frameborder="0" src="javascript:void(0);"></iframe><ul class="tpquicklinks"><li><a href="/customerservice/download_forms.htm" title="Forms Download Center" style="width:110px;">Forms Download Center</a></li><li><a href="/products-services/online-services/internet-banking.htm" title="Instant IPIN" style="width:45px;">Instant IPIN</a></li><li><a href="/products-services/online-services/epay.htm" style="width:65px;" title="Citibank\'s EPay">Citibank\'s EPay</a></li>		<li><a href="/products-services/online-services/loan-online-emi-payment.htm" target="_blank" style="width:113px;" title="Loan Online EMI Payment">Loan Online EMI Payment</a></li>		<!--<li><a 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" style="width:127px;" title="Debit Card - Cash Back offer" >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>	</li>	</ul></div>     </div>     <div id="dv"></div>    <div id="dvNavi">    <div class="dvtopnavi" >        <!-- Navi div  starts here -->        <a href="/" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image17\',\'\',\'/global-images/navi_home_hover.gif\',1)" id="home"><img src="/global-images/navi_home.gif" alt="Home" title="Home" name="Image17" width="68" height="30" border="0" id="Image17" /></a><a href="/products-services/products-services.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image18\',\'\',\'/global-images/navi_p_s_hover.gif\',1)" id="pands_home"><img src="/global-images/navi_p_s.gif" alt="Products &amp; Services" title="Products &amp; Services" border="0" name="Image18" id="Image18" /></a><a href="/card-offers/special-offers.htm" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image20\',\'\',\'/global-images/navi_special_offers_hover.gif\',1)" id="offers_home"><img src="/global-images/navi_special_offers.gif" alt="Special Offers" name="Image20" title="Special Offers" width="123" height="30" border="0" id="Image20" /></a><a href="/online-application/apply-now-online.htm" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image21\',\'\',\'/global-images/navi_apply_now_hover.gif\',1)" id="apply_home"><img src="/global-images/navi_apply_now.gif" alt="Apply Now" title="Apply Now" name="Image21" width="95" height="30" border="0" id="Image21" /></a><a href="/customerservice/home.htm" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image19\',\'\',\'/global-images/navi_customer_service_hover.gif\',1)" id="customer_home"><img src="/global-images/navi_customer_service.gif" alt="Customer Service" title="Customer Service" name="Image19" width="140" height="30" border="0" id="Image19" /></a>       <!-- Navi div  end here -->      </div>');
document.write('<div id="threadrating" style="float:left;padding:0px 0px 0px 0px;" ><a href="javascript://" ><img id="singinid" src="/global-images/nw-sign_in.gif" alt="Click here to Sign in to your account" title="Click here to Sign in to your account" border="0" /></a>  ');
vbmenu_register("threadrating");





document.write('</div><div id="threadrating_menu" style="display:none;" class="vbmenu_popup"><div class="dvCBOL" style="background-image: url(/global-images/nw-cbol-bg.gif); background-repeat:no-repeat; height:177px;"><h1 class="chead"><img src="/global-images/nw-login-to-citibank-online.gif" alt="Login to Citibank Online" title="Login to Citibank Online" /></h1><span id="cbol"><div id="cbolslt"><form name="login" autocomplete="off" action="" 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=\"slt\">	<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></form></div></span><p class="go"><a href="javascript:test1()"><img  src="/portal/india-images/go.gif" title="LOGIN" alt="LOGIN" border="0" /></a></p><p class="cbolm" style="*padding-top:3px; " ><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 <br />Online and for online purchases!</p><div class="clft" style="clear:both;  "><p class="epayintro" style="  padding:7px 0px 0px 0px !important;">Credit Card payment from any bank - <a href="/products-services/online-services/epay.htm?eOfferCode=CINNTPTB" title="EPay Now">EPay Now</a></p></div><h1 class="chead3" style="padding:12px 0px 4px 1px;"><img src="/global-images/nw-apply-for-citibank-products.gif" alt="Apply for Citibank Products" title="Apply for Citibank Products" /></h1><div class="dd1"><select class="slt" id="citi_prod"><option>Credit Cards</option><option>Banking Account</option><option>Loans</option><option>Investments</option><option>Insurance</option></select><p class="go"><a href="javascript:citi_products();" ><img  src="/global-images/nw-go.gif" alt="Apply for Citibank Products" title="Apply for Citibank Products" border="0" /></a></p></div></div></div>');
vBulletin_init();  
document.write('    </div>    <!-- Header div end here --> </div>  ');




var seq=new Array();
var webseq=new Array();
var win=null;
function win_open()
 {
window.open('http://www.online.citibank.co.in/portal/cb/newcbol/new/master.html','','width=625,height=440')
 }
function troublelogin()
 {
	 window.open('http://www.citibank.co.in/infojsp/login/faq.htm')
 }
function popUp(url) {
sealWin=window.open(url,"win",'toolbar=0,location=0,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,width=500,height=450');
self.name = "mainWin";
}
function MM_openBrWindow2(str3)
{
  document.open(str3,"Citibank1","toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=350,height=150");
}
function MM_openBrWindow1(str1)
{
  document.open(str1,"Citibank2","location=no,scrollbars=yes,width=570,height=480,toolbar=false,status=false,menubar=false,directories=false,resizable=false");
}
function hasCookies(){
         SetCookie("_tst","Y");
         var tst=GetCookie("_tst");
         DeleteCookie("_tst_");
         if(tst=="Y")
                  return 1;
         return 0;
 }
var hc = 1;
var now = new Date();
var wn = "DA" + now.getTime();
var dom = window.location.hostname;
thisUrl = new String();
thisUrl = window.location.href;
thispt=thisUrl.indexOf('?')+1;
if(thispt >0)
hitsscore=thisUrl.substring(thispt);
else
hitsscore="********";
dom = dom.substring(dom.indexOf("."));
if(window.opener && (hc=hasCookies()) && (GetCookie("_LK") != "Y")){
      SetCookie("_LK","Y","","/",dom);
      var TEXT = "The web site you were visiting has launched citibank.co.in in a new \rbrowser window.  This may potentially create a security hazard. To ensure \rthat you are visiting citbank.co.in, we will open our site in abrowser window.\n\n To do this we will set a temporary cookie that will \rexpire as soon as you close your browser";
    
	  document.href =window.location;	 
}
else{
    if(hc==0)
    {
      var TEXT = "Your Browser Cookies are not enabled.Please follow the\rinstructions below to enable Browser Cookies.\r\r\rFor Netscape Navigator or Netscape Communicator Users:\r\rOpen your browser, click Edit | Preferences | Advanced.\rNext, make sure that a check mark is in the Accept All Cookies box.\rClick OK for the browser to accept the changes.\r\rFor Inernet Explorer Users:\r\rOpen your browser, click either View or Tools | Internet Options | \rSecurity | Custom settings | Cookies . Next, make sure that check\rmark is in the Allow cokkies that stored are stored on your computer\rand Allow per-session cookies(not stored)\r";
      alert(TEXT);
         window.close();
    }
else
             DeleteCookie("_LK","/",dom);
}
function GetCookie(name,dc) {
              var dcookie = (dc !=null) ? dc:document.cookie;
              var cname = name + "=";
              var clen     = dcookie.length;
              var cbegin = 0;
              while (cbegin < clen) {
                           var vbegin = cbegin + cname.length;
                           if(dcookie.substring(cbegin,vbegin) == cname) {
                               var vend = dcookie.indexOf(";",vbegin);
                               if (vend == -1) vend = clen;
                               if(vbegin != clen)
                                return unescape(dcookie.substring(vbegin,vend));
                               else
                                   return null;
                             }
                     cbegin = dcookie.indexOf(" ",cbegin) + 1;
                             if(cbegin ==0) break;
               }
               return null;
}
function SetCookie(name,value,expires,path,domain,secure) {
                                document.cookie = name + "=" +escape (value) +
                                 ((expires) ? "; expires=" + expires.toGMTString() : "") +
                                 ((path) ? "; path=" + path : "") +
                                 ((domain) ? "; domain=" + domain : "") +
                                 ((secure) ? ";secure" : "");
}
function DeleteCookie (name,path,domain) {
       if (GetCookie(name) ) {
                                document.cookie = name +  "=" +
                                 ((path) ? "; path=" + path : " ") +
                                  ((domain) ? "; domain=" + domain : " ") +
                                  "; expires= Thus, 01-Jan-1970 00:00:01 GMT";
       }
}
var szType="111111111111111",vtcount=0;
var natcount=parseInt(getcookie("#!#"),10);
if(natcount == 10){
	natcount=0;
}
else{
fun();
}
var width="40%";
var pnz,num=0;
var appname;
var zval=new Array();
var appdt= new Date(2005,1,1);
function natchg(){
	natcount=document.login.nation[document.login.nation.selectedIndex].value;
	if(natcount != 1){
		szType='GU';
		newWindow();
	}else{
		var ex="#!#"+natcount;
		var aa=new Date(2005,1,1)
		setCookie("Gabbar",ex,aa);
		setCookie("hitsscore",hitsscore+"~",new_dte);
		location.href="/index.htm";
	}
	document.login.nation.selectedIndex = 0;
}
if(natcount == 0)
pnz=getcookie("|");
function getbrow(){
   var browserName = navigator.appName
   var browserVer = parseInt(navigator.appVersion);
   var jenable    = navigator.javaEnabled()
   if(browserName == "Netscape" && browserVer < 4)
       return "bad";
   if(browserName == "Microsoft Internet Explorer" && browserVer < 4)
       return "bad";
}
function openWin(){
	var autoclose = true
	newWin = open("","Test","scrollbar=no,width=350,height=150,left=200,top=200");
	newWin.document.open();
	newWin.document.write("<html><head><title>Citibank Online</title><meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'><link rel='stylesheet' href=http://www.citibank.co.in/infojsp/includes/copy.css></head>");
	newWin.document.write("<body onBlur='window.focus()' bgcolor='#FFFFFF' text='#000000' leftmargin='0' topmargin='0' marginwidth='0' marginheight='0' background=http://www.citibank.co.in/infojsp/images/bgpop.gif>");
	newWin.document.write("<form name='frmError' method='post' action=''>");
	newWin.document.write("<table width='350' border='0' cellspacing='0' cellpadding='0'>");
	newWin.document.write("<tr><td width='45' height='30'>&nbsp;</td><td width='124'>&nbsp;</td><td width='180'>&nbsp;</td></tr>");
	newWin.document.write("<tr><td colspan='3' class='ar'><blockquote><p>Please select a User Name.</p></blockquote></td></tr>");
	newWin.document.write("<tr><td>&nbsp;</td><td colspan='2'>&nbsp;</td></tr>");
	newWin.document.write("<tr><td>&nbsp;</td><td colspan='2'>&nbsp;</td></tr>");
	newWin.document.write("<tr align='right'><td colspan='3' class='ar1'><a href='javascript:window.close()'>Close this window</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>");
	newWin.document.write("<tr><td>&nbsp;</td><td colspan='2'>&nbsp;</td></tr>");
	newWin.document.write("<tr><td>&nbsp;</td><td colspan='2'>&nbsp;</td></tr>");
	newWin.document.write("</table></form></body></html>");
	newWin.document.close();
	if (autoclose) {
	}
}
function openWinUser(wdh, hgt){
	var autoclose = true
	newWin = open("","Test","scrollbar=no,width=350,height=150,left=200,top=200");
	newWin.document.open();
	newWin.document.write("<html><head><title>Citibank Online</title><meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'><link rel='stylesheet' href=http://www.citibank.co.in/infojsp/includes/copy.css>");
	newWin.document.write("<script language='javascript' >");
	newWin.document.write("function login(){");
	newWin.document.write("var st='toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=0,top=0,left=0,width="+wdh+",height="+hgt+"';");
newWin.document.write("mainwin=window.open('https://www.citibank.co.in/ibank/login/guestlogin.jsp','Citibank',st);");
	newWin.document.write("window.close();");
	newWin.document.write("}");
	newWin.document.write("<\/script>");
	newWin.document.write("<body onBlur='window.focus()' bgcolor='#FFFFFF' text='#000000' leftmargin='0' topmargin='0' marginwidth='0' marginheight='0' background=http://www.citibank.co.in/infojsp/images/bgpop.gif>");
	newWin.document.write("<form name='frmError' method='post' action=''>");
	newWin.document.write("<table width='350' border='0' cellspacing='0' cellpadding='0'>");
	newWin.document.write("<tr><td width='45' height='30'>&nbsp;</td><td width='124'>&nbsp;</td><td width='180'>&nbsp;</td></tr>");
	newWin.document.write("<tr><td colspan='3' class='citistext'><blockquote><p>Please <a href='javascript:login()'><font color='#0000FF'>Click here</font></a> to create User Name and Login.</p></blockquote></td></tr>");
	newWin.document.write("<tr><td>&nbsp;</td><td colspan='2'>&nbsp;</td></tr>");
	newWin.document.write("<tr><td>&nbsp;</td><td colspan='2'>&nbsp;</td></tr>");
	newWin.document.write("<tr align='right'><td colspan='3' class='ar1'><a href='javascript:window.close()'>Close this window</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>");
	newWin.document.write("<tr><td>&nbsp;</td><td colspan='2'>&nbsp;</td></tr>");
	newWin.document.write("<tr><td>&nbsp;</td><td colspan='2'>&nbsp;</td></tr>");
	newWin.document.write("</table></form></body></html>");
	newWin.document.close();
	if (autoclose) {
		}
}

function getconname(parmeter)
{
	var sli=""
	var a=window.location;
	str=new String(a)
	var index = str.indexOf(parmeter);
	if(index!=-1)
	{
		var str1 = str.substring(index);
		var index1 = str1.indexOf("&");
		if (index1 == -1)
			{
				var index = str1.indexOf("=");
				var sli = str1.slice(index+1);
			}
		else
			{
				var index = str1.indexOf("=");
				var sli = str1.slice(index+1,index1);
			}
	}
	
	return sli;
}
function test1(){
var wdh=screen.width;
var hgt=0.85*screen.height;
var conname=getconname("contentID");
var nrid=conname.indexOf("cbxnr");
var staturl=location.href;
var statid=staturl.indexOf("nrindex");
if((nrid!=-1)||(statid!=-1))
	{
if(document.login.type.length == 1) {
		nrLoginWindow();
		return;	
	  }
   if(document.login.type.selectedIndex==0){
		nrLoginWindow();
        return;
      }
     var browser = getbrow();
   if (browser == "bad"){
      location.href="/browchk.htm" ;
   }
   else{
	  nrnewWindow();
   }
}else{
    if(document.login.type.length == 1) {
		LoginWindow();
		return;	
	  }
   if(document.login.type.selectedIndex==0){
		LoginWindow();
        return;
      }
     var browser = getbrow();
   if (browser == "bad"){
      location.href="/browchk.htm" ;
   }
   else{
	  newWindow();
   }
}}
function getcookie(uu){
  var ck,pos,i;
  pos=0;
  i=0;
  var prefix =uu;
  ck=unescape(document.cookie);
  var cxl=ck.indexOf(prefix);
  if (cxl != -1){
     while (pos != -1){
 pos=ck.indexOf(uu,i+1);
       num += 1;
       i = pos;
      }
   }
  else return(10);
  if(prefix == "#!#")
  return ck.charAt(cxl+3);
  var lp=0;
  for(var i=0;i<num-1;i++){
       q1=ck.indexOf(uu,lp);
       if(revfnd(ck,q1)==0)
       q2=revfnd(ck,q1);
       else q2=revfnd(ck,q1)+1;
       zv=ck.substring(q2,q1);
       var dispFlag=false;
var fs1= zv.substring("_FS_PORTAL_");
var fs2= zv.substring("_FS_CBOL_");
      var fs3= zv.indexOf("_FS_");
       if(fs3 == -1)
{
zval[i]=zv;
}
else
{
zval[i]="";
}
    var present=false;
	   var sp=0;
	   q4 = ck.indexOf('#*#',sp);
	   zv1 = ck.substring(q1+1,ck.indexOf('=',ck.indexOf('|',q1)));
    temp= ck.substring(ck.indexOf('=',ck.indexOf('|',q1)));
    if(temp.indexOf('|')!=-1){
          str=temp.substring(temp.indexOf('='),temp.indexOf('|'))
          if((str.indexOf('#*#')!=-1) || (str.indexOf('#P#')!=-1)){
            present=true
           }else{
             present=false
           }
     }else{
       if((temp.indexOf('#*#')!=-1) || (temp.indexOf('#P#')!=-1)){
           present=true
        }else{
             present=false
        } 
       }
	   seq[i] = zv1; 
	   if(present){
			webseq[i] = ck.substring(q1+1,ck.indexOf('=',ck.indexOf('#',q1)));
	   }else{
			webseq[i] = "N";
	   }
       lp=q1+1;
    }
  return(1);
}

function revfnd(a7,b7){
 var xa1=0;
 while(true){
  if(b7==0)return 0;
  xa1=a7.charAt(b7);
  if(xa1==";")
  return b7;
  else b7=b7-1;
 }
return 100;
}
function spawn(){
 var az=document.ff1.URL[document.ff1.URL.selectedIndex].value;
window.open(az,"Citibank11","location=no,scrollbars=no,width=400,height=320,toolbar=false,status=false,menubar=false,directories=false,resizable=true");
}
function setCookie(name, value, expires, path, domain, secure) {
  var curCookie = name + "=" + escape(value) +
    ((expires) ? "; expires=" + expires.toGMTString() : "") +
    ((path) ? "; path=" + path : "") +
    ((domain) ? "; domain=" + domain : "") +
    ((secure) ? "; secure" : "");
    document.cookie=curCookie;
}
function LoginWindow()
{
var szRndValue;
szRndValue = document.login.Randnum.value;
var natc1;
natc1='IND';
var mainwin;
var wdh=screen.width;
var hgt=0.85*screen.height;
fun();
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 newWindow(){
var szRndValue;
szRndValue = document.login.Randnum.value;
if(natcount==0)
szType = document.login.type.options[document.login.type.selectedIndex].value;
var natc1;
natc1='IND';
var mainwin;
var wdh=screen.width;
var hgt=0.85*screen.height;
if(szType == 'GU'){
fun();
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);
}
else{
var selInd = document.login.type.selectedIndex;
var nickname=document.login.type.options[document.login.type.selectedIndex].text;
if(selInd >=1){
	if(webseq[selInd-1] == "N"){
			var td=new Date(2004,11,28);
			var cok = "IBSZT";
			setCookie(cok,szType+"#",td);
			var st="toolbar=0,location=0,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/Nickname4_IND.htm","Citibank",st);
	}else{
					var strSeqNo = seq[selInd-1];
	          var strURL = "https://www.citibank.co.in/ibank/login/NikNmScenerionew_dipp1.jsp?seqno="+strSeqNo+"&UGroup=NONPFM&nickname="+nickname+"&access=n";
          var strName = "Citibank";
    			var strDimensions = "toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=0,top=0,left=0,width="+wdh+",height="+hgt;
          mainwin=window.open(strURL,strName,strDimensions);
	}
}
}
}
function nrLoginWindow()
{
var szRndValue;
szRndValue = document.login.Randnum.value;
var natc1;
natc1='IND';
var mainwin;
var wdh=screen.width;
var hgt=0.85*screen.height;
fun();
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 nrnewWindow(){
var szRndValue;
szRndValue = document.login.Randnum.value;
if(natcount==0)
szType = document.login.type.options[document.login.type.selectedIndex].value;
var natc1;
natc1='IND';
var mainwin;
var wdh=screen.width;
var hgt=0.85*screen.height;
if(szType == 'GU'){
fun();
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);
}
else{
var selInd = document.login.type.selectedIndex;
var nickname=document.login.type.options[document.login.type.selectedIndex].text;
if(selInd >=1){
	if(webseq[selInd-1] == "N"){
			var td=new Date(2004,11,28);
			var cok = "IBSZT";
			setCookie(cok,szType+"#",td);
			var st="toolbar=0,location=0,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/Nickname4_IND.htm","Citibank",st);
	}else{
					var strSeqNo = seq[selInd-1];
	          var strURL = "https://www.citibank.co.in/ibank/login/NikNmScenerionew_dipp1.jsp?seqno="+strSeqNo+"&UGroup=NONPFM&nickname="+nickname+"&access=n";
          var strName = "Citibank";
    			var strDimensions = "toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=0,top=0,left=0,width="+wdh+",height="+hgt;
          mainwin=window.open(strURL,strName,strDimensions);
	}
}
}
}
function fun(){
var new_dte= new Date(2005,1,1);
setCookie("Gabbar","#!#0",new_dte);
setCookie("hitsscore",hitsscore+"~",new_dte);
}
function MM_checkPlugin(plgIn, theURL, altURL, autoGo) 
{
  var ok=false; document.MM_returnValue = false;
  with (navigator) if (appName.indexOf('Microsoft')==-1) ok=(plugins && plugins[plgIn]);
  else if (appVersion.indexOf('3.1')==-1) { 
    if (plgIn.indexOf("Flash")!=-1 && window.MM_flash!=null) ok=window.MM_flash;
    else if (plgIn.indexOf("Director")!=-1 && window.MM_dir!=null) ok=window.MM_dir;
    else ok=autoGo; }
  if (!ok) theURL=altURL; if (theURL) window.location=theURL;
}
function showCard(){ie4 = (document.all)? true:false;}

function MM_openBrWindow(theURL,winName,features) { 
  window.open(theURL,winName,features);
}




function MM_swapImgRestore() { 
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

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];}}
}

function MM_findObj(n, d) { 
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { 
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


function trimSpace(x)
{
   var emptySpace = / /g;
   var trimAfter = x.replace(emptySpace,"");
   return(trimAfter);
}



function change_topmenu(id)
{	
	document.getElementById('qsearch').value='Search';
	document.getElementById('qsearch').style.fontWeight='bold';

if(id == "home")
{	  
	document.getElementById("Image17").src="/global-images/navi_home_hover.gif";
	document.getElementById("home").style.cursor="default";
	document.getElementById("home").href="javascript:void(0)";
	}
if(id == "pands" || id == "pands_home")
{	  
	document.getElementById("Image18").src="/global-images/navi_p_s_hover.gif";
	}
else if(id == "customer" || id == "customer_home")
{	 
	document.getElementById("Image19").src="/global-images/navi_customer_service_hover.gif";
	}
else if(id == "offers" || id == "offers_home")
{	  
	document.getElementById("Image20").src="/global-images/navi_special_offers_hover.gif";
	}
else if(id == "apply" || id == "apply_home")
{	  
	document.getElementById("Image21").src="/global-images/navi_apply_now_hover.gif";
	}
else if(id == "money" || id == "money_home")
{	  
	document.getElementById("Image22").src="/global-images/navi_money_matters_hover.gif";
	}

if(id == "pands_home")
	{	 
	document.getElementById("pands_home").href="javascript:void(0)";
	document.getElementById("pands_home").style.cursor="default";
	}
if(id == "customer_home")
	{	 
	document.getElementById("customer_home").href="javascript:void(0)";
	document.getElementById("customer_home").style.cursor="default";
	}
if(id == "offers_home")
	{	 
	document.getElementById("offers_home").href="javascript:void(0)";
	document.getElementById("offers_home").style.cursor="default";
	}
if(id == "apply_home")
	{	 
	document.getElementById("apply_home").href="javascript:void(0)";
	document.getElementById("apply_home").style.cursor="default";
	}
if(id == "money_home")
	{	 
	document.getElementById("money_home").href="javascript:void(0)";
	document.getElementById("money_home").style.cursor="default";
	}

}

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"
}

}
