rem: $(cells).each(function () {  var scroll = document.documentElement.scrollTop || document.body.scrollTop; var offset = scroll - this.stickyPosition - 4; if (offset > 0 && offset < this.stickyMax - 100) { $(this).css('visibility', 'visible'); } else { $(this).css('visibility', 'hidden'); } }); 
add: time = setTimeout(function () {   $('table.sticky-table').each(function () { this.height = $(this).height(); });  $(cells).each(function () {  this.stickyPosition = Drupal.absolutePosition(this.cell).y; this.stickyMax = this.table.height;   var ref = this.cell; if (this.wide) {  ref = this.table; } $(this).css('width', parseInt($(ref).width()) - parseInt($(this).css('paddingLeft')) +'px'); });   time = null; }, 250); 
context:     $(cells).each(function () {      // Fetch scrolling position.      var scroll = document.documentElement.scrollTop || document.body.scrollTop;      var offset = scroll - this.stickyPosition - 4;      if (offset > 0 && offset < this.stickyMax - 100) {        $(this).css('visibility', 'visible');      }      else {        $(this).css('visibility', 'hidden');      }    });
meta: 6801	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6801/c11cb4ec24479e801076c094f043f2084b344d0c/tableheader.js/buggy/misc/tableheader.js