rem: rowElement.setAttribute("index", i - 1); 
add: rowElement.setAttribute("index", hasHeaderRow ? i - 1 : i); 
context: EchoTable.updateClientMessage = function(tableElement) {    var propertyElement = EchoClientMessage.createPropertyElement(tableElement.id, "selection");    // remove previous values    while(propertyElement.hasChildNodes()){        propertyElement.removeChild(propertyElement.firstChild);    }        for (var i = 0; i < tableElement.rows.length; ++i) {        if (EchoTable.isSelected(tableElement.rows[i])) {            var rowElement = EchoClientMessage.messageDocument.createElement("row");            rowElement.setAttribute("index", i - 1);            propertyElement.appendChild(rowElement);        }    }    EchoDebugManager.updateClientMessage();};
meta: 498	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/498/23329a09785bd9eee05ce77207422ba2d0dbf741/Table.js/clean/src/webcontainer/java/nextapp/echo2/webcontainer/resource/js/Table.js