rem: for(var i = 0; i < this.effects.length; i++) if(this.effects[i]==effect) this.effects.splice(i,1); 
add: this.effects = this.effects.reject(function(e) { return e==effect }); 
context:   remove: function(effect) {    for(var i = 0; i < this.effects.length; i++)      if(this.effects[i]==effect) this.effects.splice(i,1);    if(this.effects.length == 0) {      clearInterval(this.interval);      this.interval = null;    }  },
meta: 3991	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3991/d29159eae8749c508d01bb447868321a3ba6bbfa/effects.js/buggy/manager/media/script/scriptaculous/effects.js