6             $('.filter').change(function() {
 
   7                 document.filter[this.name].value = this.value;
 
   8                 document.filter.submit();
 
  11             $('.check-filter').change(function() {
 
  12                 document.filter[this.name].value = this.checked ? '1' : '';
 
  13                 document.filter.submit();
 
  16             $('.text-filter').each(function() {
 
  18                 $(inp).parent().submit(function() {
 
  19                     document.filter[inp.name].value = inp.value;
 
  20                     document.filter.submit();