rem: var logElement = document.getElementById('nevow-log'); if (logElement != null) { var msgElement = document.createElement('div'); msgElement.appendChild(document.createTextNode(kind + ': ' + msg)); logElement.appendChild(msgElement); 
add: var logElement = document.getElementById(Divmod.logNodeId); if (!logElement) { logElement = document.createElement('div'); logElement.setAttribute('id', Divmod.logNodeId); document.getElementsByTagName('body')[0].appendChild(logElement); 
context: Divmod.log = function(kind, msg) {    var logElement = document.getElementById('nevow-log');    if (logElement != null) {        var msgElement = document.createElement('div');        msgElement.appendChild(document.createTextNode(kind + ': ' + msg));        logElement.appendChild(msgElement);    }}
meta: 1565	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1565/11a549dd9773db374bc4bf33ef0fed1c3ea5cc98/athena.js/buggy/nevow/athena.js