var currentpage=location.href.substr(location.href.lastIndexOf("/")+1,location.href.length)
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" ) { 
	if(ullia[i].href.substr(ullia[i].href.lastIndexOf("/")+1,ullia[i].href.length)==currentpage){
	ullia[i].parentNode.innerHTML='<img src="/global-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>";
	}		
	}
	}
	
}


for ( i=0; i<ulli.length; i++){
	
			if (ulli[i].className=="lisubheadadj" ) { 
			
			if(ulli[i].childNodes[0].href.substr(ulli[i].childNodes[0].href.lastIndexOf("/")+1,ulli[i].childNodes[0].href.length)==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" ) { 
		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='/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 leftnav()
{
	document.write('<div id="lefthead"><img src="/products-services/insurance/insurance-images/lefthead-insurance.gif"  alt="Insurance"  title="Insurance"/></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">Life Insurance</span></a></li>        <li class="leftliholder">          <ul class="leftshowhide_sub"  id="Navi1" style="display:none; " >      <li class="lisubheadadj"><a href="/products-services/insurance/life-insurance/life-insurance-home.htm?eOfferCode=LFTNVINS">Overview</a></li><li class="lisubheadadj"><a href="javascript:void(0);" onclick="javascript:sublevelmenu(\'Subnav3\',this)">Protection</a></li>  <li class="leftliholder">                <ul  style="display:none; float:left; margin:0px; padding:0px 0px 0px 0px!important;" id="Subnav3"> <li class="leftshowhide_sub_sub"><a href="/products-services/insurance/life-insurance/term-plan-with-return.htm?eOfferCode=LFTNVINS">BSLI Term Plan with Return <br />of Premium (TROP)</a></li> <li class="leftshowhide_sub_sub"><a href="/products-services/insurance/life-insurance/bsli-protector-plus-plan.htm?eOfferCode=LFTNVINS">BSLI Protector &amp; BSLI <br />Protector Plus Plan</a></li>              </ul></li><li class="lisubheadadj"><a href="javascript:void(0);" onclick="javascript:sublevelmenu(\'Subnav4\',this)">Wealth</a></li>    <li class="leftliholder">      <ul  style="display:none; float:left; margin:0px; padding:0px 0px 0px 0px!important;" id="Subnav4">      <li class="leftshowhide_sub_sub"><a href="/products-services/insurance/life-insurance/platinum-advantage-plan.htm?eOfferCode=LFTNVINS">BSLI Platinum Advantage <br />Plan</a></li>  <li class="leftshowhide_sub_sub"><a href="/products-services/insurance/life-insurance/rainbow-plan.htm?eOfferCode=LFTNVINS">BSLI Rainbow Plan</a></li><li class="leftshowhide_sub_sub"><a href="/products-services/insurance/life-insurance/moneyback-plus.htm?eOfferCode=LFTNVINS">BSLI Money Back Plus Plan</a></li> </ul>  </li> <li class="lisubheadadj"><a href="javascript:void(0);" onclick="javascript:sublevelmenu(\'Subnav5\',this)">Retirement</a></li>    <li class="leftliholder">      <ul  style="display:none; float:left; margin:0px; padding:0px 0px 0px 0px!important;" id="Subnav5">      <li class="leftshowhide_sub_sub"><a href="/products-services/insurance/life-insurance/vision-plan.htm?eOfferCode=LFTNVINS">BSLI Vision Plan</a></li><li class="leftshowhide_sub_sub"><a href="/products-services/insurance/bsliclass/bsli-classic-life-plan.htm?eOfferCode=LFTNVINS">BSLI Classic Life Plan</a></li><li class="leftshowhide_sub_sub"><a href="/products-services/insurance/bsliclass/bsli-dream-life-plan.htm?eOfferCode=LFTNVINS">BSLI Dream Life Plan</a></li>  </ul>  </li> <li class="lisubheadadj"><a href="javascript:void(0);" onclick="javascript:sublevelmenu(\'Subnav6\',this)">Child</a></li>    <li class="leftliholder">      <ul  style="display:none; float:left; margin:0px; padding:0px 0px 0px 0px!important;" id="Subnav6">      <li class="leftshowhide_sub_sub"><a href="/products-services/insurance/life-insurance/bsli-child-plan.htm?eOfferCode=LFTNVINS">BSLI Classic/Dream Child <br />Plan</a></li>  </ul>  </li><li class="lisubheadadj"><a href="https://www.online.citibank.co.in/products-services/insurance/life-insurance/insurance-apply-now.htm?site=PORTAL&creative=NGX&section=LFTNVINS&agencyCode=XER&campaignCode=&productCode=&eOfferCode=LFTNVINS">Apply Now</a></li></ul></li> <li class="leftshowhide_sub" ><img src="/global-images/arrow_blue1.gif" alt="" class="arrow" style="margin-bottom:5px;"  id="img11" /><a href="javascript:left_ShowHide(\'Navi11\',\'img11\',\'left11\')" ><span id="left11">Health & Accident</span></a></li>        <li class="leftliholder">          <ul class="leftshowhide_sub"  id="Navi11" style="display:none; " >      <li class="lisubheadadj"><a href="https://www.online.citibank.co.in/INGCB/portal/citiin/forms/citihealthforever.do?site=PORTAL&creative=NGX&section=LFTNVINS&agencyCode=XER&campaignCode=&productCode=&eOfferCode=LFTNVINS">Health Forever</a></li><li class="lisubheadadj"><a href="https://www.online.citibank.co.in/INGCB/portal/citiin/forms/smartcash/citi_smartcash_index.do?site=PORTAL&creative=NGX&section=LFTNVINS&agencyCode=XER&campaignCode=&productCode=&eOfferCode=LFTNVINS">Smart Cash</a></li><li class="lisubheadadj"><a href="https://www.online.citibank.co.in/INGCB/portal/citiin/forms/pac/citi_personalcare_index.do?site=PORTAL&creative=NGX&section=LFTNVINS&agencyCode=XER&campaignCode=CitiPAC&productCode=insurance&eOfferCode=LFTNVINS">Personal Accident Care</a></li></ul><li class="leftshowhide_sub" ><img src="/global-images/arrow_blue1.gif" alt="" class="arrow" style="margin-bottom:5px;" /><a href="https://www.online.citibank.co.in/INGCB/portal/citiin/forms/citiintravel.do?site=PORTAL&creative=NGX&section=LFTNVINS&agencyCode=XER&campaignCode=&productCode=&eOfferCode=LFTNVINS"><span>Travel Insurance</span></a></li>    </div>      <div class="leftgradfoot"> <img src="/global-images/left_nav_foot.gif" alt="" /> </div>    </div>    <div class="leftgradholder"> <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;" /><a href="https://www.online.citibank.co.in/products-services/loans/insurance-on-home-loan.htm?site=PORTAL&creative=NGX&section=LFTNVINS&agencyCode=XER&campaignCode=&productCode=&eOfferCode=LFTNVINS"><span>Home Loan Insurance</span></a></li><li class="leftshowhide_sub"><img src="/global-images/arrow_blue1.gif" alt="" class="arrow" style="margin-bottom:5px;" /><a href="https://www.online.citibank.co.in/INGCB/portal/citiin/forms/hpp/citi_hpp_building_index.do?site=PORTAL&creative=NGX&section=LFTNVINS&agencyCode=XER&campaignCode=&productCode=&eOfferCode=LFTNVINS"><span>Home Power Protect</span></a></li><li class="leftshowhide_sub" ><img src="/global-images/arrow_blue1.gif" alt="" class="arrow" style="margin-bottom:5px;" /><a href="/products-services/insurance/life-insurance/know-about-insurance.htm?eOfferCode=LFTNVINS" ><span>Know About Insurance</span></a></li><li class="leftshowhide_sub" ><img src="/global-images/arrow_blue1.gif" alt="" class="arrow" style="margin-bottom:5px;" /><a href="/customerservice/home.htm?eOfferCode=LFTNVINS" ><span>Contact Us</span></a></li>                   </div>      <div class="leftgradfoot"> <img src="/global-images/left_nav_foot.gif" alt="" /> </div>    </div>    	<div class="leftgradholder"> <div class="leftgradholder"><div class="leftgradtop"> <img src="/global-images/left_nav_top.gif" alt="" /> </div> <div class="leftgradmid"><p class="leftshowhide_sub">At any point of time you may<br /> click &#8217;Reset&#8217; button or close<br /> the browser to exit the page</p></div></div><div class="leftgradfoot"> <img src="/global-images/left_nav_foot.gif" alt="" /> </div> </div>  </ul></div> ');	
	}
