rem: var targetValue = booleanAnd ? "and" : "or";  var targetElement = gSearchBooleanRadiogroup.getElementsByAttribute("value", targetValue)[0];  gSearchBooleanRadiogroup.selectedItem = targetElement; 
add: gSearchBooleanRadiogroup.value = booleanAnd ? "and" : "or"; 
context: function initializeBooleanWidgets() {    var booleanAnd = true;    // get the boolean value from the first term    var firstTerm = gSearchTerms[0].searchTerm;    if (firstTerm)        booleanAnd = firstTerm.booleanAnd;    // target radio items have value="and" or value="or"    var targetValue = booleanAnd ? "and" : "or";    var targetElement = gSearchBooleanRadiogroup.getElementsByAttribute("value", targetValue)[0];    gSearchBooleanRadiogroup.selectedItem = targetElement;    for (var i=1; i<gSearchTerms.length; i++)     {      document.getElementById('boolOp' + i).setAttribute('value', booleanAnd ? gBooleanAndText : gBooleanOrText);    }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/a870550df480d6138a90786d539dd3a584cda901/searchTermOverlay.js/clean/mailnews/base/search/resources/content/searchTermOverlay.js