rem: if(!document.getElementById){ return; } 
add: if(!document.getElementById){ return; } 
context: function initSizeCtl(ctlid,edid){        if(!document.getElementById){ return; }    var ctl      = $(ctlid);    var textarea = $(edid);    var hgt = getCookie('DokuWikisizeCtl');    if(hgt === null || hgt === ''){      textarea.style.height = '300px';    }else{      textarea.style.height = hgt;    }    var l = document.createElement('img');    var s = document.createElement('img');    l.src = DOKU_BASE+'lib/images/larger.gif';    s.src = DOKU_BASE+'lib/images/smaller.gif';        addEvent(l,'click',function(){sizeCtl(edid,100);});        addEvent(s,'click',function(){sizeCtl(edid,-100);});    ctl.appendChild(l);    ctl.appendChild(s);}
meta: 4676	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4676/3df72098bbc205fa4bd4735d52d2626baad93548/script.js/buggy/lib/scripts/script.js