// SHOW INSURANCE TYPE EXTRA FIELDS FUNCTION function showInsuranceType(dropdown) { if (dropdown.value == 'busgroup') { document.getElementById('select_numofemployees').style.display = ''; } else { document.getElementById('select_numofemployees').style.display = 'none'; } } // SHOW AMERCICAN OUTDOORS LIABILITY EXTRA FIELDS FUNCTION function showPreInsurance(dropdown) { if (dropdown.value == 1) { document.getElementById('select_preinsurance').style.display = ''; } else { document.getElementById('select_preinsurance').style.display = 'none'; } } function showPriorCarrier(dropdown) { if (dropdown.value == 1) { document.getElementById('select_priorcarrier').style.display = ''; } else { document.getElementById('select_priorcarrier').style.display = 'none'; } } // SHOW DISABILITY EXTRA FIELDS FUNCTION function showOtherDisability(dropdown) { if (dropdown.value == '1') { document.getElementById('select_otherdisability').style.display = ''; } else { document.getElementById('select_otherdisability').style.display = 'none'; } } // SHOW HEALTH EXTRA FIELDS function showSpouse(dropdown) { if (dropdown.value == '1') { document.getElementById('select_spouse').style.display = ''; } else { document.getElementById('select_spouse').style.display = 'none'; } } function showChildren(dropdown) { if (dropdown.value == '1') { document.getElementById('select_child').style.display = ''; } else { document.getElementById('select_child').style.display = 'none'; } }