rem: for (var fx in this.effects){ this.elements.each(function(el, i){ obj[i] = obj[i] || {}; if (i != index || (this.options.alwaysHide && i == index && el.offsetHeight > 0)){ this.fireEvent('onBackground', [this.togglers[i], this.elements[i]]); obj[i][fx] = this.effects[fx][1]; } else if (i == index){ this.fireEvent('onActive', [this.togglers[i], this.elements[i]]); obj[i][fx] = el[this.effects[fx][0]]; } }, this); } 
add:  this.elements.each(function(el, i){ obj[i] = {}; if ((i != index) || (this.options.alwaysHide && (el.offsetHeight > 0))){ this.fireEvent('onBackground', [this.togglers[i], el]); for (var fx in this.effects) obj[i][fx] = 0; } else { this.fireEvent('onActive', [this.togglers[i], el]); for (var fx in this.effects) obj[i][fx] = el[this.effects[fx]]; } }, this); 
context: 	display: function(index){		if (this.timer && this.options.wait) return this;		if (index === this.previous && !this.options.wait) return this;		this.previous = index;		var obj = {};		for (var fx in this.effects){			this.elements.each(function(el, i){				obj[i] = obj[i] || {};				if (i != index || (this.options.alwaysHide && i == index && el.offsetHeight > 0)){					this.fireEvent('onBackground', [this.togglers[i], this.elements[i]]);					obj[i][fx] = this.effects[fx][1];				} else if (i == index){					this.fireEvent('onActive', [this.togglers[i], this.elements[i]]);					obj[i][fx] = el[this.effects[fx][0]];				}			}, this);		}		return this.start(obj);	}
meta: 7052	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7052/c7160f13d916d6587545808eea46308a43aca39c/Accordion.js/buggy/Plugins/Accordion.js