
function onLoadF()
	{ 

	if(sOneVal('reason') == "Periodic Tenancy" && sOneVal('leaseTerm') == "Other" && (true) )
		{
		s('reason_e_Periodic Tenancy_4');
		s('leaseTerm_e_Other');
		}

	if(getCheckedValue('includepos') == "1" && sOneVal('deliveryOption') == "Mailed" && (true) )
		{
		s('includepos_e_t_6');
		s('deliveryOption_e_Mailed');
		}

	}

function governingNationF(prop)
	{
	h('governingNation_e_Australia');
	h('governingNation_e_Canada');
	h('governingNation_e_India');
	h('governingNation_e_Philippines');
	h('governingNation_e_United Kingdom');
	h('governingNation_e_United States');

	if(sOneVal('governingNation') == "Australia")
		{
		s('governingNation_e_Australia');
		}

	if(sOneVal('governingNation') == "Canada")
		{
		s('governingNation_e_Canada');
		}

	if(sOneVal('governingNation') == "India")
		{
		s('governingNation_e_India');
		}

	if(sOneVal('governingNation') == "Philippines")
		{
		s('governingNation_e_Philippines');
		}

	if(sOneVal('governingNation') == "United Kingdom")
		{
		s('governingNation_e_United Kingdom');
		}

	if(sOneVal('governingNation') == "United States")
		{
		s('governingNation_e_United States');
		}
	onLoadF();
	}

function governingStateUSF(prop)
	{
	onLoadF();
	}

function governingStateCAF(prop)
	{
	onLoadF();
	}

function governingStateAUF(prop)
	{
	onLoadF();
	}

function governingStateUKF(prop)
	{
	onLoadF();
	}

function governingStatePHF(prop)
	{
	onLoadF();
	}

function governingStateINF(prop)
	{
	onLoadF();
	}

function numTenantsF(prop)
	{
	h('numTenants_m_0');
	h('numTenants_m_1');

	if(sOneVal('numTenants')>0)
		{
		s('numTenants_m_0');
		h('numTenants_m_1');
		}

	if(sOneVal('numTenants')>1)
		{
		s('numTenants_m_1');
		}

	onLoadF();
	}

function addSuiteNumF(prop)
	{
	h('addSuiteNum_e_true');
	if (getCheckedValue('addSuiteNum') == "1") 
		{
		s('addSuiteNum_e_true'); 
		}

	onLoadF();
	}

function numLordsF(prop)
	{
	h('numLords_m_0');
	h('numLords_m_1');

	if(sOneVal('numLords')>0)
		{
		s('numLords_m_0');
		h('numLords_m_1');
		}

	if(sOneVal('numLords')>1)
		{
		s('numLords_m_1');
		}

	onLoadF();
	}

function reasonF(prop)
	{
	h('reason_e_Periodic Tenancy');
	h('reason_e_Periodic Tenancy_4');
	h('reason_e_Upcoming Lease Expiration');
	h('reason_e_Other');

	if(sOneVal('reason') == "Periodic Tenancy")
		{
		s('reason_e_Periodic Tenancy');
		s('reason_e_Periodic Tenancy_4');
		}

	if(sOneVal('reason') == "Upcoming Lease Expiration")
		{
		s('reason_e_Upcoming Lease Expiration');
		}

	if(sOneVal('reason') == "Other")
		{
		s('reason_e_Other');
		}
	onLoadF();
	}

function leaseTermF(prop)
	{
	h('leaseTerm_e_Other');

	if(sOneVal('leaseTerm') == "Other")
		{
		s('leaseTerm_e_Other');
		}
	onLoadF();
	}

function includeposF(prop)
	{
	h('includepos_e_true');
	h('includepos_e_t_5');
	h('includepos_e_t_6');
	if (getCheckedValue('includepos') == "1") 
		{
		s('includepos_e_true'); 
		}

	if (getCheckedValue('includepos') == "1")
		{
		s('includepos_e_t_5');
		s('includepos_e_t_6');
		}

	onLoadF();
	}

function deliveryOptionF(prop)
	{
	h('deliveryOption_e_Mailed');

	if(sOneVal('deliveryOption') == "Mailed")
		{
		s('deliveryOption_e_Mailed');
		}
	onLoadF();
	}

function mailTypeF(prop)
	{
	onLoadF();
	}

function sealF(prop)
	{
	onLoadF();
	}

var divNameArray = new Array("governingNation_e_United States", "governingNation_e_Canada", "governingNation_e_Australia", "governingNation_e_United Kingdom", "governingNation_e_Philippines", "governingNation_e_India", "numTenants_m_0", "numTenants_m_1", "addSuiteNum_e_true", "numLords_m_0", "numLords_m_1", "reason_e_Periodic Tenancy", "reason_e_Periodic Tenancy_1", "leaseTerm_e_Other", "reason_e_Upcoming Lease Expiration", "reason_e_Other", "includepos_e_true", "includepos_e_t_2", "includepos_e_t_3", "deliveryOption_e_Mailed", "governingNation_e_United States", "governingNation_e_Canada", "governingNation_e_Australia", "governingNation_e_United Kingdom", "governingNation_e_Philippines", "governingNation_e_India", "numTenants_m_0", "numTenants_m_1", "addSuiteNum_e_true", "numLords_m_0", "numLords_m_1", "reason_e_Periodic Tenancy", "reason_e_Periodic Tenancy_4", "leaseTerm_e_Other", "reason_e_Upcoming Lease Expiration", "reason_e_Other", "includepos_e_true", "includepos_e_t_5", "includepos_e_t_6", "deliveryOption_e_Mailed");

