
function onLoadF()
	{ 

	if(sOneVal('priorNotice') == "Notice to Pay or Quit" && getCheckedValue('mentionedTermination') == "1" && (true) )
		{
		s('priorNotice_e_Notice to Pay or Quit_6');
		s('mentionedTermination_e_true');
		}

	if(sOneVal('priorNotice') == "Notice to Pay or Quit" && getCheckedValue('mentionedTermination') == "0" && (true) )
		{
		s('priorNotice_e_Notice to Pay or Quit_7');
		s('mentionedTermination_e_false');
		}

	if(getCheckedValue('includepos') == "1" && sOneVal('deliveryOption') == "Mailed" && (true) )
		{
		s('includepos_e_t_10');
		s('deliveryOption_e_Mailed');
		}

	}

function governingNationF(prop)
	{
	h('governingNation_e_Australia');
	h('governingNation_e_Brazil');
	h('governingNation_e_Canada');
	h('governingNation_e_India');
	h('governingNation_e_Mexico');
	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') == "Brazil")
		{
		s('governingNation_e_Brazil');
		}

	if(sOneVal('governingNation') == "Canada")
		{
		s('governingNation_e_Canada');
		}

	if(sOneVal('governingNation') == "India")
		{
		s('governingNation_e_India');
		}

	if(sOneVal('governingNation') == "Mexico")
		{
		s('governingNation_e_Mexico');
		}

	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 governingStateMXF(prop)
	{
	onLoadF();
	}

function governingStateBRF(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 priorNoticeF(prop)
	{
	h('priorNotice_e_Notice to Pay or Quit');
	h('priorNotice_e_Notice to Pay or Quit_6');
	h('priorNotice_e_Notice to Pay or Quit_7');
	h('priorNotice_e_Notice to Quit');
	h('priorNotice_e_Notice of Lease Violation');
	h('priorNotice_e_Other');
	h('priorNotice_e_Other_8');

	if(sOneVal('priorNotice') == "Notice to Pay or Quit")
		{
		s('priorNotice_e_Notice to Pay or Quit');
		s('priorNotice_e_Notice to Pay or Quit_6');
		s('priorNotice_e_Notice to Pay or Quit_7');
		}

	if(sOneVal('priorNotice') == "Notice to Quit")
		{
		s('priorNotice_e_Notice to Quit');
		}

	if(sOneVal('priorNotice') == "Notice of Lease Violation")
		{
		s('priorNotice_e_Notice of Lease Violation');
		}

	if(sOneVal('priorNotice') == "Other")
		{
		s('priorNotice_e_Other');
		s('priorNotice_e_Other_8');
		}
	onLoadF();
	}

function mentionedTerminationF(prop)
	{
	h('mentionedTermination_e_true');
	h('mentionedTermination_e_false');
	if (getCheckedValue('mentionedTermination') == "1") 
		{
		s('mentionedTermination_e_true'); 
		}

	if (getCheckedValue('mentionedTermination') == "0") 
		{
		s('mentionedTermination_e_false'); 
		}

	onLoadF();
	}

function mentionedTerminationF(prop)
	{
	h('mentionedTermination_e_true');
	h('mentionedTermination_e_false');
	if (getCheckedValue('mentionedTermination') == "1") 
		{
		s('mentionedTermination_e_true'); 
		}

	if (getCheckedValue('mentionedTermination') == "0") 
		{
		s('mentionedTermination_e_false'); 
		}

	onLoadF();
	}

function includeposF(prop)
	{
	h('includepos_e_true');
	h('includepos_e_t_9');
	h('includepos_e_t_10');
	if (getCheckedValue('includepos') == "1") 
		{
		s('includepos_e_true'); 
		}

	if (getCheckedValue('includepos') == "1")
		{
		s('includepos_e_t_9');
		s('includepos_e_t_10');
		}

	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", "governingNation_e_Mexico", "governingNation_e_Brazil", "numTenants_m_0", "numTenants_m_1", "addSuiteNum_e_true", "numLords_m_0", "numLords_m_1", "priorNotice_e_Notice to Pay or Quit", "priorNotice_e_Notice to Pay or Quit_1", "mentionedTermination_e_true", "priorNotice_e_Notice to Pay or Quit_2", "mentionedTermination_e_false", "priorNotice_e_Notice to Quit", "priorNotice_e_Notice of Lease Violation", "priorNotice_e_Other", "priorNotice_e_Other_3", "includepos_e_true", "includepos_e_t_4", "includepos_e_t_5", "deliveryOption_e_Mailed", "governingNation_e_United States", "governingNation_e_Canada", "governingNation_e_Australia", "governingNation_e_United Kingdom", "governingNation_e_Philippines", "governingNation_e_India", "governingNation_e_Mexico", "governingNation_e_Brazil", "numTenants_m_0", "numTenants_m_1", "addSuiteNum_e_true", "numLords_m_0", "numLords_m_1", "priorNotice_e_Notice to Pay or Quit", "priorNotice_e_Notice to Pay or Quit_6", "mentionedTermination_e_true", "priorNotice_e_Notice to Pay or Quit_7", "mentionedTermination_e_false", "priorNotice_e_Notice to Quit", "priorNotice_e_Notice of Lease Violation", "priorNotice_e_Other", "priorNotice_e_Other_8", "includepos_e_true", "includepos_e_t_9", "includepos_e_t_10", "deliveryOption_e_Mailed");

