/*
 * $Date: 2008-11-13 $
 * $Rev: 1 $
 */

$(document).ready(function() {

  var theTable = $("#glossary_table"); //find table with right class and assign to a variable


  $("#filter").keyup(function() {
    $.uiTableFilter( theTable, this.value );
  }); //reference html element with id "filter" and apply the filter to the table
  
//  theTable.find("tbody > tr").find("td:eq(1)").mousedown(function(){$(this).prev().find(":checkbox").click()}); //handle mousedown events for the table elements
//  $('#filter-form').submit(function(){theTable.find("tbody > tr:visible > td:eq(1)").mousedown(); return false;}).focus(); //give focus to input field

});

