<Ui xmlns="http://www.blizzard.com/wow/ui/">
  <Frame name="Atr_UIOptionsFrame">
    <Scripts>
      <OnLoad>self.name = "Auctionator"
        Atr_LoadOptionsMainPanel (self)
      </OnLoad>
      <OnShow>local f = _G["Atr_BasicOptionsFrame"];
        if (f) then
          self:Hide();
          InterfaceOptionsFrame_OpenToCategory (f)
          InterfaceOptionsFrame_OpenToCategory (f)
        end
      </OnShow>
    </Scripts>
  </Frame>

  <!-- Template for a single option "box" containing a checkbox -->
  <Frame name="Atr_SingleOptionTemplate" virtual="true">
    <Size>
      <AbsDimension y="40"/>
    </Size>
    <Anchors>
      <Anchor point="LEFT">
        <Offset>
          <AbsDimension x="20"/>
        </Offset>
      </Anchor>
      <Anchor point="RIGHT">
        <Offset>
          <AbsDimension x="-20"/>
        </Offset>
      </Anchor>
    </Anchors>
    <Scripts>
      <OnEnter>Atr_ShowOptionTooltip( self )</OnEnter>
      <OnLeave>GameTooltip:Hide()</OnLeave>
    </Scripts>
    <Frames>
      <CheckButton inherits="UICheckButtonTemplate" name="$parent_CB">
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset>
              <AbsDimension x="0" y="0"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Layers>
          <Layer level="BACKGROUND">
            <FontString inherits="GameFontHighlight" name="$parent_Text">
              <Anchors>
                <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent">
                  <Offset>
                    <AbsDimension x="8" y="1"/>
                  </Offset>
                </Anchor>
              </Anchors>
            </FontString>
          </Layer>
        </Layers>
        <Scripts>
          <OnEnter>Atr_ShowOptionTooltip( self:GetParent() )</OnEnter>
          <OnLeave>GameTooltip:Hide()</OnLeave>
          <OnClick>Atr_Option_OnClick( self )</OnClick>
        </Scripts>
      </CheckButton>
    </Frames>
  </Frame>

  <!-- Template for auctionator options panels -->
  <Frame name="Atr_OptionsPanelTemplate" virtual="true">
    <Backdrop bgFile="Interface\CharacterFrame\UI-Party-Background" tile="true">
      <BackgroundInsets>
        <AbsInset bottom="5" left="5" right="5" top="5"/>
      </BackgroundInsets>
      <TileSize>
        <AbsValue val="32"/>
      </TileSize>
    </Backdrop>
    <Layers>
      <Layer level="BACKGROUND">
        <FontString inherits="GameFontNormalLarge" name="$parent_ATitle">
          <Anchors>
            <Anchor point="TOPLEFT">
              <Offset x="20" y="-15"/>
            </Anchor>
          </Anchors>
        </FontString>
        <FontString inherits="GameFontHighlightSmall" justifyH="LEFT" justifyV="TOP" name="$parent_BTitle">
          <Anchors>
            <Anchor point="TOPLEFT">
              <Offset x="20" y="-40"/>
            </Anchor>
          </Anchors>
          <Size x="350"/>
        </FontString>
      </Layer>
    </Layers>
  </Frame>
  <!-- The Mask for the interface options frame -->
  <Frame enableMouse="true" name="Atr_Mask_StdOptionsTempl" parent="InterfaceOptionsFrame" virtual="true">
    <Anchors>
      <Anchor point="TOPLEFT">
        <Offset>
          <AbsDimension x="0" y="0"/>
        </Offset>
      </Anchor>
      <Anchor point="BOTTOMRIGHT">
        <Offset>
          <AbsDimension x="0" y="0"/>
        </Offset>
      </Anchor>
    </Anchors>
    <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" tile="true">
      <TileSize>
        <AbsValue val="16"/>
      </TileSize>
    </Backdrop>
    <Scripts>
      <OnLoad>self:SetBackdropColor(0.2, 0.2, 0.2);
      </OnLoad>
    </Scripts>
  </Frame>
  <!-- The Basic Options panel -->
  <Frame enableMouse="true" hidden="true" inherits="Atr_OptionsPanelTemplate" name="Atr_BasicOptionsFrame" parent="UIParent">
    <Scripts>
      <OnLoad>self.TimeSinceLastUpdate = 0;
        Atr_LoadOptionsSubPanel (self, gAtr_ZT("Basic Options"));
      </OnLoad>
    </Scripts>
    <Frames>
      <Frame inherits="Atr_SingleOptionTemplate" name="AuctionatorOption_Enable_Alt">
        <Anchors>
          <Anchor point="TOP">
            <Offset>
              <AbsDimension y="-80"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnLoad>AuctionatorOption_Enable_Alt_CB_Text:SetText (gAtr_ZT("Enable alt-key shortcut"));  </OnLoad>
        </Scripts>
      </Frame>

      <Frame inherits="Atr_SingleOptionTemplate" name="AuctionatorOption_Show_StartingPrice">
        <Anchors>
          <Anchor point="TOP">
            <Offset>
              <AbsDimension y="-150"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnLoad>AuctionatorOption_Show_StartingPrice_CB_Text:SetText (gAtr_ZT("Show Starting Price on the Sell Tab"));  </OnLoad>
        </Scripts>
      </Frame>
      <Frame inherits="Atr_SingleOptionTemplate" name="AuctionatorOption_Enable_Debug">
        <Anchors>
          <Anchor point="TOP">
            <Offset>
              <AbsDimension y="-185"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnLoad>AuctionatorOption_Enable_Debug_CB_Text:SetText (gAtr_ZT("Enable debug mode"));</OnLoad>
        </Scripts>
      </Frame>
      <Frame name="AuctionatorOption_Def_Duration_Text">
        <Size>
          <AbsDimension x="180" y="20"/>
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset>
              <AbsDimension x="30" y="-237"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Layers>
          <Layer level="ARTWORK">
            <FontString inherits="GameFontHighlight" name="$parent_Text" text="AUCTIONATOR_AUCTION_DURATION">
              <Anchors>
                <Anchor point="TOPLEFT">
                  <Offset x="0" y="0"/>
                </Anchor>
              </Anchors>
            </FontString>
          </Layer>
        </Layers>
        <Scripts>
          <OnEnter>Atr_ShowOptionTooltip(self);  </OnEnter>
          <OnLeave>GameTooltip:Hide();   </OnLeave>
        </Scripts>
      </Frame>
      <Frame name="AuctionatorOption_Durations">
        <Size>
          <AbsDimension x="250" y="25"/>
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset>
              <AbsDimension x="40" y="-255"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Frames>
          <CheckButton inherits="UIRadioButtonTemplate" name="Atr_RB_N">
            <Anchors>
              <Anchor point="TOPLEFT">
                <Offset>
                  <AbsDimension x="10" y="0"/>
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnLoad>_G[self:GetName().."Text"]:SetText (gAtr_ZT("None")); </OnLoad>
              <OnClick>Atr_SetDurationOptionRB (self:GetName()); </OnClick>
            </Scripts>
          </CheckButton>
          <CheckButton inherits="UIRadioButtonTemplate" name="Atr_RB_S">
            <Anchors>
              <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="Atr_RB_NText">
                <Offset>
                  <AbsDimension x="20" y="0"/>
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnLoad>_G[self:GetName().."Text"]:SetFormattedText(FORMATED_HOURS, 12); </OnLoad>
              <OnClick>Atr_SetDurationOptionRB (self:GetName()); </OnClick>
            </Scripts>
          </CheckButton>
          <CheckButton inherits="UIRadioButtonTemplate" name="Atr_RB_M">
            <Anchors>
              <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="Atr_RB_SText">
                <Offset>
                  <AbsDimension x="20" y="0"/>
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnLoad>_G[self:GetName().."Text"]:SetFormattedText(FORMATED_HOURS, 24); </OnLoad>
              <OnClick>Atr_SetDurationOptionRB (self:GetName()); </OnClick>
            </Scripts>
          </CheckButton>
          <CheckButton inherits="UIRadioButtonTemplate" name="Atr_RB_L">
            <Anchors>
              <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="Atr_RB_MText">
                <Offset>
                  <AbsDimension x="20" y="0"/>
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnLoad>_G[self:GetName().."Text"]:SetFormattedText(FORMATED_HOURS, 48); </OnLoad>
              <OnClick>Atr_SetDurationOptionRB (self:GetName()); </OnClick>
            </Scripts>
          </CheckButton>
        </Frames>
      </Frame>
      <Frame name="AuctionatorOption_Deftab_Text">
        <Size>
          <AbsDimension x="180" y="20"/>
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset>
              <AbsDimension x="30" y="-296"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Layers>
          <Layer level="ARTWORK">
            <FontString inherits="GameFontHighlight" name="$parent_Text" text="AUCTIONATOR_DEFAULT_AUCTIONATOR_TAB">
              <Anchors>
                <Anchor point="TOPLEFT">
                  <Offset x="0" y="0"/>
                </Anchor>
              </Anchors>
            </FontString>
          </Layer>
        </Layers>
        <Scripts>
          <OnEnter>Atr_ShowOptionTooltip(self);  </OnEnter>
          <OnLeave>GameTooltip:Hide();   </OnLeave>
        </Scripts>
      </Frame>
      <Frame inherits="UIDropDownMenuTemplate" name="AuctionatorOption_Deftab">
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset>
              <AbsDimension x="165" y="-290"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnLoad function="Atr_Opt_Deftab_OnShow"/>
          <OnShow function="Atr_Opt_Deftab_OnShow"/>
        </Scripts>
      </Frame>
    </Frames>
  </Frame>

  <!-- The Tooltips Options screen -->
  <Frame enableMouse="true" hidden="true" inherits="Atr_OptionsPanelTemplate" name="Atr_TooltipsOptionsFrame" parent="UIParent">
    <Scripts>
      <OnLoad>Atr_LoadOptionsSubPanel (self, gAtr_ZT("Tooltips"));
      </OnLoad>
    </Scripts>

    <Layers>
      <Layer level="BACKGROUND">
        <FontString inherits="GameFontNormal" text="When SHIFT is down show">
          <Anchors>
            <Anchor point="TOPLEFT">
              <Offset x="20" y="-181"/>
            </Anchor>
          </Anchors>
        </FontString>
        <FontString inherits="GameFontNormal" text="Show disenchanting details">
          <Anchors>
            <Anchor point="TOPLEFT">
              <Offset x="20" y="-251"/>
            </Anchor>
          </Anchors>
        </FontString>
      </Layer>
    </Layers>

    <Frames>
      <Frame inherits="Atr_SingleOptionTemplate" name="ATR_tipsVendorOpt">
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset>
              <AbsDimension x="20" y="-70"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnLoad>ATR_tipsVendorOpt_CB_Text:SetText (gAtr_ZT("Show vendor prices in tooltips"));  </OnLoad>
        </Scripts>
      </Frame>

      <Frame inherits="Atr_SingleOptionTemplate" name="ATR_tipsAuctionOpt">
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset>
              <AbsDimension x="20" y="-95"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnLoad>ATR_tipsAuctionOpt_CB_Text:SetText (gAtr_ZT("Show auction house prices in tooltips"));  </OnLoad>
        </Scripts>
      </Frame>

      <Frame inherits="Atr_SingleOptionTemplate" name="ATR_tipsDisenchantOpt">
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset>
              <AbsDimension x="20" y="-120"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnLoad>ATR_tipsDisenchantOpt_CB_Text:SetText (gAtr_ZT("Show disenchant prices in tooltips"));  </OnLoad>
        </Scripts>
      </Frame>

      <Frame inherits="Atr_SingleOptionTemplate" name="ATR_tipsMailboxOpt">
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset>
              <AbsDimension x="20" y="-145"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnLoad>ATR_tipsMailboxOpt_CB_Text:SetText (gAtr_ZT("Show auction house prices in mailbox tooltips"));  </OnLoad>
        </Scripts>
      </Frame>

      <Frame inherits="UIDropDownMenuTemplate" name="Atr_tipsShiftDD">
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset>
              <AbsDimension x="50" y="-197"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnLoad function="Atr_Opt_TipsShift_OnShow"/>
          <OnShow function="Atr_Opt_TipsShift_OnShow"/>
        </Scripts>
      </Frame>
      <Frame inherits="UIDropDownMenuTemplate" name="Atr_deDetailsDD">
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset>
              <AbsDimension x="50" y="-267"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnLoad function="Atr_Opt_deDetails_OnShow"/>
          <OnShow function="Atr_Opt_deDetails_OnShow"/>
        </Scripts>
      </Frame>
    </Frames>
  </Frame>
  <!-- Template for one line of the Undercutting Configuration screen -->
  <Frame hidden="true" name="AuctionatorUCTemplate" virtual="true">
    <Size>
      <AbsDimension x="450" y="25"/>
    </Size>
    <Layers>
      <Layer level="BACKGROUND">
        <FontString inherits="GameFontHighlight" justifyH="LEFT" justifyV="TOP" name="$parent_RangeText"/>
      </Layer>
    </Layers>
    <Frames>
      <Frame inherits="MoneyInputFrameTemplate" name="$parent_MoneyInput">
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="150" y="-5"/>
          </Anchor>
        </Anchors>
      </Frame>
    </Frames>
  </Frame>
  <!-- The Undercutting Configuration screen -->
  <Frame enableMouse="true" hidden="true" inherits="Atr_OptionsPanelTemplate" name="Atr_UCConfigFrame" parent="UIParent">
    <Scripts>
      <OnLoad>Atr_LoadOptionsSubPanel (self, gAtr_ZT("Undercutting"));
      </OnLoad>
    </Scripts>
    <Layers>
      <Layer level="BACKGROUND">
        <FontString inherits="GameFontNormal" text="Buyout Price">
          <Anchors>
            <Anchor point="TOPLEFT">
              <Offset>
                <AbsDimension x="20" y="-63"/>
              </Offset>
            </Anchor>
          </Anchors>
        </FontString>
        <FontString inherits="GameFontNormal" text="Undercut by">
          <Anchors>
            <Anchor point="TOPLEFT">
              <Offset>
                <AbsDimension x="165" y="-63"/>
              </Offset>
            </Anchor>
          </Anchors>
        </FontString>
        <FontString inherits="GameFontNormal" text="Starting Price Discount">
          <Anchors>
            <Anchor point="TOPLEFT">
              <Offset>
                <AbsDimension x="25" y="-290"/>
              </Offset>
            </Anchor>
          </Anchors>
        </FontString>
        <FontString inherits="GameFontHighlight" text="percent">
          <Anchors>
            <Anchor point="TOPLEFT">
              <Offset>
                <AbsDimension x="240" y="-290"/>
              </Offset>
            </Anchor>
          </Anchors>
        </FontString>
      </Layer>
    </Layers>
    <Frames>
      <Frame hidden="false" inherits="AuctionatorUCTemplate" name="UC_5000000">
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="20" y="-80"/>
          </Anchor>
        </Anchors>
      </Frame>
      <Frame hidden="false" inherits="AuctionatorUCTemplate" name="UC_1000000">
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="20" y="-103"/>
          </Anchor>
        </Anchors>
      </Frame>
      <Frame hidden="false" inherits="AuctionatorUCTemplate" name="UC_200000">
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="20" y="-126"/>
          </Anchor>
        </Anchors>
      </Frame>
      <Frame hidden="false" inherits="AuctionatorUCTemplate" name="UC_50000">
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="20" y="-149"/>
          </Anchor>
        </Anchors>
      </Frame>
      <Frame hidden="false" inherits="AuctionatorUCTemplate" name="UC_10000">
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="20" y="-172"/>
          </Anchor>
        </Anchors>
      </Frame>
      <Frame hidden="false" inherits="AuctionatorUCTemplate" name="UC_2000">
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="20" y="-195"/>
          </Anchor>
        </Anchors>
      </Frame>
      <Frame hidden="false" inherits="AuctionatorUCTemplate" name="UC_500">
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="20" y="-218"/>
          </Anchor>
        </Anchors>
      </Frame>
      <EditBox autoFocus="false" inherits="InputBoxTemplate" name="Atr_Starting_Discount" numeric="true" bytes="64">
        <Size>
          <AbsDimension x="24" y="20"/>
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="210" y="-286"/>
          </Anchor>
        </Anchors>
        <FontString inherits="ChatFontNormal"/>
      </EditBox>
      <Button inherits="UIPanelButtonTemplate" name="$parent_Reset" text="DEFAULT">
        <Size>
          <AbsDimension x="150" y="22"/>
        </Size>
        <Anchors>
          <Anchor point="BOTTOMLEFT">
            <Offset>
              <AbsDimension x="20" y="15"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>Atr_ResetSavedVars();
            Atr_SetupUCConfigFrame();
          </OnClick>
        </Scripts>
      </Button>
    </Frames>
  </Frame>
  <!-- The Sell Stacking screen -->
  <Frame enableMouse="true" frameStrata="MEDIUM" hidden="true" inherits="Atr_OptionsPanelTemplate" name="Atr_StackingOptionsFrame" parent="InterfaceOptionsFrame">
    <Scripts>
      <OnLoad>Atr_LoadOptionsSubPanel (self, gAtr_ZT("Selling"), nil, gAtr_ZT("Configure how you typically like to sell the items listed below."));
      </OnLoad>
    </Scripts>
    <Layers>
      <Layer level="BACKGROUND"/>
    </Layers>
    <Frames>
      <ScrollFrame inherits="FauxScrollFrameTemplate" name="Atr_Stacking_ScrollFrame">
        <Size>
          <AbsDimension y="240"/>
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset>
              <AbsDimension x="10" y="-95"/>
            </Offset>
          </Anchor>
          <Anchor point="RIGHT">
            <Offset>
              <AbsDimension x="-30"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnVerticalScroll>FauxScrollFrame_OnVerticalScroll(self, offset, 16, Atr_StackingList_Display);
          </OnVerticalScroll>
        </Scripts>
      </ScrollFrame>
      <Frame name="Atr_Stacking_List">
        <Size>
          <AbsDimension y="240"/>
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset>
              <AbsDimension x="10" y="-95"/>
            </Offset>
          </Anchor>
          <Anchor point="RIGHT">
            <Offset>
              <AbsDimension x="-30"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border">
          <EdgeSize>
            <AbsValue val="16"/>
          </EdgeSize>
        </Backdrop>
      </Frame>
      <Button inherits="Atr_SmallButtonTemplate" name="$parent_Edit" parent="Atr_StackingOptionsFrame" text="EDIT">
        <Size>
          <AbsDimension x="80" y="18"/>
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="Atr_Stacking_ScrollFrame">
            <Offset>
              <AbsDimension x="5" y="-7"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>Atr_StackingList_Edit_OnClick()</OnClick>
        </Scripts>
      </Button>
      <Button inherits="Atr_SmallButtonTemplate" name="$parent_New" parent="Atr_StackingOptionsFrame" text="AUCTIONATOR_NEW">
        <Size>
          <AbsDimension x="80" y="18"/>
        </Size>
        <Anchors>
          <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_Edit">
            <Offset>
              <AbsDimension x="7"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>Atr_StackingList_New_OnClick()</OnClick>
        </Scripts>
      </Button>
    </Frames>
  </Frame>
  <Button hidden="true" name="Atr_StackingEntryTemplate" virtual="true">
    <Size>
      <AbsDimension y="16"/>
    </Size>
    <Anchors>
      <Anchor point="LEFT">
        <Offset>
          <AbsDimension x="6"/>
        </Offset>
      </Anchor>
      <Anchor point="RIGHT">
        <Offset>
          <AbsDimension x="-6"/>
        </Offset>
      </Anchor>
    </Anchors>
    <Layers>
      <Layer level="BACKGROUND">
        <FontString inherits="GameFontHighlightSmall" justifyH="LEFT" name="$parent_text">
          <Size>
            <AbsDimension x="160" y="16"/>
          </Size>
          <Anchors>
            <Anchor point="LEFT">
              <Offset>
                <AbsDimension x="12"/>
              </Offset>
            </Anchor>
          </Anchors>
        </FontString>
        <FontString inherits="GameFontHighlightSmall" justifyH="LEFT" name="$parent_info">
          <Size>
            <AbsDimension y="16"/>
          </Size>
          <Anchors>
            <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent_text">
              <Offset>
                <AbsDimension x="10"/>
              </Offset>
            </Anchor>
            <Anchor point="RIGHT">
              <Offset>
                <AbsDimension x="10"/>
              </Offset>
            </Anchor>
          </Anchors>
        </FontString>
      </Layer>
    </Layers>
    <PushedTexture alphaMode="ADD" file="Interface\HelpFrame\HelpFrameButton-Highlight">
      <TexCoords bottom="0.6" left="0.15" right="0.25" top="0.0"/>
    </PushedTexture>
    <HighlightTexture alphaMode="ADD" file="Interface\HelpFrame\HelpFrameButton-Highlight">
      <TexCoords bottom="0.5" left="0.05" right="0.07" top="0.1"/>
    </HighlightTexture>
    <Scripts>
      <OnClick>Atr_StackingEntry_OnClick(self);
      </OnClick>
      <OnDoubleClick>Atr_StackingEntry_OnDoubleClick(self);
      </OnDoubleClick>
    </Scripts>
  </Button>
  <!-- Memorize Stacking screen -->
  <Frame enableMouse="true" frameStrata="DIALOG" hidden="true" name="Atr_MemorizeFrame" parent="InterfaceOptionsFrame" toplevel="true">
    <Size>
      <AbsDimension x="430" y="250"/>
    </Size>
    <Anchors>
      <Anchor point="CENTER">
        <Offset>
          <AbsDimension x="10" y="50"/>
        </Offset>
      </Anchor>
    </Anchors>
    <Backdrop bgFile="Interface\CharacterFrame\UI-Party-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
      <BackgroundInsets>
        <AbsInset bottom="11" left="11" right="12" top="12"/>
      </BackgroundInsets>
      <TileSize>
        <AbsValue val="32"/>
      </TileSize>
      <EdgeSize>
        <AbsValue val="32"/>
      </EdgeSize>
    </Backdrop>
    <Layers>
      <Layer level="BACKGROUND">
        <FontString inherits="GameFontNormalSmall" justifyH="LEFT" name="Atr_Mem_itemName_text" text="AUCTIONATOR_ITEM_NAME">
          <Size>
            <AbsDimension x="200" y="20"/>
          </Size>
          <Anchors>
            <Anchor point="TOPLEFT">
              <Offset x="40" y="-50"/>
            </Anchor>
          </Anchors>
        </FontString>
        <FontString inherits="GameFontHighlight" justifyH="LEFT" name="Atr_Mem_itemName_static">
          <Size>
            <AbsDimension x="300" y="20"/>
          </Size>
          <Anchors>
            <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="Atr_Mem_itemName_text">
              <Offset>
                <AbsDimension x="10" y="-20"/>
              </Offset>
            </Anchor>
          </Anchors>
        </FontString>
        <FontString inherits="GameFontNormal" justifyH="RIGHT" name="Atr_Mem_stacksOf_text" text="stacks of">
          <Size>
            <AbsDimension x="120" y="30"/>
          </Size>
          <Anchors>
            <Anchor point="TOPLEFT">
              <Offset x="165" y="-120"/>
            </Anchor>
          </Anchors>
        </FontString>
      </Layer>
    </Layers>
    <Scripts>
      <OnHide>HideInterfaceOptionsMask()</OnHide>
    </Scripts>
    <Frames>
      <EditBox autoFocus="true" hidden="true" inherits="InputBoxTemplate" name="Atr_Mem_EB_itemName">
        <Size>
          <AbsDimension x="300" y="22"/>
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="Atr_Mem_itemName_text">
            <Offset>
              <AbsDimension x="0" y="-20"/>
            </Offset>
          </Anchor>
        </Anchors>
      </EditBox>
      <Frame inherits="UIDropDownMenuTemplate" name="Atr_Mem_DD_numStacks">
        <Anchors>
          <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="Atr_Mem_stacksOf_text">
            <Offset>
              <AbsDimension x="60" y="-2"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnLoad function="Atr_SONumStacks_OnShow"/>
          <OnShow function="Atr_SONumStacks_OnShow"/>
        </Scripts>
      </Frame>
      <EditBox autoFocus="false" inherits="InputBoxTemplate" name="Atr_Mem_EB_stackSize" numeric="true" bytes="64">
        <Size>
          <AbsDimension x="40" y="20"/>
        </Size>
        <Anchors>
          <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="Atr_Mem_stacksOf_text">
            <Offset>
              <AbsDimension x="22" y="-1"/>
            </Offset>
          </Anchor>
        </Anchors>
        <FontString inherits="ChatFontNormal" justifyH="CENTER"/>
      </EditBox>
      <Button inherits="Atr_SmallButtonTemplate" name="Atr_Mem_Forget" text="">
        <Size>
          <AbsDimension x="150" y="18"/>
        </Size>
        <Anchors>
          <Anchor point="BOTTOMLEFT">
            <Offset>
              <AbsDimension x="20" y="18"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>Atr_Memorize_Forget();
            Atr_MemorizeFrame:Hide();
          </OnClick>
        </Scripts>
      </Button>
      <Button inherits="UIPanelButtonTemplate" name="Atr_Mem_Cancel" text="CANCEL">
        <Size>
          <AbsDimension x="80" y="22"/>
        </Size>
        <Anchors>
          <Anchor point="BOTTOMRIGHT">
            <Offset>
              <AbsDimension x="-20" y="17"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>Atr_MemorizeFrame:Hide();
          </OnClick>
        </Scripts>
      </Button>
      <Button inherits="UIPanelButtonTemplate" text="OKAY">
        <Size>
          <AbsDimension x="80" y="22"/>
        </Size>
        <Anchors>
          <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="Atr_Mem_Cancel">
            <Offset>
              <AbsDimension x="-3" y="0"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>Atr_Memorize_Save();
            Atr_MemorizeFrame:Hide();
          </OnClick>
        </Scripts>
      </Button>
    </Frames>
  </Frame>
  <!-- The Scanning Options screen -->
  <Frame enableMouse="true" hidden="true" inherits="Atr_OptionsPanelTemplate" name="Atr_ScanningOptionsFrame" parent="UIParent">
    <Scripts>
      <OnLoad>Atr_LoadOptionsSubPanel (self, gAtr_ZT("Database"));
      </OnLoad>
    </Scripts>
    <Frames>
      <Frame>
        <Size>
          <AbsDimension x="160" y="22"/>
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="30" y="-62"/>
          </Anchor>
        </Anchors>
        <Layers>
          <Layer level="BACKGROUND">
            <FontString inherits="GameFontNormal" justifyH="LEFT" text="AUCTIONATOR_MINIMUM_QUALITY_LEVEL"/>
          </Layer>
        </Layers>
        <Scripts>
          <OnEnter>Atr_scanLevelDD_showTip(self);  </OnEnter>
          <OnLeave>GameTooltip:Hide();   </OnLeave>
        </Scripts>
      </Frame>
      <Frame inherits="UIDropDownMenuTemplate" name="Atr_scanLevelDD">
        <Size>
          <AbsDimension x="220" y="22"/>
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset>
              <AbsDimension x="175" y="-60"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnLoad function="Atr_ScanLevel_OnLoad"/>
          <OnShow function="Atr_ScanLevel_OnShow"/>
          <OnEnter>Atr_scanLevelDD_showTip(self);  </OnEnter>
          <OnLeave>GameTooltip:Hide();   </OnLeave>
        </Scripts>
      </Frame>
      <Frame>
        <Size>
          <AbsDimension x="160" y="22"/>
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="15" y="-100"/>
          </Anchor>
        </Anchors>
        <Layers>
          <Layer level="BACKGROUND">
            <FontString inherits="GameFontNormal" text="AUCTIONATOR_MEMORY_USAGE">
              <Anchors>
                <Anchor point="TOPLEFT">
                  <Offset x="15" y="-20"/>
                </Anchor>
              </Anchors>
            </FontString>
            <FontString inherits="GameFontHighlight" name="Atr_ScanOpts_MemUsageText">
              <Anchors>
                <Anchor point="TOPLEFT">
                  <Offset x="225" y="-20"/>
                </Anchor>
              </Anchors>
            </FontString>
            <FontString inherits="GameFontNormal" text="AUCTIONATOR_ITEMS_IN_THE_DATABASE">
              <Anchors>
                <Anchor point="TOPLEFT">
                  <Offset x="15" y="-45"/>
                </Anchor>
              </Anchors>
            </FontString>
            <FontString inherits="GameFontHighlight" name="Atr_ScanOpts_ItemCntText">
              <Anchors>
                <Anchor point="TOPLEFT">
                  <Offset x="225" y="-45"/>
                </Anchor>
              </Anchors>
            </FontString>
          </Layer>
        </Layers>
      </Frame>
      <Frame>
        <Size>
          <AbsDimension x="260" y="40"/>
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="30" y="-205"/>
          </Anchor>
        </Anchors>
        <Layers>
          <Layer level="BACKGROUND">
            <FontString inherits="GameFontNormal" justifyH="LEFT" spacing="2" text="AUCTIONATOR_DELETE_HISTORICAL_PRICES">
              <Size>
                <AbsDimension x="200"/>
              </Size>
              <Anchors>
                <Anchor point="TOPLEFT">
                  <Offset x="0" y="0"/>
                </Anchor>
              </Anchors>
            </FontString>
            <FontString inherits="GameFontNormal" justifyH="LEFT" text="AUCTIONATOR_DELETE_HISTORICAL_PRICES_DAYS">
              <Anchors>
                <Anchor point="TOPLEFT">
                  <Offset x="268" y="-11"/>
                </Anchor>
              </Anchors>
            </FontString>
          </Layer>
        </Layers>
        <Frames>
          <EditBox autoFocus="false" inherits="InputBoxTemplate" name="Atr_ScanOpts_MaxHistAge" numeric="true" bytes="64">
            <Size>
              <AbsDimension x="40" y="22"/>
            </Size>
            <Anchors>
              <Anchor point="TOPLEFT">
                <Offset x="220" y="-3"/>
              </Anchor>
            </Anchors>
            <FontString inherits="ChatFontNormal"/>
          </EditBox>
        </Frames>
      </Frame>
    </Frames>
  </Frame>
  <!-- The Resets screen -->
  <Frame enableMouse="true" frameStrata="MEDIUM" hidden="true" inherits="Atr_OptionsPanelTemplate" name="AuctionatorResetsFrame" parent="InterfaceOptionsFrame">
    <Scripts>
      <OnLoad>Atr_LoadOptionsSubPanel (self, gAtr_ZT("Clears"), gAtr_ZT("Clears"), gAtr_ZT("The features below will help you clear out data that Auctionator stores.  Typically you would only need this in the event that that data gets corrupted."));
      </OnLoad>
    </Scripts>
    <Frames>
      <Button inherits="UIPanelButtonTemplate" parent="AuctionatorResetsFrame" text="AUCTIONATOR_CLEAR_SCANNING_HISTORY_BTN">
        <Size x="300" y="22"/>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="30" y="-120"/>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick function="Atr_OnClick_ClearHistory"/>
        </Scripts>
      </Button>
      <Button inherits="UIPanelButtonTemplate" parent="AuctionatorResetsFrame" text="AUCTIONATOR_CLEAR_POSTING_HISTORY_BTN">
        <Size x="300" y="22"/>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="30" y="-160"/>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick function="Atr_OnClick_ClearPostHistory"/>
        </Scripts>
      </Button>
      <Button inherits="UIPanelButtonTemplate" parent="AuctionatorResetsFrame" text="AUCTIONATOR_CLEAR_STACKING_PREFERENCES_BTN">
        <Size x="300" y="22"/>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="30" y="-200"/>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick function="Atr_OnClick_ClearStackPrefs"/>
        </Scripts>
      </Button>
      <Button inherits="UIPanelButtonTemplate" parent="AuctionatorResetsFrame" text="AUCTIONATOR_CLEAR_SHOPPING_LISTS_BTN">
        <Size x="300" y="22"/>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="30" y="-240"/>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick function="Atr_OnClick_ClearShopLists"/>
        </Scripts>
      </Button>
    </Frames>
  </Frame>
  <!-- Are You Sure? screen -->
  <Frame enableMouse="true" frameStrata="DIALOG" hidden="true" name="Atr_ConfirmClear_Frame" parent="InterfaceOptionsFrame" toplevel="true">
    <Size x="430" y="200"/>
    <Anchors>
      <Anchor point="CENTER">
        <Offset>
          <AbsDimension x="10" y="80"/>
        </Offset>
      </Anchor>
    </Anchors>
    <Backdrop bgFile="Interface\CharacterFrame\UI-Party-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
      <BackgroundInsets>
        <AbsInset bottom="11" left="11" right="12" top="12"/>
      </BackgroundInsets>
      <TileSize>
        <AbsValue val="32"/>
      </TileSize>
      <EdgeSize>
        <AbsValue val="32"/>
      </EdgeSize>
    </Backdrop>
    <Layers>
      <Layer level="BACKGROUND">
        <FontString inherits="GameFontNormal" name="Atr_ClearConfirm_Text1" text="AUCTIONATOR_ARE_YOU_SURE">
          <Anchors>
            <Anchor point="TOPLEFT">
              <Offset x="20" y="-40"/>
            </Anchor>
          </Anchors>
        </FontString>
        <FontString inherits="GameFontHighlightSmall" justifyH="LEFT" name="Atr_ClearConfirm_Text2" text="xxx">
          <Anchors>
            <Anchor point="TOPLEFT">
              <Offset x="20" y="-80"/>
            </Anchor>
          </Anchors>
          <Size x="350"/>
        </FontString>
      </Layer>
    </Layers>
    <Frames>
      <Button inherits="UIPanelButtonTemplate" name="Atr_ClearConfirm_Cancel" text="CANCEL">
        <Size x="120" y="22"/>
        <Anchors>
          <Anchor point="BOTTOMRIGHT">
            <Offset>
              <AbsDimension x="-30" y="25"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick function="Atr_OnClick_ClearConfirm_Hide"/>
        </Scripts>
      </Button>
      <Button inherits="UIPanelButtonTemplate" text="AUCTIONATOR_CLEAR_IT">
        <Size x="120" y="22"/>
        <Anchors>
          <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="Atr_ClearConfirm_Cancel">
            <Offset>
              <AbsDimension x="-5" y="0"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick function="Atr_OnClick_ClearConfirm_Yes"/>
        </Scripts>
      </Button>
    </Frames>
  </Frame>
  <!-- The Shopping Lists screen -->
  <Frame enableMouse="true" hidden="true" inherits="Atr_OptionsPanelTemplate" name="Atr_ShpList_Options_Frame" parent="UIParent">
    <Scripts>
      <OnLoad>Atr_LoadOptionsSubPanel (self, gAtr_ZT("Shopping Lists"), gAtr_ZT("Shopping Lists"));
      </OnLoad>
      <OnUpdate>Atr_ShpList_Options_Update (self, elapsed);
      </OnUpdate>
    </Scripts>
    <Layers>
      <Layer level="BACKGROUND">
        <FontString inherits="GameFontDarkGraySmall" text="AUCTIONATOR_SHOPPING_LISTS_OPTION_DESCRIPTION">
          <Size x="125"/>
          <Anchors>
            <Anchor point="BOTTOMRIGHT" x="-30" y="26"/>
          </Anchors>
        </FontString>
      </Layer>
    </Layers>
    <Frames>
      <ScrollFrame inherits="FauxScrollFrameTemplate" name="Atr_ShpList_ScrollFrame">
        <Size x="180"/>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset>
              <AbsDimension x="20" y="-95"/>
            </Offset>
          </Anchor>
          <Anchor point="BOTTOM">
            <Offset>
              <AbsDimension y="30"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnVerticalScroll>FauxScrollFrame_OnVerticalScroll(self, offset, 16, Atr_ShpLists_Display);
          </OnVerticalScroll>
        </Scripts>
      </ScrollFrame>
      <Frame name="Atr_ShpList_Frame">
        <Anchors>
          <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="Atr_ShpList_ScrollFrame">
            <Offset x="-5" y="5"/>
          </Anchor>
          <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" relativeTo="Atr_ShpList_ScrollFrame">
            <Offset x="27" y="-5"/>
          </Anchor>
        </Anchors>
        <Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border">
          <EdgeSize>
            <AbsValue val="16"/>
          </EdgeSize>
        </Backdrop>
      </Frame>
      <Button inherits="UIPanelButtonTemplate" name="Atr_ShpList_DeleteButton" text="Delete">
        <Size x="100" y="22"/>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="270" y="-95"/>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick function="Atr_OnClick_ShpList_Delete"/>
        </Scripts>
      </Button>
      <Button inherits="UIPanelButtonTemplate" name="Atr_ShpList_EditButton" text="EDIT">
        <Size x="100" y="22"/>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="270" y="-125"/>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick function="Atr_OnClick_ShpList_Edit"/>
        </Scripts>
      </Button>
      <Button inherits="UIPanelButtonTemplate" name="Atr_ShpList_RenameButton" text="Rename">
        <Size x="100" y="22"/>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="270" y="-155"/>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick function="Atr_OnClick_ShpList_Rename"/>
        </Scripts>
      </Button>
      <Button inherits="UIPanelButtonTemplate" name="Atr_ShpList_ImportButton" text="AUCTIONATOR_NEW">
        <Size x="100" y="22"/>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="270" y="-185"/>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick function="Atr_OnClick_ShpList_New"/>
        </Scripts>
      </Button>
      <Button inherits="UIPanelButtonTemplate" name="Atr_ShpList_ImportButton" text="AUCTIONATOR_IMPORT">
        <Size x="100" y="22"/>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="270" y="-215"/>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick function="Atr_OnClick_ShpList_Import"/>
        </Scripts>
      </Button>
      <Button inherits="UIPanelButtonTemplate" name="Atr_ShpList_ExportButton" text="AUCTIONATOR_EXPORT">
        <Size x="100" y="22"/>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="270" y="-245"/>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick function="Atr_OnClick_ShpList_Export"/>
        </Scripts>
      </Button>
    </Frames>
  </Frame>
  <Button hidden="true" name="Atr_ShpListsEntryTemplate" virtual="true">
    <Size>
      <AbsDimension y="16"/>
    </Size>
    <Anchors>
      <Anchor point="LEFT">
        <Offset>
          <AbsDimension x="5"/>
        </Offset>
      </Anchor>
      <Anchor point="RIGHT">
        <Offset>
          <AbsDimension x="-25"/>
        </Offset>
      </Anchor>
    </Anchors>
    <Layers>
      <Layer level="BACKGROUND">
        <FontString inherits="GameFontHighlightSmall" justifyH="LEFT" name="$parent_text">
          <Size>
            <AbsDimension x="140" y="16"/>
          </Size>
          <Anchors>
            <Anchor point="LEFT">
              <Offset>
                <AbsDimension x="12"/>
              </Offset>
            </Anchor>
          </Anchors>
        </FontString>
      </Layer>
    </Layers>
    <PushedTexture alphaMode="ADD" file="Interface\HelpFrame\HelpFrameButton-Highlight">
      <TexCoords bottom="0.6" left="0.15" right="0.25" top="0.0"/>
    </PushedTexture>
    <HighlightTexture alphaMode="ADD" file="Interface\HelpFrame\HelpFrameButton-Highlight">
      <TexCoords bottom="0.5" left="0.05" right="0.07" top="0.1"/>
    </HighlightTexture>
    <Scripts>
      <OnClick function="Atr_ShpListsEntry_OnClick"/>
      <OnDoubleClick function="Atr_ShpListsEntry_OnDoubleClick"/>
    </Scripts>
  </Button>
  <Frame enableMouse="true" frameStrata="DIALOG" hidden="true" name="Atr_ShpList_Edit_Frame">
    <Size x="430" y="415"/>
    <Anchors>
      <Anchor point="CENTER"/>
    </Anchors>
    <Backdrop bgFile="Interface\MERCHANTFRAME\UI-BuyBack-TopLeft" edgeFile="Interface\DialogFrame\UI-DialogBox-Border">
      <BackgroundInsets>
        <AbsInset bottom="2" left="2" right="0" top="2"/>
      </BackgroundInsets>
      <TileSize>
        <AbsValue val="256"/>
      </TileSize>
      <EdgeSize>
        <AbsValue val="32"/>
      </EdgeSize>
    </Backdrop>
    <Layers>
      <Layer level="BACKGROUND">
        <FontString inherits="GameFontNormal" name="Atr_ShpList_Edit_Name" text="EDIT">
          <Anchors>
            <Anchor point="TOPLEFT" x="30" y="-30"/>
          </Anchors>
        </FontString>
        <FontString inherits="GameFontHighlightSmall" justifyH="LEFT" name="Atr_ShpList_Explanation" spacing="4">
          <Size x="120"/>
          <Anchors>
            <Anchor point="TOPRIGHT" x="-30" y="-65"/>
          </Anchors>
        </FontString>
      </Layer>
    </Layers>
    <Frames>
      <ScrollFrame inherits="UIPanelScrollFrameTemplate" name="$parentScrollFrame">
        <Size x="180"/>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset x="50" y="-62"/>
          </Anchor>
          <Anchor point="BOTTOM">
            <Offset y="31"/>
          </Anchor>
        </Anchors>
        <Backdrop bgFile="Interface\CharacterFrame\UI-Party-Background" tile="true">
          <BackgroundInsets>
            <AbsInset bottom="-3" left="-20" right="-23" top="-3"/>
          </BackgroundInsets>
          <TileSize>
            <AbsValue val="32"/>
          </TileSize>
        </Backdrop>
        <Layers>
          <Layer level="ARTWORK">
            <Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
              <Size x="31" y="256"/>
              <Anchors>
                <Anchor point="TOPRIGHT" x="29" y="4"/>
              </Anchors>
              <TexCoords bottom="1" left="0" right="0.484375" top="0"/>
            </Texture>
            <Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
              <Size x="31" y="106"/>
              <Anchors>
                <Anchor point="BOTTOMRIGHT" x="29" y="-2"/>
              </Anchors>
              <TexCoords bottom="0.4140625" left="0.515625" right="1.0" top="0"/>
            </Texture>
          </Layer>
        </Layers>
        <ScrollChild>
          <EditBox autoFocus="false" letters="4000" multiLine="true" name="Atr_ShpList_Edit_Text">
            <Size x="180" y="300"/>
            <Anchors>
              <Anchor point="TOPLEFT">
                <Offset x="20" y="-50"/>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnCursorChanged function="ScrollingEdit_OnCursorChanged"/>
              <OnUpdate>ScrollingEdit_OnUpdate(self, elapsed, self:GetParent());
              </OnUpdate>
              <OnEscapePressed function="EditBox_ClearFocus"/>
            </Scripts>
            <FontString inherits="GameFontHighlightSmall"/>
          </EditBox>
        </ScrollChild>
      </ScrollFrame>
      <Button inherits="UIPanelButtonTemplate" text="CANCEL">
        <Size x="120" y="22"/>
        <Anchors>
          <Anchor point="BOTTOMRIGHT">
            <Offset x="-30" y="30"/>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>self:GetParent():Hide()</OnClick>
        </Scripts>
      </Button>
      <Button hidden="true" inherits="UIPanelButtonTemplate" name="Atr_ShpList_ImportSaveBut" text="AUCTIONATOR_SHPLIST_IMPORTSAVEBTN">
        <Size x="120" y="22"/>
        <Anchors>
          <Anchor point="BOTTOMRIGHT">
            <Offset x="-30" y="60"/>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>Atr_ShpList_Edit_ImportSave()</OnClick>
        </Scripts>
      </Button>
      <Button hidden="true" inherits="UIPanelButtonTemplate" name="Atr_ShpList_SaveBut" text="AUCTIONATOR_SHPLIST_SAVEBTN">
        <Size x="120" y="22"/>
        <Anchors>
          <Anchor point="BOTTOMRIGHT">
            <Offset x="-30" y="60"/>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>Atr_ShpList_Edit_Save()</OnClick>
        </Scripts>
      </Button>
      <Button hidden="true" inherits="UIPanelButtonTemplate" name="Atr_ShpList_SelectAllBut" text="AUCTIONATOR_SHPLIST_SELECTALLBTN">
        <Size x="120" y="22"/>
        <Anchors>
          <Anchor point="BOTTOMRIGHT">
            <Offset x="-30" y="60"/>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>Atr_ShpList_Edit_Text:SetFocus(); Atr_ShpList_Edit_Text:HighlightText()</OnClick>
        </Scripts>
      </Button>
    </Frames>
  </Frame>
  <Frame enableMouse="true" frameStrata="FULLSCREEN_DIALOG" hidden="true" name="Atr_SList_Conflict_Frame" parent="UIParent">
    <Size x="400" y="420"/>
    <Anchors>
      <Anchor point="CENTER"/>
    </Anchors>
    <Backdrop bgFile="Interface\CharacterFrame\UI-Party-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
      <BackgroundInsets>
        <AbsInset bottom="2" left="2" right="0" top="2"/>
      </BackgroundInsets>
      <TileSize>
        <AbsValue val="32"/>
      </TileSize>
      <EdgeSize>
        <AbsValue val="32"/>
      </EdgeSize>
    </Backdrop>
    <Layers>
      <Layer level="BACKGROUND">
        <FontString inherits="GameFontNormal" spacing="3" text="AUCTIONATOR_SHPLIST_ALREADY_EXIST">
          <Anchors>
            <Anchor point="TOPLEFT" x="30" y="-30"/>
            <Anchor point="RIGHT" x="-30"/>
          </Anchors>
        </FontString>
        <FontString inherits="GameFontHighlight" name="Atr_SList_Conflict_Names" spacing="3">
          <Anchors>
            <Anchor point="TOPLEFT" x="30" y="-60"/>
            <Anchor point="RIGHT" x="-30"/>
          </Anchors>
        </FontString>
      </Layer>
    </Layers>
    <Frames>
      <CheckButton inherits="UIRadioButtonTemplate" name="Atr_SList_Conflict_CreateNew">
        <Anchors>
          <Anchor point="BOTTOMLEFT" x="30" y="240"/>
        </Anchors>
        <Scripts>
          <OnLoad>Atr_SList_Conflict_SetRB (self, gAtr_ZT("Create new shopping lists with new names")) </OnLoad>
          <OnClick function="Atr_SList_Conflict_OnClick"/>
        </Scripts>
      </CheckButton>
      <CheckButton inherits="UIRadioButtonTemplate" name="Atr_SList_Conflict_Overwrite">
        <Anchors>
          <Anchor point="BOTTOMLEFT" x="30" y="170"/>
        </Anchors>
        <Scripts>
          <OnLoad>Atr_SList_Conflict_SetRB (self, gAtr_ZT("Overwrite the existing shopping lists with the imported lists.")) </OnLoad>
          <OnClick function="Atr_SList_Conflict_OnClick"/>
        </Scripts>
      </CheckButton>
      <CheckButton inherits="UIRadioButtonTemplate" name="Atr_SList_Conflict_Abort">
        <Anchors>
          <Anchor point="BOTTOMLEFT" x="30" y="100"/>
        </Anchors>
        <Scripts>
          <OnLoad>Atr_SList_Conflict_SetRB (self, gAtr_ZT("Abort the import.  You can hand-edit the import text to change the names and then try again.")) </OnLoad>
          <OnClick function="Atr_SList_Conflict_OnClick"/>
        </Scripts>
      </CheckButton>
      <Button inherits="UIPanelButtonTemplate" name="Atr_SList_Conflict_OKAY" text="AUCTIONATOR_SHPLIST_OKAY">
        <Size x="140" y="22"/>
        <Anchors>
          <Anchor point="BOTTOMRIGHT" x="-30" y="30"/>
        </Anchors>
        <Scripts>
          <OnClick function="Atr_SList_Conflict_OKAY_OnClick"/>
        </Scripts>
      </Button>
    </Frames>
  </Frame>
  <!-- The About screen -->
  <Frame enableMouse="true" hidden="true" inherits="Atr_OptionsPanelTemplate" name="AuctionatorDescriptionFrame" parent="UIParent">
    <Scripts>
      <OnLoad>Atr_LoadOptionsSubPanel (self, gAtr_ZT("About"), gAtr_ZT("About Auctionator"));
      </OnLoad>
    </Scripts>
    <Layers>
      <Layer level="BACKGROUND">
        <FontString inherits="GameFontDisableSmall" justifyH="LEFT" justifyV="TOP" text="AUCTIONATOR_AUTOR_TEXT">
          <Anchors>
            <Anchor point="BOTTOMLEFT">
              <Offset>
                <AbsDimension x="30" y="35"/>
              </Offset>
            </Anchor>
          </Anchors>
        </FontString>
        <FontString inherits="GameFontDisableSmall" justifyH="LEFT" justifyV="TOP" name="AuctionatorVersionText">
          <Anchors>
            <Anchor point="BOTTOMLEFT">
              <Offset>
                <AbsDimension x="30" y="20"/>
              </Offset>
            </Anchor>
          </Anchors>
        </FontString>
      </Layer>
    </Layers>
    <Frames>
      <SimpleHTML name="AuctionatorDescriptionHTML">
        <Size>
          <AbsDimension x="320" y="120"/>
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset>
              <AbsDimension x="20" y="-70"/>
            </Offset>
          </Anchor>
        </Anchors>
        <FontString inherits="GameFontNormal" />
        <FontStringHeader1 inherits="GameFontNormal"/>
      </SimpleHTML>
    </Frames>
  </Frame>
</Ui>