add:      --i; 
context: function transferToDocument(aResult, aResultDocument){    var docElement = aResultDocument.documentElement;    while (aResultDocument.firstChild &&           aResultDocument.firstChild != docElement) {        aResultDocument.removeChild(aResultDocument.firstChild);    }    while (docElement.lastChild) {        docElement.removeChild(docElement.lastChild);    }    while (aResultDocument.lastChild &&           aResultDocument.lastChild != docElement) {        aResultDocument.removeChild(aResultDocument.lastChild);    }    var pastDocumentElement = false;    for (var i = 0; i < aResult.childNodes.length; ++i) {        var childNode = aResult.childNodes.item(i);        if (childNode instanceof HTMLElement) {            while (childNode.firstChild) {                aResultDocument.documentElement.appendChild(childNode.removeChild(childNode.firstChild));            }            pastDocumentElement = true;        }        else {            if (pastDocumentElement) {                aResultDocument.appendChild(childNode);            }            else {                aResultDocument.insertBefore(childNode, aResultDocument.documentElement);            }        }    }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/26cdb24398282987c2afbd83349e8203022ac384/p3pSummary.js/clean/extensions/p3p/resources/content/p3pSummary.js