--- /home/mikhail/Desktop/drupal-6.20/misc/tableheader.js	2009-03-30 19:48:09.000000000 +0700
+++ ./tableheader.js	2011-03-25 17:32:41.133114704 +0600
@@ -13,7 +13,7 @@ Drupal.behaviors.tableHeader = function 
   }
 
   // Keep track of all cloned table headers.
-  var headers = [];
+  var headers = $('table.sticky-header').not($('table', context));
 
   $('table.sticky-enabled thead:not(.tableHeader-processed)', context).each(function () {
     // Clone thead so it inherits original jQuery properties.
