<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="Blizzard_GuildBankUI.lua"/>
	
<!-- 	size=64,256
<Texture name="lower-right-corner" file="\" virtual="true" >
	<Size x="32" y="32"/>	
	<TexCoords left="0.01562500" right="0.51562500" top="0.00390625" bottom="0.12890625"/>	
</Texture>
<Texture name="lower-left-corner" file="\" virtual="true" >
	<Size x="32" y="32"/>	
	<TexCoords left="0.01562500" right="0.51562500" top="0.13671875" bottom="0.26171875"/>	
</Texture>
<Texture name="upper-right-corner" file="\" virtual="true" >
	<Size x="32" y="32"/>	
	<TexCoords left="0.01562500" right="0.51562500" top="0.26953125" bottom="0.39453125"/>	
</Texture>
<Texture name="upper-left-corner" file="\" virtual="true" >
	<Size x="32" y="32"/>	
	<TexCoords left="0.01562500" right="0.51562500" top="0.40234375" bottom="0.52734375"/>	
</Texture>
 -->
	
	<Button name="GuildBankItemButtonTemplate" inherits="ItemButtonTemplate" virtual="true">
		<Frames>
			<Cooldown name="$parentCooldown" inherits="CooldownFrameTemplate"/>
		</Frames>
		<Scripts>
			<OnClick>
				if ( HandleModifiedItemClick(GetGuildBankItemLink(GetCurrentGuildBankTab(), self:GetID())) ) then
					return;
				end
				if ( IsModifiedClick("SPLITSTACK") ) then
					local texture, count, locked = GetGuildBankItemInfo(GetCurrentGuildBankTab(), self:GetID());
					if ( not locked and count > 1) then
						OpenStackSplitFrame(count, self, "BOTTOMLEFT", "TOPLEFT");
					end
					return;
				end
				local type, money = GetCursorInfo();
				if ( type == "money" ) then
					DepositGuildBankMoney(money);
					ClearCursor();
				elseif ( type == "guildbankmoney" ) then
					DropCursorMoney();
					ClearCursor();
				else
					if ( button == "RightButton" ) then
						AutoStoreGuildBankItem(GetCurrentGuildBankTab(), self:GetID());
					else
						PickupGuildBankItem(GetCurrentGuildBankTab(), self:GetID());
					end
				end
			</OnClick>
			<OnLoad>
				GuildBankItemButton_OnLoad(self);
			</OnLoad>
			<OnEnter>
				GuildBankItemButton_OnEnter(self, motion);
			</OnEnter>
			<OnLeave>
				self.updateTooltip = nil;
				GameTooltip_Hide();
				ResetCursor();
			</OnLeave>
			<OnHide>
				if ( self.hasStackSplit and (self.hasStackSplit == 1) ) then
					StackSplitFrame:Hide();
				end
			</OnHide>
			<OnDragStart>
				PickupGuildBankItem(GetCurrentGuildBankTab(), self:GetID());
			</OnDragStart>
			<OnReceiveDrag>
				PickupGuildBankItem(GetCurrentGuildBankTab(), self:GetID());
			</OnReceiveDrag>
			<OnUpdate>
				--GuildBankItemButton_OnUpdate(self, elapsed);
			</OnUpdate>
			<OnEvent>
				if ( GameTooltip:IsOwned(self) ) then
					GuildBankItemButton_OnEnter(self);
				end
			</OnEvent>
		</Scripts>
	</Button>
	<Frame name="GuildBankFrameColumnTemplate" virtual="true">
		<Size x="100" y="311"/>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture name="$parentBackground" file="Interface\GuildBankFrame\UI-GuildBankFrame-Slots" setAllPoints="true">
					<TexCoords left="0" right="0.78125" top="0" bottom="0.607421875"/>
				</Texture>
			</Layer>
		</Layers>
		<Frames>
			<Button name="$parentButton1" inherits="GuildBankItemButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" x="7" y="-3"/>
				</Anchors>
			</Button>
			<Button name="$parentButton2" inherits="GuildBankItemButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentButton1" relativePoint="BOTTOMLEFT" x="0" y="-7"/>
				</Anchors>
			</Button>
			<Button name="$parentButton3" inherits="GuildBankItemButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentButton2" relativePoint="BOTTOMLEFT" x="0" y="-7"/>
				</Anchors>
			</Button>
			<Button name="$parentButton4" inherits="GuildBankItemButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentButton3" relativePoint="BOTTOMLEFT" x="0" y="-7"/>
				</Anchors>
			</Button>
			<Button name="$parentButton5" inherits="GuildBankItemButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentButton4" relativePoint="BOTTOMLEFT" x="0" y="-7"/>
				</Anchors>
			</Button>
			<Button name="$parentButton6" inherits="GuildBankItemButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentButton5" relativePoint="BOTTOMLEFT" x="0" y="-7"/>
				</Anchors>
			</Button>
			<Button name="$parentButton7" inherits="GuildBankItemButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentButton6" relativePoint="BOTTOMLEFT" x="0" y="-7"/>
				</Anchors>
			</Button>
			<Button name="$parentButton8" inherits="GuildBankItemButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentButton1" relativePoint="TOPRIGHT" x="12" y="0"/>
				</Anchors>
			</Button>
			<Button name="$parentButton9" inherits="GuildBankItemButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentButton8" relativePoint="BOTTOMLEFT" x="0" y="-7"/>
				</Anchors>
			</Button>
			<Button name="$parentButton10" inherits="GuildBankItemButtonTemplate" id="10">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentButton9" relativePoint="BOTTOMLEFT" x="0" y="-7"/>
				</Anchors>
			</Button>
			<Button name="$parentButton11" inherits="GuildBankItemButtonTemplate" id="11">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentButton10" relativePoint="BOTTOMLEFT" x="0" y="-7"/>
				</Anchors>
			</Button>
			<Button name="$parentButton12" inherits="GuildBankItemButtonTemplate" id="12">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentButton11" relativePoint="BOTTOMLEFT" x="0" y="-7"/>
				</Anchors>
			</Button>
			<Button name="$parentButton13" inherits="GuildBankItemButtonTemplate" id="13">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentButton12" relativePoint="BOTTOMLEFT" x="0" y="-7"/>
				</Anchors>
			</Button>
			<Button name="$parentButton14" inherits="GuildBankItemButtonTemplate" id="14">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentButton13" relativePoint="BOTTOMLEFT" x="0" y="-7"/>
				</Anchors>
			</Button>
		</Frames>
	</Frame>
	<Frame name="GuildBankTabTemplate" enableMouse="true" virtual="true">
		<Size x="42" y="50"/>
		<Anchors>
			<Anchor point="TOPLEFT" x="0" y="0"/>
		</Anchors>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture file="Interface\GuildBankFrame\UI-GuildBankFrame-Tab">
					<Size x="64" y="64"/>
					<Anchors>
						<Anchor point="TOPLEFT"/>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<Frames>
			<CheckButton name="$parentButton">
				<Size x="36" y="34"/>
			 	<Anchors>
					<Anchor point="TOPLEFT" x="2" y="-8"/>
				</Anchors>
				<Layers>
					<Layer level="BORDER">
						<Texture name="$parentIconTexture"/>
						<FontString name="$parentCount" inherits="NumberFontNormal" justifyH="RIGHT" hidden="true">
							<Anchors>
								<Anchor point="BOTTOMRIGHT" x="-5" y="2"/>
							</Anchors>
						</FontString>
					</Layer>
					<Layer level="ARTWORK">
						<Texture name="$parentSearchOverlay" parentKey="searchOverlay" setAllPoints="true" hidden="true" textureSubLevel="4">
							<Color r="0" g="0" b="0" a="0.8"/>
						</Texture>
					</Layer>
				</Layers>
				<Scripts>
					<OnLoad>
						self:RegisterForClicks("LeftButtonUp", "RightButtonUp");
						self:RegisterEvent("INVENTORY_SEARCH_UPDATE");
					</OnLoad>
					<OnShow>
						GuildBankFrameTab_UpdateFiltered(self);
					</OnShow>
					<OnEvent>
						if ( event == "INVENTORY_SEARCH_UPDATE" ) then
							GuildBankFrameTab_UpdateFiltered(self);
						end
					</OnEvent>
					<OnClick>
						local currentTab = self:GetParent():GetID();
						if ( GetCurrentGuildBankTab() ~= currentTab or button == "RightButton" ) then
							PlaySound("GuildBankOpenBag");
						end
						GuildBankTab_OnClick(self, button, currentTab);
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(self, "ANCHOR_LEFT");
						GameTooltip:SetText(self.tooltip, nil, nil, nil, nil, 1);
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide();
					</OnLeave>
				</Scripts>
				<NormalTexture name="$parentNormalTexture" file="Interface\Buttons\UI-Quickslot2">
					<Size x="60" y="60"/>
					<Anchors>
						<Anchor point="CENTER" x="0" y="-1"/>
					</Anchors>
				</NormalTexture>
				<PushedTexture file="Interface\Buttons\UI-Quickslot-Depress"/>
				<HighlightTexture file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD"/>
				<CheckedTexture alphaMode="ADD" file="Interface\Buttons\CheckButtonHilight"/>
			</CheckButton>
		</Frames>
	</Frame>
	<CheckButton name="GuildBankPopupButtonTemplate" inherits="PopupButtonTemplate" virtual="true">
		<Scripts>
			<OnClick>
				GuildBankPopupButton_OnClick(self, button, down);
			</OnClick>
		</Scripts>
	</CheckButton>
	<Frame name="GuildBankFrame" toplevel="true" parent="UIParent" enableMouse="true" hidden="true" inherits="BasicFrameTemplate">
		<Size x="750" y="428"/>
		<Anchors>
			<Anchor point="TOPLEFT" x="0" y="-104"/>
		</Anchors>
		<Layers>
			<Layer level="OVERLAY">
				<Texture name="GuildBankTabTitleBackground" file="Interface\GuildBankFrame\UI-TabNameBorder">
					<Size x="10" y="18"/>
					<Anchors>
						<Anchor point="TOP" relativeTo="GuildBankFrame" relativePoint="TOP" x="0" y="-30"/>
					</Anchors>
					<TexCoords left="0.0625" right="0.546875" top="0" bottom="0.5625"/>
				</Texture>
				<Texture name="GuildBankTabTitleBackgroundLeft" file="Interface\GuildBankFrame\UI-TabNameBorder">
					<Size x="8" y="18"/>
					<Anchors>
						<Anchor point="RIGHT" relativeTo="GuildBankTabTitleBackground" relativePoint="LEFT"/>
					</Anchors>
					<TexCoords left="0" right="0.0625" top="0" bottom="0.5625"/>
				</Texture>
				<Texture name="GuildBankTabTitleBackgroundRight" file="Interface\GuildBankFrame\UI-TabNameBorder">
					<Size x="8" y="18"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="GuildBankTabTitleBackground" relativePoint="RIGHT"/>
					</Anchors>
					<TexCoords left="0.546875" right="0.609375" top="0" bottom="0.5625"/>
				</Texture>
				<FontString name="GuildBankTabTitle" inherits="GameFontNormal">
					<Anchors>
						<Anchor point="CENTER" relativeTo="GuildBankTabTitleBackground" x="0" y="1"/>
					</Anchors>
				</FontString>
				<Texture name="GuildBankTabLimitBackground" file="Interface\GuildBankFrame\UI-TabNameBorder">
					<Size x="10" y="18"/>
					<Anchors>
						<Anchor point="TOP" relativeTo="GuildBankFrame" relativePoint="TOP" x="0" y="-370"/>
					</Anchors>
					<TexCoords left="0.0625" right="0.546875" top="0" bottom="0.5625"/>
				</Texture>
				<Texture name="GuildBankTabLimitBackgroundLeft" file="Interface\GuildBankFrame\UI-TabNameBorder">
					<Size x="8" y="18"/>
					<Anchors>
						<Anchor point="RIGHT" relativeTo="GuildBankTabLimitBackground" relativePoint="LEFT"/>
					</Anchors>
					<TexCoords left="0" right="0.0625" top="0" bottom="0.5625"/>
				</Texture>
				<Texture name="GuildBankTabLimitBackgroundRight" file="Interface\GuildBankFrame\UI-TabNameBorder">
					<Size x="8" y="18"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="GuildBankTabLimitBackground" relativePoint="RIGHT"/>
					</Anchors>
					<TexCoords left="0.546875" right="0.609375" top="0" bottom="0.5625"/>
				</Texture>
				<FontString name="GuildBankLimitLabel" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="CENTER" relativeTo="GuildBankTabLimitBackground" x="0" y="1"/>
					</Anchors>
				</FontString>
				<FontString name="GuildBankCashFlowLabel" inherits="GameFontNormalSmall" text="GUILDBANK_CASHFLOW">
					<Anchors>
						<Anchor point="LEFT" relativeTo="GuildBankTabLimitBackground" x="4" y="1"/>
					</Anchors>
				</FontString>
			</Layer>
			<Layer level="ARTWORK">
				<FontString name="GuildBankErrorMessage" inherits="GameFontNormal" text="NO_GUILDBANK_TABS">
					<Anchors>
						<Anchor point="TOP" relativeTo="GuildBankFrame" relativePoint="TOP" x="0" y="-216"/>
					</Anchors>
				</FontString>
			</Layer>
			<Layer level="BORDER">
				<Texture name="$parentBottomLeftOuter" file="Interface\GuildBankFrame\Corners" >
					<Size x="32" y="32"/>
					<Anchors>
						<Anchor point="BOTTOMLEFT" x="-2" y="21"/>
					</Anchors>
					<TexCoords left="0.01562500" right="0.51562500" top="0.00390625" bottom="0.12890625"/>	
				</Texture>
				<Texture name="$parentBottomRightOuter" file="Interface\GuildBankFrame\Corners" >
					<Size x="32" y="32"/>	
					<Anchors>
						<Anchor point="BOTTOMRIGHT" x="0" y="21"/>
					</Anchors>
					<TexCoords left="0.01562500" right="0.51562500" top="0.13671875" bottom="0.26171875"/>	
				</Texture>
				<Texture name="$parentTopRightOuter" file="Interface\GuildBankFrame\Corners"  >
					<Size x="32" y="32"/>
					<Anchors>
						<Anchor point="TOPRIGHT" x="0" y="-18"/>
					</Anchors>
					<TexCoords left="0.01562500" right="0.51562500" top="0.26953125" bottom="0.39453125"/>	
				</Texture>
				<Texture name="$parentTopLeftOuter" file="Interface\GuildBankFrame\Corners"  >
					<Size x="32" y="32"/>	
					<Anchors>
						<Anchor point="TOPLEFT" x="-2" y="-18"/>
					</Anchors>
					<TexCoords left="0.01562500" right="0.51562500" top="0.40234375" bottom="0.52734375"/>	
				</Texture>
				<Texture name="$parentLeftOuter" file="Interface\GuildBankFrame\VertTile" vertTile="true">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentTopLeftOuter" relativePoint="BOTTOMLEFT" x="-3"/>
						<Anchor point="BOTTOMLEFT" relativeTo="$parentBottomLeftOuter" relativePoint="TOPLEFT" x="-3"/>
					</Anchors>
				</Texture>
				<Texture name="$parentRightOuter" file="Interface\GuildBankFrame\VertTile" vertTile="true">
					<Anchors>
						<Anchor point="TOPRIGHT" relativeTo="$parentTopRightOuter" relativePoint="BOTTOMRIGHT" x="4"/>
						<Anchor point="BOTTOMRIGHT" relativeTo="$parentBottomRightOuter" relativePoint="TOPRIGHT" x="4"/>
					</Anchors>
				</Texture>
				<Texture name="$parentTopOuter" file="Interface\GuildBankFrame\HorizTile" horizTile="true">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentTopLeftOuter" relativePoint="TOPRIGHT" y="3"/>
						<Anchor point="TOPRIGHT" relativeTo="$parentTopRightOuter" relativePoint="TOPLEFT" y="3"/>
					</Anchors>
				</Texture>
				<Texture name="$parentBottomOuter" file="Interface\GuildBankFrame\HorizTile" horizTile="true">
					<Anchors>
						<Anchor point="BOTTOMLEFT" relativeTo="$parentBottomLeftOuter" relativePoint="BOTTOMRIGHT" y="-5"/>
						<Anchor point="BOTTOMRIGHT" relativeTo="$parentBottomRightOuter" relativePoint="BOTTOMLEFT" y="-5"/>
					</Anchors>
				</Texture>
				<Texture name="$parentBottomLeftInner" file="Interface\GuildBankFrame\Corners" >
					<Size x="32" y="32"/>
					<Anchors>
						<Anchor point="BOTTOMLEFT" relativeTo="$parentBottomLeftOuter" x="14" y="32"/>
					</Anchors>
					<TexCoords left="0.01562500" right="0.51562500" top="0.00390625" bottom="0.12890625"/>	
				</Texture>
				<Texture name="$parentBottomRightInner" file="Interface\GuildBankFrame\Corners" >
					<Size x="32" y="32"/>	
					<Anchors>
						<Anchor point="BOTTOMRIGHT" relativeTo="$parentBottomRightOuter" x="-9" y="32"/>
					</Anchors>
					<TexCoords left="0.01562500" right="0.51562500" top="0.13671875" bottom="0.26171875"/>	
				</Texture>`
				<Texture name="$parentTopRightInner" file="Interface\GuildBankFrame\Corners"  >
					<Size x="32" y="32"/>
					<Anchors>
						<Anchor point="TOPRIGHT" relativeTo="$parentTopRightOuter" x="-9" y="-35"/>
					</Anchors>
					<TexCoords left="0.01562500" right="0.51562500" top="0.26953125" bottom="0.39453125"/>	
				</Texture>
				<Texture name="$parentTopLeftInner" file="Interface\GuildBankFrame\Corners"  >
					<Size x="32" y="32"/>	
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentTopLeftOuter" x="14" y="-35"/>
					</Anchors>
					<TexCoords left="0.01562500" right="0.51562500" top="0.40234375" bottom="0.52734375"/>	
				</Texture>
				<Texture name="$parentLeftInner" file="Interface\GuildBankFrame\VertTile" vertTile="true">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentTopLeftInner" relativePoint="BOTTOMLEFT" x="-3"/>
						<Anchor point="BOTTOMLEFT" relativeTo="$parentBottomLeftInner" relativePoint="TOPLEFT" x="-3"/>
					</Anchors>
				</Texture>
				<Texture name="$parentRightInner" file="Interface\GuildBankFrame\VertTile" vertTile="true">
					<Anchors>
						<Anchor point="TOPRIGHT" relativeTo="$parentTopRightInner" relativePoint="BOTTOMRIGHT" x="4"/>
						<Anchor point="BOTTOMRIGHT" relativeTo="$parentBottomRightInner" relativePoint="TOPRIGHT" x="4"/>
					</Anchors>
				</Texture>
				<Texture name="$parentTopInner" file="Interface\GuildBankFrame\HorizTile" horizTile="true">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentTopLeftInner" relativePoint="TOPRIGHT" y="3"/>
						<Anchor point="TOPRIGHT" relativeTo="$parentTopRightInner" relativePoint="TOPLEFT" y="3"/>
					</Anchors>
				</Texture>
				<Texture name="$parentBottomInner" file="Interface\GuildBankFrame\HorizTile" horizTile="true">
					<Anchors>
						<Anchor point="BOTTOMLEFT" relativeTo="$parentBottomLeftInner" relativePoint="BOTTOMRIGHT" y="-5"/>
						<Anchor point="BOTTOMRIGHT" relativeTo="$parentBottomRightInner" relativePoint="BOTTOMLEFT" y="-5"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="BACKGROUND">
				<Texture name="$parentPortrait">
                    <Size x="40" y="40"/>
                    <Anchors>
                        <Anchor point="TOPLEFT" x="7" y="-5"/>
                    </Anchors>
                </Texture>
				<Texture name="$parentRedMarbleBG" file="Interface\GuildBankFrame\GuildVaultBG" horizTile="true" vertTile="true">
					<Anchors>
						<Anchor point="TOPLEFT" x="2" y="-20"/>
						<Anchor point="BOTTOMRIGHT" x="-2" y="20"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="BACKGROUND" textureSubLevel="1">
				<Texture name="$parentBlackBG">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentTopLeftInner" x="4" y="-4"/>
						<Anchor point="BOTTOMRIGHT" relativeTo="$parentBottomRightInner" x="-4" y="3"/>
					</Anchors>
					<Color r="0" g="0" b="0" a="1"/>
				</Texture>
			</Layer>
		</Layers>
		<Frames>
			<Frame name="GuildBankEmblemFrame">
				<Size x="700" y="80"/>
				<Anchors>
					<Anchor point="TOP" relativeTo="GuildBankFrame" relativePoint="TOP" x="-70" y="59"/>
				</Anchors>
				<Layers>
					<Layer level="ARTWORK">
						<Texture name="GuildBankEmblemFrameLeft" file="Interface\GuildBankFrame\UI-GuildBankFrame-EmblemBorder">
							<Size x="512" y="80"/>
							<Anchors>
								<Anchor point="TOPLEFT" x="0" y="0"/>
							</Anchors>
							<TexCoords left="0" right="1" top="0" bottom="0.3125"/>
						</Texture>
						<Texture name="GuildBankEmblemFrameRight" file="Interface\GuildBankFrame\UI-GuildBankFrame-EmblemBorder">
							<Size x="512" y="79"/>
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="GuildBankEmblemFrameLeft" relativePoint="TOPRIGHT" x="0" y="-1"/>
							</Anchors>
							<TexCoords left="0" right="1" top="0.31640625" bottom="0.625"/>
						</Texture>
					</Layer>
					<Layer level="BACKGROUND">
						<Texture name="GuildBankEmblemBackgroundUL">
							<Size x="40" y="40"/>
							<Anchors>
								<Anchor point="TOP" relativeTo="GuildBankEmblemFrame" relativePoint="TOP" x="56" y="-19"/>
							</Anchors>
							<TexCoords left="0.5" right="1" top="0" bottom="1"/>
						</Texture>
						<Texture name="GuildBankEmblemBackgroundUR">
							<Size x="40" y="40"/>
							<Anchors>
								<Anchor point="LEFT" relativeTo="GuildBankEmblemBackgroundUL" relativePoint="RIGHT" x="0" y="0"/>
							</Anchors>
							<TexCoords left="1" right="0.5" top="0" bottom="1"/>
						</Texture>
						<Texture name="GuildBankEmblemBackgroundBL">
							<Size x="40" y="20"/>
							<Anchors>
								<Anchor point="TOP" relativeTo="GuildBankEmblemBackgroundUL" relativePoint="BOTTOM" x="0" y="0"/>
							</Anchors>
							<TexCoords left="0.5" right="1" top="0" bottom="1"/>
						</Texture>
						<Texture name="GuildBankEmblemBackgroundBR">
							<Size x="40" y="20"/>
							<Anchors>
								<Anchor point="LEFT" relativeTo="GuildBankEmblemBackgroundBL" relativePoint="RIGHT" x="0" y="0"/>
							</Anchors>
							<TexCoords left="1" right="0.5" top="0" bottom="1"/>
						</Texture>
					</Layer>
					<Layer level="BORDER">
						<Texture name="GuildBankEmblemBorderUL">
							<Size x="40" y="40"/>
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="GuildBankEmblemBackgroundUL" x="0" y="0"/>
							</Anchors>
							<TexCoords left="0.5" right="1" top="0" bottom="1"/>
						</Texture>
						<Texture name="GuildBankEmblemBorderUR">
							<Size x="40" y="40"/>
							<Anchors>
								<Anchor point="LEFT" relativeTo="GuildBankEmblemBorderUL" relativePoint="RIGHT" x="0" y="0"/>
							</Anchors>
							<TexCoords left="1" right="0.5" top="0" bottom="1"/>
						</Texture>
						<Texture name="GuildBankEmblemBorderBL">
							<Size x="40" y="20"/>
							<Anchors>
								<Anchor point="TOP" relativeTo="GuildBankEmblemBorderUL" relativePoint="BOTTOM" x="0" y="0"/>
							</Anchors>
							<TexCoords left="0.5" right="1" top="0" bottom="1"/>
						</Texture>
						<Texture name="GuildBankEmblemBorderBR">
							<Size x="40" y="20"/>
							<Anchors>
								<Anchor point="LEFT" relativeTo="GuildBankEmblemBorderBL" relativePoint="RIGHT" x="0" y="0"/>
							</Anchors>
							<TexCoords left="1" right="0.5" top="0" bottom="1"/>
						</Texture>
						<Texture name="GuildBankEmblemUL">
							<Size x="40" y="40"/>
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="GuildBankEmblemBackgroundUL" x="0" y="0"/>
							</Anchors>
							<TexCoords left="0.5" right="1" top="0" bottom="1"/>
						</Texture>
						<Texture name="GuildBankEmblemUR">
							<Size x="40" y="40"/>
							<Anchors>
								<Anchor point="LEFT" relativeTo="GuildBankEmblemBorderUL" relativePoint="RIGHT" x="0" y="0"/>
							</Anchors>
							<TexCoords left="1" right="0.5" top="0" bottom="1"/>
						</Texture>
						<Texture name="GuildBankEmblemBL">
							<Size x="40" y="20"/>
							<Anchors>
								<Anchor point="TOP" relativeTo="GuildBankEmblemUL" relativePoint="BOTTOM" x="0" y="0"/>
							</Anchors>
							<TexCoords left="0.5" right="1" top="0" bottom="1"/>
						</Texture>
						<Texture name="GuildBankEmblemBR">
							<Size x="40" y="20"/>
							<Anchors>
								<Anchor point="LEFT" relativeTo="GuildBankEmblemBL" relativePoint="RIGHT" x="0" y="0"/>
							</Anchors>
							<TexCoords left="1" right="0.5" top="0" bottom="1"/>
						</Texture>
					</Layer>
				</Layers>
			</Frame>
			<Frame name="GuildBankColumn1" inherits="GuildBankFrameColumnTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" x="18" y="-59"/>
				</Anchors>
			</Frame>
			<Frame name="GuildBankColumn2" inherits="GuildBankFrameColumnTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="GuildBankColumn1" relativePoint="TOPRIGHT" x="3" y="0"/>
				</Anchors>
			</Frame>
			<Frame name="GuildBankColumn3" inherits="GuildBankFrameColumnTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="GuildBankColumn2" relativePoint="TOPRIGHT" x="3" y="0"/>
				</Anchors>
			</Frame>
			<Frame name="GuildBankColumn4" inherits="GuildBankFrameColumnTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="GuildBankColumn3" relativePoint="TOPRIGHT" x="3" y="0"/>
				</Anchors>
			</Frame>
			<Frame name="GuildBankColumn5" inherits="GuildBankFrameColumnTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="GuildBankColumn4" relativePoint="TOPRIGHT" x="3" y="0"/>
				</Anchors>
			</Frame>
			<Frame name="GuildBankColumn6" inherits="GuildBankFrameColumnTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="GuildBankColumn5" relativePoint="TOPRIGHT" x="3" y="0"/>
				</Anchors>
			</Frame>
			<Frame name="GuildBankColumn7" inherits="GuildBankFrameColumnTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="GuildBankColumn6" relativePoint="TOPRIGHT" x="3" y="0"/>
				</Anchors>
			</Frame>
			<Frame name="GuildBankMoneyFrameBackground" inherits="ThinGoldEdgeTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" x="1" y="25"/>
					<Anchor point="BOTTOMRIGHT" x="-4" y="2"/>
				</Anchors>
				<Layers>
					<Layer level="OVERLAY">
						<FontString name="GuildBankMoneyLimitLabel" inherits="GameFontNormalSmall" text="GUILDBANK_AVAILABLE_MONEY">
							<Size x="0" y="13"/>
							<Anchors>
								<Anchor point="BOTTOMLEFT" relativeTo="GuildBankFrame" relativePoint="BOTTOMLEFT" x="8" y="6"/>
							</Anchors>
						</FontString>
						<FontString name="GuildBankMoneyUnlimitedLabel" inherits="GameFontHighlightSmall" text="UNLIMITED">
							<Size x="0" y="13"/>
							<Anchors>
								<Anchor point="LEFT" relativeTo="GuildBankMoneyLimitLabel" relativePoint="RIGHT" x="5" y="0"/>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
			</Frame>
			<Frame name="GuildBankMoneyFrame" inherits="SmallMoneyFrameTemplate">
				<Anchors>
					<Anchor point="BOTTOMRIGHT" relativeTo="GuildBankFrame" relativePoint="BOTTOMRIGHT" x="-2" y="6"/>
				</Anchors>
				<Scripts>
					<OnLoad>
						SmallMoneyFrame_OnLoad(self, "GUILDBANK");
					</OnLoad>
				</Scripts>
			</Frame>
			<Frame name="GuildBankCashFlowMoneyFrame" inherits="SmallMoneyFrameTemplate">
				<Anchors>
					<Anchor point="RIGHT" relativeTo="GuildBankTabLimitBackground" x="10" y="0"/>
				</Anchors>
				<Scripts>
					<OnLoad>
						SmallMoneyFrame_OnLoad(self, "GUILDBANKCASHFLOW");
					</OnLoad>
				</Scripts>
			</Frame>
			<Frame name="GuildBankWithdrawMoneyFrame" inherits="SmallMoneyFrameTemplate">
				<Anchors>
					<Anchor point="LEFT" relativeTo="GuildBankMoneyLimitLabel" relativePoint="RIGHT" x="13" y="0"/>
				</Anchors>
				<Scripts>
					<OnLoad>
						SmallMoneyFrame_OnLoad(self, "GUILDBANKWITHDRAW");
					</OnLoad>
				</Scripts>
			</Frame>
			<Button name="GuildBankFrameDepositButton" inherits="UIPanelButtonTemplate" text="DEPOSIT">
				<Size x="100" y="21"/>
				<Anchors>
					<Anchor point="BOTTOMRIGHT" relativeTo="GuildBankFrame" relativePoint="BOTTOMRIGHT" x="-8" y="30"/>
				</Anchors>
				<Scripts>
					<OnClick>
						PlaySound("igMainMenuOption");
						StaticPopup_Hide("GUILDBANK_WITHDRAW");
						if(StaticPopup_Visible("GUILDBANK_DEPOSIT")) then
							StaticPopup_Hide("GUILDBANK_DEPOSIT");
						else
							StaticPopup_Show("GUILDBANK_DEPOSIT");
						end
					</OnClick>
				</Scripts>
			</Button>
			<Button name="GuildBankFrameWithdrawButton" inherits="UIPanelButtonTemplate" text="WITHDRAW">
				<Size x="100" y="21"/>
				<Anchors>
					<Anchor point="RIGHT" relativeTo="GuildBankFrameDepositButton" relativePoint="LEFT" x="3" y="0"/>
				</Anchors>
				<Scripts>
					<OnClick>
						PlaySound("igMainMenuOption");
						StaticPopup_Hide("GUILDBANK_DEPOSIT");
						if(StaticPopup_Visible("GUILDBANK_WITHDRAW")) then
							StaticPopup_Hide("GUILDBANK_WITHDRAW");
						else
							StaticPopup_Show("GUILDBANK_WITHDRAW");
						end
					</OnClick>
				</Scripts>
			</Button>
			<Button name="GuildBankFrameTab1" inherits="CharacterFrameTabButtonTemplate" text="GUILD_BANK" id="1">
               <Anchors>
					<Anchor point="BOTTOMLEFT" relativeTo="GuildBankFrame" relativePoint="BOTTOMLEFT" x="7" y="-30"/>
				</Anchors>
                <Scripts>
					<OnClick>
						GuildBankFrameTab_OnClick(self, self:GetID());
					</OnClick>
                </Scripts>
            </Button>
            <Button name="GuildBankFrameTab2" inherits="CharacterFrameTabButtonTemplate" text="GUILD_BANK_LOG" id="2">
                <Anchors>
                   <Anchor point="LEFT" relativeTo="GuildBankFrameTab1" relativePoint="RIGHT" x="-16" y="0"/>
                </Anchors>
                <Scripts>
					<OnClick>
						GuildBankFrameTab_OnClick(self, self:GetID());
					</OnClick>
                </Scripts>
            </Button>
			<Button name="GuildBankFrameTab3" inherits="CharacterFrameTabButtonTemplate" text="GUILD_BANK_MONEY_LOG" id="3">
                <Anchors>
                   <Anchor point="LEFT" relativeTo="GuildBankFrameTab2" relativePoint="RIGHT" x="-16" y="0"/>
                </Anchors>
                <Scripts>
					<OnClick>
						GuildBankFrameTab_OnClick(self, self:GetID());
					</OnClick>
                </Scripts>
            </Button>
			<Button name="GuildBankFrameTab4" inherits="CharacterFrameTabButtonTemplate" text="GUILD_BANK_TAB_INFO" id="4">
                <Anchors>
                   <Anchor point="LEFT" relativeTo="GuildBankFrameTab3" relativePoint="RIGHT" x="-16" y="0"/>
                </Anchors>
                <Scripts>
					<OnClick>
						GuildBankFrameTab_OnClick(self, self:GetID());
					</OnClick>
                </Scripts>
            </Button>
			<Frame name="GuildBankTab1" inherits="GuildBankTabTemplate" id="1">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="GuildBankFrame" relativePoint="TOPRIGHT" x="-1" y="-17"/>
				</Anchors>
			</Frame>
			<Frame name="GuildBankTab2" inherits="GuildBankTabTemplate" id="2">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="GuildBankTab1" relativePoint="BOTTOMLEFT" x="0" y="0"/>
				</Anchors>
			</Frame>
			<Frame name="GuildBankTab3" inherits="GuildBankTabTemplate" id="3">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="GuildBankTab2" relativePoint="BOTTOMLEFT" x="0" y="0"/>
				</Anchors>
			</Frame>
			<Frame name="GuildBankTab4" inherits="GuildBankTabTemplate" id="4">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="GuildBankTab3" relativePoint="BOTTOMLEFT" x="0" y="0"/>
				</Anchors>
			</Frame>
			<Frame name="GuildBankTab5" inherits="GuildBankTabTemplate" id="5">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="GuildBankTab4" relativePoint="BOTTOMLEFT" x="0" y="0"/>
				</Anchors>
			</Frame>
			<Frame name="GuildBankTab6" inherits="GuildBankTabTemplate" id="6">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="GuildBankTab5" relativePoint="BOTTOMLEFT" x="0" y="0"/>
				</Anchors>
			</Frame>
			<Frame name="GuildBankTab7" inherits="GuildBankTabTemplate" id="7">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="GuildBankTab6" relativePoint="BOTTOMLEFT" x="0" y="0"/>
				</Anchors>
			</Frame>
			<Frame name="GuildBankTab8" inherits="GuildBankTabTemplate" id="8">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="GuildBankTab7" relativePoint="BOTTOMLEFT" x="0" y="0"/>
				</Anchors>
			</Frame>
			<Frame name="GuildBankFrameBuyInfo"  hidden="true">
				<Size x="20" y="20"/>
				<Anchors>
					<Anchor point="TOP" relativeTo="GuildBankFrame" relativePoint="TOP" x="0" y="-194"/>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<FontString name="$parentText" inherits="GameFontHighlight" text="PURCHASE_TAB_TEXT">
							<Anchors>
								<Anchor point="TOP"/>
							</Anchors>
						</FontString>
						<FontString name="$parentNumTabsPurchasedText" inherits="GameFontHighlightSmall" text="PURCHASE_TAB_TEXT">
							<Anchors>
								<Anchor point="TOP" relativeTo="$parentText" relativePoint="BOTTOM" x="0" y="-2"/>
							</Anchors>
						</FontString>
						<FontString name="GuildBankFrameTabCost" inherits="GameFontNormal" text="COSTS_LABEL">
							<Size x="0" y="12"/>
							<Anchors>
								<Anchor point="TOP" relativeTo="GuildBankFrameBuyInfo" relativePoint="TOP" x="-93" y="-38"/>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
				<Frames>
					<Frame name="GuildBankFrameTabCostMoneyFrame" inherits="SmallMoneyFrameTemplate" hidden="false">
						<Anchors>
							<Anchor point="LEFT" relativeTo="GuildBankFrameTabCost" relativePoint="RIGHT" x="10" y="0"/>
						</Anchors>
						<Scripts>
							<OnLoad>
								SmallMoneyFrame_OnLoad(self);
								MoneyFrame_SetType(self, "STATIC");
							</OnLoad>
						</Scripts>
					</Frame>
					<Button name="GuildBankFramePurchaseButton" inherits="UIPanelButtonTemplate" text="BANKSLOTPURCHASE">
						<Size x="124" y="21"/>
						<Anchors>
							<Anchor point="LEFT" relativeTo="GuildBankFrameTabCostMoneyFrame" relativePoint="RIGHT" x="12" y="0"/>
						</Anchors>
						<Scripts>
							<OnClick>
								PlaySound("igMainMenuOption");
								StaticPopup_Show("CONFIRM_BUY_GUILDBANK_TAB");
							</OnClick>
						</Scripts>
					</Button>
				</Frames>
				<Scripts>
					<OnShow function="GuildBankFrame_UpdateTabBuyingInfo"/>
				</Scripts>
			</Frame>
			<Frame name="GuildBankFrameLog">
				<Size x="10" y="10"/>
				<Anchors>
					<Anchor point="TOPLEFT" x="0" y="0"/>
				</Anchors>
				<Frames>
					<ScrollingMessageFrame name="GuildBankMessageFrame" insertMode="TOP" maxLines="128" fade="false">
						<Size x="688" y="304"/>
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="GuildBankFrameLog" relativePoint="TOPLEFT" x="28" y="-64"/>
						</Anchors>
						<Scripts>
							<OnHyperlinkClick>
								SetItemRef(link, text, button);
							</OnHyperlinkClick>
						</Scripts>
						<FontString inherits="ChatFontNormal" justifyH="LEFT"/>
					</ScrollingMessageFrame>
					<ScrollFrame name="GuildBankTransactionsScrollFrame" inherits="FauxScrollFrameTemplate" hidden="true">
						<Size x="688" y="304"/>
						<Anchors>
							<Anchor point="TOPRIGHT" relativeTo="GuildBankFrame" relativePoint="TOPRIGHT" x="-43" y="-64"/>
						</Anchors>
						<Layers>
							<Layer level="ARTWORK">
								<Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
									<Size x="31" y="256"/>
									<Anchors>
										<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="-2" y="5"/>
									</Anchors>
									<TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
								</Texture>
								<Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
									<Size x="31" y="106"/>
									<Anchors>
										<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="-2" y="-2"/>
									</Anchors>
									<TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
								</Texture>
							</Layer>
						</Layers>
						<Scripts>
							<OnVerticalScroll>
								FauxScrollFrame_OnVerticalScroll(self, offset, GUILDBANK_TRANSACTION_HEIGHT, GuildBankLogScroll)
							</OnVerticalScroll>
						</Scripts>
					</ScrollFrame>
				</Frames>
			</Frame>
			<Frame name="GuildBankInfo" hidden="true">
				<Size x="10" y="10"/>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="GuildBankFrame" relativePoint="TOPLEFT" x="32" y="-74"/>
				</Anchors>
				<Frames>
					<Button name="GuildBankInfoSaveButton" inherits="UIPanelButtonTemplate" text="SAVE_CHANGES" hidden="true">
						<Size x="100" y="22"/>
						<Anchors>
							<Anchor point="BOTTOMLEFT" relativeTo="GuildBankFrame" relativePoint="BOTTOMLEFT" x="20" y="31"/>
						</Anchors>
						<Scripts>
							<OnLoad>
								self:SetWidth(_G[self:GetName().."Text"]:GetWidth()+40);
							</OnLoad>
							<OnClick>
								PlaySound("igMainMenuOptionCheckBoxOn");
								if ( GuildBankTabInfoEditBox:GetText() ~= GuildBankTabInfoEditBox.text ) then
									SetGuildBankText(GetCurrentGuildBankTab(), GuildBankTabInfoEditBox:GetText());
									GuildBankTabInfoEditBox:ClearFocus();
								end
							</OnClick>
						</Scripts>
					</Button>
					<ScrollFrame name="GuildBankInfoScrollFrame" inherits="UIPanelScrollFrameTemplate">
						<Size x="691" y="306"/>
						<Anchors>
							<Anchor point="TOPLEFT" x="-16" y="12"/>
						</Anchors>
						<Layers>
							<Layer level="ARTWORK">
								<Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
									<Size x="31" y="256"/>
									<Anchors>
										<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="-2" y="4"/>
									</Anchors>
									<TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
								</Texture>
								<Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
									<Size x="31" y="106"/>
									<Anchors>
										<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="-2" y="-3"/>
									</Anchors>
									<TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
								</Texture>
							</Layer>
						</Layers>
						<Scripts>
							<OnMouseDown>
								if ( CanEditGuildTabInfo(GetCurrentGuildBankTab()) ) then
									GuildBankTabInfoEditBox:SetFocus();
								else
									GuildBankTabInfoEditBox:ClearFocus();
								end
							</OnMouseDown>
							<OnMouseUp>
								if ( CanEditGuildTabInfo(GetCurrentGuildBankTab()) ) then
									GuildBankTabInfoEditBox:SetFocus();
								else
									GuildBankTabInfoEditBox:ClearFocus();
								end
							</OnMouseUp> 
						</Scripts>
						<ScrollChild>
							<EditBox name="GuildBankTabInfoEditBox" letters="500" multiLine="true" autoFocus="false">
								<Size x="690" y="218"/>
								<Scripts>
									<OnEscapePressed function="EditBox_ClearFocus"/>
									<OnTextChanged>
										ScrollingEdit_OnTextChanged(self, self:GetParent());
										local currentTab = GetCurrentGuildBankTab();
										if ( currentTab > GetNumGuildBankTabs() ) then
											GuildBankInfoSaveButton:Hide();
										elseif ( CanEditGuildTabInfo(currentTab) ) then
											GuildBankInfoSaveButton:Show();
										else
											GuildBankInfoSaveButton:Hide();
										end
									</OnTextChanged>
									<OnCursorChanged>
										ScrollingEdit_OnCursorChanged(self, x, y-10, w, h);
									</OnCursorChanged>
									<OnUpdate>
										ScrollingEdit_OnUpdate(self, elapsed, self:GetParent());
									</OnUpdate>
								</Scripts>
								<FontString inherits="GameFontHighlight"/>
							</EditBox>
						</ScrollChild>
					</ScrollFrame>
				</Frames>
				<Scripts>
					<OnHide>
						GuildBankInfoSaveButton:Click();
					</OnHide>
				</Scripts>
			</Frame>
		</Frames>
		<Scripts>
			<OnLoad function="GuildBankFrame_OnLoad"/>
			<OnEvent function="GuildBankFrame_OnEvent"/>
			<OnShow function="GuildBankFrame_OnShow"/>
			<OnHide>
				GuildBankPopupFrame:Hide();
				StaticPopup_Hide("GUILDBANK_WITHDRAW");
				StaticPopup_Hide("GUILDBANK_DEPOSIT");
				StaticPopup_Hide("CONFIRM_BUY_GUILDBANK_TAB");
				CloseGuildBankFrame();
				PlaySound("GuildVaultClose");
			</OnHide>
		</Scripts>
	</Frame>
	<Frame name="GuildBankPopupFrame" toplevel="true" parent="UIParent" movable="true" enableMouse="true" hidden="true">
		<Size x="253" y="320"/>
		<Anchors>
			<Anchor point="TOPLEFT" relativeTo="GuildBankFrame" relativePoint="TOPRIGHT" x="-4" y="-30"/>
		</Anchors>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture name="$parentTopLeft" file="Interface\MacroFrame\MacroPopup-TopLeft">
					<Size x="189" y="256"/>
					<Anchors>
						<Anchor point="TOPLEFT"/>
					</Anchors>
				</Texture>
				<Texture file="Interface\MacroFrame\MacroPopup-TopRight">
					<Size x="64" y="256"/>
					<Anchors>
						<Anchor point="TOPRIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="$parentBottomLeft" file="Interface\MacroFrame\MacroPopup-BotLeft">
					<Size x="189" y="64"/>
					<Anchors>
						<Anchor point="BOTTOMLEFT"/>
					</Anchors>
				</Texture>
				<Texture file="Interface\MacroFrame\MacroPopup-BotRight">
					<Size x="64" y="64"/>
					<Anchors>
						<Anchor point="BOTTOMRIGHT"/>
					</Anchors>
				</Texture>
				<FontString inherits="GameFontHighlightSmall" text="GUILDBANK_POPUP_TEXT">
					<Anchors>
						<Anchor point="TOPLEFT" x="24" y="-21"/>
					</Anchors>
				</FontString>
				<FontString inherits="GameFontHighlightSmall" text="MACRO_POPUP_CHOOSE_ICON">
					<Anchors>
						<Anchor point="TOPLEFT" x="24" y="-69"/>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<EditBox name="GuildBankPopupEditBox" autoFocus="false" letters="15" historyLines="0">
				<Size x="180" y="20"/>
				<Anchors>
					<Anchor point="TOPLEFT" x="29" y="-35"/>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<Texture name="GuildBankPopupNameLeft" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
							<Size x="12" y="29"/>
							<Anchors>
								<Anchor point="TOPLEFT" x="-11" y="0"/>
							</Anchors>
							<TexCoords left="0" right="0.09375" top="0" bottom="1.0"/>
						</Texture>
						<Texture name="GuildBankPopupNameRight" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
							<Size x="12" y="29"/>
							<Anchors>
								<Anchor point="TOPRIGHT" x="11" y="0"/>
							</Anchors>
							<TexCoords left="0.90625" right="1.0" top="0" bottom="1.0"/>
						</Texture>
						<Texture name="GuildBankPopupNameMiddle" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
							<Size x="175" y="29"/>
							<Anchors>
								<Anchor point="LEFT" relativeTo="GuildBankPopupNameLeft" relativePoint="RIGHT"/>
								<Anchor point="RIGHT" relativeTo="GuildBankPopupNameRight" relativePoint="LEFT"/>
							</Anchors>
							<TexCoords left="0.09375" right="0.90625" top="0" bottom="1.0"/>
						</Texture>
					</Layer>
				</Layers>
				<Scripts>
					<OnEscapePressed function="GuildBankPopupFrame_CancelEdit"/>
					<OnEnterPressed>
						if ( GuildBankPopupOkayButton:IsEnabled() ) then
							GuildBankPopupOkayButton_OnClick(self);
						end
						GuildBankPopupEditBox:ClearFocus();
					</OnEnterPressed>
				</Scripts>
				<FontString inherits="ChatFontNormal"/>
			</EditBox>
			<ScrollFrame name="GuildBankPopupScrollFrame" inherits="ListScrollFrameTemplate">
				<Size x="296" y="195"/>
				<Anchors>
					<Anchor point="TOPRIGHT" relativeTo="GuildBankPopupFrame" relativePoint="TOPRIGHT" x="-59" y="-66"/>
				</Anchors>
				<Scripts>
					<OnVerticalScroll>
						FauxScrollFrame_OnVerticalScroll(self, offset, GUILDBANK_ICON_ROW_HEIGHT, GuildBankPopupFrame_Update);
					</OnVerticalScroll>
				</Scripts>
			</ScrollFrame>
			<CheckButton name="GuildBankPopupButton1" inherits="GuildBankPopupButtonTemplate" id="1">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="GuildBankPopupFrame" relativePoint="TOPLEFT" x="16" y="-86"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="GuildBankPopupButton2" inherits="GuildBankPopupButtonTemplate" id="2">
				<Anchors>
					<Anchor point="LEFT" relativeTo="GuildBankPopupButton1" relativePoint="RIGHT" x="10" y="0"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="GuildBankPopupButton3" inherits="GuildBankPopupButtonTemplate" id="3">
				<Anchors>
					<Anchor point="LEFT" relativeTo="GuildBankPopupButton2" relativePoint="RIGHT" x="10" y="0"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="GuildBankPopupButton4" inherits="GuildBankPopupButtonTemplate" id="4">
				<Anchors>
					<Anchor point="LEFT" relativeTo="GuildBankPopupButton3" relativePoint="RIGHT" x="10" y="0"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="GuildBankPopupButton5" inherits="GuildBankPopupButtonTemplate" id="5">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="GuildBankPopupButton1" relativePoint="BOTTOMLEFT" x="0" y="-8"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="GuildBankPopupButton6" inherits="GuildBankPopupButtonTemplate" id="6">
				<Anchors>
					<Anchor point="LEFT" relativeTo="GuildBankPopupButton5" relativePoint="RIGHT" x="10" y="0"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="GuildBankPopupButton7" inherits="GuildBankPopupButtonTemplate" id="7">
				<Anchors>
					<Anchor point="LEFT" relativeTo="GuildBankPopupButton6" relativePoint="RIGHT" x="10" y="0"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="GuildBankPopupButton8" inherits="GuildBankPopupButtonTemplate" id="8">
				<Anchors>
					<Anchor point="LEFT" relativeTo="GuildBankPopupButton7" relativePoint="RIGHT" x="10" y="0"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="GuildBankPopupButton9" inherits="GuildBankPopupButtonTemplate" id="9">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="GuildBankPopupButton5" relativePoint="BOTTOMLEFT" x="0" y="-8"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="GuildBankPopupButton10" inherits="GuildBankPopupButtonTemplate" id="10">
				<Anchors>
					<Anchor point="LEFT" relativeTo="GuildBankPopupButton9" relativePoint="RIGHT" x="10" y="0"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="GuildBankPopupButton11" inherits="GuildBankPopupButtonTemplate" id="11">
				<Anchors>
					<Anchor point="LEFT" relativeTo="GuildBankPopupButton10" relativePoint="RIGHT" x="10" y="0"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="GuildBankPopupButton12" inherits="GuildBankPopupButtonTemplate" id="12">
				<Anchors>
					<Anchor point="LEFT" relativeTo="GuildBankPopupButton11" relativePoint="RIGHT" x="10" y="0"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="GuildBankPopupButton13" inherits="GuildBankPopupButtonTemplate" id="13">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="GuildBankPopupButton9" relativePoint="BOTTOMLEFT" x="0" y="-8"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="GuildBankPopupButton14" inherits="GuildBankPopupButtonTemplate" id="14">
				<Anchors>
					<Anchor point="LEFT" relativeTo="GuildBankPopupButton13" relativePoint="RIGHT" x="10" y="0"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="GuildBankPopupButton15" inherits="GuildBankPopupButtonTemplate" id="15">
				<Anchors>
					<Anchor point="LEFT" relativeTo="GuildBankPopupButton14" relativePoint="RIGHT" x="10" y="0"/>
				</Anchors>
			</CheckButton>
			<CheckButton name="GuildBankPopupButton16" inherits="GuildBankPopupButtonTemplate" id="16">
				<Anchors>
					<Anchor point="LEFT" relativeTo="GuildBankPopupButton15" relativePoint="RIGHT" x="10" y="0"/>
				</Anchors>
			</CheckButton>
			<Button name="GuildBankPopupCancelButton" inherits="UIPanelButtonTemplate" text="CANCEL">
				<Size x="78" y="22"/>
				<Anchors>
					<Anchor point="BOTTOMRIGHT" relativeTo="GuildBankPopupFrame" relativePoint="BOTTOMRIGHT" x="-34" y="34"/>
				</Anchors>
				<Scripts>
					<OnClick>
						GuildBankPopupFrame_CancelEdit(self)
						PlaySound("gsTitleOptionOK");
					</OnClick>
				</Scripts>
			</Button>
			<Button name="GuildBankPopupOkayButton" inherits="UIPanelButtonTemplate" text="OKAY">
				<Size x="78" y="22"/>
				<Anchors>
					<Anchor point="RIGHT" relativeTo="GuildBankPopupCancelButton" relativePoint="LEFT" x="-2" y="0"/>
				</Anchors>
				<Scripts>
					<OnClick>
						GuildBankPopupOkayButton_OnClick(self);
						PlaySound("gsTitleOptionOK");
					</OnClick>
				</Scripts>
			</Button>
		</Frames>
		<Scripts>
			<OnShow function="GuildBankPopupFrame_OnShow"/>
			<OnHide function="GuildBankPopupFrame_OnHide"/>
		</Scripts>
	</Frame>

	<EditBox name="GuildItemSearchBox" inherits="BagSearchBoxTemplate" parent="GuildBankFrame" letters="15">
		<Size x="130" y="20"/>
		<Anchors>
			<Anchor point="TOPRIGHT" x="-15" y="-36"/>
		</Anchors>
	</EditBox>
</Ui>