rem: Dialog._geckoOpenModal = function(url, action, init) {  var myURL = "hadialog"+url; var regObj = /\W/g; myURL = myURL.replace(regObj,'_'); var dlg = window.open(url, myURL, "toolbar=no,menubar=no,personalbar=no,width=10,height=10," + "scrollbars=no,resizable=yes,modal=yes,dependable=yes"); Dialog._modal = dlg; Dialog._arguments = init;   function capwin(w) { Dialog._addEvent(w, "click", Dialog._parentEvent); Dialog._addEvent(w, "mousedown", Dialog._parentEvent); Dialog._addEvent(w, "focus", Dialog._parentEvent); };  function relwin(w) { Dialog._removeEvent(w, "click", Dialog._parentEvent); Dialog._removeEvent(w, "mousedown", Dialog._parentEvent); Dialog._removeEvent(w, "focus", Dialog._parentEvent); }; capwin(window);  for (var i = 0; i < window.frames.length; capwin(window.frames[i++]));  Dialog._return = function (val) { if (val && action) { action(val); } relwin(window);  for (var i = 0; i < window.frames.length; relwin(window.frames[i++])); Dialog._modal = null; }; 
add: Dialog._geckoOpenModal=function(_5,_6,_7){ var _8="hadialog"+_5; var _9=/\W/g; _8=_8.replace(_9,"_"); var _a=window.open(_5,_8,"toolbar=no,menubar=no,personalbar=no,width=10,height=10,"+"scrollbars=no,resizable=yes,modal=yes,dependable=yes"); Dialog._modal=_a; Dialog._arguments=_7; function capwin(w){ Dialog._addEvent(w,"click",Dialog._parentEvent); Dialog._addEvent(w,"mousedown",Dialog._parentEvent); Dialog._addEvent(w,"focus",Dialog._parentEvent); } function relwin(w){ Dialog._removeEvent(w,"click",Dialog._parentEvent); Dialog._removeEvent(w,"mousedown",Dialog._parentEvent); Dialog._removeEvent(w,"focus",Dialog._parentEvent); } capwin(window); for(var i=0;i<window.frames.length;capwin(window.frames[i++])){ } Dialog._return=function(_e){ if(_e&&_6){ _6(_e); } relwin(window); for(var i=0;i<window.frames.length;relwin(window.frames[i++])){ } Dialog._modal=null; 
context: Dialog._geckoOpenModal = function(url, action, init) {    //var urlLink = "hadialog"+url.toString();    var myURL = "hadialog"+url;    var regObj = /\W/g;    myURL = myURL.replace(regObj,'_');    var dlg = window.open(url, myURL,                  "toolbar=no,menubar=no,personalbar=no,width=10,height=10," +                  "scrollbars=no,resizable=yes,modal=yes,dependable=yes");    Dialog._modal = dlg;    Dialog._arguments = init;    // capture some window's events    function capwin(w) {        Dialog._addEvent(w, "click", Dialog._parentEvent);        Dialog._addEvent(w, "mousedown", Dialog._parentEvent);        Dialog._addEvent(w, "focus", Dialog._parentEvent);    };    // release the captured events    function relwin(w) {        Dialog._removeEvent(w, "click", Dialog._parentEvent);        Dialog._removeEvent(w, "mousedown", Dialog._parentEvent);        Dialog._removeEvent(w, "focus", Dialog._parentEvent);    };    capwin(window);    // capture other frames    for (var i = 0; i < window.frames.length; capwin(window.frames[i++]));    // make up a function to be called when the Dialog ends.    Dialog._return = function (val) {        if (val && action) {            action(val);        }        relwin(window);        // capture other frames        for (var i = 0; i < window.frames.length; relwin(window.frames[i++]));        Dialog._modal = null;    };};
meta: 6015	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6015/d8776708e0e10dfa0ab6ee1d0fa9e512d8d16348/dialog.js/clean/packages/acs-templating/www/resources/xinha-nightly/plugins/ExtendedFileManager/assets/dialog.js