this.dom_output = $(output); this.dom_subject = $(input_subject); this.dom_regex = $(input_regex);  
RegExpresso = function(){	// all options are gathered in this table	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"]);	// Tabs have to be initialized before accordion so the accordion	// opens with the right size when it opens itself.	// Actually, the accordion seems to use the size of the selected tab	// so it has to be the largest one...	this.tabs_regex = new tabSwapper({		initPanel: 1,		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']		});	// 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,		firstElementsOpen: [0,3],		opacity: this.options['accordion_opacity'],		onActive: function(toggler,el) { toggler.addClass("on"); },		onBackground: function(toggler,i) { toggler.removeClass("on") }		} );	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(); };	} );	// registers this object as the listener to 'onchange' events on the following fields	$$(".input").each( function(item,index) {		var me = this;		item.onchange = function() { me.onFieldUpdate(this); };		item.onkeyup = item.onchange;	}, this );}
10215	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10215/32f06d47e243f669a34aff8647284be2774a823f/regexpresso.js/buggy/trunk/src/regexpresso.js