function paymentfunction()
{
	box = document.form1.userType;
	destination = box.options[box.selectedIndex].value;
	
	if ((destination) == 'Pay User')
	{
		document.getElementById("payment_link").style.display='';
		//document.getElementById("children_living").style.display='none';
		
		
	}
	if ((destination) == 'Free User')
	{
		document.getElementById("payment_link").style.display='none';
		//document.getElementById("children_living").style.display='none';
		
	}
}


function personalInfo()
{
	box = document.form1.maritalStatus;
	destination = box.options[box.selectedIndex].value;
	
	if ((destination) == 'Unmarried')
	{
		document.getElementById("no_children").style.display='none';
		document.getElementById("children_living").style.display='none';
		
		
	}
	
	if (((destination) == 'Widow')||((destination) == 'Widower')||((destination) == 'Divorced'))
	{
		
		document.getElementById("no_children").style.display='';
		document.getElementById("children_living").style.display='none';
	
	}
	
		
		
}
function child_living()
{
	box = document.form1.no_of_children;
	destination = box.options[box.selectedIndex].value;
	
	if ((destination) == '0'){

		document.getElementById("children_living").style.display='none';
		
		
	}
	if (((destination) == '1')||((destination) == '2')||((destination) == '3')||((destination) == '4'))
	{
		
		document.getElementById("children_living").style.display='';
	
	}
	
}
function nativeLanguagefun()
{
	box = document.form1.nativeLanguage;
	destination = box.options[box.selectedIndex].value;
	
	if (((destination) == 'Bangla') || ((destination) == 'Chakma') || ((destination) == 'English') || ((destination) == 'Garo') || ((destination) == 'Hajang') || ((destination) == 'Kachhari') || ((destination) == 'Khasia') || ((destination) == 'Kuki') || ((destination) == 'Magh') || ((destination) == 'Malpahadi') || ((destination) == 'Manipuri') || ((destination) == 'Mikir') || ((destination) == 'Munda') || ((destination) == 'Oraon') || ((destination) == 'Santali') || ((destination) == 'Shadri') || ((destination) == 'Tipra') )
	{
		document.getElementById("current_enroll_na").style.display='none';
		
		
		
	}
	if ((destination) == 'Others'){
	
	document.getElementById("current_enroll_na").style.display='';
	
		
		
	}

}
function residentfun()
{
	box = document.form1.resident_status;
	destination = box.options[box.selectedIndex].value;
	
	if (((destination) == 'Citizen')||((destination) == 'Permanent Resident')||((destination) == 'Student Visa')||((destination) == 'Temporary Visa')||((destination) == 'Non resident')||((destination) == 'Work permit'))
	{
		document.getElementById("current_enroll_res").style.display='none';
	
		
		
	}
	if ((destination) == 'Others'){
		document.getElementById("current_enroll_res").style.display='';
	
		
		
	}
}

function educationfun()
{
	box = document.form1.education;
	destination = box.options[box.selectedIndex].value;
	
	if ((destination) == 'Associate degree'){
		document.getElementById("currentenroll").style.display='none';
		document.getElementById("all_edu").style.display='';
		
		
	}
	if ((destination) == 'Bachelors degree'){
		document.getElementById("currentenroll").style.display='none';
		document.getElementById("all_edu").style.display='';
		
		
	}
	if ((destination) == 'College'){
		document.getElementById("currentenroll").style.display='none';
		document.getElementById("all_edu").style.display='';
		
		
	}
	if ((destination) == 'Doctroral degree/Ph.D'){
		document.getElementById("currentenroll").style.display='none';
		document.getElementById("all_edu").style.display='';
		
		
	}
	if ((destination) == 'Elementary'){
		document.getElementById("currentenroll").style.display='none';
		document.getElementById("all_edu").style.display='';
		
		
	}
	if ((destination) == 'Graduate/ Master degree'){
		document.getElementById("currentenroll").style.display='none';
		document.getElementById("all_edu").style.display='';
		
		
	}
	if ((destination) == 'High School'){
		document.getElementById("currentenroll").style.display='none';
		document.getElementById("all_edu").style.display='';
		
		
	}
	if ((destination) == 'Professional degree'){
		document.getElementById("currentenroll").style.display='none';
		document.getElementById("all_edu").style.display='';
		
		
	}
	if ((destination) == 'Technical Training/ Diploma'){
		document.getElementById("currentenroll").style.display='none';
		document.getElementById("all_edu").style.display='';
		
		
	}
	if ((destination) == 'Others'){
		document.getElementById("currentenroll").style.display='';
		document.getElementById("all_edu").style.display='';
		
		
	}
}
function occupation1()
{
	box = document.form1.father_occupation;
	destination = box.options[box.selectedIndex].value;
	
	if ((destination) == 'service')
	{
		document.getElementById("currentenroll1").style.display='none';
		document.getElementById("details1").style.display='';
		
		
	}
	if ((destination) == 'business'){
		document.getElementById("currentenroll1").style.display='none';
		document.getElementById("details1").style.display='';
		
		
	}
	if ((destination) == 'Others'){
		document.getElementById("currentenroll1").style.display='';
		document.getElementById("details1").style.display='';
		
		
	}

	
}
function occupation2()
{
	box = document.form1.mother_occupation;
	destination = box.options[box.selectedIndex].value;
	
	if ((destination) == 'service'){
		document.getElementById("currentenroll2").style.display='none';
		document.getElementById("details2").style.display='';
		
		
	}
	if ((destination) == 'business'){
		document.getElementById("currentenroll2").style.display='none';
		document.getElementById("details2").style.display='';
		
		
	}
	if ((destination) == 'House wife'){
		document.getElementById("currentenroll2").style.display='none';
		document.getElementById("details2").style.display='';
		
		
	}
	if ((destination) == 'Others'){
		document.getElementById("currentenroll2").style.display='';
		document.getElementById("details2").style.display='';
		
		
	}

	
}
function brothersYes(destination)
{
	
	
	
	if ((destination) == 'Yes'){
		document.getElementById("brothersno").style.display='';
		document.getElementById("brotherDetails").style.display='';
		
		
	}
	if ((destination) == 'No')
	{
		document.getElementById("brothersno").style.display='none';
		document.getElementById("brotherDetails").style.display='none';
		
		
	}
	
	
}

function sisterHave(destination)
{
	

	
	if ((destination) == 'Yes'){
		document.getElementById("sisterNo").style.display='';
		document.getElementById("sisterDetails").style.display='';
		
		
	}
	if ((destination) == 'No'){
		document.getElementById("sisterNo").style.display='none';
		document.getElementById("sisterDetails").style.display='none';
		
		
	}
	
}
function PaternalUncle(destination)
{

	if ((destination) == 'Yes'){
		document.getElementById("No_P_Uncle").style.display='';
		document.getElementById("PUncle_details").style.display='';
		
		
	}
	if ((destination) == 'No'){
		document.getElementById("No_P_Uncle").style.display='none';
		document.getElementById("PUncle_details").style.display='none';
	}
}
function PaternalAnt(destination)
{
	if ((destination) == 'Yes'){
		document.getElementById("P_ant_no").style.display='';
		document.getElementById("P_ant_details").style.display='';
		
		
	}
	if ((destination) == 'No'){
		document.getElementById("P_ant_no").style.display='none';
		document.getElementById("P_ant_details").style.display='none';
	}
}

function PfOccupation()
{
	box = document.form1.pf_occupation;
	destination = box.options[box.selectedIndex].value;
	
	if (((destination) == 'Services')||((destination) == 'Business'))
	{
		document.getElementById("Pf_currentEnrollment").style.display='none';
		document.getElementById("Pf_occupation_details").style.display='';
		
		
	}
	if ((destination) == 'Others')
	{
		document.getElementById("Pf_currentEnrollment").style.display='';
		document.getElementById("Pf_occupation_details").style.display='';
		
		
	}
}
function PmOccupation()
{
	box = document.form1.pm_occupation;
	destination = box.options[box.selectedIndex].value;
	
	if (((destination) == 'Service')||((destination) == 'Business')||((destination) == 'House wife'))
	{
		document.getElementById("Pm_currentEnroll").style.display='none';
		document.getElementById("Pm_OccuDetails").style.display='';
		
		
	}
	if ((destination) == 'Others')
	{
		document.getElementById("Pm_currentEnroll").style.display='';
		document.getElementById("Pm_OccuDetails").style.display='';
		
		
	}
}
function mUncle(destination)
{
	if ((destination) == 'Yes'){
		document.getElementById("No_mUncle").style.display='';
		document.getElementById("mUncle_details").style.display='';
		
		
	}
	if ((destination) == 'No'){
		document.getElementById("No_mUncle").style.display='none';
		document.getElementById("mUncle_details").style.display='none';
	}
}
function mAnt(destination)
{
	if ((destination) == 'Yes'){
		document.getElementById("No_mAnt").style.display='';
		document.getElementById("mAnt_details").style.display='';
		
		
	}
	if ((destination) == 'No'){
		document.getElementById("No_mAnt").style.display='none';
		document.getElementById("mAnt_details").style.display='none';
	}
}
function MfOccupation()
{
	box = document.form1.mf_occupation;
	destination = box.options[box.selectedIndex].value;
	
	if (((destination) == 'Service')||((destination) == 'Business'))
	{
		document.getElementById("Mf_CurrentEnroll").style.display='none';
		document.getElementById("Mf_Occupation_details").style.display='';
		
		
	}
	if ((destination) == 'Others')
	{
		document.getElementById("Mf_CurrentEnroll").style.display='';
		document.getElementById("Mf_Occupation_details").style.display='';
		
		
	}
}
function mMoccupation()
{
	box = document.form1.mm_occupation;
	destination = box.options[box.selectedIndex].value;
	
	if (((destination) == 'Service')||((destination) == 'Business')||((destination) == 'House wife'))
	{
		document.getElementById("mM_currentEnroll").style.display='none';
		document.getElementById("mM_OccuDetails").style.display='';
		
		
	}
	if ((destination) == 'Others')
	{
		document.getElementById("mM_currentEnroll").style.display='';
		document.getElementById("mM_OccuDetails").style.display='';
		
		
	}
}


