<!-- MoonWell -->
<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="CharacterSelect.lua" />
	<Button name="CharSelectCharacterButtonTemplate" virtual="true" hidden="true">
		<Size>
			<AbsDimension x="256" y="66" />
		</Size>
		<HitRectInsets>
			<AbsInset left="-10" right="30" top="0" bottom="15" />
		</HitRectInsets>
		<Layers>
			<Layer level="ARTWORK">
				<Texture file="Interface\Glues\CharacterSelect\Glue-CharacterSelect-Highlight"
					alphaMode="ADD" parentKey="selection" hidden="true">
					<Size x="256" y="70" />
					<Anchors>
						<Anchor point="TOPLEFT" x="-20" y="8" />
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="ARTWORK">
				<Texture name="$parentOnMouse"
					file="Interface\Glues\CharacterSelect\uicharacterselectglues2x" hidden="true">
					<TexCoords left="0.351562500" right="0.661132813" top="0.013671875"
						bottom="0.107421875" />
					<Size>
						<AbsDimension x="233" y="53" />
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="-8" y="-1" />
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<Frames>
			<Frame name="$parentButtonText" setAllPoints="true">
				<Layers>
					<Layer level="BORDER">
						<FontString name="$parentName" inherits="GlueFontNormal" justifyH="LEFT">
							<Anchors>
								<Anchor point="TOPLEFT">
									<Offset>
										<AbsDimension x="-8" y="-5" />
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="$parentInfo" inherits="GlueFontHighlightSmall"
							justifyH="LEFT">
							<Size>
								<AbsDimension x="217" y="12" />
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="$parentName"
									relativePoint="BOTTOMLEFT">
									<Offset>
										<AbsDimension x="0" y="-1" />
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="$parentLocation" inherits="GlueFontDisableSmall"
							justifyH="LEFT">
							<Size>
								<AbsDimension x="217" y="16" />
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="$parentInfo"
									relativePoint="BOTTOMLEFT">
									<Offset>
										<AbsDimension x="0" y="-1" />
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
			</Frame>
		</Frames>
		<Scripts>
			<OnClick>
				CharacterSelectButton_OnClick(self);
			</OnClick>
			<OnDoubleClick>
				CharacterSelectButton_OnDoubleClick(self);
			</OnDoubleClick>
		</Scripts>

		<HighlightTexture file="Interface\Glues\CharacterSelect\uicharacterselectglues2x"
			alphaMode="ADD">
			<Size x="242" y="61" />
			<Anchors>
				<Anchor point="TOPLEFT" x="-15" y="-1" />
			</Anchors>
			<TexCoords left="0.679687500" right="0.989257813" top="0.005371094" bottom="0.099121094" />
		</HighlightTexture>

		<NormalFont style="GlueFontNormal" />
		<HighlightFont style="GlueFontHighlight" />
	</Button>
	<Button name="CharSelectCharacterCustomizeTemplate" virtual="true" hidden="true">
		<Size>
			<AbsDimension x="64" y="64" />
		</Size>
		<Scripts>
			<OnClick>
				CharacterSelect_PaidServiceOnClick(self, button, down,
				PAID_CHARACTER_CUSTOMIZATION);
			</OnClick>
			<OnEnter>
				GlueTooltip_SetOwner(self);
				GlueTooltip_SetText(PAID_CHARACTER_CUSTOMIZE_TOOLTIP, nil, 1.0, 1.0, 1.0);
			</OnEnter>
			<OnLeave>
				GlueTooltip:Hide();
			</OnLeave>
		</Scripts>
		<NormalTexture file="Interface\Buttons\UI-PaidCharacterCustomization-Button">
			<TexCoords left="0" right=".5" top="0" bottom=".5" />
		</NormalTexture>
		<HighlightTexture file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD">
			<Size x="46" y="46" />
			<Anchors>
				<Anchor point="CENTER" />
			</Anchors>
		</HighlightTexture>
	</Button>
	<Button name="CharSelectRaceChangeTemplate" virtual="true" hidden="true">
		<Size>
			<AbsDimension x="64" y="64" />
		</Size>
		<Scripts>
			<OnClick>
				CharacterSelect_PaidServiceOnClick(self, button, down, PAID_RACE_CHANGE);
			</OnClick>
			<OnEnter>
				GlueTooltip_SetOwner(self);
				GlueTooltip_SetText(PAID_RACE_CHANGE_TOOLTIP, nil, 1.0, 1.0, 1.0);
			</OnEnter>
			<OnLeave>
				GlueTooltip:Hide();
			</OnLeave>
		</Scripts>
		<NormalTexture file="Interface\Buttons\UI-PaidCharacterCustomization-Button">
			<TexCoords left=".5" right="1" top="0" bottom=".5" />
		</NormalTexture>
		<HighlightTexture file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD">
			<Size x="46" y="46" />
			<Anchors>
				<Anchor point="CENTER" />
			</Anchors>
		</HighlightTexture>
	</Button>
	<Button name="CharSelectFactionChangeTemplate" virtual="true" hidden="true">
		<Size>
			<AbsDimension x="64" y="64" />
		</Size>
		<Scripts>
			<OnClick>
				CharacterSelect_PaidServiceOnClick(self, button, down, PAID_FACTION_CHANGE);
			</OnClick>
			<OnEnter>
				GlueTooltip_SetOwner(self);
				GlueTooltip_SetText(PAID_FACTION_CHANGE_TOOLTIP, nil, 1.0, 1.0, 1.0);
			</OnEnter>
			<OnLeave>
				GlueTooltip:Hide();
			</OnLeave>
		</Scripts>
		<NormalTexture file="Interface\Buttons\UI-PaidCharacterCustomization-Button">
			<TexCoords left="0" right=".5" top="0.5" bottom="1" />
		</NormalTexture>
		<HighlightTexture file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD">
			<Size x="46" y="46" />
			<Anchors>
				<Anchor point="CENTER" />
			</Anchors>
		</HighlightTexture>
	</Button>
	<ModelFFX name="CharacterSelect" toplevel="true" parent="GlueParent" setAllPoints="true"
		enableKeyboard="true" hidden="true">
		<Frames>
			<Frame name="CharacterSelectUI" setAllPoints="true" enableMouse="true">
				<Layers>
					<Layer level="ARTWORK">
						<FontString name="CharSelectCharacterName" inherits="GlueFontNormalHuge">
							<Anchors>
								<Anchor point="BOTTOM">
									<Offset>
										<AbsDimension x="0" y="80" />
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="CharSelectCharacterName2" inherits="GlueFontNormalHuge"
							hidden="true">
							<Size>
								<AbsDimension x="256" y="528" />
							</Size>
							<Anchors>
								<Anchor point="BOTTOM">
									<Offset>
										<AbsDimension x="60" y="180" />
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="CharSelectCharacterName3" inherits="GlueFontNormalHuge"
							hidden="true">
							<Size>
								<AbsDimension x="256" y="528" />
							</Size>
							<Anchors>
								<Anchor point="BOTTOM">
									<Offset>
										<AbsDimension x="60" y="180" />
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="CharSelectCharacterName4" inherits="GlueFontDisableLarge"
							hidden="true">
							<Size>
								<AbsDimension x="256" y="128" />
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT">
									<Offset>
										<AbsDimension x="3" y="-108" />
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
					<Layer level="OVERLAY">
						<Texture name="CharacterSelectLogo"
							file="Interface\Glues\Common\Glues-WoW-WotLKLogo">
							<Size>
								<AbsDimension x="170" y="170" />
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT">
									<Offset>
										<AbsDimension x="20" y="-7" />
									</Offset>
								</Anchor>
							</Anchors>
						</Texture>
					</Layer>
				</Layers>
				<Frames>
					<Button name="CharSelectChangeRealmButton" inherits="GlueButtonTemplate"
						text="CHANGE_REALM">
						<Size>
							<AbsDimension x="150" y="50" />
						</Size>
						<Anchors>
							<Anchor point="TOP" relativeTo="CharacterSelectUI" relativePoint="TOP">
								<Offset>
									<AbsDimension x="0" y="-10" />
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								CharacterSelect_ChangeRealm();
							</OnClick>
							<OnUpdate>
								CharacterSelect_DeathKnightSwap(self);
							</OnUpdate>
						</Scripts>
					</Button>

					<Button name="CharSelectEnterWorldButton" inherits="GlueButtonTemplate"
						text="ENTER_WORLD">
						<Size>
							<AbsDimension x="200" y="60" />
						</Size>
						<Anchors>
							<Anchor point="BOTTOM">
								<Offset>
									<AbsDimension x="0" y="30" />
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								CharacterSelect_EnterWorld();
							</OnClick>
							<OnUpdate>
								CharacterSelect_DeathKnightSwap(self);
							</OnUpdate>
						</Scripts>
					</Button>
					<Button name="CharacterSelectRotateLeft">
						<Size>
							<AbsDimension x="50" y="50" />
						</Size>
						<Anchors>
							<Anchor point="TOP" relativeTo="CharSelectEnterWorldButton"
								relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="-15" y="19" />
								</Offset>
							</Anchor>
						</Anchors>
						<HitRectInsets>
							<AbsInset left="13" right="13" top="10" bottom="13" />
						</HitRectInsets>
						<Scripts>
							<OnLoad>
								self:RegisterForClicks("LeftButtonDown", "LeftButtonUp");
							</OnLoad>
							<OnClick>
								PlaySound("igInventoryRotateCharacter");
							</OnClick>
							<OnUpdate>
								CharacterSelectRotateLeft_OnUpdate(self);
							</OnUpdate>
						</Scripts>
						<NormalTexture
							file="Interface\Glues\CharacterCreate\UI-RotationRight-Big-Up">
							<TexCoords left="1.0" right="0" top="0" bottom="1.0" />
						</NormalTexture>
						<PushedTexture
							file="Interface\Glues\CharacterCreate\UI-RotationRight-Big-Down">
							<TexCoords left="1.0" right="0" top="0" bottom="1.0" />
						</PushedTexture>
						<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight"
							alphaMode="ADD">
							<Size>
								<AbsDimension x="30" y="30" />
							</Size>
							<Anchors>
								<Anchor point="CENTER">
									<Offset>
										<AbsDimension x="0" y="0" />
									</Offset>
								</Anchor>
							</Anchors>
						</HighlightTexture>
					</Button>
					<Button name="CharacterSelectRotateRight">
						<Size>
							<AbsDimension x="50" y="50" />
						</Size>
						<Anchors>
							<Anchor point="LEFT" relativeTo="CharacterSelectRotateLeft"
								relativePoint="RIGHT">
								<Offset>
									<AbsDimension x="-19" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
						<HitRectInsets>
							<AbsInset left="13" right="13" top="10" bottom="13" />
						</HitRectInsets>
						<Scripts>
							<OnLoad>
								self:RegisterForClicks("LeftButtonDown", "LeftButtonUp");
							</OnLoad>
							<OnClick>
								PlaySound("igInventoryRotateCharacter");
							</OnClick>
							<OnUpdate>
								CharacterSelectRotateRight_OnUpdate(self);
							</OnUpdate>
						</Scripts>
						<NormalTexture
							file="Interface\Glues\CharacterCreate\UI-RotationRight-Big-Up" />
						<PushedTexture
							file="Interface\Glues\CharacterCreate\UI-RotationRight-Big-Down" />
						<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight"
							alphaMode="ADD">
							<Size>
								<AbsDimension x="30" y="30" />
							</Size>
							<Anchors>
								<Anchor point="CENTER">
									<Offset>
										<AbsDimension x="0" y="0" />
									</Offset>
								</Anchor>
							</Anchors>
						</HighlightTexture>
					</Button>
					<Button name="CharacterSelectBackButton" inherits="GlueButtonTemplate"
						text="BACK">
						<Size>
							<AbsDimension x="150" y="51" />
						</Size>
						<Anchors>
							<Anchor point="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="5" y="5" />
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								CharacterSelect_Exit();
							</OnClick>
							<OnUpdate>
								CharacterSelect_DeathKnightSwap(self);
							</OnUpdate>
						</Scripts>
					</Button>
					<Button name="CharacterSelectAddonsButton" inherits="GlueButtonTemplate"
						text="ADDONS">
						<Size>
							<AbsDimension x="150" y="51" />
						</Size>
						<Layers>
							<Layer level="ARTWORK">
								<Texture name="$parentGlow"
									file="Interface\Glues\Common\Glues-BigButton-Glow"
									setAllPoints="true" alphaMode="ADD">
									<TexCoords left="0.14453125" right="0.85546875" top="0"
										bottom="1" />
									<Size>
										<AbsDimension x="150" y="51" />
									</Size>
								</Texture>
							</Layer>
						</Layers>
						<Anchors>
							<Anchor point="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="5" y="50" />
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								AddonList:Show();
							</OnClick>
							<OnUpdate>
								GlueButtonMaster_OnUpdate(self, elapsed);
								CharacterSelect_DeathKnightSwap(self);
							</OnUpdate>
						</Scripts>
					</Button>

					<Button name="DesenfoBoton" enableMouse="true" movable="false">
						<Size>
							<AbsDimension x="32" y="28" />
						</Size>
						<Anchors>
							<Anchor point="BOTTOMLEFT" relativeTo="CharacterSelectUI"
								relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="155" y="18" />
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="BORDER">
								<Texture name="$parentNormalTexture"
									file="Interface\Glues\CharacterSelect\128redbuttonpart2"
									setAllPoints="true">
									<TexCoords left="0.252929688" right="0.379882813"
										top="0.515625000" bottom="0.753906250" />
								</Texture>
							</Layer>
							<Layer level="ARTWORK">
								<Texture name="$parentPushedTexture"
									file="Interface\Glues\CharacterSelect\128redbuttonpart2"
									setAllPoints="true" hidden="true">
									<TexCoords left="0.378906250" right="0.505859375"
										top="0.515625000" bottom="0.753906250" />
								</Texture>
							</Layer>
							<Layer level="OVERLAY">
								<Texture name="$parentHighlightTexture"
									file="Interface\Glues\CharacterSelect\128redbuttonpart2"
									setAllPoints="true" alphaMode="ADD" hidden="true">
									<TexCoords left="0.253906250" right="0.378906250"
										top="0.000000000" bottom="0.248046875" />
								</Texture>
							</Layer>
						</Layers>
						<NormalTexture alphaMode="ADD" alpha="0" />
						<HighlightTexture alphaMode="ADD" alpha="0" />
						<PushedTexture alphaMode="ADD" alpha="0" />
						<DisabledTexture alphaMode="ADD" alpha="0" />
						<Scripts>
							<OnLoad>
								self:SetWidth(self:GetTextWidth() + 28);
								self:GetNormalTexture():SetAlpha(0);
								self:GetHighlightTexture():SetAlpha(0);
								self:GetPushedTexture():SetAlpha(0);
								self:GetDisabledTexture():SetAlpha(0);
							</OnLoad>
							<OnClick>
								PlaySound("gsTitleOptions");
								if ( SelectBorroso == 0 ) then
								SelectBorroso = 1;
								self:SetText("Hide All");
								else
								SelectBorroso = 0;
								self:SetText("Show All");
								end
								CharacterSelect_OnEventO();
							</OnClick>
							<OnMouseDown>
								_G[self:GetName().."PushedTexture"]:Show();
							</OnMouseDown>
							<OnMouseUp>
								_G[self:GetName().."PushedTexture"]:Hide();
							</OnMouseUp>
							<OnEnter>
								_G[self:GetName().."HighlightTexture"]:Show();
							</OnEnter>
							<OnLeave>
								_G[self:GetName().."HighlightTexture"]:Hide();
							</OnLeave>
						</Scripts>
					</Button>

					<Button name="DesenfoBoton2" enableMouse="true" movable="false">
						<Size>
							<AbsDimension x="32" y="28" />
						</Size>
						<Anchors>
							<Anchor point="BOTTOMRIGHT" relativeTo="CharacterSelectUI"
								relativePoint="BOTTOMRIGHT">
								<Offset>
									<AbsDimension x="-20" y="18" />
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="BACKGROUND">
								<Texture name="$parentTextBackground"
									file="Interface\Glues\CharacterSelect\uicharacterselectglues2x"
									setAllPoints="false">
									<Size>
										<AbsDimension x="280" y="26" />
									</Size>
									<Anchors>
										<Anchor point="RIGHT" relativePoint="LEFT"
											relativeTo="$parent">
											<Offset>
												<AbsDimension x="24" y="0" />
											</Offset>
										</Anchor>
									</Anchors>
									<TexCoords left="0.612792969" right="0.969726563"
										top="0.480468750" bottom="0.518554688" />
								</Texture>
							</Layer>
							<Layer level="BORDER">
								<Texture name="$parentNormalTexture"
									file="Interface\Glues\CharacterSelect\128redbuttonpart2"
									setAllPoints="true">
									<TexCoords left="0.252929688" right="0.379882813"
										top="0.515625000" bottom="0.753906250" />
								</Texture>
							</Layer>
							<Layer level="ARTWORK">
								<Texture name="$parentPushedTexture"
									file="Interface\Glues\CharacterSelect\128redbuttonpart2"
									setAllPoints="true" hidden="true">
									<TexCoords left="0.378906250" right="0.505859375"
										top="0.515625000" bottom="0.753906250" />
								</Texture>
							</Layer>
							<Layer level="OVERLAY">
								<Texture name="$parentHighlightTexture"
									file="Interface\Glues\CharacterSelect\128redbuttonpart2"
									setAllPoints="true" alphaMode="ADD" hidden="true">
									<TexCoords left="0.253906250" right="0.378906250"
										top="0.000000000" bottom="0.248046875" />
								</Texture>
							</Layer>
							<Layer level="OVERLAY">
								<FontString name="$parentLabel" inherits="GlueFontNormal"
									text="WARBANG_INF">
									<Anchors>
										<Anchor point="RIGHT" relativePoint="LEFT"
											relativeTo="$parent">
											<Offset>
												<AbsDimension x="-10" y="0" />
											</Offset>
										</Anchor>
									</Anchors>
									<Color r="1" g="1" b="1" />
								</FontString>
							</Layer>
						</Layers>
						<NormalTexture alphaMode="ADD" alpha="0" />
						<HighlightTexture alphaMode="ADD" alpha="0" />
						<PushedTexture alphaMode="ADD" alpha="0" />
						<DisabledTexture alphaMode="ADD" alpha="0" />
						<Scripts>
							<OnLoad>
								self:SetWidth(self:GetTextWidth() + 28);
								self:GetNormalTexture():SetAlpha(0);
								self:GetHighlightTexture():SetAlpha(0);
								self:GetPushedTexture():SetAlpha(0);
								self:GetDisabledTexture():SetAlpha(0);
							</OnLoad>
							<OnClick>
								PlaySound("gsTitleOptions");
								if ( SelectBorroso2 == 0 ) then
								SelectBorroso2 = 1;
								self:SetText("Hide All");
								else
								SelectBorroso2 = 0;
								self:SetText("Show All");
								end
								CharacterSelect_OnEventO2();
							</OnClick>
							<OnMouseDown>
								_G[self:GetName().."PushedTexture"]:Show();
							</OnMouseDown>
							<OnMouseUp>
								_G[self:GetName().."PushedTexture"]:Hide();
							</OnMouseUp>
							<OnEnter>
								_G[self:GetName().."HighlightTexture"]:Show();
							</OnEnter>
							<OnLeave>
								_G[self:GetName().."HighlightTexture"]:Hide();
							</OnLeave>
						</Scripts>
					</Button>

					<Button name="OptionsButton2" inherits="GlueButtonTemplate" text="OPTIONS">
						<Size>
							<AbsDimension x="150" y="51" />
						</Size>
						<Anchors>
							<Anchor point="BOTTOMLEFT" relativeTo="CharacterSelectAddonsButton"
								relativePoint="TOPLEFT">
								<Offset>
									<AbsDimension x="0" y="-5" />
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								PlaySound("gsTitleOptions");
								OptionsSelectFrame:Show();
							</OnClick>
						</Scripts>
					</Button>

					<Button name="CharacterSelectRealmSplitButton" inherits="GlueButtonTemplate"
						hidden="true" text="SERVER_SPLIT_BUTTON">
						<Size>
							<AbsDimension x="150" y="55" />
						</Size>
						<Anchors>
							<Anchor point="TOP" relativeTo="CharacterSelectLogo"
								relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="0" y="-5" />
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="OVERLAY">
								<Texture name="$parentGlow"
									file="Interface\Glues\Common\Glue-Panel-Button-Glow"
									hidden="false" alphaMode="ADD">
									<TexCoords left="0" right="0.578125" top="0" bottom="0.75" />
								</Texture>
							</Layer>
							<Layer level="BACKGROUND">
								<FontString name="RealmSplitCurrentChoice" inherits="GlueFontNormal"
									justifyH="CENTER">
									<Size>
										<AbsDimension x="256" y="0" />
									</Size>
									<Anchors>
										<Anchor point="TOP" relativePoint="BOTTOM">
											<Offset>
												<AbsDimension x="0" y="0" />
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="RealmSplitPending" inherits="GlueFontNormal"
									justifyH="CENTER" text="SERVER_SPLIT_PENDING">
									<Size>
										<AbsDimension x="256" y="0" />
									</Size>
									<Anchors>
										<Anchor point="TOP" relativeTo="RealmSplitCurrentChoice"
											relativePoint="BOTTOM">
											<Offset>
												<AbsDimension x="0" y="-10" />
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
							</Layer>
						</Layers>
						<Scripts>
							<OnClick>
								SERVER_SPLIT_SHOW_DIALOG = true;
							</OnClick>
							<OnUpdate>
								GlueButtonMaster_OnUpdate(self, elapsed);
							</OnUpdate>
						</Scripts>
						<NormalFont style="GlueFontHighlight" />
					</Button>
					<Button name="CharacterSelectUpgradeAccountButton" inherits="GlueButtonTemplate"
						text="UPGRADE_ACCOUNT" hidden="true">
						<Size x="320" y="60" />
						<Anchors>
							<Anchor point="TOP" x="0" y="-10" />
						</Anchors>
						<Scripts>
							<OnClick>
								UpgradeAccount();
							</OnClick>
							<OnUpdate>
								CharacterSelect_DeathKnightSwap(self);
							</OnUpdate>
						</Scripts>
					</Button>
					<Button name="CharacterSelectDeleteButton" enableMouse="true" movable="false"> <!--
						DELETE -->
						<Size>
							<AbsDimension x="32" y="32" />
						</Size>
						<Anchors>
							<Anchor point="BOTTOMRIGHT">
								<Offset>
									<AbsDimension x="-50" y="114" />

								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="BORDER">
								<Texture name="$parentNormalTexture"
									file="Interface\Glues\CharacterSelect\128redbuttonpart2"
									setAllPoints="true">
									<TexCoords left="0.001953125" right="0.126953125"
										top="0.000000000" bottom="0.248046875" />
								</Texture>
							</Layer>
							<Layer level="ARTWORK">
								<Texture name="$parentPushedTexture"
									file="Interface\Glues\CharacterSelect\128redbuttonpart2"
									setAllPoints="true" hidden="true">
									<TexCoords left="0.128906250" right="0.253906250"
										top="0.000000000" bottom="0.248046875" />
								</Texture>
							</Layer>
							<Layer level="OVERLAY">
								<Texture name="$parentHighlightTexture"
									file="Interface\Glues\CharacterSelect\128redbuttonpart2"
									setAllPoints="true" alphaMode="ADD" hidden="true">
									<TexCoords left="0.253906250" right="0.378906250"
										top="0.000000000" bottom="0.248046875" />
								</Texture>
							</Layer>
						</Layers>
						<NormalTexture alphaMode="ADD" alpha="0" />
						<HighlightTexture alphaMode="ADD" alpha="0" />
						<PushedTexture alphaMode="ADD" alpha="0" />
						<DisabledTexture alphaMode="ADD" alpha="0" />
						<Scripts>
							<OnLoad>
								self:SetWidth(self:GetTextWidth() + 32);
								self:GetNormalTexture():SetAlpha(0);
								self:GetHighlightTexture():SetAlpha(0);
								self:GetPushedTexture():SetAlpha(0);
								self:GetDisabledTexture():SetAlpha(0);
							</OnLoad>
							<OnClick>
								CharacterSelect_Delete();
							</OnClick>
							<OnUpdate>
								CharacterSelect_DeathKnightSwap(self);
							</OnUpdate>
							<OnMouseDown>
								_G[self:GetName().."PushedTexture"]:Show();
							</OnMouseDown>
							<OnMouseUp>
								_G[self:GetName().."PushedTexture"]:Hide();
							</OnMouseUp>
							<OnEnter>
								_G[self:GetName().."HighlightTexture"]:Show();
							</OnEnter>
							<OnLeave>
								_G[self:GetName().."HighlightTexture"]:Hide();
							</OnLeave>
						</Scripts>
					</Button>
					<Frame name="CharacterSelectCharacterFrame">
						<Size>
							<AbsDimension x="260" y="642" />
						</Size>
						<Anchors>
							<Anchor point="TOPRIGHT">
								<Offset>
									<AbsDimension x="-5" y="-15" />
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="BACKGROUND">
								<FontString name="CharSelectRealmName"
									inherits="GlueFontDisableLarge">
									<Size>
										<AbsDimension x="1" y="13" />
									</Size>
									<Anchors>
										<Anchor point="TOP">
											<Offset>
												<AbsDimension x="0" y="-10" />
											</Offset>
										</Anchor>
										<Anchor point="LEFT">
											<Offset>
												<AbsDimension x="8" y="0" />
											</Offset>
										</Anchor>
										<Anchor point="RIGHT">
											<Offset>
												<AbsDimension x="-8" y="0" />
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
							</Layer>
						</Layers>
						<Frames>
							<Button name="CharSelectCharacterButton1"
								inherits="CharSelectCharacterButtonTemplate" id="1">
								<Anchors>
									<Anchor point="TOP" relativeTo="CharacterSelectCharacterFrame"
										relativePoint="TOP">
										<Offset>
											<AbsDimension x="22" y="-45" />
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectCharacterButton2"
								inherits="CharSelectCharacterButtonTemplate" id="2">
								<Anchors>
									<Anchor point="TOP" relativeTo="CharacterSelectCharacterFrame"
										relativePoint="TOP">
										<Offset>
											<AbsDimension x="22" y="-112" />
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectCharacterButton3"
								inherits="CharSelectCharacterButtonTemplate" id="3">
								<Anchors>
									<Anchor point="TOP" relativeTo="CharacterSelectCharacterFrame"
										relativePoint="TOP">
										<Offset>
											<AbsDimension x="22" y="-179" />
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectCharacterButton4"
								inherits="CharSelectCharacterButtonTemplate" id="4">
								<Anchors>
									<Anchor point="TOP" relativeTo="CharacterSelectCharacterFrame"
										relativePoint="TOP">
										<Offset>
											<AbsDimension x="22" y="-246" />
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectCharacterButton5"
								inherits="CharSelectCharacterButtonTemplate" id="5">
								<Anchors>
									<Anchor point="TOP" relativeTo="CharacterSelectCharacterFrame"
										relativePoint="TOP">
										<Offset>
											<AbsDimension x="22" y="-313" />
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectCharacterButton6"
								inherits="CharSelectCharacterButtonTemplate" id="6">
								<Anchors>
									<Anchor point="TOP" relativeTo="CharacterSelectCharacterFrame"
										relativePoint="TOP">
										<Offset>
											<AbsDimension x="22" y="-380" />
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectCharacterButton7"
								inherits="CharSelectCharacterButtonTemplate" id="7">
								<Anchors>
									<Anchor point="TOP" relativeTo="CharacterSelectCharacterFrame"
										relativePoint="TOP">
										<Offset>
											<AbsDimension x="22" y="-447" />
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectCharacterButton8"
								inherits="CharSelectCharacterButtonTemplate" id="8">
								<Anchors>
									<Anchor point="TOP" relativeTo="CharacterSelectCharacterFrame"
										relativePoint="TOP">
										<Offset>
											<AbsDimension x="22" y="-514" />
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectCharacterButton9"
								inherits="CharSelectCharacterButtonTemplate" id="9">
								<Anchors>
									<Anchor point="TOP" relativeTo="CharacterSelectCharacterFrame"
										relativePoint="TOP">
										<Offset>
											<AbsDimension x="22" y="-581" />
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectCharacterButton10"
								inherits="CharSelectCharacterButtonTemplate" id="10">
								<Anchors>
									<Anchor point="TOP" relativeTo="CharacterSelectCharacterFrame"
										relativePoint="TOP">
										<Offset>
											<AbsDimension x="22" y="-648" />
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectCreateCharacterButton"
								inherits="GlueButtonSmallTemplate" hidden="true"
								text="CREATE_NEW_CHARACTER">
								<Size>
									<AbsDimension x="150" y="51" />
								</Size>
								<Anchors>
									<Anchor point="BOTTOM">
										<Offset>
											<AbsDimension x="-20" y="-5" />
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnClick>
										CharacterSelect_SelectCharacter(self:GetID());
									</OnClick>
									<OnUpdate>
										CharacterSelect_DeathKnightSwap(self);
									</OnUpdate>
								</Scripts>
							</Button>

							<Button name="CharSelectCharacterCustomize1"
								inherits="CharSelectCharacterCustomizeTemplate" id="1">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="CharSelectCharacterButton1"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectCharacterCustomize2"
								inherits="CharSelectCharacterCustomizeTemplate" id="2">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="CharSelectCharacterButton2"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectCharacterCustomize3"
								inherits="CharSelectCharacterCustomizeTemplate" id="3">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="CharSelectCharacterButton3"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectCharacterCustomize4"
								inherits="CharSelectCharacterCustomizeTemplate" id="4">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="CharSelectCharacterButton4"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectCharacterCustomize5"
								inherits="CharSelectCharacterCustomizeTemplate" id="5">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="CharSelectCharacterButton5"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectCharacterCustomize6"
								inherits="CharSelectCharacterCustomizeTemplate" id="6">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="CharSelectCharacterButton6"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectCharacterCustomize7"
								inherits="CharSelectCharacterCustomizeTemplate" id="7">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="CharSelectCharacterButton7"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectCharacterCustomize8"
								inherits="CharSelectCharacterCustomizeTemplate" id="8">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="CharSelectCharacterButton8"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectCharacterCustomize9"
								inherits="CharSelectCharacterCustomizeTemplate" id="9">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="CharSelectCharacterButton9"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectCharacterCustomize10"
								inherits="CharSelectCharacterCustomizeTemplate" id="10">
								<Anchors>
									<Anchor point="TOPRIGHT"
										relativeTo="CharSelectCharacterButton10"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>

							<Button name="CharSelectRaceChange1"
								inherits="CharSelectRaceChangeTemplate" id="1">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="CharSelectCharacterButton1"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectRaceChange2"
								inherits="CharSelectRaceChangeTemplate" id="2">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="CharSelectCharacterButton2"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectRaceChange3"
								inherits="CharSelectRaceChangeTemplate" id="3">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="CharSelectCharacterButton3"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectRaceChange4"
								inherits="CharSelectRaceChangeTemplate" id="4">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="CharSelectCharacterButton4"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectRaceChange5"
								inherits="CharSelectRaceChangeTemplate" id="5">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="CharSelectCharacterButton5"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectRaceChange6"
								inherits="CharSelectRaceChangeTemplate" id="6">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="CharSelectCharacterButton6"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectRaceChange7"
								inherits="CharSelectRaceChangeTemplate" id="7">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="CharSelectCharacterButton7"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectRaceChange8"
								inherits="CharSelectRaceChangeTemplate" id="8">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="CharSelectCharacterButton8"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectRaceChange9"
								inherits="CharSelectRaceChangeTemplate" id="9">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="CharSelectCharacterButton9"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectRaceChange10"
								inherits="CharSelectRaceChangeTemplate" id="10">
								<Anchors>
									<Anchor point="TOPRIGHT"
										relativeTo="CharSelectCharacterButton10"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>

							<Button name="CharSelectFactionChange1"
								inherits="CharSelectFactionChangeTemplate" id="1">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="CharSelectCharacterButton1"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectFactionChange2"
								inherits="CharSelectFactionChangeTemplate" id="2">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="CharSelectCharacterButton2"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectFactionChange3"
								inherits="CharSelectFactionChangeTemplate" id="3">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="CharSelectCharacterButton3"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectFactionChange4"
								inherits="CharSelectFactionChangeTemplate" id="4">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="CharSelectCharacterButton4"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectFactionChange5"
								inherits="CharSelectFactionChangeTemplate" id="5">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="CharSelectCharacterButton5"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectFactionChange6"
								inherits="CharSelectFactionChangeTemplate" id="6">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="CharSelectCharacterButton6"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectFactionChange7"
								inherits="CharSelectFactionChangeTemplate" id="7">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="CharSelectCharacterButton7"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectFactionChange8"
								inherits="CharSelectFactionChangeTemplate" id="8">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="CharSelectCharacterButton8"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectFactionChange9"
								inherits="CharSelectFactionChangeTemplate" id="9">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="CharSelectCharacterButton9"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>
							<Button name="CharSelectFactionChange10"
								inherits="CharSelectFactionChangeTemplate" id="10">
								<Anchors>
									<Anchor point="TOPRIGHT"
										relativeTo="CharSelectCharacterButton10"
										relativePoint="TOPLEFT">
										<Offset x="-15" y="6" />
									</Anchor>
								</Anchors>
							</Button>
						</Frames>
						<Backdrop bgFile="Interface\Glues\Common\Glue-Tooltip-Background"
							edgeFile="Interface\Glues\Common\Glue-Tooltip-Border" tile="true">
							<BackgroundInsets>
								<AbsInset left="10" right="5" top="4" bottom="9" />
							</BackgroundInsets>
							<TileSize>
								<AbsValue val="16" />
							</TileSize>
							<EdgeSize>
								<AbsValue val="16" />
							</EdgeSize>
						</Backdrop>
					</Frame>
				</Frames>
				<Scripts>
					<OnMouseDown>
						CharacterSelectFrame_OnMouseDown(button);
					</OnMouseDown>
					<OnMouseUp>
						CharacterSelectFrame_OnMouseUp(button);
					</OnMouseUp>
					<OnUpdate>
						CharacterSelectFrame_OnUpdate();
					</OnUpdate>
				</Scripts>
			</Frame>
			<Frame name="BillingWarningFrame" hidden="true">
				<Layers>
					<Layer level="ARTWORK">
						<FontString name="BillingWarningText" inherits="GlueFontHighlight">
							<Size>
								<AbsDimension x="300" y="0" />
							</Size>
							<Anchors>
								<Anchor point="BOTTOM" relativeTo="CharacterSelect"
									relativePoint="BOTTOMLEFT">
									<Offset>
										<AbsDimension x="200" y="120" />
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
				<Frames>
					<Button name="BillingWarningButton" inherits="GlueButtonTemplate"
						text="MANAGE_ACCOUNT">
						<Anchors>
							<Anchor point="BOTTOM" relativeTo="CharacterSelect"
								relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="200" y="50" />
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								CharacterSelect_ManageAccount();
							</OnClick>
						</Scripts>
					</Button>
				</Frames>
			</Frame>
			<Frame name="GameRoomBillingFrame" hidden="true">
				<Size>
					<AbsDimension x="255" y="60" />
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="CharacterSelectLogo" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="-50" />
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<FontString name="GameRoomBillingFrameText" inherits="GlueFontNormalSmall"
							justifyH="LEFT">
							<Size>
								<AbsDimension x="235" y="0" />
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT">
									<Offset>
										<AbsDimension x="13" y="-10" />
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
				<Backdrop bgFile="Interface\Glues\Common\Glue-Tooltip-Background"
					edgeFile="Interface\Glues\Common\Glue-Tooltip-Border" tile="true">
					<BackgroundInsets>
						<AbsInset left="10" right="5" top="4" bottom="9" />
					</BackgroundInsets>
					<TileSize>
						<AbsValue val="16" />
					</TileSize>
					<EdgeSize>
						<AbsValue val="16" />
					</EdgeSize>
				</Backdrop>
			</Frame>
		</Frames>
		<Scripts>
			<OnLoad>
				CharacterSelect_OnLoad(self);
			</OnLoad>
			<OnShow>
				CharacterSelect_OnShow();
			</OnShow>
			<OnHide>
				CharacterSelect_OnHide();
			</OnHide>
			<OnUpdate>
				CharacterSelect_OnUpdate(elapsed);
			</OnUpdate>
			<OnKeyDown>
				CharacterSelect_OnKeyDown(self,key);
			</OnKeyDown>
			<OnEvent>
				CharacterSelect_OnEvent(self, event, ...);
			</OnEvent>
			<OnUpdateModel>
				CharacterSelect_UpdateModel(self);
			</OnUpdateModel>
		</Scripts>
	</ModelFFX>
	<Frame name="CharacterDeleteDialog" toplevel="true" parent="GlueParent" setAllPoints="true"
		enableMouse="true" enableKeyboard="true" frameStrata="DIALOG" hidden="true">
		<Frames>
			<Frame name="CharacterDeleteBackground">
				<Size>
					<AbsDimension x="0" y="0" />
				</Size>
				<Anchors>
					<Anchor point="CENTER">
						<Offset>
							<AbsDimension x="0" y="0" />
						</Offset>
					</Anchor>
				</Anchors>
				<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background"
					edgeFile="Interface\tooltips\ui-tooltip-border-maw" tile="true">
					<Color r="0.1" g="0.1" b="0.1" a="1.0" />
					<BackgroundInsets>
						<AbsInset left="3" right="3" top="3" bottom="3" />
					</BackgroundInsets>
					<TileSize>
						<AbsValue val="12" />
					</TileSize>
					<EdgeSize>
						<AbsValue val="12" />
					</EdgeSize>
				</Backdrop>
				<Layers>
					<Layer level="ARTWORK">
						<FontString name="CharacterDeleteText1" inherits="GlueFontNormalLarge">
							<Size>
								<AbsDimension x="304" y="0" />
							</Size>
							<Anchors>
								<Anchor point="TOP">
									<Offset>
										<AbsDimension x="0" y="-16" />
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="CharacterDeleteText2" inherits="GlueFontNormalSmall"
							text="CONFIRM_CHAR_DELETE_INSTRUCTIONS">
							<Size>
								<AbsDimension x="304" y="0" />
							</Size>
							<Anchors>
								<Anchor point="TOP" relativeTo="CharacterDeleteText1"
									relativePoint="BOTTOM">
									<Offset>
										<AbsDimension x="0" y="-20" />
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<Texture name="CharacterDeleteAlertIcon"
							file="Interface\DialogFrame\DialogAlertIcon">
							<Size>
								<AbsDimension x="32" y="32" />
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT">
									<Offset>
										<AbsDimension x="10" y="0" />
									</Offset>
								</Anchor>
							</Anchors>
						</Texture>
						<FontString name="CharacterDeleteAlertText" inherits="GlueFontNormal"
							hidden="false">
							<Size>
								<AbsDimension x="250" y="0" />
							</Size>
							<Anchors>
								<Anchor point="LEFT" relativeTo="CharacterDeleteAlertIcon"
									relativePoint="RIGHT">
									<Offset>
										<AbsDimension x="-55" y="0" />
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="CharacterDeleteCenterText" inherits="GlueFontNormal"
							hidden="false">
							<Size>
								<AbsDimension x="250" y="0" />
							</Size>
							<Anchors>
								<Anchor point="CENTER" relativeTo="CharacterDeleteBackground"
									relativePoint="CENTER">
									<Offset>
										<AbsDimension x="0" y="0" />
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
				<Frames>
					<Button name="CharacterDeleteButton1" inherits="GlueDialogButtonTemplate" id="1"
						text="OKAY">
						<Size>
							<AbsDimension x="120" y="41" />
						</Size>
						<Anchors>
							<Anchor point="BOTTOMRIGHT" relativeTo="CharacterDeleteBackground"
								relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="-8" y="16" />
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								self:GetFontString():SetPoint("CENTER", 0, 3)
								self:GetFontString():SetFont("Fonts\\FRIZQT__.TTF", 10)
							</OnLoad>
							<OnClick>
								DeleteCharacter(CharacterSelect.selectedIndex);
								CharacterDeleteDialog:Hide();
								PlaySound("gsTitleOptionOK");
							</OnClick>
							<OnUpdate>
								CharacterSelect_DeathKnightSwap(self);
							</OnUpdate>
						</Scripts>
					</Button>
					<Button name="CharacterDeleteButton2" inherits="GlueDialogButtonTemplate" id="2"
						text="CANCEL">
						<Size>
							<AbsDimension x="120" y="41" />
						</Size>
						<Anchors>
							<Anchor point="LEFT" relativeTo="CharacterDeleteButton1"
								relativePoint="RIGHT">
								<Offset>
									<AbsDimension x="16" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								self:GetFontString():SetPoint("CENTER", 0, 3)
								self:GetFontString():SetFont("Fonts\\FRIZQT__.TTF", 10)
							</OnLoad>
							<OnClick>
								CharacterDeleteDialog:Hide();
								PlaySound("gsTitleOptionExit");
							</OnClick>
							<OnUpdate>
								CharacterSelect_DeathKnightSwap(self);
							</OnUpdate>
						</Scripts>
					</Button>
				</Frames>
			</Frame>
			<EditBox name="CharacterDeleteEditBox" letters="32" historyLines="1">
				<Size>
					<AbsDimension x="140" y="32" />
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="CharacterDeleteText2" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="-5" />
						</Offset>
					</Anchor>
				</Anchors>
				<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background"
					edgeFile="Interface\tooltips\Glue-Tooltip-Border" tile="true">
					<BackgroundInsets>
						<AbsInset left="7" right="4" top="4" bottom="7" />
					</BackgroundInsets>
					<TileSize>
						<AbsValue val="12" />
					</TileSize>
					<EdgeSize>
						<AbsValue val="12" />
					</EdgeSize>
				</Backdrop>
				<Scripts>
					<OnTextChanged>
						if ( strupper(self:GetText()) == strupper(DELETE_CONFIRM_STRING) ) then
						CharacterDeleteButton1:Enable();
						else
						CharacterDeleteButton1:Disable();
						end
					</OnTextChanged>
					<OnEnterPressed>
						if ( CharacterDeleteButton1:IsEnabled() == 1 ) then
						DeleteCharacter(CharacterSelect.selectedIndex);
						CharacterDeleteDialog:Hide();
						end
					</OnEnterPressed>
					<OnEscapePressed>
						CharacterDeleteDialog:Hide();
					</OnEscapePressed>
					<OnLoad>
						self:SetJustifyH("CENTER");
						self:SetMaxLetters(7);
					</OnLoad>
					<OnTextSet>
						self:SetJustifyH("CENTER");
					</OnTextSet>
				</Scripts>
				<FontString inherits="GlueFontHighlight" />
			</EditBox>
		</Frames>
		<Scripts>
			<OnShow>
				self:Raise();
				CharacterDeleteDialog_OnShow();
			</OnShow>
			<OnHide>
				CharacterDeleteEditBox:SetText("");
			</OnHide>
		</Scripts>
	</Frame>
	<Frame name="CharacterRenameDialog" toplevel="true" parent="GlueParent" setAllPoints="true"
		enableMouse="true" enableKeyboard="true" frameStrata="DIALOG" hidden="true">
		<Frames>
			<Frame name="CharacterRenameBackground">
				<Size>
					<AbsDimension x="512" y="256" />
				</Size>
				<Anchors>
					<Anchor point="CENTER">
						<Offset>
							<AbsDimension x="0" y="0" />
						</Offset>
					</Anchor>
				</Anchors>
				<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background"
					edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
					<BackgroundInsets>
						<AbsInset left="11" right="12" top="12" bottom="11" />
					</BackgroundInsets>
					<TileSize>
						<AbsValue val="32" />
					</TileSize>
					<EdgeSize>
						<AbsValue val="32" />
					</EdgeSize>
				</Backdrop>
				<Layers>
					<Layer level="ARTWORK">
						<FontString name="CharacterRenameText1" inherits="GlueFontNormalLarge"
							text="CHAR_RENAME_DESCRIPTION">
							<Size>
								<AbsDimension x="400" y="0" />
							</Size>
							<Anchors>
								<Anchor point="TOP">
									<Offset>
										<AbsDimension x="0" y="-16" />
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="CharacterRenameText2" inherits="GlueFontNormalSmall"
							text="CHAR_RENAME_INSTRUCTIONS">
							<Size>
								<AbsDimension x="400" y="0" />
							</Size>
							<Anchors>
								<Anchor point="TOP" relativeTo="CharacterRenameText1"
									relativePoint="BOTTOM">
									<Offset>
										<AbsDimension x="0" y="-20" />
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<Texture name="CharacterRenameAlertIcon"
							file="Interface\DialogFrame\UI-Dialog-Icon-AlertNew">
							<Size>
								<AbsDimension x="48" y="48" />
							</Size>
							<Anchors>
								<Anchor point="LEFT">
									<Offset>
										<AbsDimension x="24" y="10" />
									</Offset>
								</Anchor>
							</Anchors>
						</Texture>
					</Layer>
				</Layers>
				<Frames>
					<Button name="CharacterRenameButton1" inherits="GlueDialogButtonTemplate" id="1"
						text="OKAY">
						<Anchors>
							<Anchor point="BOTTOMRIGHT" relativeTo="CharacterRenameBackground"
								relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="-6" y="16" />
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								if ( RenameCharacter(CharacterSelect.selectedIndex,
								CharacterRenameEditBox:GetText()) ) then
								CharacterRenameDialog:Hide();
								end
							</OnClick>
							<OnUpdate>
								CharacterSelect_DeathKnightSwap(self);
							</OnUpdate>
						</Scripts>
					</Button>
					<Button name="CharacterRenameButton2" inherits="GlueDialogButtonTemplate" id="2"
						text="CANCEL">
						<Anchors>
							<Anchor point="LEFT" relativeTo="CharacterRenameButton1"
								relativePoint="RIGHT">
								<Offset>
									<AbsDimension x="13" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								CharacterRenameDialog:Hide();
							</OnClick>
							<OnUpdate>
								CharacterSelect_DeathKnightSwap(self);
							</OnUpdate>
						</Scripts>
					</Button>
				</Frames>
			</Frame>
			<EditBox name="CharacterRenameEditBox" letters="12" historyLines="1">
				<Size>
					<AbsDimension x="130" y="32" />
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="CharacterRenameText2" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="-5" />
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="ARTWORK">
						<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
							<Size>
								<AbsDimension x="75" y="32" />
							</Size>
							<Anchors>
								<Anchor point="LEFT">
									<Offset>
										<AbsDimension x="-10" y="0" />
									</Offset>
								</Anchor>
							</Anchors>
							<TexCoords left="0" right="0.29296875" top="0" bottom="1.0" />
						</Texture>
						<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Right">
							<Size>
								<AbsDimension x="75" y="32" />
							</Size>
							<Anchors>
								<Anchor point="RIGHT">
									<Offset>
										<AbsDimension x="10" y="0" />
									</Offset>
								</Anchor>
							</Anchors>
							<TexCoords left="0.70703125" right="1.0" top="0" bottom="1.0" />
						</Texture>
					</Layer>
				</Layers>
				<Scripts>
					<OnEnterPressed>
						if ( RenameCharacter(CharacterSelect.selectedIndex,
						CharacterRenameEditBox:GetText()) ) then
						CharacterRenameDialog:Hide();
						end
					</OnEnterPressed>
					<OnEscapePressed>
						CharacterRenameDialog:Hide();
					</OnEscapePressed>
				</Scripts>
				<FontString inherits="GlueFontHighlight" />
			</EditBox>
		</Frames>
		<Scripts>
			<OnShow>
				self:Raise();
			</OnShow>
			<OnHide>
				CharacterRenameEditBox:SetText("");
			</OnHide>
		</Scripts>
	</Frame>
</Ui>