$(document).ready(function(){
  
  $('.changeRaceForm select').change(function(){
    $(this).parent('form').submit();
  });
  
});

/**
 * called by the faq category selector
 */
function submitMain()
{
  // copy cat id into main form
  $('#group_id').val($('#disciplineLeft').val());
  
  // sub main form
  $('#mainSearchForm').submit();
  
  return false;
}
