<?xml version="1.0"?> 

<!-- 
  The contents of this file are subject to the Netscape Public
  License Version 1.1 (the "License"); you may not use this file
  except in compliance with the License. You may obtain a copy of
  the License at http://www.mozilla.org/NPL/
  
  Software distributed under the License is distributed on an "AS
  IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  implied. See the License for the specific language governing
  rights and limitations under the License.
  
  The Original Code is Mozilla Communicator client code, released
  March 31, 1998.
  
  The Initial Developer of the Original Code is Netscape
  Communications Corporation. Portions created by Netscape are
  Copyright (C) 1998-1999 Netscape Communications Corporation. All
  Rights Reserved.
  
  Contributor(s):
    Bill Law    <law@netscape.com>

-->

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

<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>

<!DOCTYPE window [
  <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
  %brandDTD;
  <!ENTITY % nsHelperAppDlgDTD SYSTEM "chrome://global/locale/nsHelperAppDlg.dtd" >
  %nsHelperAppDlgDTD;
]>            

<window id="nsHelperAppDlg"
        xmlns:html="http://www.w3.org/1999/xhtml"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        title="&caption.label;"
        onload="dialog.initDialog()"
        style="width: 40em;"
        class="dialog"
        orient="vertical">

            
    <keyset id="dialogKeys"/>
           
    <vbox>
      <hbox flex="1">
        <vbox flex="1">
          <html id="intro">&intro.label;</html>    
          <description id="location" crop="center" value=""/>
          <separator orient="horizontal" class="thin"/>
          <html id="prompt">&prompt.label;</html>
        </vbox>
        <image id="contentTypeImage"/>
      </hbox>

      <separator orient="horizontal" class="thin"/>
      <radiogroup id="mode" orient="vertical" oncommand="dialog.toggleChoice()">
        <hbox flex="1">
          <hbox autostretch="never" flex="1">
            <radio id="openUsing" flex="1"
                   group="mode"
                   label="&openUsing.label;"
                   accesskey="&openUsing.accesskey;"/>
          </hbox>
               
          <hbox class="indent" autostretch="never">
            <button id="chooseApp"
                    class="dialog"
                    label="&chooseApp.label;"
                    accesskey="&chooseApp.accesskey;"
                    oncommand="dialog.chooseApp()"/>
          </hbox>
        </hbox>
        <vbox>
          <hbox autostretch="never">
            <radio id="saveToDisk"
                       group="mode"
                       label="&saveToDisk.label;"
                       accesskey="&saveToDisk.accesskey;"/>
          </hbox>
        </vbox>
      </radiogroup>
      <separator orient="horizontal" class="thin"/>
      <hbox autostretch="never">
        <checkbox id="alwaysAskMe" label="&alwaysAsk.label;" accesskey="&alwaysAsk.accesskey;"/>
      </hbox>
    </vbox>

    <separator class="groove"/>

    <hbox>
      <button class="dialog" id="default.set" label="&default.set.label;" accesskey="&default.set.accesskey;"
        oncommand="dialog.setDefault()"/>
      <spring flex="1"/>
      <hbox id="okCancelButtonsRight"/>
    </hbox>
           
    <!-- Localizable strings (from .dtd) -->
    <strings style="display:none;">
        <string id="brandShortName">         &brandShortName;         </string>
        <string id="intro.withDesc">         &intro.label;            </string>
        <string id="intro.noDesc">           &intro.noDesc.label;     </string>
        <string id="openUsingString">        &openUsing.label;  </string>
        <string id="badApp">                 &badApp;                 </string>
        <string id="badApp.title">           &badApp.title;           </string>
        <string id="noApplicationSpecified"> &noApplicationSpecified.label;</string>
    </strings>
</window>
