rem: } 
add: } else if (index <= this._currentIndex) { if (this._currentIndex - 1 >= 0) this._currentIndex--; } 
context:     removeRow: function(index) {        var content = this._content;            var child = this._lastColumn().childNodes.item(index).tw_child;        if (child != undefined) child.destroy();            for (var i = 0, cnt = this._getColumnCount(); i < cnt; i++) {            var column = content.childNodes.item(i);            column.removeChild(column.childNodes.item(index));                }                if (index == this._currentIndex) {            var size = this._getRowCount();                        if (index < size) {                                this.setRowIndexSelected(index);            } else if (size > 0) {                this.setRowIndexSelected(size - 1);            } else {                this._currentIndex = -1;            }        }            },
meta: 5515	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5515/f1782c774313ba79c127ba5da30580c5ce1f4c32/GridBox.js/buggy/src/thinwire/render/web/resources/GridBox.js