select(".in_place_textfield_bhv").each(function (el) { 
select(".in-place-textfield-bhv").each(function (el) { 
    applyEvents: function(root) {        root = $(root)        function select(p) {            return new Selector(p).findElements(root)        }        select(".in_place_textfield_bhv").each(function (el) {            ipe = Hobo._makeInPlaceEditor(el)            ipe.getText = function() {                return this.element.innerHTML.gsub(/<br\s*\/?>/, "\n").unescapeHTML()            }        })        select(".in_place_textarea_bhv").each(function (el) {            ipe = Hobo._makeInPlaceEditor(el, {rows: 2})            ipe.getText = function() {                return this.element.innerHTML.gsub(/<br\s*\/?>/, "\n").unescapeHTML()            }        })        select(".in_place_html_textarea_bhv").each(function (el) {            var options = {rows: 2, handleLineBreaks: false}            if (typeof(tinyMCE) != "undefined") options["submitOnBlur"] = false            var ipe = Hobo._makeInPlaceEditor(el, options)             if (typeof(tinyMCE) != "undefined") {                ipe.afterEnterEditMode = function() {                    var id = this.form.id = Hobo.uid()                    // 'orrible 'ack                    // What is the correct way to individually configure a tinyMCE instace?                    var old = tinyMCE.settings.theme_advanced_buttons1                    tinyMCE.settings.theme_advanced_buttons1 += ", separator, save"                    tinyMCE.addMCEControl(this.editField, id);                    tinyMCE.settings.theme_advanced_buttons1 = old                    this.form.onsubmit = function() {                        tinyMCE.removeMCEControl(ipe.form.id)                        setTimeout(ipe.onSubmit.bind(ipe), 10)                        return false                    }                }            }        })        select("select.number_editor_bhv").each(function(el) {            el.onchange = function() {                Hobo.ajaxSetFieldForElement(el, el.value)            }        })                                                        select(".autocomplete_bhv").each(function (el) {            options = {paramName: "query", minChars: 3, method: 'get' }            if (el.hasClassName("autosubmit")) {                options.afterUpdateElement = function(el, item) { el.form.onsubmit(); }            }            new Ajax.Autocompleter(el, el.id + "_completions", el.getAttribute("autocomplete_url"),                                   options);        });        select(".search_bhv").each(function(el) {            new Form.Element.Observer(el, 1.0, function() { Hobo.doSearch(el) })        });    },
3009	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3009/677b3e9041209bb37e5682483e8f493ebd8a5aaa/hobo_rapid.js/clean/hobo/generators/hobo_rapid/templates/hobo_rapid.js