function sendData(){document.searchForm.submit()}function viewClassifieds(b,a){let form=document.getElementById("searchForm");let field=form.querySelector('[value="'+a+'"]');if(field.selected!==undefined){field.selected=true}else{if(field.checked!==undefined){field.checked=true}else{console.log("Field not supported for filtering:",field);return false}}sendData()};