rem: case "active": if (newval) { HTMLArea._addClass(el, "buttonPressed"); } else { HTMLArea._removeClass(el, "buttonPressed"); } 
add: case "active": if (newval) { HTMLArea._addClass(el, "buttonPressed"); } else { HTMLArea._removeClass(el, "buttonPressed"); } 
context: 	function setButtonStatus(id, newval) {		var oldval = this[id];		var el = this.element;		if (oldval != newval) {			switch (id) {			    case "enabled":				if (newval) {					HTMLArea._removeClass(el, "buttonDisabled");					el.disabled = false;				} else {					HTMLArea._addClass(el, "buttonDisabled");					el.disabled = true;				}				break;			    case "active":				if (newval) {					HTMLArea._addClass(el, "buttonPressed");				} else {					HTMLArea._removeClass(el, "buttonPressed");				}				break;			}			this[id] = newval;		}	}; // END of function: setButtonStatus
meta: 6230	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6230/e9ff05661c4fa38c1e8ce4b72bf5b0a3bb5e0842/htmlarea.js/buggy/phpgwapi/js/htmlarea/htmlarea.js