f="chrome://led/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://led/skin/popup.css" type="text/css"?>
<?xml-stylesheet href="chrome://led/skin/searchpopup.css" type="text/css"?>
<window
	title	= "Longman Exams Coach"
	id		= "popup-window"
	xmlns	= "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
	orient	= "vertical"
	debug	= "false"
    persist = "screenX screenY width height"
    onload  = "loadAdvSearchPopup(); initAllListbox_wo();"
    onclose = "opener.closePopupById(window.popupid);"
>
    <script language="javascript" src="chrome://led/content/js/form.js"></script>
    <script language="javascript" src="chrome://led/content/js/advancedSearch.js"></script>

    <keyset>
        <key keycode="VK_ESCAPE" oncommand="opener.closePopupById(window.popupid);"/>
    </keyset>

    <genpopup titleclass="gentitle-wordoriginsearch" hideprintbtn="true" flex="1">
        <hbox flex="1" style="background-color:#C2DAF2;">
            <spacer width="10px"/>
            <vbox width="400px">
                <spacer height="10px;"/>
                    <LedToolbox titre="WORD ORIGIN SEARCH" w1="300" w2="450">
                        <hbox height="75px">
                            <vbox>
                                <spacer height="15px"/>
                                <hbox>
                                    <spacer width="35px"/>
                                    <label value="Language of origin" class="listbox_label"/>
                                </hbox>
                                <spacer height="5px"/>
                                <hbox>
                                    <spacer width="25px"/>
                                    <LedListBox>
                                        <menulist id="languageListBox" tooltiptext="Select language of origin">
                                        <menupopup>
                                        <menuitem label=""/>
                                        </menupopup>
                                        </menulist>
                                    </LedListBox>
                                </hbox>
                            </vbox>
                            <vbox>
                                <spacer width="20px"/>
                            </vbox>
                            <vbox>
                                <spacer height="15px"/>
                                <hbox>
                                    <spacer width="10px"/>
                                    <label value="Date" class="listbox_label"/>
                                </hbox>
                                <spacer height="5px"/>
                                <hbox>
                                    <LedListBox>
                                        <menulist id="centuryListBox" tooltiptext="Select date of origin">
                                          <menupopup>
                                            <menuitem label=""/>
                                          </menupopup>
                                        </menulist>
                                    </LedListBox>
                                </hbox>
                            </vbox>
                        </hbox>
                        <description class="title_result" id="nbresult" value=""/>
                    </LedToolbox>
                    <spacer height="10px"/>
                    <hbox flex="1">
                        <vbox>
                            <label value="For guidance on searching see help file" class="listbox_label"/>
                        </vbox>
                        <spacer flex="1"/>
                        <vbox>
                            <LedValideButton jscommmand="doWordOriginSearch(true, true);"/>
                        </vbox>
                    </hbox>
                </vbox>
            </hbox>
    </genpopup>
</window>
