rem: if (this._currentIndex > -1 && index <= this._currentIndex) this._currentIndex++; 
add: var size = this._getRowCount();  if (size == 1) { if (this._getColumnCount() > 0) { this.setRowIndexSelected(0); } else { this._currentIndex = 0; } } else if (index <= this._currentIndex) { if (this._currentIndex + 1 < size) this.setRowIndexSelected(this._currentIndex + 1); } 
context:     addRow: function(index, values) {        var content = this._content;        eval("values = " + values);        var state = this._visibleCheckBoxes ? 0 : -1;                for (var i = 0, cnt = this._getColumnCount(); i < cnt; i++) {            var cell = this._newCell(values[i], i, state);            var column = content.childNodes.item(i);                    var length = column.childNodes.length;                        if (length > 0 && index < length)                column.insertBefore(cell, column.childNodes.item(index));            else                column.appendChild(cell);        }                if (this._currentIndex > -1 && index <= this._currentIndex)            this._currentIndex++;    },
meta: 5515	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5515/f92e9b34465915b5a9427afe1d7d625eccda8376/GridBox.js/clean/src/thinwire/render/web/resources/GridBox.js