rem: debug("submitForm: currEval = " + currEval); 
add: debug.print("submitForm: currEval = " + currEval); 
context: function submitForm(theForm, theInput, theMimeType) {    if (! theForm) {        alert("null form in submitForm!");        return;    }    refreshBufferList(g_cq_buffer_current, "submitForm");    // TODO would like to disable buttons during post    // but it's too problematic for now    if (false) {        disableButtons(true);        // set onload behavior to re-enable the buttons        // TODO this works in gecko, but not IE6 - use onreadystatechange?        // TODO how do we re-enable the buttons if the query is cancelled?        // seems like onabort should work, but it doesn't        // IE6 has onstop handler, but gecko doesn't        var fSet = getFrameset();        var qFrame = getQueryFrame();        var rFrame = getResultFrame();        if (!(rFrame && qFrame)) {            debug("null queryFrame or resultFrame!");        } else {            var f = function () { disableButtons(false) };            rFrame.onload = f;            rFrame.onunload = f;            rFrame.onabort = f;            qFrame.onabort = f;            fSet.onabort = f;            debug("resultFrame.onload = " + rFrame.onload);        }    }    // copy the selected eval-in args to the session cookie    var currEval = document.getElementById(g_cq_eval_list_id).value;    debug("submitForm: currEval = " + currEval);    setCookie(g_cq_eval_list_id, currEval, 30);    // copy current buffer to hidden element    document.getElementById(g_cq_query_input).value = theInput;    debug("submitForm: "+document.getElementById(g_cq_query_input).value);    // set the mime type    if (theMimeType != null) {        debug("submitForm: mimeType = " + theMimeType);        document.getElementById(g_cq_query_mime_type).value = theMimeType;    }    // post the form    theForm.submit();}
meta: 952	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/499e513a3cc333dbcb784318ca05ad90a90b7c8e/cq.js/clean/cq.js