rem: } while (i != 0); 
add: } while (i != -1); 
context: function getParentIndex(row){    if (this.isContainer(row))        return -1;    var i = row - 1;    do {        if (this.events[i] instanceof Synthetic)            return i;        i--;    } while (i != 0);    throw "no parent for row " + row + "?";};
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/46f9d1ad01e99150d26cf3ac67ee28abbb83559f/agenda-tree.js/buggy/calendar/lightning/content/agenda-tree.js