<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\FrameXML\UI.xsd">
    <Script file="localization.lua"/>
    <Script file="InventoryList.lua"/>
        
    <Button name="InvListItemButtonTemplate" virtual="true">
      <Size>
        <AbsDimension x="200" y="16"/>
      </Size>
        <Scripts>
            <OnLoad>
                this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
            </OnLoad>
            <OnClick>
                InvListItemButton_OnClick(arg1);
            </OnClick>
            <OnEnter>
                InvListItemButton_OnEnter();
            </OnEnter>
            <OnLeave>
                InvListItemButton_OnLeave();
            </OnLeave>
        </Scripts>
        <NormalText name="$parentText" inherits="GameFontNormalSmall" justifyH="left">
            <Size>
                <AbsDimension x="200" y="12"/>
            </Size>
            <Anchors>
                <Anchor point="LEFT"/>
            </Anchors> 
        </NormalText>
    </Button>

    <Frame name="InvListItemMoneyTemplate" virtual="true">
        <Size>
            <AbsDimension x="90" y="16"/>
        </Size>
        <Frames>
            <Button name="$parentCopperButton">
                <Size>
                    <AbsDimension x="26" y="19"/>
                </Size>
                <Anchors>
                    <Anchor point="RIGHT">
                        <Offset>
                            <AbsDimension x="-13" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                <NormalTexture file="Interface\MoneyFrame\UI-MoneyIcons">
                    <Size>
                        <AbsDimension x="17" y="17"/>
                    </Size>
                    <Anchors>
                        <Anchor point="RIGHT"/>
                    </Anchors>
                    <TexCoords left="0.5" right="0.75" top="0" bottom="1"/>
                </NormalTexture>
                <NormalText name="$parentText" inherits="NumberFontNormalLarge" justifyH="RIGHT">
                    <Anchors>
                        <Anchor point="RIGHT">
                            <Offset>
                                <AbsDimension x="-19" y="0"/>
                            </Offset>
                        </Anchor>
                    </Anchors>
                </NormalText>
                <PushedTextOffset>
                    <AbsDimension x="0" y="0"/>
                </PushedTextOffset>
            </Button>
            <Button name="$parentSilverButton">
                <Size>
                    <AbsDimension x="26" y="19"/>
                </Size>
                <Anchors>
                    <Anchor point="RIGHT" relativeTo="$parentCopperButton" relativePoint="LEFT">
                        <Offset>
                            <AbsDimension x="-4" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                <NormalTexture file="Interface\MoneyFrame\UI-MoneyIcons">
                    <Size>
                        <AbsDimension x="17" y="17"/>
                    </Size>
                    <Anchors>
                        <Anchor point="RIGHT"/>
                    </Anchors>
                    <TexCoords left="0.25" right="0.5" top="0" bottom="1"/>
                </NormalTexture>
                <NormalText name="$parentText" inherits="NumberFontNormalLarge" justifyH="RIGHT">
                    <Anchors>
                        <Anchor point="RIGHT">
                            <Offset>
                                <AbsDimension x="-19" y="0"/>
                            </Offset>
                        </Anchor>
                    </Anchors>
                </NormalText>
                <PushedTextOffset>
                    <AbsDimension x="0" y="0"/>
                </PushedTextOffset>
            </Button>
            <Button name="$parentGoldButton">
                <Size>
                    <AbsDimension x="26" y="19"/>
                </Size>
                <Anchors>
                    <Anchor point="RIGHT" relativeTo="$parentSilverButton" relativePoint="LEFT">
                        <Offset>
                            <AbsDimension x="-4" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                <NormalTexture file="Interface\MoneyFrame\UI-MoneyIcons">
                    <Size>
                        <AbsDimension x="17" y="17"/>
                    </Size>
                    <Anchors>
                        <Anchor point="RIGHT"/>
                    </Anchors>
                    <TexCoords left="0" right="0.25" top="0" bottom="1"/>
                </NormalTexture>
                <NormalText name="$parentText" inherits="NumberFontNormalLarge" justifyH="RIGHT">
                    <Anchors>
                        <Anchor point="RIGHT">
                            <Offset>
                                <AbsDimension x="-19" y="0"/>
                            </Offset>
                        </Anchor>
                    </Anchors>
                </NormalText>
                <PushedTextOffset>
                    <AbsDimension x="0" y="0"/>
                </PushedTextOffset>
            </Button>
        </Frames>
    </Frame>

    <Button name="InvListColumnHeaderTemplate" virtual="true">
        <Size>
            <AbsDimension x="10" y="20"/>
        </Size>
        <Layers>
            <Layer level="BACKGROUND">
                <Texture name="$parentLeft" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
                    <Size>
                        <AbsDimension x="5" y="20"/>
                    </Size>
                    <Anchors>
                        <Anchor point="TOPLEFT"/>
                    </Anchors>
                    <TexCoords left="0" right="0.078125" top="0.75" bottom="0"/>
                </Texture>
                <Texture name="$parentMiddle" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
                    <Size>
                        <AbsDimension x="53" y="20"/>
                    </Size>
                    <Anchors>
                        <Anchor point="LEFT" relativeTo="$parentLeft" relative="RIGHT"/>
                    </Anchors>
                    <TexCoords left="0.078125" right="0.90625" top="0.75" bottom="0"/>
                </Texture>
                <Texture name="$parentRight" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
                    <Size>
                        <AbsDimension x="4" y="20"/>
                    </Size>
                    <Anchors>
                        <Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/>
                    </Anchors>
                    <TexCoords left="0.90625" right="0.96875" top="0.75" bottom="0"/>
                </Texture>
            </Layer>
        </Layers>
        <Scripts>
            <OnClick>
                if (this.sortType) then
                    InvList_SortBy(this.sortType);
                end
                PlaySound("igMainMenuOptionCheckBoxOn");
            </OnClick>
        </Scripts>
        <NormalText inherits="GameFontHighlightSmall">
            <Anchors>
                <Anchor point="LEFT">
                    <Offset>
                        <AbsDimension x="8" y="2"/>
                    </Offset>
                </Anchor>
            </Anchors>
        </NormalText>
    </Button>

    <Frame name="InvListFrame" frameStrata="LOW" toplevel="true" enableMouse="true" movable="true" parent="UIParent" hidden="true">
        <Size>
            <AbsDimension x="384" y="512"/>
        </Size>
        <Anchors>
            <Anchor point="TOPLEFT">
                <Offset>
                    <AbsDimension x="0" y="-104"/>
                </Offset>
            </Anchor>
        </Anchors>
        <HitRectInsets>
            <AbsInset left="0" right="30" top="0" bottom="70"/>
        </HitRectInsets>
        <Layers>
            <Layer level="BACKGROUND">
                <Texture name="InvListFramePortrait" file="Interface\Icons\INV_Misc_Bag_01">
                    <Size>
                        <AbsDimension x="58" y="58"/>
                    </Size>
                    <Anchors>
                        <Anchor point="TOPLEFT">
                            <Offset>
                                <AbsDimension x="8" y="-9"/>
                            </Offset>
                        </Anchor>
                    </Anchors>
        </Texture>
      </Layer>
            <Layer level="ARTWORK">
                <Texture file="Interface\TaxiFrame\UI-TaxiFrame-TopLeft">
                    <Size>
                        <AbsDimension x="256" y="256"/>
                    </Size>
                    <Anchors>
                        <Anchor point="TOPLEFT"/>
                    </Anchors>
                </Texture>
                <Texture file="Interface\TaxiFrame\UI-TaxiFrame-TopRight">
                    <Size>
                        <AbsDimension x="128" y="256"/>
                    </Size>
                    <Anchors>
                        <Anchor point="TOPLEFT">
                            <Offset>
                                <AbsDimension x="256" y="0"/>
                            </Offset>
                        </Anchor>
                    </Anchors>
                </Texture>
                <Texture file="Interface\TaxiFrame\UI-TaxiFrame-BotLeft">
                    <Size>
                        <AbsDimension x="256" y="256"/>
                    </Size>
                    <Anchors>
                        <Anchor point="TOPLEFT">
                            <Offset>
                                <AbsDimension x="0" y="-256"/>
                            </Offset>
                        </Anchor>
                    </Anchors>
                </Texture>
                <Texture file="Interface\TaxiFrame\UI-TaxiFrame-BotRight">
                    <Size>
                        <AbsDimension x="128" y="256"/>
                    </Size>
                    <Anchors>
                        <Anchor point="TOPLEFT">
                            <Offset>
                                <AbsDimension x="256" y="-256"/>
                            </Offset>
                        </Anchor>
                    </Anchors>
                </Texture>
                <FontString name="InvListTitleText" inherits="GameFontHighlight" text="INVLIST_TITLE">
                    <Size>
                        <AbsDimension x="300" y="14"/>
                    </Size>
                    <Anchors>
                        <Anchor point="TOP" relativeTo="InvListFrame" relativePoint="TOP">
                            <Offset>
                                <AbsDimension x="0" y="-15"/>
                            </Offset>
                        </Anchor>
                    </Anchors>
                </FontString>
            </Layer>
        </Layers>
        <Frames>
            <Button name="InvListFrameCloseButton" inherits="UIPanelCloseButton">
                <Anchors>
                    <Anchor point="TOPRIGHT" relativeTo="InvListFrame" relativePoint="TOPRIGHT">
                        <Offset>
                            <AbsDimension x="-29" y="-8"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Button>

            <CheckButton name="InvListStackTotalButton" virtual="true">
                <Size>
                    <AbsDimension x="20" y="20"/>
                </Size>
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="InvListFrame">
                        <Offset>
                            <AbsDimension x="320" y="-38"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                <Layers>
                    <Layer level="ARTWORK">
                        <FontString name="InvListStackTotalButtonText" inherits="GameFontHighlightSmall" text="SHOWTOTALFORSTACK">
                            <Anchors>
                                <Anchor point="RIGHT" relativePoint="LEFT">
                                    <Offset>
                                        <AbsDimension x="0" y="1"/>
                                    </Offset>
                                </Anchor>
                            </Anchors>
                        </FontString>
                    </Layer>
                </Layers>
                <Scripts>
                    <OnLoad>
                        InvList_SetShowStackTotal(1);
                        InvListStackTotalButton:SetChecked(InvList_ShowStackTotal);
                    </OnLoad>
                    <OnClick>
                        if (this:GetChecked()) then
                            PlaySound("igMainMenuOptionCheckBoxOff");
                        else
                            PlaySound("igMainMenuOptionCheckBoxOn");
                        end
                        InvList_SetShowStackTotal(this:GetChecked());
                    </OnClick>
                </Scripts>
                <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
                <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
                <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
                <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
                <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
            </CheckButton>

            <CheckButton name="InvListIncludeUnknownButton" virtual="true">
                <Size>
                    <AbsDimension x="20" y="20"/>
                </Size>
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="InvListFrame">
                        <Offset>
                            <AbsDimension x="320" y="-52"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                <Layers>
                    <Layer level="ARTWORK">
                        <FontString name="InvListIncludeUnknownButtonText" inherits="GameFontHighlightSmall" text="ITEMSWITHNOVALUE">
                            <Anchors>
                                <Anchor point="RIGHT" relativePoint="LEFT">
                                    <Offset>
                                        <AbsDimension x="0" y="1"/>
                                    </Offset>
                                </Anchor>
                            </Anchors>
                        </FontString>
                    </Layer>
                </Layers>
                <Scripts>
                    <OnLoad>
                        InvList_SetIncludeUnknown(nil);
                        InvListIncludeUnknownButton:SetChecked(InvList_IncludeUnknown);
                    </OnLoad>
                    <OnClick>
                        if (this:GetChecked()) then
                            PlaySound("igMainMenuOptionCheckBoxOff");
                        else
                            PlaySound("igMainMenuOptionCheckBoxOn");
                        end
                        InvList_SetIncludeUnknown(this:GetChecked());
                    </OnClick>
                </Scripts>
                <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
                <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
                <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
                <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
                <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
            </CheckButton>

            <Frame name="InvListTotalMoneyFrame" inherits="InvListItemMoneyTemplate" hidden="true">
                <Anchors>
                    <Anchor point="TOPLEFT">
                        <Offset>
                            <AbsDimension x="100" y="-36"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Frame>

            <Button name="InvListColumnHeader1" inherits="InvListColumnHeaderTemplate" text="INVLIST_COL1">
                <Anchors>
                    <Anchor point="TOPLEFT">
                        <Offset>
                            <AbsDimension x="20" y="-74"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                <Scripts>
                    <OnLoad>
                        this.sortType = "Name";
                    </OnLoad>
                </Scripts>
            </Button>
            <Button name="InvListColumnHeader2" inherits="InvListColumnHeaderTemplate" text="INVLIST_COL2">
                <Anchors>
                    <Anchor point="LEFT" relativeTo="InvListColumnHeader1" relativePoint="RIGHT">
                        <Offset>
                            <AbsDimension x="-5" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                <Scripts>
                    <OnLoad>
                        InvList_SetColWidth(90);
                        this.sortType = "Money";
                    </OnLoad>
                </Scripts>
            </Button>

            <ScrollFrame name="InvListScrollFrame" inherits="FauxScrollFrameTemplate">
                <Size>
                    <AbsDimension x="296" y="354"/>
                </Size>
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="InvListFrame">
                        <Offset>
                            <AbsDimension x="19" y="-75"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                <Layers>
                  <Layer level="ARTWORK">
                    <Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
                      <Size>
                        <AbsDimension x="31" y="256"/>
                      </Size>
                      <Anchors>
                        <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
                          <Offset>
                            <AbsDimension x="-2" y="5"/>
                          </Offset>
                        </Anchor>
                      </Anchors>
                      <TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
                    </Texture>
                    <Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
                      <Size>
                        <AbsDimension x="31" y="106"/>
                      </Size>
                      <Anchors>
                        <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
                          <Offset>
                            <AbsDimension x="-2" y="-2"/>
                          </Offset>
                        </Anchor>
                      </Anchors>
                      <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
                    </Texture>
                  </Layer>
                </Layers>
                <Scripts>
                    <OnVerticalScroll>
                        FauxScrollFrame_OnVerticalScroll(INVLIST_ITEM_HEIGHT, InvList_Update);
                    </OnVerticalScroll>
                </Scripts>
            </ScrollFrame>

            <Button name="InvListItem1" inherits="InvListItemButtonTemplate" id="1" hidden="true">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="InvListFrame">
                        <Offset>
                            <AbsDimension x="26" y="-92"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Button>
            <Frame name="InvListItemSell1" inherits="InvListItemMoneyTemplate" hidden="true">
                <Anchors>
                    <Anchor point="LEFT" relativeTo="InvListItem1" relativePoint="RIGHT">
                        <Offset>
                            <AbsDimension x="2" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Frame>

            <Button name="InvListItem2" inherits="InvListItemButtonTemplate" id="2" hidden="true">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="InvListItem1" relativePoint="BOTTOMLEFT">
                        <Offset>
                            <AbsDimension x="0" y="1"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Button>
            <Frame name="InvListItemSell2" inherits="InvListItemMoneyTemplate" hidden="true">
                <Anchors>
                    <Anchor point="LEFT" relativeTo="InvListItem2"  relativePoint="RIGHT">
                        <Offset>
                            <AbsDimension x="2" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Frame>
            <Button name="InvListItem3" inherits="InvListItemButtonTemplate" id="3" hidden="true">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="InvListItem2" relativePoint="BOTTOMLEFT">
                        <Offset>
                            <AbsDimension x="0" y="1"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Button>
            <Frame name="InvListItemSell3" inherits="InvListItemMoneyTemplate" hidden="true">
                <Anchors>
                    <Anchor point="LEFT" relativeTo="InvListItem3"  relativePoint="RIGHT">
                        <Offset>
                            <AbsDimension x="2" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Frame>
            <Button name="InvListItem4" inherits="InvListItemButtonTemplate" id="4" hidden="true">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="InvListItem3" relativePoint="BOTTOMLEFT">
                        <Offset>
                            <AbsDimension x="0" y="1"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Button>
            <Frame name="InvListItemSell4" inherits="InvListItemMoneyTemplate" hidden="true">
                <Anchors>
                    <Anchor point="LEFT" relativeTo="InvListItem4"  relativePoint="RIGHT">
                        <Offset>
                            <AbsDimension x="2" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Frame>
            <Button name="InvListItem5" inherits="InvListItemButtonTemplate" id="5" hidden="true">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="InvListItem4" relativePoint="BOTTOMLEFT">
                        <Offset>
                            <AbsDimension x="0" y="1"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Button>
            <Frame name="InvListItemSell5" inherits="InvListItemMoneyTemplate" hidden="true">
                <Anchors>
                    <Anchor point="LEFT" relativeTo="InvListItem5"  relativePoint="RIGHT">
                        <Offset>
                            <AbsDimension x="2" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Frame>
            <Button name="InvListItem6" inherits="InvListItemButtonTemplate" id="6" hidden="true">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="InvListItem5" relativePoint="BOTTOMLEFT">
                        <Offset>
                            <AbsDimension x="0" y="1"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Button>
            <Frame name="InvListItemSell6" inherits="InvListItemMoneyTemplate" hidden="true">
                <Anchors>
                    <Anchor point="LEFT" relativeTo="InvListItem6"  relativePoint="RIGHT">
                        <Offset>
                            <AbsDimension x="2" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Frame>
            <Button name="InvListItem7" inherits="InvListItemButtonTemplate" id="7" hidden="true">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="InvListItem6" relativePoint="BOTTOMLEFT">
                        <Offset>
                            <AbsDimension x="0" y="1"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Button>
            <Frame name="InvListItemSell7" inherits="InvListItemMoneyTemplate" hidden="true">
                <Anchors>
                    <Anchor point="LEFT" relativeTo="InvListItem7"  relativePoint="RIGHT">
                        <Offset>
                            <AbsDimension x="2" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Frame>
            <Button name="InvListItem8" inherits="InvListItemButtonTemplate" id="8" hidden="true">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="InvListItem7" relativePoint="BOTTOMLEFT">
                        <Offset>
                            <AbsDimension x="0" y="1"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Button>
            <Frame name="InvListItemSell8" inherits="InvListItemMoneyTemplate" hidden="true">
                <Anchors>
                    <Anchor point="LEFT" relativeTo="InvListItem8"  relativePoint="RIGHT">
                        <Offset>
                            <AbsDimension x="2" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Frame>
            <Button name="InvListItem9" inherits="InvListItemButtonTemplate" id="9" hidden="true">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="InvListItem8" relativePoint="BOTTOMLEFT">
                        <Offset>
                            <AbsDimension x="0" y="1"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Button>
            <Frame name="InvListItemSell9" inherits="InvListItemMoneyTemplate" hidden="true">
                <Anchors>
                    <Anchor point="LEFT" relativeTo="InvListItem9"  relativePoint="RIGHT">
                        <Offset>
                            <AbsDimension x="2" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Frame>
            <Button name="InvListItem10" inherits="InvListItemButtonTemplate" id="10" hidden="true">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="InvListItem9" relativePoint="BOTTOMLEFT">
                        <Offset>
                            <AbsDimension x="0" y="1"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Button>
            <Frame name="InvListItemSell10" inherits="InvListItemMoneyTemplate" hidden="true">
                <Anchors>
                    <Anchor point="LEFT" relativeTo="InvListItem10"  relativePoint="RIGHT">
                        <Offset>
                            <AbsDimension x="2" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Frame>
            <Button name="InvListItem11" inherits="InvListItemButtonTemplate" id="11" hidden="true">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="InvListItem10" relativePoint="BOTTOMLEFT">
                        <Offset>
                            <AbsDimension x="0" y="1"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Button>
            <Frame name="InvListItemSell11" inherits="InvListItemMoneyTemplate" hidden="true">
                <Anchors>
                    <Anchor point="LEFT" relativeTo="InvListItem11"  relativePoint="RIGHT">
                        <Offset>
                            <AbsDimension x="2" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Frame>
            
            <Button name="InvListItem12" inherits="InvListItemButtonTemplate" id="12" hidden="true">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="InvListItem11" relativePoint="BOTTOMLEFT">
                        <Offset>
                            <AbsDimension x="0" y="1"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Button>
            <Frame name="InvListItemSell12" inherits="InvListItemMoneyTemplate" hidden="true">
                <Anchors>
                    <Anchor point="LEFT" relativeTo="InvListItem12"  relativePoint="RIGHT">
                        <Offset>
                            <AbsDimension x="2" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Frame>
            <Button name="InvListItem13" inherits="InvListItemButtonTemplate" id="13" hidden="true">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="InvListItem12" relativePoint="BOTTOMLEFT">
                        <Offset>
                            <AbsDimension x="0" y="1"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Button>
            <Frame name="InvListItemSell13" inherits="InvListItemMoneyTemplate" hidden="true">
                <Anchors>
                    <Anchor point="LEFT" relativeTo="InvListItem13"  relativePoint="RIGHT">
                        <Offset>
                            <AbsDimension x="2" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Frame>
            <Button name="InvListItem14" inherits="InvListItemButtonTemplate" id="14" hidden="true">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="InvListItem13" relativePoint="BOTTOMLEFT">
                        <Offset>
                            <AbsDimension x="0" y="1"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Button>
            <Frame name="InvListItemSell14" inherits="InvListItemMoneyTemplate" hidden="true">
                <Anchors>
                    <Anchor point="LEFT" relativeTo="InvListItem14"  relativePoint="RIGHT">
                        <Offset>
                            <AbsDimension x="2" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Frame>
            <Button name="InvListItem15" inherits="InvListItemButtonTemplate" id="15" hidden="true">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="InvListItem14" relativePoint="BOTTOMLEFT">
                        <Offset>
                            <AbsDimension x="0" y="1"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Button>
            <Frame name="InvListItemSell15" inherits="InvListItemMoneyTemplate" hidden="true">
                <Anchors>
                    <Anchor point="LEFT" relativeTo="InvListItem15"  relativePoint="RIGHT">
                        <Offset>
                            <AbsDimension x="2" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Frame>
            <Button name="InvListItem16" inherits="InvListItemButtonTemplate" id="16" hidden="true">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="InvListItem15" relativePoint="BOTTOMLEFT">
                        <Offset>
                            <AbsDimension x="0" y="1"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Button>
            <Frame name="InvListItemSell16" inherits="InvListItemMoneyTemplate" hidden="true">
                <Anchors>
                    <Anchor point="LEFT" relativeTo="InvListItem16"  relativePoint="RIGHT">
                        <Offset>
                            <AbsDimension x="2" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Frame>
            <Button name="InvListItem17" inherits="InvListItemButtonTemplate" id="17" hidden="true">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="InvListItem16" relativePoint="BOTTOMLEFT">
                        <Offset>
                            <AbsDimension x="0" y="1"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Button>
            <Frame name="InvListItemSell17" inherits="InvListItemMoneyTemplate" hidden="true">
                <Anchors>
                    <Anchor point="LEFT" relativeTo="InvListItem17"  relativePoint="RIGHT">
                        <Offset>
                            <AbsDimension x="2" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Frame>
            <Button name="InvListItem18" inherits="InvListItemButtonTemplate" id="18" hidden="true">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="InvListItem17" relativePoint="BOTTOMLEFT">
                        <Offset>
                            <AbsDimension x="0" y="1"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Button>
            <Frame name="InvListItemSell18" inherits="InvListItemMoneyTemplate" hidden="true">
                <Anchors>
                    <Anchor point="LEFT" relativeTo="InvListItem18"  relativePoint="RIGHT">
                        <Offset>
                            <AbsDimension x="2" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Frame>
            <Button name="InvListItem19" inherits="InvListItemButtonTemplate" id="19" hidden="true">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="InvListItem18" relativePoint="BOTTOMLEFT">
                        <Offset>
                            <AbsDimension x="0" y="1"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Button>
            <Frame name="InvListItemSell19" inherits="InvListItemMoneyTemplate" hidden="true">
                <Anchors>
                    <Anchor point="LEFT" relativeTo="InvListItem19"  relativePoint="RIGHT">
                        <Offset>
                            <AbsDimension x="2" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Frame>
            <Button name="InvListItem20" inherits="InvListItemButtonTemplate" id="20" hidden="true">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="InvListItem19" relativePoint="BOTTOMLEFT">
                        <Offset>
                            <AbsDimension x="0" y="1"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Button>
            <Frame name="InvListItemSell20" inherits="InvListItemMoneyTemplate" hidden="true">
                <Anchors>
                    <Anchor point="LEFT" relativeTo="InvListItem20"  relativePoint="RIGHT">
                        <Offset>
                            <AbsDimension x="2" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Frame>
            <Button name="InvListItem21" inherits="InvListItemButtonTemplate" id="21" hidden="true">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="InvListItem20" relativePoint="BOTTOMLEFT">
                        <Offset>
                            <AbsDimension x="0" y="1"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Button>
            <Frame name="InvListItemSell21" inherits="InvListItemMoneyTemplate" hidden="true">
                <Anchors>
                    <Anchor point="LEFT" relativeTo="InvListItem21"  relativePoint="RIGHT">
                        <Offset>
                            <AbsDimension x="2" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Frame>
            
            <Button name="InvListItem22" inherits="InvListItemButtonTemplate" id="22" hidden="true">
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="InvListItem21" relativePoint="BOTTOMLEFT">
                        <Offset>
                            <AbsDimension x="0" y="1"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Button>
            <Frame name="InvListItemSell22" inherits="InvListItemMoneyTemplate" hidden="true">
                <Anchors>
                    <Anchor point="LEFT" relativeTo="InvListItem22"  relativePoint="RIGHT">
                        <Offset>
                            <AbsDimension x="2" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
            </Frame>
            
        </Frames>
        <Scripts>
          <OnLoad>
            InvList_OnLoad();
          </OnLoad>
          <OnEvent>
            InvList_OnEvent(event, arg1);
          </OnEvent>
          <OnShow>
                PlaySound("igBackPackOpen");
          </OnShow>
          <OnHide>
            PlaySound("igBackPackClose");
          </OnHide>
        </Scripts>
    </Frame>
    
</Ui>