ist = "screenX screenY width height"
    onload  = "loadAdvSearchPopup(); document.getElementById('phonTextbox').focus();"
    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-pronunciationsearch" hideprintbtn="true" flex="1">
        <hbox flex="1" style="background-color:#C2DAF2;" height="220px">
            <spacer width="10"/>
            <vbox width="400px">
                <spacer height="10px"/>
                <LedToolbox titre="PRONUNCIATION SEARCH" w1="280">
                    <spacer height="5"/>
                    <hbox flex="1">
                        <vbox style="margin-top:15px;">
                            <textbox id="phonTextbox" size="40" value="" tooltiptext="Select your search" onkeyup="InsertCharacter(event, this); doPronunciationSearch(true, false);" class="phonTextbox"/>
                        </vbox>
                        <spacer width="88"/>
                        <vbox>
                            <spacer height="5px"/>
                            <hbox>
                                <button id="btnetoile" class="btnetoile" oncommand="addPhon(this, '*'); doPronunciationSearch(true, false);"/>
                                <vbox>
                                    <label value="Any number" class="listbox_label"/>
                                    <label value="of symbols" class="listbox_label"/>
                                </vbox>
                            </hbox>
                        </vbox>
                    </hbox>
                    <description class="title_result" style="margin-left:2px;" id="nbresult" value=""/>
                </LedToolbox>
                <spacer height="10"/>
                <hbox>
                    <vbox>
                        <LedToolbox titre="CONSONANTS" w1="75">
                            <hbox>
                                <spacer flex="1"/>
                                <vbox>
                                    <spacer height="18"/>
                                    <hbox>
                                        <button class="btnphon" label="p" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in pen"/>
                                        <button class="btnphon" label="b" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in back"/>
                                        <button class="btnphon" label="t" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in ten"/>
                                        <button class="btnphon" label="d" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in day"/>
                                        <button class="btnphon" label="k" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in key"/>
                                    </hbox>
                                    <hbox>
                                        <button class="btnphon" label="g" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in get"/>
                                        <button class="btnphon" label="f" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in fat"/>
                                        <button class="btnphon" label="v" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in view"/>
                                        <button class="btnphon" label="Ø" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in thing"/>
                                        <button class="btnphon" label="ð" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in then"/>
                                    </hbox>
                                    <hbox>
                                        <button class="btnphon" label="s" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in soon"/>
                                        <button class="btnphon" label="z" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in zero"/>
                                        <button class="btnphon" label="Ð" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in ship"/>
                                        <button class="btnphon" label="ž" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in pleasure"/>
                                        <button class="btnphon" label="h" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in hot"/>
                                    </hbox>
                                    <hbox>
                                        <button class="btnphon" label="x" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in loch"/>
                                        <button class="btnphon" label="tÐ" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in cheer"/>
                                        <button class="btnphon" label="dž" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in jump"/>
                                        <button class="btnphon" label="m" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in sum"/>
                                        <button class="btnphon" label="n" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in sun"/>
                                    </hbox>
                                    <hbox>
                                        <button class="btnphon" label="Å" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in sung"/>
                                        <button class="btnphon" label="l" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in let"/>
                                        <button class="btnphon" label="r" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in red"/>
                                        <button class="btnphon" label="j" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in yet"/>
                                        <button class="btnphon" label="w" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in wet"/>
                                    </hbox>
                                    <spacer height="15"/>
                                </vbox>
                                <spacer flex="1"/>
                            </hbox>
                        </LedToolbox>
                    </vbox>
                    <spacer width="10"/>
                    <vbox>
                        <hbox>
                            <LedToolbox titre="VOWELS" w1="196">
                                <hbox>
                                    <spacer flex="1"/>
                                    <vbox>
                                        <spacer height="5"/>
                                        <label value="Short vowels" class="listbox_label"/>
                                        <hbox>
                                            <button class="btnphon" label="û" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in bit"/>
                                            <button class="btnphon" label="e" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in bed"/>
                                            <button class="btnphon" label="æ" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in cat"/>
                                            <button class="btnphon" label="ã" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in dog (BrE)"/>
                                            <button class="btnphon" label="š" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in but"/>
                                        </hbox>
                                        <hbox>
                                            <button class="btnphon" label="|" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in put"/>
                                            <button class="btnphon" label="ë" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in about"/>
                                            <button class="btnphon" label="i" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in happy"/>
                                            <button class="btnphon" label="u" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in actuality"/>
                                        </hbox>
                                    </vbox>
                                    <spacer flex="1"/>
                                    <vbox>
                                        <spacer height="5"/>
                                        <label value="Long vowels" class="listbox_label"/>
                                        <hbox>
                                            <button class="btnphon" label="i:" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in sheep"/>
                                            <button class="btnphon" label="ä:" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in father"/>
                                            <button class="btnphon" label="ã:" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in dog (AmE)"/>
                                        </hbox>
                                        <hbox>
                                            <button class="btnphon" label="é:" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in four"/>
                                            <button class="btnphon" label="u:" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in boot"/>
                                            <button class="btnphon" label="î:" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in bird"/>
                                        </hbox>
                                    </vbox>
                                    <spacer flex="1"/>
                                </hbox>
                            </LedToolbox>
                        </hbox>
                        <spacer height="15"/>
                        <hbox>
                            <vbox>
                                <LedToolbox titre="DIPHTHONGS" w1="164">
                                    <hbox>
                                        <spacer flex="1"/>
                                        <vbox>
                                            <spacer height="5"/>
                                            <hbox>
                                                <button class="btnphon" label="eû" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in make"/>
                                                <button class="btnphon" label="aû" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in lie"/>
                                                <button class="btnphon" label="éû" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in boy"/>
                                                <button class="btnphon" label="ë|" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in note (BrE)"/>
                                                <button class="btnphon" label="o|" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in note (AmE)"/>
                                                <button class="btnphon" label="a|" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in now"/>
                                            </hbox>
                                            <hbox>
                                                <button class="btnphon" label="ûë" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in real"/>
                                                <button class="btnphon" label="eë" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in hair (BrE)"/>
                                                <button class="btnphon" label="|" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in sure (BrE)"/>
                                                <button class="btnphon" label="uë" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in actual"/>
                                                <button class="btnphon" label="ië" oncommand="addPhon(this); doPronunciationSearch(true, false);" tooltiptext="as in peculiar"/>
                                            </hbox>
                                            <spacer height="3"/>
                                        </vbox>
                                        <spacer flex="1"/>
                                    </hbox>
                                </LedToolbox>
                            </vbox>
                        </hbox>
                    </vbox>
                </hbox>
                <spacer height="10"/>
                <hbox style="background-color:#C2DAF2;" height="40" flex="1">
                    <vbox>
                        <label value="For guidance on searching see help file" class="listbox_label"/>
                    </vbox>
                    <spacer flex="1"/>
                    <vbox>
                        <LedValideButton jscommmand="doPronunciationSearch(true, true);"/>
                    </vbox>
                </hbox>
            </vbox>
        </hbox>
    </genpopup>
</window>
