rem: fleegix.event.exec(_2b[_2c].listenReg,_2e); }; _2b[_2c].listenReg=_2d; _29.push(_2b[_2c].listenReg); } if(typeof arguments[2]=="function"){ _2d.after.push(arguments[2]); 
add: if(!_25.win||_25.win.closed){ _25.win=null; _25.win=window.open(url,"thePopupWin",str); 
context: fleegix.event=new function(){var _29=[];var _2a={};this.listen=function(){var _2b=arguments[0];var _2c=arguments[1];var _2d=_2b[_2c]?_2b[_2c].listenReg:null;if(!_2d){_2d={};_2d.orig={};_2d.orig.obj=_2b,_2d.orig.methName=_2c;if(_2b[_2c]){_2d.orig.methCode=eval(_2b[_2c].valueOf());}_2d.after=[];_2b[_2c]=function(){var _2e=[];for(var i=0;i<arguments.length;i++){_2e.push(arguments[i]);}fleegix.event.exec(_2b[_2c].listenReg,_2e);};_2b[_2c].listenReg=_2d;_29.push(_2b[_2c].listenReg);}if(typeof arguments[2]=="function"){_2d.after.push(arguments[2]);}else{_2d.after.push([arguments[2],arguments[3]]);}_2b[_2c].listenReg=_2d;};this.exec=function(reg,_31){if(reg.orig.methCode){reg.orig.methCode.apply(reg.orig.obj,_31);}if(reg.orig.methName.match(/onclick|ondblclick|onmouseup|onmousedown|onmouseover|onmouseout|onmousemove|onkeyup/)){_31[0]=_31[0]||window.event;}for(var i=0;i<reg.after.length;i++){var ex=reg.after[i];if(ex.length==0){var _34=ex;_34(_31);}else{execObj=ex[0];execMethod=ex[1];execObj[execMethod].apply(execObj,_31);}}};this.unlisten=function(){var _35=arguments[0];var _36=arguments[1];var _37=_35[_36]?_35[_36].listenReg:null;var _38=null;if(!_37){return false;}for(var i=0;i<_37.after.length;i++){var ex=_37.after[i];if(typeof arguments[2]=="function"){if(ex==arguments[2]){_37.after.splice(i,1);}}else{if(ex[0]==arguments[2]&&ex[1]==arguments[3]){_37.after.splice(i,1);}}}_35[_36].listenReg=_37;};this.flush=function(){for(var i=0;i<_29.length;i++){var reg=_29[i];removeObj=reg.orig.obj;removeMethod=reg.orig.methName;removeObj[removeMethod]=null;}};this.subscribe=function(_3d,obj,_3f){if(!obj){return;}if(!_2a[_3d]){_2a[_3d]={};_2a[_3d].audience=[];}else{this.unsubscribe(_3d,obj);}_2a[_3d].audience.push([obj,_3f]);};this.unsubscribe=function(_40,obj){if(!obj){_2a[_40]=null;}else{if(_2a[_40]){var aud=_2a[_40].audience;for(var i=0;i<aud.length;i++){if(aud[i][0]==obj){aud.splice(i,1);}}}}};this.publish=function(pub,_45){if(_2a[pub]){aud=_2a[pub].audience;for(var i=0;i<aud.length;i++){var _47=aud[i][0];var _48=aud[i][1];_47[_48](_45);}}};this.getSrcElementId=function(e){var ret=null;if(e.srcElement){ret=e.srcElement;}else{if(e.target){ret=e.target;}}if(typeof ret.id=="undefined"){return null;}else{while(!ret.id||ret.nodeType==3){if(ret.parentNode){ret=ret.parentNode;}else{return null;}}}return ret.id;};};
meta: 10428	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10428/f0576f65a7b0341560eac2493956030db69acdc9/fleegix.js/clean/fleegix.js