add: if (!list.hasOwnProperty(key)) continue; 
context: function createPicker(id,list,icobase,edid){    var cnt = list.length;    var picker = document.createElement('div');    picker.className = 'picker';    picker.id = id;    picker.style.position = 'absolute';    picker.style.display  = 'none';    for(var key in list){        var btn = document.createElement('button');        btn.className = 'pickerbutton';        // associative array?        if(isNaN(key)){            var ico = document.createElement('img');            ico.src       = DOKU_BASE+'lib/images/'+icobase+'/'+list[key];            btn.title     = key;            btn.appendChild(ico);            eval("btn.onclick = function(){pickerInsert('"+id+"','"+                                  jsEscape(key)+"','"+                                  jsEscape(edid)+"');return false;}");        }else{            var txt = document.createTextNode(list[key]);            btn.title     = list[key];            btn.appendChild(txt);            eval("btn.onclick = function(){pickerInsert('"+id+"','"+                                  jsEscape(list[key])+"','"+                                  jsEscape(edid)+"');return false;}");        }        picker.appendChild(btn);    }    var body = document.getElementsByTagName('body')[0];    body.appendChild(picker);}
meta: 2254	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2254/86045fe98676ce35b8c0bf852eaff3439f99be75/edit.js/buggy/lib/scripts/edit.js