rem: $('input:checkbox', i).each(function() { this.checked = state; }); 
add: checkboxes = $('td input:checkbox', table).click(function(e) {  $(this).parents('tr:first')[ this.checked ? 'addClass' : 'removeClass' ]('selected');     if (e.shiftKey && lastChecked && lastChecked != e.target) {  Drupal.tableSelectRange($(e.target).parents('tr')[0], $(lastChecked).parents('tr')[0], e.target.checked); }   updateSelectAll((checkboxes.length == $(checkboxes).filter(':checked').length));   lastChecked = e.target; }); 
context:     $('input:checkbox', i).each(function() {      this.checked = state;    });
meta: 6801	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6801/940b059010a9f391195ea7f73bdabe81eb542328/tableselect.js/clean/misc/tableselect.js