rem: var theQuery = 
add: var theQuery = 
context: function cqImport(theForm) {    // load the buffer state from the uri stored in g_cq_uri    var theUri = trim(document.getElementById(g_cq_uri).value);    if (! theUri)        return;    // if the document doesn't exits, we want an empty parent element    var theQuery =       "(doc('" + theUri + "'), <" + g_cq_buffers_area_id + "/>)[1]";    var theOutput = getResultFrame();    debug.print("cqImport: " + theQuery);    // must send XML, so that we can use the resulting nodes    submitForm(theForm, theQuery, "text/xml");    // read the output    debug.print("setting import timeout to " + g_cq_timeout);    var theTimeout = setTimeout("finishImport();", g_cq_timeout);}
meta: 952	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/c2e7a157fb2c674a41925a5417c356a9c4ff1404/cq.js/buggy/cq.js