rem: if (node.firstChild.nodeValue != undefined && node.firstChild.nodeValue != null) { text = node.firstChild.nodeValue; 
add: if (node.firstChild != undefined && node.firstChild != null ) { if (node.firstChild.nodeValue != undefined && node.firstChild.nodeValue != null) { text = node.firstChild.nodeValue; } 
context: function wicketAjaxProcessComponent(node) {    var compId = node.getAttribute("id");        var text="";    if (node.firstChild.nodeValue != undefined && node.firstChild.nodeValue != null) {        text = node.firstChild.nodeValue;    }    var encoding = node.getAttribute("encoding");    if (encoding != null&&encoding!="") {        text = wicketDecode(encoding, text);    }    var element=document.getElementById(compId);    if (element.outerHTML) {        element.outerHTML = text;    } else {        var range = element.ownerDocument.createRange();        range.selectNode(element);        element.parentNode.replaceChild(        range.createContextualFragment(text), element);    }    }
meta: 1204	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1204/570299bce274268a720e7596f607a1f75801ca47/wicket-ajax.js/clean/wicket/src/java/wicket/ajax/wicket-ajax.js