rem:  var simpleMenuItem = document.getElementById("simpleSearch"); if (simpleMenuItem) { simpleMenuItem.setAttribute("checked", (searchMode == 0) ? "true" : "false"); } var advancedMenuItem = document.getElementById("advancedSearch"); if (advancedMenuItem) { advancedMenuItem.setAttribute("checked", (searchMode == 1) ? "true" : "false"); } 
add:  var simpleMenuItem = document.getElementById("simpleSearch"); simpleMenuItem.setAttribute("checked", (searchMode == 0) ? "true" : "false");  var advancedMenuItem = document.getElementById("advancedSearch"); advancedMenuItem.setAttribute("checked", (searchMode == 1) ? "true" : "false"); 
context: function setBrowserSearchMode(searchMode){	// set search mode preference	try	{		pref.SetIntPref("browser.search.mode", searchMode);	}	catch(ex)	{	}	// update search menu	var simpleMenuItem = document.getElementById("simpleSearch");	if (simpleMenuItem)	{		simpleMenuItem.setAttribute("checked", (searchMode == 0) ? "true" : "false");	}	var advancedMenuItem = document.getElementById("advancedSearch");	if (advancedMenuItem)	{		advancedMenuItem.setAttribute("checked", (searchMode == 1) ? "true" : "false");	}}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/8af6fdd67793deac301bb3a38dd32a9feff8f9a9/navigator.js/clean/suite/browser/navigator.js