rem: if (i) { if (newBoolValue) document.getElementById('boolOp' + i).setAttribute('value', gBooleanAndText); else document.getElementById('boolOp' + i).setAttribute('value', gBooleanOrText); } 
context: function booleanChanged(event) {    // when boolean changes, we have to update all the attributes on the search terms    var newBoolValue = (event.target.getAttribute("value") == "and") ? true : false;    if (document.getElementById("abPopup")) {      var selectedAB = document.getElementById("abPopup").selectedItem.id;      setSearchScope(GetScopeForDirectoryURI(selectedAB));    }    for (var i=0; i<gSearchTerms.length; i++) {        var searchTerm = gSearchTerms[i].obj;        searchTerm.booleanAnd = newBoolValue;        if (i)        {          if (newBoolValue)            document.getElementById('boolOp' + i).setAttribute('value', gBooleanAndText);          else            document.getElementById('boolOp' + i).setAttribute('value', gBooleanOrText);        }    }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/28c16aa5256a9c88c9227e8da77ab588815fa0d9/searchTermOverlay.js/clean/mailnews/base/search/resources/content/searchTermOverlay.js