rem: if(ownerDoc.importNode) { 
add: if(typeof(ownerDoc.importNode) != "undefined") { 
context: Sarissa.moveChildNodes = function(nodeFrom, nodeTo, bPreserveExisting) {    if((!nodeFrom) || (!nodeTo)){        throw "Both source and destination nodes must be provided";    };    if(!bPreserveExisting){        Sarissa.clearChildNodes(nodeTo);    };    var nodes = nodeFrom.childNodes;    // if within the same doc, just move, else copy and delete    if(nodeFrom.ownerDocument == nodeTo.ownerDocument){        while(nodeFrom.firstChild){            nodeTo.appendChild(nodeFrom.firstChild);        };    } else {        var ownerDoc = nodeTo.nodeType == Node.DOCUMENT_NODE ? nodeTo : nodeTo.ownerDocument;        if(ownerDoc.importNode) {           for(var i=0;i < nodes.length;i++) {               nodeTo.appendChild(ownerDoc.importNode(nodes[i], true));           };        }else{           for(var i=0;i < nodes.length;i++) {               nodeTo.appendChild(nodes[i].cloneNode(true));           };        };        Sarissa.clearChildNodes(nodeFrom);    };};
meta: 2380	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2380/115f0f76b62f068a0a01cf24012fd0efa0dae587/sarissa.js/clean/kupu/common/sarissa.js