rem: debug("refreshBufferTabs: displaying buffer list"); 
add: debug.print("refreshBufferTabs: displaying buffer list"); 
context: function refreshBufferTabs(n) {    if (n == null || n == g_cq_buffer_tabs_current)        return;    debug("refreshBufferTabs: " + n + ", " + g_cq_buffer_tabs_current);    g_cq_buffer_tabs_current = n;    var tabsNode = document.getElementById(g_cq_buffer_tabs_node);    if (tabsNode == null) {        debug("refreshBufferTabs: null tabsNode");        return;    }    // check g_cq_buffer_tabs_current against each child span    var buffersTitleNode = document.getElementById(g_cq_buffer_tabs_node + "-0");    var historyTitleNode = document.getElementById(g_cq_buffer_tabs_node + "-1");    if (!buffersTitleNode || ! historyTitleNode) {        debug("refreshBufferTabs: null title node(s)");        return;    }    var buffersNode = document.getElementById(g_cq_bufferlist_id);    if (! buffersNode) {        debug("refreshBufferTabs: null buffersNode");        return;    }    var historyNode = document.getElementById(g_cq_history_node);    if (! historyNode) {        debug("refreshBufferTabs: null historyNode");        return;    }    // simple for now: node 0 is buffer list, 1 is history    // TODO move the instruction text too?    if (g_cq_buffer_tabs_current == 0) {        debug("refreshBufferTabs: displaying buffer list");        // highlight the active tab        buffersTitleNode.className = "buffer-tab-active";        historyTitleNode.className = "buffer-tab";        // hide and show the appropriate list        show(buffersNode);        hide(historyNode);    } else {        debug("refreshBufferTabs: displaying history");        // highlight the active tab        buffersTitleNode.className = "buffer-tab";        historyTitleNode.className = "buffer-tab-active";        // match the buffer height, to reduce frame-redraw        debug("resizeBufferTabs: " + buffersNode.offsetTop + ", " + buffersNode.offsetHeight);        historyNode.height = buffersNode.offsetHeight;        // hide and show the appropriate list        hide(buffersNode);        show(historyNode);    }}
meta: 952	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/499e513a3cc333dbcb784318ca05ad90a90b7c8e/cq.js/clean/cq.js