rem: if (!ev) var ev = window.event;  
add: if (!ev) var ev = window.event;  
context:         function deselectAll(ev, btn)        {            if (isNotW3C()) return false;                    	if (!ev) var ev = window.event;        	            var kws = document.getElementById('kwds_string');                        for (var s in selspans) selspans[s].className = "lbl";            selspans = new Array;                        document.getElementById('btnOpenOrCloseAll').value = "--";                        if (!ev.altKey) { kws.value = ''; return; }                        // md_script: calling HTML should define var kwdswere!            // in SelKwds.xsl, they are   typed in by user or fetched from PPT                        var kwdsarray = kwdswere.split(','), allKwds = '';                        for (var k = 0; k < kwdsarray.length; k++)            {                var kwd = kwdsarray[k].trim();                if (kwd.substr(0,1) == '-') kwd = kwd.substr(1);                if (kwd != '') allKwds += ',' + kwd + ',';            }                        if (allKwds == '') return;                        orkwds = allKwds.substr(1).split('');                        selectOriginal(btn.parentNode);                        allKwds = getSelectedKeywords(); kws.value = allKwds;            // no copyToClipboard(allKwds);                        allKwds = ','+ allKwds.replace(/\s*/g,"") +','; var missing = '';            for (k = 0; k < orkwds.length; k++)            if (allKwds.indexOf(orkwds[k]) < 0 ) missing += orkwds[k];                        if (missing != '') alert('!= ' + missing.replace(/,+/g," "));        }
meta: 7863	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7863/de8684d4ffe67b5e9ceafb6725e84b0a2588b4d4/md_script.js/buggy/main/metadata/md_script.js