rem: makeAlphaList(document.getElementById('maindiv')); KWDS_ARRAY.sort(); 
add:  if (!KWDS_ARRAY.length) { makeAlphaList(document.getElementById('maindiv')); KWDS_ARRAY.sort(); } 
context:         function takeTypeIn(kws, oX, oY, defH)        {            if (isNotW3C()) return;                        if (!pU)            {                pU = document.getElementById('popup');                makeAlphaList(document.getElementById('maindiv'));                KWDS_ARRAY.sort();            }                        var curValue = kws.value.toLowerCase(), kwLines = '';                        for (pos = 0; pos < KWDS_ARRAY.length; pos++)                if (KWDS_ARRAY[pos].toLowerCase().indexOf(curValue) == 0)                    kwLines += '<div class="pul" onMouseOver="this.className=' +                         "'lbl'" + '"; onMouseOut="this.className=' + "'pul'" +                         '">' + KWDS_ARRAY[pos] + '</div>';                        if (kwLines == '') {pU_hide(); return; }                        pU.innerHTML = kwLines; pU_show(kws, oX, oY, defH);        }
meta: 7863	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7863/de8684d4ffe67b5e9ceafb6725e84b0a2588b4d4/md_script.js/buggy/main/metadata/md_script.js