function submitType(searchForm) {
    // this only needs to submit the search type and nothing else                
    var nameVar = document.getElementById("nameId");
    if (nameVar !== null) {
        nameVar.value = '';
    }                
    var specialtyVar = document.getElementById("specialtyId");
    if (specialtyVar !== null) {
       specialtyVar.options[specialtyVar.selectedIndex].value = '';
    }
    var locationVar = document.getElementById("locationId");
    if (locationVar !== null) {
       locationVar.options[locationVar.selectedIndex].value = '';
    }
    var divisionVar = document.getElementById("divisionId");
    if (divisionVar !== null) {
       divisionVar.options[divisionVar.selectedIndex].value = '';
    }
    var clinicalInterestVar = document.getElementById("clinicalInterestId");
    if (clinicalInterestVar !== null) {
       clinicalInterestVar.options[clinicalInterestVar.selectedIndex].value = '';
    }   
   var clearResults = document.getElementById("clear");
   clearResults.value = "clearAll";
   searchForm.submit(); 
}

function submitChange(searchForm) {
   var clearResults = document.getElementById("clear");
   clearResults.value = "clear";
   searchForm.submit(); 
}