context:         function prepSearch(ev)        {            if (!ev) var ev = window.event;                        var mdsc = getObj("mdsc");            if (!mdsc) { alert('? Form does not contain mdsc'); return false; }                        var kwdsnow = getObj("kwds_string"); if (!kwdsnow) return true;            if (kwdsnow.value == '') return true;                        if (!KWDS_ARRAY.length)            {                makeAlphaList(getObj('maindiv'));                KWDS_ARRAY.sort();            }                        var restricttokwds = false, checkbox = getObj("restricttokwds");            if (checkbox) restricttokwds = checkbox.checked;                        var kwdsarray = kwdsnow.value                .replace(/[!-,:-@\[-\^{-~\s]+/g, ',').split(',');                        for (var k = 0; k < kwdsarray.length; k++)            {                var newkw = kwdsarray[k].trim().toLowerCase();                                if (newkw != '')                {                    var realkw = false;                                        if (restricttokwds)                        for (pos = 0; pos < KWDS_ARRAY.length; pos++)                            if (KWDS_ARRAY[pos].toLowerCase() == newkw)                                { realkw = true; break; }                    mdsc.value += "\n" + newkw + (realkw ? '-kw' : '');                                    }            }                        return true;        }
meta: 7863	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7863/ef415f98303bf4ec3fc92a62c203ddc80cf12536/md_script.js/buggy/main/metadata/md_script.js