while (elmt != body) { 
while (elmt != null && elmt != body) { 
SimileAjax.DOM.getPageCoordinates = function(elmt) {    var left = 0;    var top = 0;        if (elmt.nodeType != 1) {        elmt = elmt.parentNode;    }        var elmt2 = elmt;    while (elmt2 != null) {        left += elmt2.offsetLeft;        top += elmt2.offsetTop;        elmt2 = elmt2.offsetParent;    }        var body = document.body;    while (elmt != body) {        if ("scrollLeft" in elmt) {            left -= elmt.scrollLeft;            top -= elmt.scrollTop;        }        elmt = elmt.parentNode;    }        return { left: left, top: top };};
6194	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6194/4a37b7d808b7a8329eddb60d75d938911f1de1e5/dom.js/buggy/src/webapp/api/scripts/dom.js