<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\FrameXML\UI.xsd">
	<Script file="localization.lua"/>
	<Script file="localization.fr.lua" /> 
  	<Script file="localization.de.lua" /> 
	<Script file="TrainerSkills.lua"/>
	<Button name="TrainerSkillsSkillButtonTemplate" hidden="true" virtual="true">
		<Size>
			<AbsDimension x="293" y="16"/>
		</Size>
		<Layers>
			<Layer level="BACKGROUND">
				<FontString name="$parentSubText" inherits="GameFontNormalSmall" justifyH="LEFT"/>
			</Layer>
		</Layers>
		<Scripts>
			<OnLoad>
				this:SetFrameLevel(this:GetFrameLevel() + 1);
			</OnLoad>
			<OnClick>
				TrainerSkillsSkillButton_OnClick(arg1);
			</OnClick>
			<OnEnter>
				TrainerSkillsSkillButton_OnEnter();
			</OnEnter>
			<OnLeave>
				TrainerSkillsSkillButton_OnLeave();
			</OnLeave>
		</Scripts>
		<NormalTexture file="Interface\Buttons\UI-MinusButton-UP">
			<Size>
				<AbsDimension x="16" y="16"/>
			</Size>
			<Anchors>
				<Anchor point="LEFT">
					<Offset>
						<AbsDimension x="3" y="0"/>
					</Offset>
				</Anchor>
			</Anchors>
		</NormalTexture>
		<HighlightTexture name="$parentHighlight" file="Interface\Buttons\UI-PlusButton-Hilight" alphaMode="ADD">
			<Size>
				<AbsDimension x="16" y="16"/>
			</Size>
			<Anchors>
				<Anchor point="LEFT">
					<Offset>
						<AbsDimension x="3" y="0"/>
					</Offset>
				</Anchor>
			</Anchors>
		</HighlightTexture>
		<DisabledTexture file="Interface\Buttons\UI-PlusButton-Disabled">
			<Size>
				<AbsDimension x="16" y="16"/>
			</Size>
			<Anchors>
				<Anchor point="LEFT">
					<Offset>
						<AbsDimension x="3" y="0"/>
					</Offset>
				</Anchor>
			</Anchors>
		</DisabledTexture>
		<NormalText name="$parentText" inherits="GameFontNormal" justifyH="LEFT">
			<Size>
				<AbsDimension x="0" y="0"/>
			</Size>
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parentHighlight" relativePoint="RIGHT">
					<Offset>
						<AbsDimension x="2" y="1"/>
					</Offset>
				</Anchor>
			</Anchors>
		</NormalText>
		<HighlightText name="$parentHighlightText" inherits="GameFontHighlight" justifyH="LEFT">
			<Size>
				<AbsDimension x="0" y="0"/>
			</Size>
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parentHighlight" relativePoint="RIGHT">
					<Offset>
						<AbsDimension x="2" y="1"/>
					</Offset>
				</Anchor>
			</Anchors>
		</HighlightText>
		<DisabledText name="$parentDisabledText" inherits="GameFontDisable" justifyH="LEFT">
			<Size>
				<AbsDimension x="0" y="0"/>
			</Size>
			<Anchors>
				<Anchor point="LEFT" relativeTo="$parentHighlight" relativePoint="RIGHT">
					<Offset>
						<AbsDimension x="2" y="1"/>
					</Offset>
				</Anchor>
			</Anchors>
		</DisabledText>
	</Button>
	<ScrollFrame name="TrainerSkillsDetailScrollFrameTemplate" inherits="UIPanelScrollFrameTemplate" virtual="true">
		<Layers>
			<Layer level="BACKGROUND">
				<Texture name="$parentTop" file="Interface\ClassTrainerFrame\UI-ClassTrainer-ScrollBar">
					<Size>
						<AbsDimension x="30" y="123"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
							<Offset>
								<AbsDimension x="-2" y="5"/>
							</Offset>
						</Anchor>
					</Anchors>
					<TexCoords left="0" right="0.46875" top="0" bottom="0.9609375"/>
				</Texture>
				<Texture name="$parentBottom" file="Interface\ClassTrainerFrame\UI-ClassTrainer-ScrollBar">
					<Size>
						<AbsDimension x="30" y="123"/>
					</Size>
					<Anchors>
						<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
							<Offset>
								<AbsDimension x="-2" y="-1"/>
							</Offset>
						</Anchor>
					</Anchors>
					<TexCoords left="0.53125" right="1.0" top="0.03125" bottom="1.0"/>
				</Texture>
			</Layer>
		</Layers>
		<Scripts>
			<OnLoad>
				ScrollFrame_OnLoad();
				this.scrollBarHideable = 1;
			</OnLoad>
		</Scripts>
	</ScrollFrame>
	<ScrollFrame name="TrainerSkillsListScrollFrameTemplate" inherits="FauxScrollFrameTemplate" virtual="true">
		<Layers>
			<Layer level="BACKGROUND">
				<Texture file="Interface\ClassTrainerFrame\UI-ClassTrainer-ScrollBar">
					<Size>
						<AbsDimension x="30" y="120"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
							<Offset>
								<AbsDimension x="-3" y="2"/>
							</Offset>
						</Anchor>
					</Anchors>
					<TexCoords left="0" right="0.46875" top="0.0234375" bottom="0.9609375"/>
				</Texture>
				<Texture file="Interface\ClassTrainerFrame\UI-ClassTrainer-ScrollBar">
					<Size>
						<AbsDimension x="30" y="123"/>
					</Size>
					<Anchors>
						<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
							<Offset>
								<AbsDimension x="-3" y="-2"/>
							</Offset>
						</Anchor>
					</Anchors>
					<TexCoords left="0.53125" right="1.0" top="0.03125" bottom="1.0"/>
				</Texture>
			</Layer>
		</Layers>
	</ScrollFrame>
	<Frame name="TrainerSkills" toplevel="true" parent="UIParent" movable="true" enableMouse="true" hidden="true">
		<Scripts>
			<OnLoad>
				TrainerSkills_OnLoad();
			</OnLoad>
			<OnEvent>
				TrainerSkills_OnEvent(event);
			</OnEvent>
			<OnShow>
				NewBieToolTip = SHOW_NEWBIE_TIPS;
				SHOW_NEWBIE_TIPS = "1";
				PlaySound("igCharacterInfoOpen");
			</OnShow>
			<OnHide>
				SHOW_NEWBIE_TIPS = NewBieToolTip;
				PlaySound("igCharacterInfoClose");
			</OnHide>
		</Scripts>
		<Size>
			<AbsDimension x="384" y="512"/>
		</Size>
		<Anchors>
			<Anchor point="TOPLEFT">
				<Offset>
					<AbsDimension x="0" y="-104"/>
				</Offset>
			</Anchor>
		</Anchors>
		<HitRectInsets>
			<AbsInset left="0" right="34" top="0" bottom="75"/>
		</HitRectInsets>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture name="TrainerSkillsPortrait">
					<Size>
						<AbsDimension x="60" y="60"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="7" y="-6"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="BORDER">
				<Texture file="Interface\ClassTrainerFrame\UI-ClassTrainer-TopLeft">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT"/>
					</Anchors>
				</Texture>
				<Texture file="Interface\ClassTrainerFrame\UI-ClassTrainer-TopRight">
					<Size>
						<AbsDimension x="128" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPRIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="TrainerSkillsBottomLeft" file="Interface\ClassTrainerFrame\UI-ClassTrainer-BotLeft">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="BOTTOMLEFT"/>
					</Anchors>
				</Texture>
				<Texture name="TrainerSkillsBottomRight" file="Interface\ClassTrainerFrame\UI-ClassTrainer-BotRight">
					<Size>
						<AbsDimension x="128" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="BOTTOMRIGHT"/>
					</Anchors>
				</Texture>
				<FontString name="TrainerSkillsNameText" inherits="GameFontNormal">
					<Anchors>
						<Anchor point="TOP" relativeTo="TrainerSkills" relativePoint="TOP">
							<Offset>
								<AbsDimension x="0" y="-17"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="TrainerSkillsGreetingText" inherits="GameFontHighlight" justifyH="LEFT" justifyV="TOP">
					<Size>
						<AbsDimension x="260" y="26"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="76" y="-38"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
			<Layer level="ARTWORK">
				<Texture name="TrainerSkillsHorizontalBarLeft" file="Interface\ClassTrainerFrame\UI-ClassTrainer-HorizontalBar">
					<Size>
						<AbsDimension x="256" y="16"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="15" y="-275"/>
							</Offset>
						</Anchor>
					</Anchors>
					<TexCoords left="0" right="1.0" top="0" bottom="0.25"/>
				</Texture>
				<Texture file="Interface\ClassTrainerFrame\UI-ClassTrainer-HorizontalBar">
					<Size>
						<AbsDimension x="75" y="16"/>
					</Size>
					<Anchors>
						<Anchor point="LEFT" relativeTo="TrainerSkillsHorizontalBarLeft" relativePoint="RIGHT">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
					<TexCoords left="0" right="0.29296875" top="0.25" bottom="0.5"/>
				</Texture>
			</Layer>
		</Layers>
		<Frames>
			<Frame name="TrainerSkillsExpandButtonFrame">
				<Size>
					<AbsDimension x="54" y="32"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="15" y="-70"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<Texture name="TrainerSkillsExpandTabLeft" file="Interface\ClassTrainerFrame\UI-ClassTrainer-ExpandTab-Left">
							<Size>
								<AbsDimension x="8" y="32"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT"/>
							</Anchors>
						</Texture>
						<Texture name="TrainerSkillsExpandTabMiddle" file="Interface\QuestFrame\UI-QuestLogSortTab-Middle">
							<Size>
								<AbsDimension x="38" y="32"/>
							</Size>
							<Anchors>
								<Anchor point="LEFT" relativeTo="TrainerSkillsExpandTabLeft" relativePoint="RIGHT">
									<Offset>
										<AbsDimension x="0" y="6"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Texture>
						<Texture file="Interface\QuestFrame\UI-QuestLogSortTab-Right">
							<Size>
								<AbsDimension x="8" y="32"/>
							</Size>
							<Anchors>
								<Anchor point="LEFT" relativeTo="TrainerSkillsExpandTabMiddle" relativePoint="RIGHT"/>
							</Anchors>
						</Texture>
					</Layer>
				</Layers>
				<Frames>
					<Button name="TrainerSkillsCollapseAllButton" hidden="false" inherits="TrainerSkillsSkillButtonTemplate" text="ALL">
						<Size>
							<AbsDimension x="40" y="22"/>
						</Size>
						<Anchors>
							<Anchor point="LEFT" relativeTo="TrainerSkillsExpandTabLeft" relativePoint="RIGHT">
								<Offset>
									<AbsDimension x="0" y="3"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								TrainerSkillsExpandTabMiddle:SetWidth(this:GetTextWidth() + 24);
							</OnLoad>
							<OnClick>
								TrainerSkillsCollapseAllButton_OnClick();
							</OnClick>
						</Scripts>
					</Button>
				</Frames>
			</Frame>
			<Button name="TrainerSkillsDeleteTrainerButton">
				<Size>
					<AbsDimension x="32" y="32"/>
				</Size>
				<Anchors>
					<Anchor point="TOPRIGHT">
						<Offset>
							<AbsDimension x="-280" y="-37"/>
						</Offset>
					</Anchor>
				</Anchors>
				<HitRectInsets>
					<AbsInset left="9" right="7" top="-7" bottom="10"/>
				</HitRectInsets>
				<Scripts>
					<OnClick>
						StaticPopupDialogs["TRAINERSKILLS_DELETE_TRAINER"] = {
							text = TRAINERSKILLS_DELETE_BUTTON_CONFIRM.." "..TrainerSkills_GetSelectedNpc().."?",
							button1 = "Yes",
							button2 = "No",
							OnAccept = function()
								TrainerSkills_ResetDB(nil, 3);
							end,
							timeout = 0,
							exclusive = 1
						};
						StaticPopup_Show("TRAINERSKILLS_DELETE_TRAINER");
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(TRAINERSKILLS_DELETE_BUTTON);
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide();
					</OnLeave>
				</Scripts>
				<NormalTexture file="Interface\Buttons\CancelButton-Up"/>
				<PushedTexture file="Interface\Buttons\CancelButton-Down"/>
				<HighlightTexture file="Interface\Buttons\CancelButton-Highlight" alphaMode="ADD"/>
			</Button>
			<Frame name="TrainerSkillsNpcDropDown" inherits="UIDropDownMenuTemplate">
				<Anchors>
					<Anchor point="TOPRIGHT">
						<Offset>
							<AbsDimension x="-26" y="-37"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						
					</OnLoad>
					<OnShow>
						UIDropDownMenu_Initialize(this, TrainerSkillsNpcDropDown_Initialize);
					</OnShow>
				</Scripts>
			</Frame>
			<Button name="TrainerSkillsDeleteCharacterButton">
				<Size>
					<AbsDimension x="32" y="32"/>
				</Size>
				<Anchors>
					<Anchor point="TOPRIGHT">
						<Offset>
							<AbsDimension x="-280" y="-64"/>
						</Offset>
					</Anchor>
				</Anchors>
				<HitRectInsets>
					<AbsInset left="9" right="7" top="-7" bottom="10"/>
				</HitRectInsets>
				<Scripts>
					<OnClick>
						StaticPopupDialogs["TRAINERSKILLS_DELETE_CHARACTER"] = {
							text = TRAINERSKILLS_DELETE_BUTTON_CONFIRM.." "..TrainerSkills_GetSelectedCharacter().."?",
							button1 = "Yes",
							button2 = "No",
							OnAccept = function()
								TrainerSkills_ResetDB(TrainerSkills_GetSelectedCharacter(), 6);
							end,
							timeout = 0,
							exclusive = 1
						};
						StaticPopup_Show("TRAINERSKILLS_DELETE_CHARACTER");
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(TRAINERSKILLS_DELETE_CHARACTER_BUTTON);
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide();
					</OnLeave>
				</Scripts>
				<NormalTexture file="Interface\Buttons\CancelButton-Up"/>
				<PushedTexture file="Interface\Buttons\CancelButton-Down"/>
				<HighlightTexture file="Interface\Buttons\CancelButton-Highlight" alphaMode="ADD"/>
			</Button>
			<Frame name="TrainerSkillsCharDropDown" inherits="UIDropDownMenuTemplate">
				<Anchors>
					<Anchor point="TOPRIGHT">
						<Offset>
							<AbsDimension x="-105" y="-64"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
					
					</OnLoad>
					<OnShow>
						UIDropDownMenu_Initialize(this, TrainerSkillsCharDropDown_Initialize);
					</OnShow>
				</Scripts>
			</Frame>
			<Frame name="TrainerSkillsFilterDropDown" inherits="UIDropDownMenuTemplate" enableMouse="true">
				<Anchors>
					<Anchor point="TOPRIGHT">
						<Offset>
							<AbsDimension x="-26" y="-64"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						TrainerSkillsFilterDropDown_OnLoad();
					</OnLoad>
					<OnShow>
						TrainerSkillsFilterDropDown_OnLoad();
					</OnShow>
				</Scripts>
			</Frame>
			<Frame name="TrainerSkillsSkillHighlightFrame" hidden="true">
				<Size>
					<AbsDimension x="293" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT"/>
				</Anchors>
				<Layers>
					<Layer level="ARTWORK">
						<Texture name="TrainerSkillsSkillHighlight" file="Interface\Buttons\UI-Listbox-Highlight2"/>
					</Layer>
				</Layers>
			</Frame>
			<Button name="TrainerSkillsSkill1" inherits="TrainerSkillsSkillButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="TrainerSkills">
						<Offset>
							<AbsDimension x="22" y="-100"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="TrainerSkillsSkill2" inherits="TrainerSkillsSkillButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="TrainerSkillsSkill1" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="TrainerSkillsSkill3" inherits="TrainerSkillsSkillButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="TrainerSkillsSkill2" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="TrainerSkillsSkill4" inherits="TrainerSkillsSkillButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="TrainerSkillsSkill3" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="TrainerSkillsSkill5" inherits="TrainerSkillsSkillButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="TrainerSkillsSkill4" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="TrainerSkillsSkill6" inherits="TrainerSkillsSkillButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="TrainerSkillsSkill5" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="TrainerSkillsSkill7" inherits="TrainerSkillsSkillButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="TrainerSkillsSkill6" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="TrainerSkillsSkill8" inherits="TrainerSkillsSkillButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="TrainerSkillsSkill7" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="TrainerSkillsSkill9" inherits="TrainerSkillsSkillButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="TrainerSkillsSkill8" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="TrainerSkillsSkill10" inherits="TrainerSkillsSkillButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="TrainerSkillsSkill9" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="TrainerSkillsSkill11" inherits="TrainerSkillsSkillButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="TrainerSkillsSkill10" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<ScrollFrame name="TrainerSkillsListScrollFrame" inherits="TrainerSkillsListScrollFrameTemplate">
				<Size>
					<AbsDimension x="296" y="184"/>
				</Size>
				<Anchors>
					<Anchor point="TOPRIGHT" relativeTo="TrainerSkills" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="-67" y="-96"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnVerticalScroll>
						FauxScrollFrame_OnVerticalScroll(CLASS_TRAINER_SKILL_HEIGHT, TrainerSkills_Update)
					</OnVerticalScroll>
					<OnScrollRangeChanged>
					</OnScrollRangeChanged>
				</Scripts>
			</ScrollFrame>
			<Frame name="TrainerSkillsMoneyFrame" inherits="SmallMoneyFrameTemplate">
				<Scripts>
					<OnClick>
					</OnClick>
					<OnEnter>
						TrainerSkillsCostToolTip_OnEnter();
					</OnEnter>
					<OnLeave>
						TrainerSkillsCostToolTip_OnLeave();
					</OnLeave>
				</Scripts>
				<Anchors>
					<Anchor point="BOTTOMRIGHT" relativeTo="TrainerSkills" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="180" y="86"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Frame>
			<ScrollFrame name="TrainerSkillsDetailScrollFrame" inherits="TrainerSkillsDetailScrollFrameTemplate">
				<Size>
					<AbsDimension x="296" y="135"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="TrainerSkillsListScrollFrame" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="-8"/>
						</Offset>
					</Anchor>
				</Anchors>
				<ScrollChild>
					<Frame name="TrainerSkillsDetailScrollChildFrame">
						<Size>
							<AbsDimension x="296" y="50"/>
						</Size>
						<Layers>
							<Layer level="BACKGROUND">
								<FontString name="TrainerSkillsSkillName" inherits="GameFontNormal" justifyH="LEFT">
									<Size>
										<AbsDimension x="244" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT">
											<Offset>
												<AbsDimension x="46" y="-2"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="TrainerSkillsSubSkillName" inherits="GameFontNormal" justifyH="LEFT">
									<Size>
										<AbsDimension x="0" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="LEFT" relativeTo="TrainerSkillsSkillName" relativePoint="RIGHT">
											<Offset>
												<AbsDimension x="5" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="TrainerSkillsSkillRequirements" inherits="GameFontHighlightSmall" justifyH="LEFT">
									<Size>
										<AbsDimension x="244" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="TrainerSkillsSkillName" relativePoint="BOTTOMLEFT">
											<Offset>
												<AbsDimension x="0" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="TrainerSkillsCostLabel" inherits="GameFontNormalSmall" justifyH="LEFT" text="COSTS_LABEL">
									<Anchors>
										<Anchor point="TOPLEFT">
											<Offset>
												<AbsDimension x="5" y="-50"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="TrainerSkillsSkillDescription" inherits="GameFontHighlightSmall" justifyH="LEFT">
									<Size>
										<AbsDimension x="290" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="TrainerSkillsCostLabel" relativePoint="BOTTOMLEFT">
											<Offset>
												<AbsDimension x="0" y="-10"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
							</Layer>
						</Layers>
						<Frames>
							<Button name="TrainerSkillsSkillIcon">
								<Size>
									<AbsDimension x="37" y="37"/>
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT">
										<Offset>
											<AbsDimension x="5" y="-4"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Layers>
									<Layer level="BACKGROUND">
										<Texture file="Interface\Buttons\UI-EmptySlot">
											<Size>
												<AbsDimension x="64" y="64"/>
											</Size>
											<Anchors>
												<Anchor point="TOPLEFT">
													<Offset>
														<AbsDimension x="-13" y="13"/>
													</Offset>
												</Anchor>
											</Anchors>
										</Texture>
									</Layer>
								</Layers>
								<Scripts>
									<OnEnter>							
										TrainerSkillsToolTip_OnEnter();
									</OnEnter>
									<OnLeave>
										TrainerSkillsToolTip_OnLeave();
									</OnLeave>
								</Scripts>
							</Button>
							<Frame name="TrainerSkillsDetailMoneyFrame" inherits="SmallMoneyFrameTemplate">
								<Anchors>
									<Anchor point="LEFT" relativeTo="TrainerSkillsCostLabel" relativePoint="RIGHT">
										<Offset>
											<AbsDimension x="5" y="0"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnLoad>
										SmallMoneyFrame_OnLoad();
										MoneyFrame_SetType("STATIC");
									</OnLoad>
								</Scripts>
							</Frame>
						</Frames>
					</Frame>
				</ScrollChild>
			</ScrollFrame>
			<Button name="TrainerSkillsConfigButton" inherits="UIPanelButtonTemplate" text="TRAINERSKILLS_OPEN_CONFIG">
				<Size>
					<AbsDimension x="80" y="22"/>
				</Size>
				<Anchors>
					<Anchor point="CENTER" relativeTo="TrainerSkills" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="224" y="-420"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						TrainerSkillsConfig:Show();
					</OnClick>
				</Scripts>
			</Button>
			<Button name="TrainerSkillsCancelButton" inherits="UIPanelButtonTemplate" text="EXIT">
				<Size>
					<AbsDimension x="80" y="22"/>
				</Size>
				<Anchors>
					<Anchor point="CENTER" relativeTo="TrainerSkills" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="305" y="-420"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						TrainerSkills_Hide();
					</OnClick>
				</Scripts>
			</Button>
			<Button name="TrainerSkillsCloseButton" inherits="UIPanelCloseButton">
				<Anchors>
					<Anchor point="TOPRIGHT" relativeTo="TrainerSkills" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="-29" y="-8"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
		</Frames>
	</Frame>

	<GameTooltip name="TrainerSkillsTT" hidden="true">
   		<Layers>
			<Layer level="ARTWORK">
				<FontString name="$parentTextLeft1" inherits="GameTooltipHeaderText" hidden="true"/>
        		<FontString name="$parentTextRight1" inherits="GameTooltipHeaderText" hidden="true"/>
				<FontString name="$parentTextLeft2" inherits="GameTooltipText" hidden="true"/>
				<FontString name="$parentTextRight2" inherits="GameTooltipText" hidden="true"/>
			</Layer>
		</Layers>
	</GameTooltip>
	<Button name="TrainerSkillsMinimapButton" parent="Minimap" toplevel="true" movable="true" frameStrata="LOW">
		<Size>
			<AbsDimension x="30" y="30"/>
		</Size>
		<Anchors>
			<Anchor point="TOPLEFT" relativeTo="Minimap" relativePoint="RIGHT">
				<Offset>
					<AbsDimension x="-10" y="10"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Scripts>
			<OnEnter>							
				TrainerSkillsMinimapButton_OnEnter();
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide();
			</OnLeave>
			<OnClick>
				TrainerSkills_Toggle();
			</OnClick>
			<OnMouseDown>
				TrainerSkillsMinimapButton_MouseDown();
			</OnMouseDown>
			<OnMouseUp>
				TrainerSkillsMinimapButton_MouseUp();
			</OnMouseUp>
		</Scripts>
		<NormalTexture file="Interface\AddOns\TrainerSkills\Images\Button_Up.tga"/>
		<PushedTexture file="Interface\AddOns\TrainerSkills\Images\Button_Down.tga"/>
		<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
	</Button>
	<Frame name="TrainerSkillsTimer" frameStrata="LOW" enableMouse="false" hidden="true">
		<Scripts>
			<OnUpdate>
				TrainerSkillsTimer_OnUpdate(arg1);
			</OnUpdate>
		</Scripts>
	</Frame>
	<Frame parent="UIParent" hide="true">
    <Frames>
      <Button name="TitanPanelTrainerSkillsButton" inherits="TitanPanelIconTemplate" frameStrata="FULLSCREEN" toplevel="true">
        <Scripts>
          <OnLoad>
            if TitanPanelButton_OnLoad then
              TitanPanelTrainerSkillsButton_OnLoad();
              TitanPanelButton_OnLoad();
            end
          </OnLoad>
          <OnClick>
            TitanPanelTrainerSkillsButton_OnClick(arg1);
            TitanPanelButton_OnClick(arg1);
          </OnClick>
        </Scripts>
      </Button>
    </Frames>
  </Frame>
</Ui>
