add: if(!document.getElementById) return;  
context: function initSizeCtl(ctlid,edid){    var ctl      = document.getElementById(ctlid);    var textarea = document.getElementById(edid);    var hgt = getCookie('DokuWikisizeCtl');    if(hgt == null){      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';    l.onclick = function(){sizeCtl(edid,100);}    s.onclick = function(){sizeCtl(edid,-100);}    ctl.appendChild(l);    ctl.appendChild(s);}
meta: 5490	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5490/5e1632788b8a5f5b9eebd2acb72e1de7d9f0ac63/script.js/buggy/lib/scripts/script.js