gif/search_popup/fd_box_mg.gif"/>
                    <vbox flex="1">
                        <xbl:children/>
                    </vbox>
                    <image src="chrome://led/skin/gif/search_popup/fd_box_md.gif"/>
                </hbox>
                <hbox>
                    <vbox class="fd_box_bs_g"/>
                    <vbox class="fd_box_bs_m" flex="1"/>
                    <vbox class="fd_box_bs_d"/>
                </hbox>
            </vbox>
        </xbl:content>
    </xbl:binding>

    <xbl:binding id="LedBooleanSearch">
        <xbl:content>
            <hbox flex="1" height="105px">
                <vbox width="310px">
                    <spacer height="5px"/>
                    <hbox>
                        <textbox id="boolTextbox" focus="true" multiline="true" wrap="hard" cols="45" rows="3" tooltiptext="Enter your search word(s)" onkeyup="DisplayKey(event, this)" oninput="doAdvancedSearch(true, false);"/>
                    </hbox>
                    <spacer flex="1"/>
                    <hbox width="300px" align="right">
                        <button id="btnand" class="btnand" oncommand="addToTextbox(document.getElementById('boolTextbox'), ' &amp; '); doAdvancedSearch(true, false);"/>
                        <button id="btnor" class="btnor" oncommand="addToTextbox(document.getElementById('boolTextbox'), ' | '); doAdvancedSearch(true, false);"/>
                        <button id="btnnot" class="btnnot" oncommand="addToTextbox(document.getElementById('boolTextbox'), ' - '); doAdvancedSearch(true, false);"/>
                        <button id="btnetoile" class="btnetoile" tooltiptext="Matches any number of letters or numbers, or none" oncommand="addToTextbox(document.getElementById('boolTextbox'), '* '); doAdvancedSearch(true, false);"/>
                        <spacer width="140px"/>
                    </hbox>
                    <spacer flex="1"/>
                </vbox>
                <vbox>
                    <spacer height="3px"/>
                    <radiogroup id="boolButtons">
                        <radio id="rd_fullentry" selected="true" value="0" group="boolButtons" label="Full entries" tooltiptext="Search full text of entries" oncommand="doAdvancedSearch(true, false);"/>
                        <spacer height="5px"/>
                        <radio id="rd_headword" value="1" group="boolButtons" label="HeadWords" tooltiptext="Search headwords only" oncommand="doAdvancedSearch(true, false);"/>
                        <spacer height="5px"/>
                        <radio id="rd_definition" value="2" group="boolButtons" label="Definitions" tooltiptext="Search definition text only" oncommand="doAdvancedSearch(true, false);"/>
                        <spacer height="5px"/>
                        <radio id="rd_example" value="4" group="boolButtons" label="Examples" tooltiptext="Search example text only" oncommand="doAdvancedSearch(true, false);"/>
                    </radiogroup>
                </vbox>
            </hbox>
            <xbl:children/>
        </xbl:content>
    </xbl:binding>

    <xbl:binding id="LedListBox">
        <xbl:content>
            <hbox style="margin-left: 2px;">
                <image src="chrome://led/skin/gif/search_popup/fd_textbox_g.gif"/>
                <image src="chrome://led/skin/gif/search_popup/fd_textbox_g2.gif"/>
            </hbox>
            <vbox>
                <xbl:children/>
            </vbox>
        </xbl:content>
    </xbl:binding>

    <xbl:binding id="LedValideButton">
        <xbl:content>
            <button id="btnclear" class="btnclear" tooltiptext="Clear search settings" oncommand="clearForm();"/>
            <spacer width="10px"/>
            <button id="btnfind" disabled="true" class="btnfind" tooltiptext="Start search" xbl:inherits="oncommand=jscommmand"/>
        </xbl:content>
    </xbl:binding>

    <xbl:binding id="xblActSpell">
        <xbl:content>
            <button class="btndictspell"/>
        </xbl:content>
        <xbl:handlers>
            <xbl:handler event="click">
                <![CDATA[
                    parent.document.getElementsByTagName('LdoceToolbar').item(0).RedoSearch('activator');
                ]]>
            </xbl:handler>
        </xbl:handlers>
    </xbl:binding>
</xbl:bindings>
