for (var i = 0; i < targetWindow.frames.length; i++){ try{  var win = dojo.html.getDocumentWindow(targetWindow.frames[i].document); if(win){ this.registerAllWindows(win); } }catch(e){ /* squelch error for cross domain iframes */ } } }; 
for (var i = 0; i < targetWindow.frames.length; i++){ try{  var win = dojo.html.getDocumentWindow(targetWindow.frames[i].document); if(win){ this.registerAllWindows(win); } }catch(e){ /* squelch error for cross domain iframes */ } } }; 
  this.registerAllWindows = function(/*Window*/targetWindow){    // summary:    //    This function register all the iframes and the top window,    //    so that whereever the user clicks in the page, the popup    //    menu will be closed    //    In case you add an iframe after onload event, please call    //    dojo.widget.PopupManager.registerWin manually    //starting from window.top, clicking everywhere in this page    //should close popup menus    if(!targetWindow) { //see comment below      targetWindow = dojo.html.getDocumentWindow(window.top && window.top.document || window.document);    }    this.registerWin(targetWindow);    for (var i = 0; i < targetWindow.frames.length; i++){      try{        //do not remove  dojo.html.getDocumentWindow, see comment in it        var win = dojo.html.getDocumentWindow(targetWindow.frames[i].document);        if(win){          this.registerAllWindows(win);        }      }catch(e){ /* squelch error for cross domain iframes */ }    }  };
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/65ae7e8768a77997b7894e274bc242069a1cb027/struts_dojo.js.uncompressed.js/clean/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js