rem: _getCellPosition: function(cell) { var column = cell.parentNode; var columnIndex = 0; var walk = column;  while ((walk = walk.previousSibling) != null) columnIndex++;  var rowIndex = 0; var walk = cell;  while ((walk = walk.previousSibling) != null) rowIndex++;  return [columnIndex, rowIndex]; 
add: _getCellPosition: function(cell, x) { if (cell.className == "gridBoxCell") { var column = cell.parentNode; var columnIndex = 0; var walk = column;  while ((walk = walk.previousSibling) != null) columnIndex++;  var rowIndex = 0; var walk = cell;  while ((walk = walk.previousSibling) != null) rowIndex++;  return [columnIndex, rowIndex]; } else if (cell.className == "gridBoxColumnHeader") { var column = cell; var columnIndex = 0; var walk = column;  while ((walk = walk.previousSibling) != null) columnIndex++;  return [columnIndex, -1]; } else if (cell.className == "gridBoxBody" && x > 0 && this._getColumnCount() > 0) { var columnIndex = -1;  for (var i = 0, cnt = this._getColumnCount(), pos = 0; i < cnt; i++) { pos += this._header.childNodes.item(i).clientWidth; if (x < pos) columnIndex = i; }  return [columnIndex, -1]; } else { return [-1, -1]; } 
context:     _getCellPosition: function(cell) {        var column = cell.parentNode;        var columnIndex = 0;        var walk = column;                while ((walk = walk.previousSibling) != null)            columnIndex++;                var rowIndex = 0;        var walk = cell;                while ((walk = walk.previousSibling) != null)            rowIndex++;                return [columnIndex, rowIndex];    },
meta: 5515	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5515/cfa7cacc22cf44240d4fdac2a16ac0b70fe21708/GridBox.js/buggy/src/thinwire/render/web/resources/GridBox.js