
function onLoadF()
	{ 

	if(getCheckedValue('specifyPayMethod') == "1" && sOneVal('payMethod') == "Other" && (true) )
		{
		s('specifyPayMethod_e_t_4');
		s('payMethod_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 specifyPayMethodF(prop)
	{
	h('specifyPayMethod_e_true');
	h('specifyPayMethod_e_t_4');
	if (getCheckedValue('specifyPayMethod') == "1") 
		{
		s('specifyPayMethod_e_true'); 
		}

	if (getCheckedValue('specifyPayMethod') == "1")
		{
		s('specifyPayMethod_e_t_4');
		}

	onLoadF();
	}

function payMethodF(prop)
	{
	h('payMethod_e_Other');

	if(sOneVal('payMethod') == "Other")
		{
		s('payMethod_e_Other');
		}
	onLoadF();
	}

function mailOrPersonF(prop)
	{
	h('mailOrPerson_e_In Person');
	h('mailOrPerson_e_Other');

	if(sOneVal('mailOrPerson') == "In Person")
		{
		s('mailOrPerson_e_In Person');
		}

	if(sOneVal('mailOrPerson') == "Other")
		{
		s('mailOrPerson_e_Other');
		}
	onLoadF();
	}

function specifyAddressF(prop)
	{
	h('specifyAddress_e_true');
	if (getCheckedValue('specifyAddress') == "1") 
		{
		s('specifyAddress_e_true'); 
		}

	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", "specifyPayMethod_e_true", "specifyPayMethod_e_t_1", "payMethod_e_Other", "mailOrPerson_e_In Person", "mailOrPerson_e_Other", "specifyAddress_e_true", "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", "specifyPayMethod_e_true", "specifyPayMethod_e_t_4", "payMethod_e_Other", "mailOrPerson_e_In Person", "mailOrPerson_e_Other", "specifyAddress_e_true", "includepos_e_true", "includepos_e_t_5", "includepos_e_t_6", "deliveryOption_e_Mailed");

