<!-- 
	Version: $Rev: 3736 $
	Last Changed by: $LastChangedBy: Flisher $
	Date: $Date: 2006-07-01 19:55:18 -0400 (sam., 01 juil. 2006) $
-->

<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">

	<Button name="CharactersViewerBankItems_BagTemplate" inherits="ItemButtonTemplate" virtual="true">
		<Scripts>
			<OnEnter>
				CharactersViewer.Bank.Toggle_Button_OnEnter();
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide();
			</OnLeave>
			<OnClick>
				CharactersViewer.Bank.ToggleButton_OnClick(arg1);				
			</OnClick>
			<OnLoad>
				this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
			</OnLoad>		
		</Scripts>
		
		<Frames>
			<Frame name="$parentHighlightFrame" setAllPoints="true">
				<Layers>
					<Layer>
						<Texture name="$parentTexture" alphaMode="ADD" file="Interface\Buttons\CheckButtonHilight" setAllPoints="true" hidden="true"/>									
					</Layer>
				</Layers>
			</Frame>
		</Frames>
	</Button>
	
	
	<Frame name="CharactersViewerBankFrame" toplevel="true" movable="true" enableMouse="true" hidden="true" parent="UIParent">
		<Size> 
			<AbsDimension x="384" y="512"/> 
		</Size>
		<Anchors>
			<Anchor point="TOPLEFT" relativeTo="CharactersViewer_Frame" relativePoint="BOTTOMLEFT">
				<Offset> 
					<AbsDimension x="0" y="64"/> 
				</Offset>
			</Anchor>
		</Anchors>
		<TitleRegion setAllPoints="true"/>
		<HitRectInsets>
			<AbsInset left="0" right="30" top="0" bottom="70"/>
		</HitRectInsets>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture name="CharactersViewerBankItems_Portrait" file="Interface\Icons\INV_Misc_OrnateBox.blp">
					<Size> 
						<AbsDimension x="60" y="60"/> 
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset> 
								<AbsDimension x="7" y="-6"/> 
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="ARTWORK">
				<Texture file="Interface\BankFrame\UI-BankFrame">
					<Size> 
						<AbsDimension x="512" y="512"/> 
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT"/>
					</Anchors>
				</Texture>

				<FontString name="CharactersViewerBankItems_TitleText" inherits="GameFontHighlight" text="CHARACTERSVIEWER_BANK_TITLE">
					<Anchors>
						<Anchor point="CENTER">
							<Offset> 
								<AbsDimension x="6" y="233"/> 
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString inherits="GameFontNormal" text="ITEMSLOTTEXT">
					<Anchors>
						<Anchor point="CENTER">
							<Offset> 
								<AbsDimension x="-11" y="195"/> 
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString inherits="GameFontNormal" text="BAGSLOTTEXT">
					<Anchors>
						<Anchor point="CENTER">
							<Offset> 
								<AbsDimension x="-11" y="-5"/> 
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="CharactersViewerBankMoney1" inherits="GameFontHighlight" text="CHARACTERSVIEWER_ALLIANCE_ALLIANCE">
					<Anchors>
						<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT">
							<Offset> 
								<AbsDimension x="160" y="160"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="CharactersViewerBankMoney2" inherits="GameFontHighlight" text="CHARACTERSVIEWER_ALLIANCE_HORDE">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankMoney1" relativePoint="BOTTOMLEFT">
							<Offset> 
								<AbsDimension x="0" y="-16"/> 
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>				
				<FontString name="CharactersViewerBankMoney3" inherits="GameFontHighlight" text="CHARACTERSVIEWER_ALLIANCE_TOTAL">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankMoney2" relativePoint="BOTTOMLEFT">
							<Offset> 
								<AbsDimension x="0" y="-16"/> 
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>				
			</Layer>
		</Layers>
		<Frames>
			<Button name="CharactersViewerBankItems_CloseButton" inherits="UIPanelCloseButton">
				<Anchors>
					<Anchor point="CENTER" relativeTo="CharactersViewerBankFrame" relativePoint="TOPRIGHT">
						<Offset> 
							<AbsDimension x="-46" y="-24"/> 
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						CharactersViewer.Bank.Toggle()
					</OnClick>
				</Scripts>
			</Button>
			<Button name="CharactersViewerBankItem_Item1" inherits="CharactersViewerItemButtonGenericTemplate" id="2001">
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset> 
							<AbsDimension x="40" y="-73"/> 
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="CharactersViewerBankItem_Item2" inherits="CharactersViewerItemButtonGenericTemplate" id="2002">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItem_Item1" relativePoint="TOPRIGHT">
						<Offset> 
							<AbsDimension x="12" y="0"/> 
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="CharactersViewerBankItem_Item3" inherits="CharactersViewerItemButtonGenericTemplate" id="2003">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItem_Item2" relativePoint="TOPRIGHT">
						<Offset> 
							<AbsDimension x="12" y="0"/> 
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="CharactersViewerBankItem_Item4" inherits="CharactersViewerItemButtonGenericTemplate" id="2004">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItem_Item3" relativePoint="TOPRIGHT">
						<Offset> 
							<AbsDimension x="12" y="0"/> 
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="CharactersViewerBankItem_Item5" inherits="CharactersViewerItemButtonGenericTemplate" id="2005">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItem_Item4" relativePoint="TOPRIGHT">
						<Offset> 
							<AbsDimension x="12" y="0"/> 
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="CharactersViewerBankItem_Item6" inherits="CharactersViewerItemButtonGenericTemplate" id="2006">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItem_Item5" relativePoint="TOPRIGHT">
						<Offset> 
							<AbsDimension x="12" y="0"/> 
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="CharactersViewerBankItem_Item7" inherits="CharactersViewerItemButtonGenericTemplate" id="2007">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItem_Item1" relativePoint="BOTTOMLEFT">
						<Offset> 
							<AbsDimension x="0" y="-7"/> 
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="CharactersViewerBankItem_Item8" inherits="CharactersViewerItemButtonGenericTemplate" id="2008">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItem_Item7" relativePoint="TOPRIGHT">
						<Offset> 
							<AbsDimension x="12" y="0"/> 
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="CharactersViewerBankItem_Item9" inherits="CharactersViewerItemButtonGenericTemplate" id="2009">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItem_Item8" relativePoint="TOPRIGHT">
						<Offset> 
							<AbsDimension x="12" y="0"/> 
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="CharactersViewerBankItem_Item10" inherits="CharactersViewerItemButtonGenericTemplate" id="2010">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItem_Item9" relativePoint="TOPRIGHT">
						<Offset> 
							<AbsDimension x="12" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="CharactersViewerBankItem_Item11" inherits="CharactersViewerItemButtonGenericTemplate" id="2011">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItem_Item10" relativePoint="TOPRIGHT">
						<Offset> 
							<AbsDimension x="12" y="0"/> 
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="CharactersViewerBankItem_Item12" inherits="CharactersViewerItemButtonGenericTemplate" id="2012">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItem_Item11" relativePoint="TOPRIGHT">
						<Offset> 
							<AbsDimension x="12" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="CharactersViewerBankItem_Item13" inherits="CharactersViewerItemButtonGenericTemplate" id="2013">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItem_Item7" relativePoint="BOTTOMLEFT">
						<Offset> 
							<AbsDimension x="0" y="-7"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="CharactersViewerBankItem_Item14" inherits="CharactersViewerItemButtonGenericTemplate" id="2014">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItem_Item13" relativePoint="TOPRIGHT">
						<Offset> 
							<AbsDimension x="12" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="CharactersViewerBankItem_Item15" inherits="CharactersViewerItemButtonGenericTemplate" id="2015">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItem_Item14" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="12" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="CharactersViewerBankItem_Item16" inherits="CharactersViewerItemButtonGenericTemplate" id="2016">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItem_Item15" relativePoint="TOPRIGHT">
						<Offset> 
							<AbsDimension x="12" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="CharactersViewerBankItem_Item17" inherits="CharactersViewerItemButtonGenericTemplate" id="2017">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItem_Item16" relativePoint="TOPRIGHT">
						<Offset> 
							<AbsDimension x="12" y="0"/> 
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="CharactersViewerBankItem_Item18" inherits="CharactersViewerItemButtonGenericTemplate" id="2018">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItem_Item17" relativePoint="TOPRIGHT">
						<Offset> 
							<AbsDimension x="12" y="0"/> 
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="CharactersViewerBankItem_Item19" inherits="CharactersViewerItemButtonGenericTemplate" id="2019">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItem_Item13" relativePoint="BOTTOMLEFT">
						<Offset> 
							<AbsDimension x="0" y="-7"/> 
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="CharactersViewerBankItem_Item20" inherits="CharactersViewerItemButtonGenericTemplate" id="2020">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItem_Item19" relativePoint="TOPRIGHT">
						<Offset> 
							<AbsDimension x="12" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="CharactersViewerBankItem_Item21" inherits="CharactersViewerItemButtonGenericTemplate" id="2021">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItem_Item20" relativePoint="TOPRIGHT">
						<Offset> 
							<AbsDimension x="12" y="0"/> 
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="CharactersViewerBankItem_Item22" inherits="CharactersViewerItemButtonGenericTemplate" id="2022">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItem_Item21" relativePoint="TOPRIGHT">
						<Offset> 
							<AbsDimension x="12" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="CharactersViewerBankItem_Item23" inherits="CharactersViewerItemButtonGenericTemplate" id="2023">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItem_Item22" relativePoint="TOPRIGHT">
						<Offset> 
							<AbsDimension x="12" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="CharactersViewerBankItem_Item24" inherits="CharactersViewerItemButtonGenericTemplate" id="2024">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItem_Item23" relativePoint="TOPRIGHT">
						<Offset> 
							<AbsDimension x="12" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<!-- Extra Bank Bag Slots -->
			<Button name="CharactersViewerBankItems_Bag5" inherits="CharactersViewerBankItems_BagTemplate" id="5">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItem_Item19" relativePoint="BOTTOMLEFT">
						<Offset> 
							<AbsDimension x="0" y="-32"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="CharactersViewerBankItems_Bag6" inherits="CharactersViewerBankItems_BagTemplate" id="6">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItems_Bag5" relativePoint="TOPRIGHT">
						<Offset> 
							<AbsDimension x="12" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="CharactersViewerBankItems_Bag7" inherits="CharactersViewerBankItems_BagTemplate" id="7">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItems_Bag6" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="12" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="CharactersViewerBankItems_Bag8" inherits="CharactersViewerBankItems_BagTemplate" id="8">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItems_Bag7" relativePoint="TOPRIGHT">
						<Offset> 
							<AbsDimension x="12" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="CharactersViewerBankItems_Bag9" inherits="CharactersViewerBankItems_BagTemplate" id="9">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItems_Bag8" relativePoint="TOPRIGHT">
						<Offset> 
							<AbsDimension x="12" y="0"/> 
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="CharactersViewerBankItems_Bag10" inherits="CharactersViewerBankItems_BagTemplate" id="10">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItems_Bag9" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="12" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>	
			
			<!-- Bank Money Frame -->

			<Frame name="CharactersViewerBankItems_MoneyFrameTotal1" inherits="SmallMoneyFrameTemplate" hidden="false">
				<Anchors>
					<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT">
							<Offset> 
								<AbsDimension x="230" y="160"/>
							</Offset>
						</Anchor>
					</Anchors>
				<Scripts>
					<OnLoad>
						SmallMoneyFrame_OnLoad();
						MoneyFrame_SetType("STATIC");
					</OnLoad>
					<OnShow>
						-- Do nothing override
					</OnShow>
				</Scripts>
			</Frame>
			<Frame name="CharactersViewerBankItems_MoneyFrameTotal2" inherits="SmallMoneyFrameTemplate" hidden="false">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItems_MoneyFrameTotal1" relativePoint="BOTTOMLEFT">
						<Offset> 
							<AbsDimension x="0" y="-16"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						SmallMoneyFrame_OnLoad();
						MoneyFrame_SetType("STATIC");
					</OnLoad>
					<OnShow>
						-- Do nothing override
					</OnShow>
				</Scripts>
			</Frame>			
			<Frame name="CharactersViewerBankItems_MoneyFrameTotal3" inherits="SmallMoneyFrameTemplate" hidden="false">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="CharactersViewerBankItems_MoneyFrameTotal2" relativePoint="BOTTOMLEFT">
						<Offset> 
							<AbsDimension x="0" y="-16"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						SmallMoneyFrame_OnLoad();
						MoneyFrame_SetType("STATIC");
					</OnLoad>
					<OnShow>
						-- Do nothing override
					</OnShow>
				</Scripts>
			</Frame>
		</Frames>
		<Scripts>
			<OnShow>
				-- Do nothing
			</OnShow>
			<OnHide>
				-- Do nothing
			</OnHide>
			<OnLoad>
				-- Do nothing
			</OnLoad>
		</Scripts>
	</Frame>
	<Frame name="CharactersViewer_BankItemsContainerFrame5" inherits="CharactersViewer_ContainerFrameTemplate" parent="CharactersViewerBankFrame" id="5" hidden="true"></Frame>
	<Frame name="CharactersViewer_BankItemsContainerFrame6" inherits="CharactersViewer_ContainerFrameTemplate" parent="CharactersViewerBankFrame" id="6" hidden="true"></Frame>
	<Frame name="CharactersViewer_BankItemsContainerFrame7" inherits="CharactersViewer_ContainerFrameTemplate" parent="CharactersViewerBankFrame" id="7" hidden="true"></Frame>
	<Frame name="CharactersViewer_BankItemsContainerFrame8" inherits="CharactersViewer_ContainerFrameTemplate" parent="CharactersViewerBankFrame" id="8" hidden="true"></Frame>
	<Frame name="CharactersViewer_BankItemsContainerFrame9" inherits="CharactersViewer_ContainerFrameTemplate" parent="CharactersViewerBankFrame" id="9" hidden="true"></Frame>
	<Frame name="CharactersViewer_BankItemsContainerFrame10" inherits="CharactersViewer_ContainerFrameTemplate" parent="CharactersViewerBankFrame" id="10" hidden="true"></Frame>

	<Frame name="CharactersViewerDropDown3" inherits="UIDropDownMenuTemplate" enableMouse="true" parent="CharactersViewerBankFrame" hidden="true">
		<Anchors>
			<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT">
				<Offset> 
					<AbsDimension x="5" y="115"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Scripts>
			<OnLoad>
				CharactersViewerDropDown_OnLoad();
			</OnLoad>
			<OnShow>
				CharactersViewerDropDown_OnLoad();
			</OnShow>
			<OnEnter>
				CharactersViewerDropDown_OnEnter();
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide();
				ResetCursor();
			</OnLeave>
		</Scripts>
	</Frame>
</Ui>

