var layer = SimileAjax.WindowManager._layers[i]; if (layer.elmt != null) { var elmt = layer.elmt; var elmtCoords = SimileAjax.DOM.getPageCoordinates(elmt); if (evtCoords.x >= elmtCoords.left && evtCoords.x < (elmtCoords.left + elmt.offsetWidth) && evtCoords.y >= elmtCoords.top && evtCoords.y < (elmtCoords.top + elmt.offsetHeight)) { break; } } 
SimileAjax.WindowManager._cancelPopups = function() {    var i = SimileAjax.WindowManager._layers.length - 1;    while (i > 0 && SimileAjax.WindowManager._layers[i].ephemeral) {        i--;    }    SimileAjax.WindowManager._popToLayer(i);};
6194	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6194/4a37b7d808b7a8329eddb60d75d938911f1de1e5/window-manager.js/clean/src/webapp/api/scripts/window-manager.js