function chkInd()
{
	var chk=document.Form1.country.options[document.Form1.country.selectedIndex].text;
	var chk1=document.Form1.Bcountry.options[document.Form1.Bcountry.selectedIndex].text;
	var chk2=document.Form1.Curcountry.options[document.Form1.Curcountry.selectedIndex].text;
	
	if (chk=='India')
	{
		document.getElementById('state').disabled=false;
		document.getElementById('district').disabled=false;
		
	}
	else if (chk!=='India')
	{
		document.getElementById('state').disabled=true;
		document.getElementById('district').disabled=true;
	}
	
	if (chk1=='India')
	{
		document.getElementById('Bstate').disabled=false;
		document.getElementById('Bdistrict').disabled=false;
		
	}
	else if (chk1!=='India')
	{
		document.getElementById('Bstate').disabled=true;
		document.getElementById('Bdistrict').disabled=true;
	}
	
	if (chk2=='India')
	{
		document.getElementById('Curstate').disabled=false;
		document.getElementById('Curdistrict').disabled=false;
		
	}
	else if (chk2!=='India')
	{
		document.getElementById('Curstate').disabled=true;
		document.getElementById('Curdistrict').disabled=true;
	}
}
function chkMatr()
{
	if(document.getElementById('matrimonial').checked == true)
	{
		document.getElementById('matrimonail1').style["display"]="";
	}
	else if(document.getElementById('matrimonial').checked == false)
	{
		document.getElementById('matrimonail1').style["display"]="none";
	}
}
function chkMarried()
{
	var chk=document.Form1.marital.options[document.Form1.marital.selectedIndex].text;
	if(chk == "Married")
	{
		document.getElementById('matrimonial').disabled = true;
	}
	else
	{
		document.getElementById('matrimonial').disabled = false;
	}
}
function chkUnMarried()
{
	var chk=document.Form1.marital.options[document.Form1.marital.selectedIndex].text;
	if(chk == "Unmarried")
	{
		document.getElementById('son').disabled = true;
		document.getElementById('daughter').disabled = true;
	}
	else
	{
		document.getElementById('son').disabled = false;
		document.getElementById('daughter').disabled = false;
	}
}
function chg()
{
	var chgT=document.Form1.stateList.options[document.Form1.stateList.selectedIndex].text;
	document.getElementById('__state').value=chgT;
}
function chgB()
{
	var chgT=document.Form1.Bdistrict.options[document.Form1.Bdistrict.selectedIndex].text;
	document.getElementById('__stateB').value=chgT;
}
function chgP()
{
	var chgT=document.Form1.district.options[document.Form1.district.selectedIndex].text;
	document.getElementById('__stateP').value=chgT;
}
function chgC()
{
	var chgT=document.Form1.Curdistrict.options[document.Form1.Curdistrict.selectedIndex].text;
	document.getElementById('__stateC').value=chgT;
}
function chgD()
{
	var chgT=document.Form1.Ddistrict.options[document.Form1.Ddistrict.selectedIndex].text;
	document.getElementById('__disD').value=chgT;
}
function chkSur()
{
	if(document.getElementById('chkOther').checked == true)
	{
		document.getElementById('otherSurname').style["display"]="";
	}
	else if(document.getElementById('chkOther').checked == false)
	{
		document.getElementById('otherSurname').style["display"]="none";
	}
}
function chkSurFa()
{
	if(document.getElementById('chkOtherFa').checked == true)
	{
		document.getElementById('otherSurnameFa').style["display"]="";
	}
	else if(document.getElementById('chkOtherFa').checked == false)
	{
		document.getElementById('otherSurnameFa').style["display"]="none";
	}
}
function hidden()
{
	document.getElementById('bl').style["display"]="none";
	document.getElementById('pl').style["display"]="none";
	document.getElementById('cl').style["display"]="none";
}