function initTabs()
{
	var sets = document.getElementsByTagName("ul");
	for (var i = 0; i < sets.length; i++)
	{
		if (sets[i].className.indexOf("tabset") != -1)
		{
			var tabs = [];
			var links = sets[i].getElementsByTagName("a");
			for (var j = 0; j < links.length; j++)
			{
				if (links[j].className.indexOf("tab") != -1)
				{
					tabs.push(links[j]);
					links[j].tabs = tabs;
					var c = document.getElementById(links[j].href.substr(links[j].href.indexOf("#") + 1));

					//reset all tabs on start
					if (c) if (links[j].parentNode.className.indexOf("active") != -1) c.style.display = "block";
					else c.style.display = "none";

					links[j].onclick = function ()
					{
						var c = document.getElementById(this.href.substr(this.href.indexOf("#") + 1));
						if (c)
						{
							//reset all tabs before change
							for (var i = 0; i < this.tabs.length; i++)
							{
								var tab = document.getElementById(this.tabs[i].href.substr(this.tabs[i].href.indexOf("#") + 1));
								if (tab)
								{
									tab.style.display = "none";
								}
								this.tabs[i].parentNode.className = this.tabs[i].parentNode.className.replace("active", "");
							}
							this.parentNode.className += " active";
							c.style.display = "block";
							return false;
						}
					}
				}
			}
		}
	}
}

/* For Faqs */
function show(num){
	document.getElementById('ans'+num).style.display = 'block';
	document.getElementById('que'+num).href = "javascript:hide('"+num+"');";
	document.getElementById('queli'+num).className="faq-arrow-blue";
}
function hide(num){
	document.getElementById('ans'+num).style.display = 'none';
	document.getElementById('que'+num).href = "javascript:show('"+num+"');";
	document.getElementById('queli'+num).className="";
}
function showpart(thislink){
	window.location.href = thislink;
}

/* For Faqs */

function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'width=880,height=580');
return false;
}
/* For investing-wizard */
function popupwiz(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'width=640,height=318');
return false;
}

function popuprisk(mylink)
{
	window.open(mylink,'welcome','width=620,height=600,menubar=yes,status=yes,location=yes,toolbar=no,scrollbars=yes');
}

/* For Terms & Conditions Validation */

function validatetc()
	{
		if(document.tcform.tc.checked != true)
			{	alert("Please accept terms & conditions to proceed for chat");
				return false;
			}
		else
			return true;
	}
	
function calculateamt()
{    
	from=document.getElementById('from').value;
	amount=document.getElementById('amount').value;
	
	from_curr="I_TT_"+ from;
	result=amount*eval(from_curr);
	finalres="Rs "+addCommas(roundNumber(result,2));
	document.getElementById('output').innerHTML='Your amount is converted to <b>'+finalres+'</b> @ Rs '+ eval(from_curr)+ ' per '+from+' by Telegraphic Transfer';
	
	
	
}
function roundNumber(num, dec) {
	var result = Math.round(num*Math.pow(10,dec))/Math.pow(10,dec);
	return result;
}
	
 function addCommas(nStr)
 {
	nStr += '';
	x = nStr.split('.');
	x1 = x[0];
	x2 = x.length > 1 ? '.' + x[1] : '';
	var rgx = /(\d+)(\d{3})/;
	while (rgx.test(x1)) {
		x1 = x1.replace(rgx, '$1' + ',' + '$2');
	}
	return x1 + x2;
 }	
 
/* function branchlist()
 {
 
 document.write("<option value='branch_agra.htm'>Agra</option>");
 document.write("<option value='branch_amloh.htm'>Amloh</option>");
 document.write("<option value='branch_amtala.htm'>Amtala</option>");
 document.write("<option value='branch_apra.htm'>Apra (Jalandhar)</option>");
 document.write("<option value='branch_ahmedabad.htm'>Ahmedabad</option>");
 document.write("<option value='branch_ahmednagar.htm'>Ahmednagar</option>");
 document.write("<option value='branch_allahabad.htm'>Allahabad</option>");
 document.write("<option value='branch_amritsar.htm'>Amritsar</option>");
 document.write("<option value='branch_ankleshwar.htm'>Ankleshwar</option>");
 document.write("<option value='branch_aurangabad.htm'>Aurangabad</option>");
 document.write("<option value='branch_bangalore.htm'>Bangalore</option>");
 document.write("<option value='branch_barbil.htm'>Barbil</option>");
 document.write("<option value='branch_bardoli.htm'>Bardoli</option>");
 document.write("<option value='branch_bhavnagar.htm'>Bhavnagar</option>");
 document.write("<option value='branch_bhilwara.htm'>Bhilwara</option>");
 document.write("<option value='branch_bhiwandi.htm'>Bhiwandi</option>");
 document.write("<option value='branch_bhopal.htm'>Bhopal</option>");
 document.write("<option value='branch_bhubaneswar.htm'>Bhubaneswar</option>");
 document.write("<option value='branch_bidadi.htm'>Bidadi</option>");
 document.write("<option value='branch_bodeli.htm'>Bodeli</option>");
 document.write("<option value='branch_chandigarh.htm'>Chandigarh</option>");
 document.write("<option value='branch_chennai.htm'>Chennai</option>");
 document.write("<option value='branch_coimbatore.htm'>Coimbatore</option>");
 document.write("<option value='branch_dahanu.htm'>Dahanu</option>");
 document.write("<option value='branch_dahod.htm'>Dahod</option>");
 document.write("<option value='branch_delhi.htm'>Delhi</option>");
 document.write("<option value='branch_deesa.htm'>Deesa</option>");
 document.write("<option value='branch_dhanbad.htm'>Dhanbad (Jharkhand)</option>");
 document.write("<option value='branch_faridabad.htm'>Faridabad</option>");
 document.write("<option value='branch_gandhidham.htm'>Gandhidham</option>");
 document.write("<option value='branch_gandhinagar.htm'>Gandhinagar</option>");
 document.write("<option value='branch_ghaziabad.htm'>Ghaziabad</option>");
 document.write("<option value='branch_goa.htm'>Goa</option>");
 document.write("<option value='branch_gurdaspur.htm'>Gurdaspur</option>");
 document.write("<option value='branch_guwahati.htm'>Guwahati</option>");
 //document.write("<option value='branch_hazira.htm'>Hazira</option>");
 document.write("<option value='branch_himmatnagar.htm'>Himmatnagar</option>");
 document.write("<option value='branch_hyderabad.htm'>Hyderabad</option>");
 document.write("<option value='branch_indore.htm'>Indore</option>");
 document.write("<option value='branch_jaipur.htm'>Jaipur</option>");
 document.write("<option value='branch_jalandhar.htm'>Jalandhar</option>");
 document.write("<option value='branch_jamshedpur.htm'>Jamshedpur (Jharkhand)</option>");
 document.write("<option value='branch_jodhpur.htm'>Jodhpur</option>");
 document.write("<option value='branch_jorhat.htm'>Jorhat</option>");
 document.write("<option value='branch_kadi.htm'>kadi</option>");
 document.write("<option value='branch_kanpur.htm'>Kanpur</option>");
 document.write("<option value='branch_kapurthala.htm'>Kapurthala</option>");
 document.write("<option value='branch_kelambakkam.htm'>Kelambakkam</option>");
 document.write("<option value='branch_kochi.htm'>Kochi</option>");
 document.write("<option value='branch_kolhapur.htm'>Kolhapur</option>");
 document.write("<option value='branch_kolkata.htm'>Kolkata</option>");
 document.write("<option value='branch_kottayam.htm'>Kottayam</option>");
 document.write("<option value='branch_lucknow.htm'>Lucknow</option>");
document.write("<option value='branch_ludhiana.htm'>Ludhiana</option>");
 document.write("<option value='branch_madurai.htm'>Madurai</option>");
 document.write("<option value='branch_mathura.htm'>Mathura</option>");
 document.write("<option value='branch_mehsana.htm'>Mehsana</option>");
 document.write("<option value='branch_meerut.htm'>Meerut (Uttar Pradesh)</option>");
 document.write("<option value='branch_mohali.htm'>Mohali</option>");
 document.write("<option value='branch_moradabad.htm'>Moradabad</option>");
 document.write("<option value='branch_morbi.htm'>Morbi</option>");
 document.write("<option value='branch_mullanpur.htm'>Mullanpur Dakha (Punjab)</option>");
 document.write("<option value='branch_mumbai.htm'>Mumbai</option>");
 document.write("<option value='branch_muthangi.htm'>Muthangi (Andhra Pradesh)</option>");
 document.write("<option value='branch_mysore.htm'>Mysore</option>");
 document.write("<option value='branch_nagpur.htm'>Nagpur</option>");
 document.write("<option value='branch_nakodar.htm'>Nakodar</option>");
 document.write("<option value='branch_namakkal.htm'>Namakkal</option>");
 document.write("<option value='branch_nandelav-bharuch.htm'>Nandelav (Bharuch)</option>");
 document.write("<option value='branch_nasik.htm'>Nasik</option>");
 document.write("<option value='branch_navsari.htm'>Navsari</option>");
 document.write("<option value='branch_palanpur.htm'>Palanpur</option>");
 document.write("<option value='branch_palsana.htm'>Palsana</option>");
 document.write("<option value='branch_panchkula.htm'>Panchkula</option>");
 document.write("<option value='branch_patiala.htm'>Patiala</option>");
 document.write("<option value='branch_patna.htm'>Patna</option>");
 document.write("<option value='branch_phagwara.htm'>Phagwara</option>");
 document.write("<option value='branch_pune.htm'>Pune</option>");
 document.write("<option value='branch_raipur.htm'>Raipur</option>");
 document.write("<option value='branch_rajkot.htm'>Rajkot</option>");
 document.write("<option value='branch_rajpura.htm'>Rajpura</option>");
 document.write("<option value='branch_rudrapur.htm'>Rudrapur</option>");
 document.write("<option value='branch_salem.htm'>Salem</option>");
 document.write("<option value='branch_sangrur.htm'>Sangrur</option>");
 document.write("<option value='branch_sankari.htm'>Sankari</option>");
 document.write("<option value='branch_secunderabad.htm'>Secunderabad</option>");
 document.write("<option value='branch_silvassa.htm'>Silvassa</option>");
 document.write("<option value='branch_surat.htm'>Surat</option>");
 document.write("<option value='branch_surendranagar.htm'>Surendranagar</option>");
 document.write("<option value='branch_tarapur.htm'>Tarapur</option>");
 document.write("<option value='branch_tiruppur.htm'>Tiruppur</option>");
 document.write("<option value='branch_trichy.htm'>Trichy</option>");
 document.write("<option value='branch_trivandrum.htm'>Trivandrum</option>");
 document.write("<option value='branch_udaipur.htm'>Udaipur</option>");
 document.write("<option value='branch_unjha.htm'>Unjha</option>");
 document.write("<option value='branch_vadodara.htm'>Vadodara</option>");
 document.write("<option value='branch_vallabh-vidya-nagar.htm'>Vallabh Vidya Nagar</option>");
 document.write("<option value='branch_valsad.htm'>Valsad</option>");
 document.write("<option value='branch_vapi.htm'>Vapi</option>");
 document.write("<option value='branch_varanasi.htm'>Varanasi</option>");
 document.write("<option value='branch_vijayawada.htm'>Vijayawada</option>");
 document.write("<option value='branch_vishakhapatnam.htm'>Vishakhapatnam</option>");
 document.write("<option value='branch_visnagar.htm'>Visnagar</option>");
 document.write("<option value='branch_vyara.htm'>Vyara</option>");
 document.write("<option value='branch_zirakpur.htm'>Zirakpur</option>");

 
 }
 function city()
 {
 box = document.applynow.apply.value;
 window.open("http://www.kotak.com/Kotak_BankSite/common/"+box,'welcome','width=650,height=400,menubar=yes,status=yes,location=yes,toolbar=no,scrollbars=yes');

 }
 function phone()
 {
 box = document.phonenumbers.phoneno.value;
 window.open(box,'welcome','width=650,height=400,menubar=yes,status=yes,location=yes,toolbar=no,scrollbars=yes');

 }
 
 function phonenumberlist()
 {

 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_ahmedabad.htm'>Ahmedabad</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_allahabad.htm'>Allahabad</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_amritsar.htm'>Amritsar</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_ankleshwar.htm'>Ankleshwar</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_bangalore.htm'>Bangalore</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_bardoli.htm'>Bardoli</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_chandigarh.htm'>Chandigarh</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_chennai.htm'>Chennai</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_coimbatore.htm'>Coimbatore</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_goa.htm'>Goa</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_gurgaon.htm'>Gurgaon</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_himmatnagar.htm'>Himmatnagar</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_hyderabad.htm'>Hyderabad</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_indore.htm'>Indore</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_jaipur.htm'>Jaipur</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_jalandhar.htm'>Jalandhar</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_kadi.htm'>Kadi</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_kanpur.htm'>Kanpur</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_kapurthala.htm'>Kapurthala</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_kochi.htm'>Kochi</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_kolkata.htm'>Kolkata</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_kottayam.htm'>Kottayam</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_lucknow.htm'>Lucknow</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_ludhiana.htm'>Ludhiana</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_mehsana.htm'>Mehsana</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_mohali.htm'>Mohali</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_morbi.htm'>Morbi</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_mumbai.htm'>Mumbai</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_nagpur.htm'>Nagpur</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_namakkal.htm'>Namakkal</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_navsari.htm'>Navsari</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_new_delhi.htm'>New Delhi</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_noida.htm'>Noida</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_panchkula.htm'>Panchkula</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_patna.htm'>Patna</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_phagwara.htm'>Phagwara</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_pune.htm'>Pune</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_rajkot.htm'>Rajkot</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_rajpura.htm'>Rajpura</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_sankari.htm'>Sankari</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_surat.htm'>Surat</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_unjha.htm'>Unjha</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_vadodara.htm'>Vadodara</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_vallabh_vidya_nagar.htm'>Vallabh Vidya Nagar</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_valsad.htm'>Valsad</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_vapi.htm'>Vapi</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_varanasi.htm'>Varanasi</option>");
 document.write("<option value='http://www.kotak.com/Kotak_BankSite/common/phone_numbers/ph_visnagar.htm'>Visnagar</option>");

 }*/
 
 function showlink(val){
  if(val!=0)
  {
    document.getElementById('product-selector').value=0;
	document.location.href=val;
  }	
}

function showbanks(val){
  if(val!=0)
  {
    document.getElementById('corrbanks').value=0;
	document.location.href=val;
  }	
}

/* For Compare Account */
function showmore(){
	document.getElementById('compareexpand').style.display = 'block';
	document.getElementById('expandlink').style.display = 'none';
}

/* For Fund Communications */
function openfund(name){
	document.getElementById(name).style.display = 'block';
	document.getElementById(name+'link').href = "javascript:closefund('"+name+"');";
}
function closefund(name){
	document.getElementById(name).style.display = 'none';
	document.getElementById(name+'link').href = "javascript:openfund('"+name+"');";
}

/* For Max yield form validation */
function getQueryVariable(variable) 
	{
	  var query = window.location.search.substring(1);
	  var vars = query.split("&");
	  for (var i=0;i<vars.length;i++)
	   {
		var pair = vars[i].split("=");
			if (pair[0] == variable) 
			{
			  return pair[1];
			}
  		}
	}
	
function isnumeric(data)
{
	var flag = ( (rmspaces(data)).length > 0);
	var isdot = 0;
	if (flag)
	{
	for (i=0;i<data.length && flag;i++)
		if ( data.charAt(i) > '9' || data.charAt(i) < '0'){
			if (data.charAt(i) != '.' || isdot > 0){
				flag = false;
			}else{
				isdot = 1;
			}
		};
	}
	return flag
}
  
function rmspaces(x) {
	var leftx = 0;
	var rightx = x.length -1;
	while ( x.charAt(leftx) == ' ') leftx++;
	while ( x.charAt(rightx) == ' ') --rightx;
	var q = x.substr(leftx,rightx-leftx + 1); 
	if ( (leftx == x.length) && (rightx == -1) ) q ='';
	return(q)
};
  
function chk()
{
	//alert(getQueryVariable("message"));
	var sent=getQueryVariable("message");
	if (sent=="sent")
	{
	document.getElementById('show').style.display = "block";	
	}
	else
	{
	document.getElementById('show').style.display = "none";
	}
}
function numbersonly(e)
{
	var unicode=e.charCode? e.charCode : e.keyCode
	if (unicode!=8)
		{
			if (unicode<48||unicode>57)
			return false
		}
}
function submitit()
{	
		if(document.myform.name.value=="")
		{
			alert("Please enter your name");
			document.myform.name.focus();
			document.myform.name.select();
			return(false);
		}
		
		
		if(document.myform.crn.value != "")
		{
			if(!isnumeric(document.myform.crn.value)) {
				alert("Please enter valid CRN.");
				document.myform.crn.focus();
				document.myform.crn.select();
				return(false);
			}
			var crn = document.myform.crn.value;
			if(crn.length != 8)
			{
				alert("Please enter valid CRN.");
				document.myform.crn.focus();
				document.myform.crn.select();
				return(false);
			}			
			
		}
		if(document.myform.country.value=="")
		{
			alert("Please enter Country of Residence");
			document.myform.country.focus();
			document.myform.country.select();
			return(false);
		}	
		if(document.myform.email.value=="")
		{
			alert("Please enter your Email ID");
			document.myform.email.focus();
			document.myform.email.select();
			return(false);
		}
		if(!checkemail(document.myform.email.value))
			return(false);
		if(document.myform.contact.value=="")
		{
			alert("Please enter your contact number");
			document.myform.contact.focus();
			document.myform.contact.select();
			return(false);
		}	
		if(document.myform.code.value=='' || document.myform.code.value=='Enter the above word')
		{
		  alert('Please enter the string from the displayed image');
		  document.myform.code.value='';
		  document.myform.code.focus();
		  return false;
		}
		else{
			// Now the Ajax CAPTCHA validation
	//		alert(document.myform.code.value);
			checkcode(document.myform.code.value);
			return false;
		}
		
		}
	
function checkemail()
	{
		var str=document.myform.email.value;
		var at="@"
		var dot="."
		var lat=str.indexOf(at)
		var lstr=str.length
		var ldot=str.indexOf(dot)
		if (str.indexOf(at)==-1){
		   alert("Invalid E-mail ID")
		   return false
		}

		if (str.indexOf(at)==-1 || str.indexOf(at)==0 || str.indexOf(at)==lstr){
		   alert("Invalid E-mail ID")
		   return false
		}

		if (str.indexOf(dot)==-1 || str.indexOf(dot)==0 || str.indexOf(dot)==lstr){
		    alert("Invalid E-mail ID")
		    return false
		}

		 if (str.indexOf(at,(lat+1))!=-1){
		    alert("Invalid E-mail ID")
		    return false
		 }

		 if (str.substring(lat-1,lat)==dot || str.substring(lat+1,lat+2)==dot){
		    alert("Invalid E-mail ID")
		    return false
		 }

		 if (str.indexOf(dot,(lat+2))==-1){
		    alert("Invalid E-mail ID")
		    return false
		 }

		 if (str.indexOf(" ")!=-1){
		    alert("Invalid E-mail ID")
		    return false
		 }

 		 return true;
}

function setHomepage(defaultpage)
{

var date = new Date();
date.setTime(date.getTime()+(10000*24*60*60*1000));
var expires = "; expires="+date.toGMTString();
alert("This will be your default page the next time you visit the kotaknri.com website.")
document.cookie = "url"+"="+defaultpage+expires+"; path=/";

}

function showinfo()
{
	document.getElementById('livechatinfo').style.display = 'block';
}

function hideinfo()
{
	document.getElementById('livechatinfo').style.display = 'none';
}


function call_myfunc()
			{

				if (document.myform.mydiv.value!="")
				{
					document.myform.action="http://www.kotak.com/Kotak_BankSite/nri/correspondent-banks.html?mydiv="+document.myform.mydiv.value;
					document.myform.submit();
				}


			}

