function MortFormSubmit(){

	var frm = document.mortform

	if (frm.home_area_code.value == "")
	{
	alert('Please provide your telephone area code.');
	frm.home_area_code.focus();
	return false;
	}
	if (frm.loan_type.options[frm.loan_type.selectedIndex].value == "")
	{
	alert('Please select a loan type.');
	frm.loan_type.focus();
	return false;
	}
	if (frm.property_value.options[frm.property_value.selectedIndex].value == "")
	{
	alert('Please select a property value.');
	frm.property_value.focus();
	return false;
	}
	if (frm.mortgage_balance.options[frm.mortgage_balance.selectedIndex].value == "")
	{
	alert('Please select a mortgage balance.');
	frm.mortgage_balance.focus();
	return false;
	}
	if (frm.consumer_credit.options[frm.consumer_credit.selectedIndex].value == "")
	{
	alert('Please select your credit.');
	frm.consumer_credit.focus();
	return false;
	}

	if (parseInt(frm.property_value.options[frm.property_value.selectedIndex].value) <= parseInt(frm.mortgage_balance.options[frm.mortgage_balance.selectedIndex].value))
	{
	alert('Property Value must be greater than Mortgage Balance.');
	frm.property_value.focus();
	return false;
	}


	frm.submit();	

}
