<?xml version="1.0"?>
<?xml-stylesheet href="chrome://messenger/skin/messenger.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/folderPane.css" text="text/css"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>

<!DOCTYPE window SYSTEM "chrome://messenger/locale/messenger.dtd">
<window id="open-save-attachment"
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  flex="100%" class="dialog" title="&openSaveAttachment.title;" 
  orient="vertical" onload="onLoad();" onclose="onCancel();" >

  <script src="chrome://messenger/content/openSaveAttachment.js"/>

  <hbox width="360px">
    <vbox>
      <image class="question-icon"/>
      <spring flex="1"/>
    </vbox>
    <hbox width="10px" />
      <vbox flex="1">
      <separator class="thin"/>
      <hbox id="documentNameBox">
        <text value="&openSaveAttachmentHeading.label;" />
      </hbox>
      <separator class="thin"/>
      <html>&openSaveAttachmentWarning.label;</html>
      <separator class="thin"/>
      <text value="&openSaveAttachmentToDo.label;" />
      <separator class="thin"/>
      <radiogroup orient="vertical" id="openSaveGroup">
        <radio group="openSaveGroup" label="&openSaveAttachmentOpen.label;" oncommand="onOpen();" />
        <radio group="openSaveGroup" id="saveIt" label="&openSaveAttachmentSave.label;" oncommand="onSave();" checked="true"/>
      </radiogroup>
      <separator class="thin"/>
    </vbox>
  </hbox>
  <separator class="thin"/>
  <hbox id="okCancelButtons"/>
</window>
