<?xml version="1.0"?>
<?xml-stylesheet href="chrome://search/skin/" type="text/css"?>

<!DOCTYPE window SYSTEM "chrome://search/locale/find.dtd">

<window title="&window.title.label;" 
    class="dialog"
    align="horizontal" flex="100%"
	xmlns:html="http://www.w3.org/TR/REC-html40"
	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

	<html:script src="chrome://search/content/find.js" />

	<spring align="horizontal" flex="100%" />
	<box align="horizontal" style="width: 100%;" >
		<html:table>
			<html:tr>
				<html:td>
				&search1.label; 
					<html:select id="datasource">
						<html:option value="rdf:bookmarks">&bookmarks.label;</html:option>
						<html:option value="rdf:history">&history.label;</html:option>
					</html:select>
				 &search2.label;
				<html:p />
				</html:td>
			</html:tr>

			<html:tr>
				<html:td colspan="2">
					<html:select id="match">
						<html:option value="http://home.netscape.com/NC-rdf#Name">&name.label;</html:option>
						<html:option value="http://home.netscape.com/NC-rdf#URL">&url.label;</html:option>
						<html:option value="http://home.netscape.com/NC-rdf#ShortcutURL">&shortcut.label;</html:option>
						<html:option value="http://home.netscape.com/NC-Description">&description.label;</html:option>
					</html:select>
					<html:select id="method">
						<html:option value="contains">&contains.label;</html:option>
						<html:option value="startswith">&startswith.label;</html:option>
						<html:option value="endswith">&endswith.label;</html:option>
						<html:option value="is">&is.label;</html:option>
						<html:option value="isnot">&isnot.label;</html:option>
						<html:option value="doesntcontain">&doesntcontain.label;</html:option>
					</html:select>
					<html:input id="findtext" type="text" width="20" onkeyup="if (event.which == 13) { doFind(); }" />
				</html:td>
			</html:tr>

			<html:tr>
				<html:td align="left">
					<html:button id="SaveSearch" disabled="true" onclick="return saveSearch();">&save.button.label;</html:button>
				</html:td>
				<html:td align="right">
					<html:button onclick="return doFind();">&search.button.label;</html:button>
				</html:td>
			</html:tr>
		</html:table>
		<html:p />
		<spring align="horizontal" flex="100%" />
	</box>
	<spring flex="100%" align="horizontal" />
</window>
