rem: 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]]; } 
add: var hide = (i != index) || (this.options.alwaysHide && (el.offsetHeight > 0)); this.fireEvent(hide ? 'onBackground' : 'onActive', [this.togglers[i], el]); for (var fx in this.effects) obj[i][fx] = hide ? 0 : el[this.effects[fx]]; 
context: 	display: function(index){		index = ($type(index) == 'element') ? this.elements.indexOf(index) : index;		if ((this.timer && this.options.wait) || (index === this.previous && !this.options.alwaysHide)) return this;		this.previous = index;		var obj = {};		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);		return this.start(obj);	},
meta: 5237	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5237/c3afe225d134900748b916297f38ca9b041ad610/Accordion.js/buggy/Plugins/Accordion.js