  this.tabs_regex = new tabSwapper({ initPanel: 0, selectedClass: "on", deselectedClass: "off", tabSelector: "#section_regex .tab", sectionSelector: "#section_regex .tabbed_panel", /*remember what the last tab the user clicked was*/ cookieName: "regexpresso", /*use transitions to fade across*/ smooth: this.options['tabswapper_smooth'] }); 
RegExpresso = function(){	// builds the tabs around the regular expression input section	this.options = {		'accordion_opacity': true,		'tabswapper_smooth': true,		'autorefresh': false	};	// once of two, we alternate the style in order to show something has been done	// even if the result is exactly the same	this.desc_again = new Loop(["desc","desc_again"]);	// accordion 'titles' have CSS class 'accordion_toggler'	// accordion 'content panes' have CSS class 'accordion_stretcher'	// active accordion title has CSS class 'on'	this.accordion = new MultipleOpenAccordion( $$(".accordion_toggler"), $$(".accordion_stretcher"), {		openAll: false,		show: 0,		opacity: this.options['accordion_opacity_transition'],		onActive: function(toggler,el) { toggler.addClass("on"); },		onBackground: function(toggler,i) { toggler.removeClass("on") }		} );	this.tabs_regex = new tabSwapper({		initPanel: 0,		selectedClass: "on",		deselectedClass: "off",		tabSelector: "#section_regex .tab",		sectionSelector: "#section_regex .tabbed_panel",		/*remember what the last tab the user clicked was*/		cookieName: "regexpresso",		/*use transitions to fade across*/		smooth: this.options['tabswapper_smooth']		});	this.worker = null;	// Apply common properties / methods to objects.	// auto-select the text in the input fields when focused	$$(".input[type=text]",".input[type=password]","textarea.input").each( function(el,p) {		el.onfocus = function() { this.select(); };	} );	// triggers the corresponding rules when changing the value of a field	$$(".input").each( function(el,p) {		// FIXME : the existence of 'regexpresso' is out of control from this objet !!!!		el.onchange = function() { regexpresso.onFieldUpdate(this); };		el.onkeyup = el.onchange;	} );}
10215	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10215/51a35822627445984408265975036a99fb83a668/regexpresso.js/buggy/trunk/src/regexpresso.js