if (parentNode) { var pchilds = parentNode.childNodes; for(childid in pchilds) { var child = pchilds[childid]; this.fixHeadingStyle(child); 
var childs = tinyMCE.selectedInstance.contentDocument.body.childNodes; if (childs) { for( var x = 0; childs[x]; x++ ) { var child = childs[x]; var nn = child.nodeName; if ((nn.length == 2) && (nn.charAt(0) == "H")) { var level = parseInt(nn.charAt(1)); var cn = "heading" + this.buildString("-1", level); child.className = cn; 
WikiEditor.prototype.fixTitle = function(editor_id, node) {    var value = "";    if (this._titleChangeValue==0) {        this.core.execInstanceCommand(editor_id, "mceRemoveNode", false, node);    } else {        value = "h" + this._titleChangeValue;        var childs = node.childNodes;        var parentNode = node.parentNode;        this.core.execInstanceCommand(editor_id, "FormatBlock", false, value);        if (parentNode) {            var pchilds = parentNode.childNodes;            for(childid in pchilds) {                var child = pchilds[childid];                this.fixHeadingStyle(child);            }        }        if (childs) {            for(childid in childs) {                var child = childs[childid];                this.fixHeadingStyle(child);            }        }    }    tinyMCE.triggerNodeChange();}
6184	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6184/61f5de35183bc6e78fcc6f3435db560ce5b634c5/core.js/buggy/xwiki-platform-web/standard/src/main/webapp/wiki_editor/plugins/core.js