var currentpage=location.href.substr(location.href.lastIndexOf("/")+1,location.href.length)
if(currentpage.lastIndexOf("#")!=-1)
{
currentpage=currentpage.substr(0,currentpage.lastIndexOf("#"));	


}

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 = '/global-images/arrow_blue11.gif';
	var imgclose = '/global-images/arrow_blue1.gif';
var displaystatus=document.getElementById(src).style.display;
var ar = document.getElementById("dvleft").getElementsByTagName("ul"); 
var ulimg=document.getElementById("dvleft").getElementsByTagName("img"); 
var ulspan=document.getElementById("dvleft").getElementsByTagName("span"); 



for ( i=0; i<ulimg.length; i++){

			if(ulimg[i].className=="arrow")
				ulimg[i].src = imgclose;
        		}
			
for ( i=0; i<ulspan.length; i++){
	
		ulspan[i].style.fontWeight="normal";
	  		}
			
			
			

	
	
			for ( i=0; i<ar.length; i++){
				if (ar[i].className=="leftshowhide_sub") {
				ar[i].style.display = "none";
				document.getElementById(img).src = imgclose;
                document.getElementById(obj).style.fontWeight="normal";
				}
			}
	
			
			




		if( displaystatus== 'none'){
			document.getElementById(src).style.display = 'block';
			document.getElementById(img).src = imgopen;

document.getElementById(obj).style.fontWeight="bold";
		}
		else 
		{
			document.getElementById(src).style.display = 'none';
			document.getElementById(img).src = imgclose;
			if(document.getElementById(obj).parentNode.parentNode.className!="highlightelement1")
document.getElementById(obj).style.fontWeight="normal";
		}

}




function sublevelmenu(id,obj)
{

if(obj.href=="javascript:void(0);"){
if( document.getElementById(id).style.display == 'none'){
	
	allelemt=obj.parentNode.parentNode.getElementsByTagName("ul");
				
			for(i=0;i<allelemt.length;i++)
			{
			allelemt[i].style.display='none';
          
			}
			
	allelemt=obj.parentNode.parentNode.getElementsByTagName("a");
				
			for(i=0;i<allelemt.length;i++)
			{
				if(!(allelemt[i].parentNode.className=="highlightelement" || allelemt[i].className=="lasthightlightelemt" )){
					allelemt[i].style.fontWeight='normal';}
					
          
			}
	
  
			document.getElementById(id).style.display = 'block';
	

			
		}
		else 
		{
				
			document.getElementById(id).style.display = 'none';
			if(obj.parentNode.className!="highlightelement")
			obj.style.fontWeight = "normal";
		}
		}
}

function checkinarray(value,arry) {
	var i;
	for (i=0; i < arry.length; i++) {
		if (arry[i] == value) {
			return true;
		}
	}
	return false;
}


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="/global-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="/global-images/arrow_blue1.gif" alt="" class="arrow1"  /><div style="font-weight:bold;color:#000066;">'+ullia[i].parentNode.parentNode.parentNode.previousSibling.childNodes[1].innerHTML+'</div>';	
				
				}
		}
	
	}


}

for ( i=0; i<ullia.length; i++){
		
	if (ullia[i].parentNode.className=="leftshowhide_sub" ) { 
url=ullia[i].href.substr(ullia[i].href.lastIndexOf("/")+1,ullia[i].href.length);
if(url.lastIndexOf("?")!=-1)
url=url.substr(0,url.lastIndexOf("?"));



	if(url==currentpage){
	ullia[i].parentNode.innerHTML='<img src="/global-images/arrow_blue1.gif" alt="" class="arrow1"  id="img10" /><div style="font-weight:bold;color:#000066;">'+ullia[i].childNodes[0].innerHTML+'</div>';
			if (ullia[i].parentNode.parentNode.className=="leftshowhide_sub_sec" ) { 
	ullia[i].parentNode.parentNode.style.display='block';
	ullia[i].parentNode.innerHTML="<div style='color:#555555;font-size:11px;'>"+ullia[i].innerHTML+"</div>";
	}		
	}
	}
	
}


for ( i=0; i<ulli.length; i++){
	
			if (ulli[i].className=="lisubheadadj" ) { 
			url=ulli[i].childNodes[0].href.substr(ulli[i].childNodes[0].href.lastIndexOf("/")+1,ulli[i].childNodes[0].href.length);
		  if(url.lastIndexOf("?")!=-1)
			url=url.substr(0,url.lastIndexOf("?"));
		
		
				if(url==currentpage){
				
				 ulli[i].parentNode.style.display='block';
				 ulli[i].innerHTML="<span style='font-size:11px;color:#555555!important;'>"+ulli[i].childNodes[0].innerHTML+"</span>";
				 ulli[i].childNodes[0].href="javascript:void(0);";
				 
				   if(ulli[i].parentNode.parentNode.previousSibling.nodeType == 3){
				 ulli[i].parentNode.parentNode.previousSibling.previousSibling.style.fontWeight="bold";
				  ulli[i].parentNode.parentNode.previousSibling.previousSibling.childNodes[0].src='/global-images/arrow_blue11.gif';
				   }else
				   {
				 ulli[i].parentNode.parentNode.previousSibling.style.fontWeight="bold";
				   ulli[i].parentNode.parentNode.previousSibling.childNodes[0].src='/global-images/arrow_blue11.gif';
				   }
				 
				 
				 
			}else
			{
				
			}
			}
	
			
		if (ulli[i].className=="leftshowhide_sub_sub" ) { 

			url=ulli[i].childNodes[0].href.substr(ulli[i].childNodes[0].href.lastIndexOf("/")+1,ulli[i].childNodes[0].href.length);
			if(url.lastIndexOf("?")!=-1){
			url=url.substr(0,url.lastIndexOf("?"));}	

		
			
			
		if(url==currentpage){
		 ulli[i].childNodes[0].className="lasthightlightelemt";
		ulli[i].innerHTML="<div style='color:#555555;font-weight:normal;font-size:11px;line-height:15px;'>"+ulli[i].childNodes[0].innerHTML+"</div>";
		 ulli[i].parentNode.parentNode.parentNode.parentNode.style.display='block';
		 ulli[i].parentNode.parentNode.parentNode.style.display='block';
		 ulli[i].style.fontWeight="bold";
		 ulli[i].parentNode.style.display="block"
		  if(ulli[i].parentNode.parentNode.previousSibling.nodeType == 3){
		 ulli[i].parentNode.parentNode.previousSibling.previousSibling.style.fontWeight="bold";
		 ulli[i].parentNode.parentNode.previousSibling.previousSibling.className ='highlightelement';
		 ulli[i].parentNode.parentNode.parentNode.parentNode.previousSibling.previousSibling.style.fontWeight="bold";
    	 ulli[i].parentNode.parentNode.parentNode.parentNode.previousSibling.previousSibling.className ='highlightelement1';
		 ulli[i].parentNode.parentNode.parentNode.parentNode.previousSibling.previousSibling.childNodes[0].src='/global-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='/global-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);";
		}
		}
		 }
		 
		}
	  		}
			
			
			
}

function MM_openBrWindow(theURL,winName,features) { 
  window.open(theURL,winName,features);
}




function leftnav()
{
document.write('<div id="lefthead"><img src="/products-services/online-services/os-images/os-left-head.gif"  alt="Online Banking Services"  title="Online Banking Services"/></div><div id="dvleft">  <ul style="list-style-type:none !important;">    <div class="leftgradholder">      <div class="leftgradtop"> <img src="/global-images/left_nav_top.gif" alt="" /> </div>      <div class="leftgradmid">        <li class="leftshowhide_sub" ><img src="/global-images/arrow_blue1.gif" alt="" class="arrow" style="margin-bottom:5px;"  id="img1" /><a href="javascript:left_ShowHide(\'Navi1\',\'img1\',\'left1\')" ><span id="left1">Internet Banking</span></a></li>        <li class="leftliholder">          <ul class="leftshowhide_sub"  id="Navi1" style="display:none; " >            <li class="lisubheadadj"><a href="/products-services/online-services/internet-banking.htm?eOfferCode=LFTNVOS">Overview</a></li><li class="lisubheadadj"><a href="/products-services/online-services/easy-bill-pay.htm?eOfferCode=LFTNVOS">Easy Bill Pay</a></li>                                     <li class="lisubheadadj"><a href="/products-services/online-services/bill-pay.htm?eOfferCode=LFTNVOS">Internet Bill Pay</a></li><li class="lisubheadadj"><a href="https://www.online.citibank.co.in/products-services/online-services/statement-on-email.htm?site=PORTAL&creative=NGX&section=LFTNVOS&agencyCode=XER&campaignCode=&productCode=&eOfferCode=LFTNVOS">Statement on E-mail</a></li><li class="lisubheadadj"><a href="/products-services/online-services/citialert.htm?eOfferCode=LFTNVOS">CitiAlert</a></li><li class="lisubheadadj"><a href="/products-services/online-services/prepaid-mobile-recharge.htm?eOfferCode=LFTNVOS">Recharge Prepaid Mobile</a></li><li class="lisubheadadj"><a href="/products-services/online-services/onlinetax-payment.htm?eOfferCode=LFTNVOS">Online Tax Payment</a></li></ul>        </li>            </div>      <div class="leftgradfoot"> <img src="/global-images/left_nav_foot.gif" alt="" /> </div>    </div>			    <div class="leftgradholder">      <div class="leftgradtop"> <img src="/global-images/left_nav_top.gif" alt="" /> </div>      <div class="leftgradmid">        <li class="leftshowhide_sub" ><img src="/global-images/arrow_blue1.gif" alt="" class="arrow" style="margin-bottom:5px;"  id="img2" /><a href="javascript:left_ShowHide(\'Navi2\',\'img2\',\'left2\')" ><span id="left2">Mobile Services</span></a></li>        <li class="leftliholder">          <ul class="leftshowhide_sub"  id="Navi2" style="display:none; " >            <li class="lisubheadadj"><a href="/products-services/online-services/overview.htm?eOfferCode=LFTNVOS"> Overview</a></li>  <li class="lisubheadadj"><a href="/products-services/online-services/citi-mobile.htm?eOfferCode=LFTNVOS"> Mobile Banking</a></li> <li class="lisubheadadj"><a href="/products-services/online-services/imps.htm?eOfferCode=LFTNVOS">IMPS Instant Mobile<br /> Money Transfer</a></li> <li class="lisubheadadj"><a href="/products-services/online-services/citi-alert-on-demand.htm?eOfferCode=LFTNVOS"> SMS Banking</a></li> <li class="lisubheadadj"><a href="/portal/newgen/3rdparty/impsshop/imps-shoppers-stop.htm?eOfferCode=LFTNVOS" target="_blank">IMPS - Customer Promotion</a></li></ul>        </li>            </div>      <div class="leftgradfoot"> <img src="/global-images/left_nav_foot.gif" alt="" /> </div>    </div>  <div class="leftgradholder">      <div class="leftgradtop"> <img src="/global-images/left_nav_top.gif" alt="" /> </div>      <div class="leftgradmid">        <li class="leftshowhide_sub" ><img src="/global-images/arrow_blue1.gif" alt="" class="arrow" style="margin-bottom:5px;"  id="img4" /><a href="javascript:left_ShowHide(\'Navi4\',\'img4\',\'left4\')" ><span id="left4">Online Security</span></a></li>        <li class="leftliholder">          <ul class="leftshowhide_sub"  id="Navi4" style="display:none; " >            <li class="lisubheadadj"><a href="/products-services/online-services/online-security.htm?eOfferCode=LFTNVOS">Overview</a></li><li class="lisubheadadj"><a href="/products-services/online-services/citi-protects-you.htm?eOfferCode=LFTNVOS">How does Citi protect you?</a></li><li class="lisubheadadj"><a href="/products-services/online-services/stay-safe-online.htm?eOfferCode=LFTNVOS">How to stay safe online?</a></li><li class="lisubheadadj"><a href="/products-services/online-services/important-updates.htm?eOfferCode=LFTNVOS">Important updates</a></li><li class="lisubheadadj"><a href="/products-services/online-services/online-frauds.htm?eOfferCode=LFTNVOS">Trends in online fraud</a></li>                                         </ul> </li>       </div>      <div class="leftgradfoot"> <img src="/global-images/left_nav_foot.gif" alt="" /> </div>    </div>    <div class="leftgradholder">      <div class="leftgradtop"> <img src="/global-images/left_nav_top.gif" alt="" /> </div>      <div class="leftgradmid">        <li class="leftshowhide_sub" ><img src="/global-images/arrow_blue1.gif" alt="" class="arrow" style="margin-bottom:5px;"  id="img5" /><a href="javascript:left_ShowHide(\'Navi5\',\'img5\',\'left5\')" ><span id="left5">Other Online Services</span></a></li>        <li class="leftliholder">          <ul class="leftshowhide_sub"  id="Navi5" style="display:none; " >            <li class="lisubheadadj"><a href="/products-services/online-services/epay.htm?eOfferCode=LFTNVOS">Citibank\'s EPay</a></li>                                       <li class="lisubheadadj"><a  href="JavaScript:void(0);" onclick="MM_openBrWindow(\'/products-services/online-services/loan-online-emi-payment.htm?eOfferCode=LFTNVOS\',\'\',\'width=760,height=477,top=70,left=125\')">Online EMI Payment</a></li>    </ul> </li>       </div>      <div class="leftgradfoot"> <img src="/global-images/left_nav_foot.gif" alt="" /> </div>    </div>	  </ul></div> ')


	}
