rem: doEnabling(); 
add: if ('arguments' in window && window.arguments[0]) { var datasourcePopup = document.getElementById("datasource"); var winArg = window.arguments[0].toLowerCase(); if (winArg == "bookmarks") { var searchBookmarksItem = document.getElementById("searchBookmarksItem"); datasourcePopup.selectedItem = searchBookmarksItem; } else if (winArg == "history") { var searchHistoryItem = document.getElementById("searchHistoryItem"); datasourcePopup.selectedItem = searchHistoryItem; } toggleItems(winArg); } else { toggleItems("bookmarks"); }  doEnabling(); 
context: function doLoad(){	findText = document.getElementById("findtext");	// disable "Save Search" button (initially)	var searchButton = document.getElementById("SaveSearch");	if (searchButton)	{		searchButton.setAttribute("disabled", "true");	}	doEnabling();	// set initial focus	findText.focus();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d4c8771cfea634f1a7f3846c110ea68465a388ad/bm-find.js/buggy/xpfe/components/bookmarks/resources/bm-find.js