<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<Script file="QuestLogFrame.lua"/>

	<StatusBar name="AchievementProgressBarTemplate" virtual="true">
		<Size>
			<AbsDimension x="212" y="14"/>
		</Size>
		<Anchors>
			<Anchor point="CENTER"/>
		</Anchors>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture name="$parentBG">
					<Anchors>
						<Anchor point="TOPLEFT"/>
						<Anchor point="BOTTOMRIGHT"/>
					</Anchors>
					<Color r="0" g="0" b="0" a=".4"/>
				</Texture>
			</Layer>
			<Layer level="ARTWORK">
				<FontString name="$parentText" inherits="GameFontHighlightSmall" text="700/700" justifyV="TOP">
					<Size y="13" x="150"/>
					<Anchors>
						<Anchor point="TOP">
							<Offset x="0" y="-2"/>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
			<Layer level="OVERLAY">
				<Texture name="$parentBorder" file="Interface\AchievementFrame\UI-Achievement-ProgressBar-Border">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="-6" y="5"/>
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMRIGHT">
							<Offset>
								<AbsDimension x="6" y="-5"/>
							</Offset>
						</Anchor>
					</Anchors>
					<TexCoords left="0" right="0.8745" top="0" bottom="0.75"/>
				</Texture>
			</Layer>
		</Layers>
		<Scripts>
			<OnLoad>
				self:SetStatusBarColor(0, .6, 0, 1);
				self:SetMinMaxValues(0, 100);
				self:SetValue(0);
				self.text = getglobal(self:GetName() .. "Text");
			</OnLoad>
		</Scripts>
		<BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
	</StatusBar>

	<Button name="QuestLogTitleButtonTemplate" virtual="true">
		<Size>
			<AbsDimension x="300" y="16"/>
		</Size>
		<Layers>
			<Layer level="BACKGROUND">
				<FontString name="$parentTag" inherits="GameFontNormal" justifyH="RIGHT">
					<Size>
						<AbsDimension x="0" y="16"/>
					</Size>
					<Anchors>
						<Anchor point="RIGHT">
							<Offset>
								<AbsDimension x="-2" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentGroupMates" inherits="GameFontNormalSmall" justifyH="RIGHT">
					<Size>
						<AbsDimension x="0" y="16"/>
					</Size>
					<Anchors>
						<Anchor point="LEFT">
							<Offset>
								<AbsDimension x="8" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<Texture name="$parentCheck" file="Interface\Buttons\UI-CheckBox-Check" hidden="true">
					<Size>
						<AbsDimension x="16" y="16"/>
					</Size>
					<Anchors>
						<Anchor point="LEFT">
							<Offset>
								<AbsDimension x="50" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<Scripts>
			<OnLoad>
				QuestLogTitleButton_OnLoad(self);
			</OnLoad>
			<OnEvent>
				QuestLogTitleButton_OnEvent(self, event, ...);
			</OnEvent>
			<OnClick>
				QuestLogTitleButton_OnClick(self, button);
			</OnClick>
			<OnEnter>
				QuestLogTitleButton_OnEnter(self);
			</OnEnter>
			<OnLeave>
				if (self:GetID() ~= (QuestLogFrame.selectedButtonID - FauxScrollFrame_GetOffset(QuestLogListScrollFrame))) then
					getglobal(self:GetName().."Tag"):SetTextColor(self.r, self.g, self.b);
				end
				GameTooltip:Hide();
			</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>
		<ButtonText name="$parentNormalText" nonspacewrap="true">
			<Size>
				<AbsDimension x="0" y="10"/>
			</Size>
			<Anchors>
				<Anchor point="LEFT">
					<Offset>
						<AbsDimension x="20" y="0"/>
					</Offset>
				</Anchor>
			</Anchors>
		</ButtonText>
		<NormalFont style="GameFontNormalLeft"/>
		<HighlightFont style="GameFontHighlightLeft"/>
		<DisabledFont style="GameFontHighlightLeft"/>
	</Button>
	<Button name="QuestLogRewardItemTemplate" inherits="QuestItemTemplate" virtual="true">
		<Scripts>
			<OnEnter>
				GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
				if self.rewardType == "item" then
					GameTooltip:SetQuestLogItem(self.type, self:GetID());
					GameTooltip_ShowCompareItem();
				elseif self.rewardType == "spell" then
					GameTooltip:SetQuestLogRewardSpell();
				end
			</OnEnter>
			<OnClick>
				if self.rewardType == "spell" then
					if IsModifiedClick("CHATLINK") then
						ChatEdit_InsertLink(GetQuestLogSpellLink());
					end
				else
					HandleModifiedItemClick(GetQuestLogItemLink(self.type, self:GetID()));
				end
			</OnClick>
		</Scripts>
	</Button>
	<Frame name="QuestLogFrame" toplevel="true" enableMouse="true" movable="true" parent="UIParent" hidden="true">
		<Size>
			<AbsDimension x="384" y="512"/>
		</Size>
		<Anchors>
			<Anchor point="TOPLEFT">
				<Offset>
					<AbsDimension x="0" y="-104"/>
				</Offset>
			</Anchor>
		</Anchors>
		<HitRectInsets>
			<AbsInset left="0" right="35" top="0" bottom="75"/>
		</HitRectInsets>
		<Layers>
			<Layer level="BACKGROUND">
				<FontString name="QuestLogDummyText" inherits="GameFontNormal" hidden="true">
					<Size>
						<AbsDimension x="0" y="13"/>
					</Size>
				</FontString>
				<Texture file="Interface\QuestFrame\UI-QuestLog-BookIcon">
					<Size>
						<AbsDimension x="64" y="64"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="4" y="-4"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="ARTWORK">
				<Texture file="Interface\QuestFrame\UI-QuestLog-TopLeft">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT"/>
					</Anchors>
				</Texture>
				<Texture file="Interface\QuestFrame\UI-QuestLog-TopRight">
					<Size>
						<AbsDimension x="128" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPRIGHT"/>
					</Anchors>
				</Texture>
				<Texture file="Interface\QuestFrame\UI-QuestLog-BotLeft">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="BOTTOMLEFT"/>
					</Anchors>
				</Texture>
				<Texture file="Interface\QuestFrame\UI-QuestLog-BotRight">
					<Size>
						<AbsDimension x="128" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="BOTTOMRIGHT"/>
					</Anchors>
				</Texture>
				<FontString name="QuestLogTitleText" inherits="GameFontHighlight" text="QUEST_LOG">
					<Size>
						<AbsDimension x="300" y="14"/>
					</Size>
					<Anchors>
						<Anchor point="TOP" relativeTo="QuestLogFrame" relativePoint="TOP">
							<Offset>
								<AbsDimension x="0" y="-15"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Frame name="QuestLogExpandButtonFrame">
				<Size>
					<AbsDimension x="54" y="32"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="70" y="-48"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Frames>
					<Button name="QuestLogCollapseAllButton" hidden="false" inherits="QuestLogTitleButtonTemplate" text="ALL">
						<Size>
							<AbsDimension x="40" y="22"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="0" y="-2"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="BACKGROUND">
								<Texture name="QuestLogExpandTabLeft" file="Interface\QuestFrame\UI-QuestLogSortTab-Left">
									<Size>
										<AbsDimension x="8" y="32"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT">
											<Offset>
												<AbsDimension x="-6" y="8"/>
											</Offset>
										</Anchor>
									</Anchors>
								</Texture>
								<Texture name="QuestLogExpandTabMiddle" file="Interface\QuestFrame\UI-QuestLogSortTab-Middle">
									<Size>
										<AbsDimension x="38" y="32"/>
									</Size>
									<Anchors>
										<Anchor point="LEFT" relativeTo="QuestLogExpandTabLeft" relativePoint="RIGHT">
											<Offset>
												<AbsDimension x="0" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
								</Texture>
								<Texture file="Interface\QuestFrame\UI-QuestLogSortTab-Right">
									<Size>
										<AbsDimension x="8" y="32"/>
									</Size>
									<Anchors>
										<Anchor point="LEFT" relativeTo="QuestLogExpandTabMiddle" relativePoint="RIGHT"/>
									</Anchors>
								</Texture>
							</Layer>
						</Layers>
						<Scripts>
							<OnLoad>
								QuestLogCollapseAllButtonNormalText:SetWidth(0);
								QuestLogExpandTabMiddle:SetWidth(self:GetTextWidth() + 24);
							</OnLoad>
							<OnClick>
								QuestLogCollapseAllButton_OnClick(self, button);
							</OnClick>
							<OnEnter>
								--
							</OnEnter>
							<OnLeave>
								--
							</OnLeave>
						</Scripts>
					</Button>
				</Frames>
			</Frame>
			<Frame name="QuestLogTrack" enableMouse="true">
				<Size>
					<AbsDimension x="20" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="LEFT" relativeTo="QuestLogExpandButtonFrame" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="5" y="10"/>
						</Offset>
					</Anchor>
				</Anchors>
				<HitRectInsets>
					<AbsInset left="0" right="-80" top="0" bottom="0"/>
				</HitRectInsets>
				<Layers>
					<Layer level="BACKGROUND">
						<FontString name="QuestLogTrackTitle" inherits="GameFontHighlightSmall" text="TRACK_QUEST">
							<Anchors>
								<Anchor point="LEFT" relativePoint="RIGHT">
									<Offset>
										<AbsDimension x="0" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<Texture file="Interface\Buttons\UI-RadioButton">
							<TexCoords left="0" right="0.25" top="0" bottom="1"/>
						</Texture>
						<Texture name="QuestLogTrackTracking" file="Interface\Buttons\UI-RadioButton">
							<TexCoords left="0.25" right="0.5" top="0" bottom="1"/>
						</Texture>
					</Layer>
				</Layers>
				<Scripts>
					<OnLoad>
						QuestLogTrackTracking:SetVertexColor(1.0, 0, 0);
					</OnLoad>
					<OnEnter>
						GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
						GameTooltip:SetText(QUEST_WATCH_TOOLTIP, nil,nil, nil, nil, 1);
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide();
					</OnLeave>
				</Scripts>
			</Frame>
			<Frame name="EmptyQuestLogFrame" hidden="true">
				<Size>
					<AbsDimension x="384" y="512"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="19" y="-73"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<Texture file="Interface\QuestFrame\UI-QuestLog-Empty-TopLeft">
							<Size>
								<AbsDimension x="256" y="256"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT"/>
							</Anchors>
						</Texture>
						<Texture file="Interface\QuestFrame\UI-QuestLog-Empty-TopRight">
							<Size>
								<AbsDimension x="64" y="256"/>
							</Size>
							<Anchors>
								<Anchor point="TOPRIGHT">
									<Offset>
										<AbsDimension x="-64" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Texture>
						<Texture file="Interface\QuestFrame\UI-QuestLog-Empty-BotLeft">
							<Size>
								<AbsDimension x="256" y="128"/>
							</Size>
							<Anchors>
								<Anchor point="BOTTOMLEFT">
									<Offset>
										<AbsDimension x="0" y="128"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Texture>
						<Texture file="Interface\QuestFrame\UI-QuestLog-Empty-BotRight">
							<Size>
								<AbsDimension x="64" y="128"/>
							</Size>
							<Anchors>
								<Anchor point="BOTTOMRIGHT">
									<Offset>
										<AbsDimension x="-64" y="128"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Texture>
						<FontString name="QuestLogNoQuestsText" inherits="GameFontHighlight" text="QUESTLOG_NO_QUESTS_TEXT">
							<Size>
								<AbsDimension x="200" y="16"/>
							</Size>
							<Anchors>
								<Anchor point="TOP" relativeTo="QuestLogTitleText">
									<Offset>
										<AbsDimension x="-20" y="-90"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
			</Frame>
			<Frame name="QuestLogCount">
				<Size>
					<AbsDimension x="120" y="20"/>
				</Size>
				<Anchors>
					<Anchor point="TOPRIGHT" relativeTo="QuestLogFrame">
						<Offset>
							<AbsDimension x="-44" y="-41"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<Texture name="QuestLogCountTopRight" file="Interface\Common\Common-Input-Border">
							<Size>
								<AbsDimension x="8" y="8"/>
							</Size>
							<Anchors>
								<Anchor point="TOPRIGHT"/>
							</Anchors>
							<TexCoords left="0.9375" right="1.0" top="0" bottom="0.25"/>
						</Texture>
						<Texture name="QuestLogCountBottomRight" file="Interface\Common\Common-Input-Border">
							<Size>
								<AbsDimension x="8" y="8"/>
							</Size>
							<Anchors>
								<Anchor point="BOTTOMRIGHT"/>
							</Anchors>
							<TexCoords left="0.9375" right="1.0" top="0.375" bottom="0.625"/>
						</Texture>
						<Texture name="QuestLogCountRight" file="Interface\Common\Common-Input-Border">
							<Size>
								<AbsDimension x="8" y="0"/>
							</Size>
							<Anchors>
								<Anchor point="TOP" relativeTo="QuestLogCountTopRight" relativePoint="BOTTOM"/>
								<Anchor point="BOTTOM" relativeTo="QuestLogCountBottomRight" relativePoint="TOP"/>
							</Anchors>
							<TexCoords left="0.9375" right="1.0" top="0.25" bottom="0.375"/>
						</Texture>
						<Texture name="QuestLogCountTopLeft" file="Interface\Common\Common-Input-Border">
							<Size>
								<AbsDimension x="8" y="8"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT"/>
							</Anchors>
							<TexCoords left="0" right="0.0625" top="0" bottom="0.25"/>
						</Texture>
						<Texture name="QuestLogCountBottomLeft" file="Interface\Common\Common-Input-Border">
							<Size>
								<AbsDimension x="8" y="8"/>
							</Size>
							<Anchors>
								<Anchor point="BOTTOMLEFT"/>
							</Anchors>
							<TexCoords left="0" right="0.0625" top="0.375" bottom="0.625"/>
						</Texture>
						<Texture name="QuestLogCountLeft" file="Interface\Common\Common-Input-Border">
							<Size>
								<AbsDimension x="8" y="0"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="QuestLogCountTopLeft" relativePoint="BOTTOMLEFT"/>
								<Anchor point="BOTTOMLEFT" relativeTo="QuestLogCountBottomLeft" relativePoint="TOPLEFT"/>
							</Anchors>
							<TexCoords left="0" right="0.0625" top="0.25" bottom="0.375"/>
						</Texture>
						<Texture name="QuestLogCountTopMiddle" file="Interface\Common\Common-Input-Border">
							<Size>
								<AbsDimension x="100" y="8"/>
							</Size>
							<Anchors>
								<Anchor point="RIGHT" relativeTo="QuestLogCountTopRight" relativePoint="LEFT"/>
								<Anchor point="LEFT" relativeTo="QuestLogCountTopLeft" relativePoint="RIGHT"/>
							</Anchors>
							<TexCoords left="0.0625" right="0.9375" top="0" bottom="0.25"/>
						</Texture>
						<Texture name="QuestLogCountMiddleMiddle" file="Interface\Common\Common-Input-Border">
							<Size>
								<AbsDimension x="100" y="4"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="QuestLogCountTopLeft" relativePoint="BOTTOMRIGHT"/>
								<Anchor point="BOTTOMRIGHT" relativeTo="QuestLogCountBottomRight" relativePoint="TOPLEFT"/>
							</Anchors>
							<TexCoords left="0.0625" right="0.9375" top="0.25" bottom="0.375"/>
						</Texture>
						<Texture name="QuestLogCountBottomMiddle" file="Interface\Common\Common-Input-Border">
							<Size>
								<AbsDimension x="100" y="8"/>
							</Size>
							<Anchors>
								<Anchor point="RIGHT" relativeTo="QuestLogCountBottomRight" relativePoint="LEFT"/>
								<Anchor point="LEFT" relativeTo="QuestLogCountBottomLeft" relativePoint="RIGHT"/>
							</Anchors>
							<TexCoords left="0.0625" right="0.9375" top="0.375" bottom="0.625"/>
						</Texture>
						<FontString name="QuestLogQuestCount" inherits="GameFontNormalSmall">
							<Anchors>
								<Anchor point="TOPRIGHT" relativeTo="QuestLogCountTopRight" relativePoint="BOTTOMLEFT">
									<Offset>
										<AbsDimension x="1" y="3"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="QuestLogDailyQuestCount" inherits="GameFontNormalSmall">
							<Anchors>
								<Anchor point="TOPRIGHT" relativeTo="QuestLogQuestCount" relativePoint="BOTTOMRIGHT">
									<Offset>
										<AbsDimension x="0" y="-2"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
				<Frames>
					<Frame name="DailyQuestCountButton" enableMouse="true">
						<Size>
							<AbsDimension x="5" y="12"/>
						</Size>
						<Anchors>
							<Anchor point="LEFT" relativeTo="QuestLogDailyQuestCount"/>
							<Anchor point="RIGHT" relativeTo="QuestLogDailyQuestCount"/>
						</Anchors>
						<Scripts>
							<OnEnter>
								GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
								GameTooltip:SetText(format(QUEST_LOG_DAILY_TOOLTIP, GetMaxDailyQuests(), SecondsToTime(GetQuestResetTime(), nil, 1)));
							</OnEnter>
							<OnLeave>
								GameTooltip:Hide();
							</OnLeave>
						</Scripts>
					</Frame>
				</Frames>
			</Frame>
			<Button name="QuestLogFrameCloseButton" inherits="UIPanelCloseButton">
				<Anchors>
					<Anchor point="TOPRIGHT" relativeTo="QuestLogFrame" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="-30" y="-8"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="QuestLogFrameAbandonButton" inherits="UIPanelButtonTemplate" text="ABANDON_QUEST">
				<Size>
					<AbsDimension x="125" y="21"/>
				</Size>
				<Anchors>
					<Anchor point="BOTTOMLEFT" relativeTo="QuestLogFrame" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="17" y="54"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						SetAbandonQuest();
						local items = GetAbandonQuestItems();
						if items then
							StaticPopup_Hide("ABANDON_QUEST");
							StaticPopup_Show("ABANDON_QUEST_WITH_ITEMS", GetAbandonQuestName(), items);
						else
							StaticPopup_Hide("ABANDON_QUEST_WITH_ITEMS");
							StaticPopup_Show("ABANDON_QUEST", GetAbandonQuestName());
						end
					</OnClick>
					<OnEnter>
						GameTooltip_AddNewbieTip(self, ABANDON_QUEST, 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_ABANDONQUEST, 1);
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide();
					</OnLeave>
				</Scripts>
			</Button>
			<Button name="QuestFrameExitButton" inherits="UIPanelButtonTemplate" text="EXIT">
				<Size>
					<AbsDimension x="77" y="21"/>
				</Size>
				<Anchors>
					<Anchor point="BOTTOMRIGHT" relativeTo="QuestLogFrame" relativePoint="BOTTOMRIGHT">
						<Offset>
							<AbsDimension x="-43" y="54"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						HideUIPanel(QuestLogFrame);
					</OnClick>
				</Scripts>
			</Button>
			<Button name="QuestFramePushQuestButton" inherits="UIPanelButtonTemplate" text="SHARE_QUEST">
				<Size>
					<AbsDimension x="123" y="21"/>
				</Size>
				<Anchors>
					<Anchor point="RIGHT" relativeTo="QuestFrameExitButton" relativePoint="LEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						QuestLogPushQuest();
					</OnClick>
					<OnEnter>
						GameTooltip_AddNewbieTip(self, SHARE_QUEST, 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_SHAREQUEST, 1);
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide();
					</OnLeave>
				</Scripts>
			</Button>
			<Frame name="QuestLogHighlightFrame" hidden="true">
				<Size>
					<AbsDimension x="293" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT"/>
				</Anchors>
				<Layers>
					<Layer level="ARTWORK">
						<Texture name="QuestLogSkillHighlight" file="Interface\QuestFrame\UI-QuestLogTitleHighlight" alphaMode="ADD"/>
					</Layer>
				</Layers>
			</Frame>
			<Button name="QuestLogTitle1" inherits="QuestLogTitleButtonTemplate" id="1" hidden="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="QuestLogFrame">
						<Offset>
							<AbsDimension x="19" y="-75"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="QuestLogTitle2" inherits="QuestLogTitleButtonTemplate" id="2" hidden="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="QuestLogTitle1" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="QuestLogTitle3" inherits="QuestLogTitleButtonTemplate" id="3" hidden="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="QuestLogTitle2" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="QuestLogTitle4" inherits="QuestLogTitleButtonTemplate" id="4" hidden="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="QuestLogTitle3" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="QuestLogTitle5" inherits="QuestLogTitleButtonTemplate" id="5" hidden="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="QuestLogTitle4" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="QuestLogTitle6" inherits="QuestLogTitleButtonTemplate" id="6" hidden="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="QuestLogTitle5" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<ScrollFrame name="QuestLogListScrollFrame" inherits="FauxScrollFrameTemplate">
				<Size>
					<AbsDimension x="300" y="93"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="QuestLogFrame">
						<Offset>
							<AbsDimension x="19" y="-75"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnVerticalScroll>
						FauxScrollFrame_OnVerticalScroll(self, offset, QUESTLOG_QUEST_HEIGHT, QuestLog_Update);
					</OnVerticalScroll>
				</Scripts>
			</ScrollFrame>
			<ScrollFrame name="QuestLogDetailScrollFrame" inherits="UIPanelScrollFrameTemplate">
				<Size>
					<AbsDimension x="300" y="261"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="QuestLogListScrollFrame" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="-7"/>
						</Offset>
					</Anchor>
				</Anchors>
				<ScrollChild>
					<Frame name="QuestLogDetailScrollChildFrame">
						<Size>
							<AbsDimension x="300" y="261"/>
						</Size>
						<Layers>
							<Layer level="BACKGROUND">
								<FontString name="QuestLogQuestTitle" inherits="QuestTitleFont" justifyH="LEFT" text="Quest title">
									<Size>
										<AbsDimension x="285" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT">
											<Offset>
												<AbsDimension x="5" y="-5"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="QuestLogObjectivesText" inherits="QuestFont" justifyH="LEFT">
									<Size>
										<AbsDimension x="275" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="QuestLogQuestTitle" relativePoint="BOTTOMLEFT">
											<Offset>
												<AbsDimension x="0" y="-5"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="QuestLogTimerText" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
									<Size>
										<AbsDimension x="285" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="QuestLogObjectivesText" relativePoint="BOTTOMLEFT">
											<Offset>
												<AbsDimension x="0" y="-10"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="QuestLogObjective1" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
									<Size>
										<AbsDimension x="285" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="QuestLogTimerText" relativePoint="BOTTOMLEFT">
											<Offset>
												<AbsDimension x="0" y="-10"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="QuestLogObjective2" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
									<Size>
										<AbsDimension x="285" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="QuestLogObjective1" relativePoint="BOTTOMLEFT">
											<Offset>
												<AbsDimension x="0" y="-2"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="QuestLogObjective3" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
									<Size>
										<AbsDimension x="285" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="QuestLogObjective2" relativePoint="BOTTOMLEFT">
											<Offset>
												<AbsDimension x="0" y="-2"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="QuestLogObjective4" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
									<Size>
										<AbsDimension x="285" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="QuestLogObjective3" relativePoint="BOTTOMLEFT">
											<Offset>
												<AbsDimension x="0" y="-2"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="QuestLogObjective5" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
									<Size>
										<AbsDimension x="285" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="QuestLogObjective4" relativePoint="BOTTOMLEFT">
											<Offset>
												<AbsDimension x="0" y="-2"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="QuestLogObjective6" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
									<Size>
										<AbsDimension x="285" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="QuestLogObjective5" relativePoint="BOTTOMLEFT">
											<Offset>
												<AbsDimension x="0" y="-2"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="QuestLogObjective7" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
									<Size>
										<AbsDimension x="285" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="QuestLogObjective6" relativePoint="BOTTOMLEFT">
											<Offset>
												<AbsDimension x="0" y="-2"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="QuestLogObjective8" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
									<Size>
										<AbsDimension x="285" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="QuestLogObjective7" relativePoint="BOTTOMLEFT">
											<Offset>
												<AbsDimension x="0" y="-2"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="QuestLogObjective9" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
									<Size>
										<AbsDimension x="285" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="QuestLogObjective8" relativePoint="BOTTOMLEFT">
											<Offset>
												<AbsDimension x="0" y="-2"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="QuestLogObjective10" inherits="QuestFontNormalSmall" justifyH="LEFT" hidden="true">
									<Size>
										<AbsDimension x="285" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="QuestLogObjective9" relativePoint="BOTTOMLEFT">
											<Offset>
												<AbsDimension x="0" y="-2"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="QuestLogRequiredMoneyText" inherits="QuestFontNormalSmall" text="REQUIRED_MONEY">
									<Anchors>
										<Anchor point="TOPLEFT"/>
									</Anchors>
								</FontString>
								<FontString name="QuestLogSuggestedGroupNum" inherits="QuestFont">
									<Anchors>
										<Anchor point="TOPLEFT"/>
									</Anchors>
								</FontString>
								<FontString name="QuestLogDescriptionTitle" inherits="QuestTitleFont" justifyH="LEFT" text="QUEST_DESCRIPTION">
									<Size>
										<AbsDimension x="285" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="QuestLogObjective10" relativePoint="BOTTOMLEFT">
											<Offset>
												<AbsDimension x="0" y="-10"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="QuestLogQuestDescription" inherits="QuestFont" justifyH="LEFT">
									<Size>
										<AbsDimension x="270" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="QuestLogDescriptionTitle" relativePoint="BOTTOMLEFT">
											<Offset>
												<AbsDimension x="0" y="-5"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="QuestLogRewardTitleText" inherits="QuestTitleFont" text="QUEST_REWARDS" justifyH="LEFT">
									<Size>
										<AbsDimension x="300" y="18"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="QuestLogQuestDescription" relativePoint="BOTTOMLEFT">
											<Offset>
												<AbsDimension x="0" y="-15"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="QuestLogItemChooseText" inherits="QuestFont" text="REWARD_CHOICES" hidden="true" justifyH="LEFT">
									<Size>
										<AbsDimension x="295" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="QuestLogRewardTitleText" relativePoint="BOTTOMLEFT">
											<Offset>
												<AbsDimension x="0" y="-5"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="QuestLogItemReceiveText" inherits="QuestFont" hidden="true" justifyH="LEFT">
									<Anchors>
										<Anchor point="TOPLEFT"/>
									</Anchors>
								</FontString>
								<FontString name="QuestLogSpellLearnText" inherits="QuestFont" hidden="true" justifyH="LEFT">
									<Anchors>
										<Anchor point="TOPLEFT"/>
									</Anchors>
								</FontString>
								<FontString name="QuestLogPlayerTitleText" inherits="QuestFont" hidden="true" justifyH="LEFT">
									<Anchors>
										<Anchor point="TOPLEFT"/>
									</Anchors>
								</FontString>
							</Layer>
						</Layers>
						<Frames>
							<Button name="QuestLogItem1" inherits="QuestLogRewardItemTemplate" hidden="true">
								<Anchors>
									<Anchor point="TOPLEFT"/>
								</Anchors>
							</Button>
							<Button name="QuestLogItem2" inherits="QuestLogRewardItemTemplate" hidden="true">
								<Anchors>
									<Anchor point="TOPLEFT"/>
								</Anchors>
							</Button>
							<Button name="QuestLogItem3" inherits="QuestLogRewardItemTemplate" hidden="true">
								<Anchors>
									<Anchor point="TOPLEFT"/>
								</Anchors>
							</Button>
							<Button name="QuestLogItem4" inherits="QuestLogRewardItemTemplate" hidden="true">
								<Anchors>
									<Anchor point="TOPLEFT"/>
								</Anchors>
							</Button>
							<Button name="QuestLogItem5" inherits="QuestLogRewardItemTemplate" hidden="true">
								<Anchors>
									<Anchor point="TOPLEFT"/>
								</Anchors>
							</Button>
							<Button name="QuestLogItem6" inherits="QuestLogRewardItemTemplate" hidden="true">
								<Anchors>
									<Anchor point="TOPLEFT"/>
								</Anchors>
							</Button>
							<Button name="QuestLogItem7" inherits="QuestLogRewardItemTemplate" hidden="true">
								<Anchors>
									<Anchor point="TOPLEFT"/>
								</Anchors>
							</Button>
							<Button name="QuestLogItem8" inherits="QuestLogRewardItemTemplate" hidden="true">
								<Anchors>
									<Anchor point="TOPLEFT"/>
								</Anchors>
							</Button>
							<Button name="QuestLogItem9" inherits="QuestLogRewardItemTemplate" hidden="true">
								<Anchors>
									<Anchor point="TOPLEFT"/>
								</Anchors>
							</Button>
							<Button name="QuestLogItem10" inherits="QuestLogRewardItemTemplate" hidden="true">
								<Anchors>
									<Anchor point="TOPLEFT"/>
								</Anchors>
							</Button>
							<Frame name="QuestLogMoneyFrame" inherits="MoneyFrameTemplate">
								<Anchors>
									<Anchor point="LEFT" relativeTo="QuestLogItemReceiveText" relativePoint="RIGHT">
										<Offset>
											<AbsDimension x="15" y="0"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnLoad>
										QuestMoneyFrame_OnLoad(self);
									</OnLoad>
								</Scripts>
							</Frame>
							<Frame name="QuestLogHonorFrame" inherits="QuestHonorFrameTemplate">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="QuestLogItemReceiveText" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-5"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>
			  <Frame name="QuestLogTalentFrame" inherits="QuestTalentFrameTemplate">
				<Anchors>
				  <Anchor point="TOPLEFT" relativeTo="QuestLogItemReceiveText" relativePoint="BOTTOMLEFT">
					<Offset>
					  <AbsDimension x="0" y="-5"/>
					</Offset>
				  </Anchor>
				</Anchors>
			  </Frame>
			  <Frame name="QuestLogPlayerTitleFrame" inherits="QuestPlayerTitleFrameTemplate">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="QuestLogItemReceiveText" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-5"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>
							<Frame name="QuestLogRequiredMoneyFrame" inherits="MoneyFrameTemplate">
								<Anchors>
									<Anchor point="LEFT" relativeTo="QuestLogRequiredMoneyText" relativePoint="RIGHT">
										<Offset>
											<AbsDimension x="10" y="0"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnLoad>
										SmallMoneyFrame_OnLoad(self);
										MoneyFrame_SetType(self, "STATIC");
									</OnLoad>
								</Scripts>
							</Frame>
							<Frame name="QuestLogSpacerFrame">
								<Size>
									<AbsDimension x="5" y="25"/>
								</Size>
								<Anchors>
									<Anchor point="TOP">
										<Offset>
											<AbsDimension x="0" y="0"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>
						</Frames>
					</Frame>
				</ScrollChild>
			</ScrollFrame>
		</Frames>
		<Scripts>
			<OnEvent>
				QuestLog_OnEvent(self, event, ...);
			</OnEvent>
			<OnLoad>
				QuestLog_OnLoad(self);
			</OnLoad>
			<OnShow>
				QuestLog_OnShow();
			</OnShow>
			<OnHide>
				QuestLog_OnHide();
			</OnHide>
			<OnUpdate>
				QuestLog_OnUpdate(self, elapsed);
			</OnUpdate>
			<OnMouseWheel>
				return;
			</OnMouseWheel>
		</Scripts>
	</Frame>
	<FontString name="QuestWatchFontTemplate" inherits="GameFontHighlight" virtual="true" justifyH="LEFT">
		<Size>
			<AbsDimension x="0" y="13"/>
		</Size>
	</FontString>
	<FontString name="AchievementWatchFontTemplate" inherits="GameFontHighlight" virtual="true" justifyH="LEFT" justifyV="TOP">
		<Size>
			<AbsDimension x="0" y="16"/>
		</Size>
		<Color r=".8" g=".8" b=".8" a="1"/>
	</FontString>
	<Frame name="AchievementWatchLineTemplate" virtual="true">
		<Size>
			<AbsDimension x="200" y="15"/>
		</Size>
		<Anchors>
			<Anchor point="LEFT"/>
			<Anchor point="RIGHT"/>
		</Anchors>
		<Layers>
			<Layer level="BACKGROUND">
				<FontString name="$parentText" inherits="AchievementWatchFontTemplate">
					<Anchors>
						<Anchor point="LEFT">
							<Offset x="0" y="-1"/>
						</Anchor>
						<Anchor point="RIGHT"/>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<StatusBar name="$parentStatusBar" inherits="AchievementProgressBarTemplate" hidden="true">
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset x="10" y="0"/>
					</Anchor>
					<Anchor point="BOTTOMRIGHT">
						<Offset x="-16" y="0"/>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnShow>
						local parent = self:GetParent();
						getglobal(parent:GetName() .. "Button"):Show();
					</OnShow>
					<OnHide>
						local parent = self:GetParent();
						getglobal(parent:GetName() .. "Button"):Hide();
					</OnHide>
				</Scripts>
			</StatusBar>
			<Button name="$parentButton">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentStatusBar"/>
					<Anchor point="BOTTOMRIGHT" relativeTo="$parentStatusBar"/>
				</Anchors>
				<Scripts>
					<OnClick>
						local parent = self:GetParent();
						local statusBar = getglobal(parent:GetName() .. "StatusBar");
						if statusBar.OnClick then
							statusBar.OnClick(statusBar);
						end
					</OnClick>
				</Scripts>
			</Button>
		</Frames>
		<Scripts>
			<OnLoad>
				local name = self:GetName();
				self.text = getglobal(name .. "Text");
				self.border = getglobal(name .. "Border");
				self.icon = getglobal(name .. "Icon");
				self.statusBar = getglobal(name .. "StatusBar");
			</OnLoad>
		</Scripts>
	</Frame>
	<Frame name="QuestWatchFrame" toplevel="true" parent="UIParent" hidden="false">
		<Size>
			<AbsDimension x="280" y="20"/>
		</Size>
		<Anchors>
			<Anchor point="TOPRIGHT" relativeTo="MinimapCluster" relativePoint="BOTTOMRIGHT">
				<Offset>
					<AbsDimension x="0" y="10"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Layers>
			<Layer level="BACKGROUND">
				<FontString name="QuestWatchQuestName" inherits="GameFontNormal" justifyH="LEFT">
					<Size>
						<AbsDimension x="0" y="13"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine1" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchQuestName" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine2" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine1" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine3" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine2" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine4" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine3" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine5" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine4" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine6" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine5" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine7" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine6" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine8" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine7" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine9" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine8" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine10" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine9" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine11" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine10" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine12" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine11" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine13" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine12" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine14" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine13" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine15" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine14" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine16" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine15" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine17" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine16" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine18" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine17" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine19" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine18" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine20" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine19" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine21" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine20" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine22" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine21" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine23" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine22" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine24" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine23" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine25" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine24" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine26" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine25" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine27" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine26" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine28" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine27" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine29" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine28" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="QuestWatchLine30" inherits="QuestWatchFontTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="QuestWatchLine29" relativePoint="BOTTOMLEFT"/>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
	</Frame>
	<Frame name="AchievementWatchFrame" parent="UIParent" hidden="true">
		<Size x="280" y="20"/>
		<Anchors>
			<Anchor point="TOPRIGHT" relativeTo="MinimapCluster" relativePoint="BOTTOMRIGHT">
				<Offset>
					<AbsDimension x="0" y="10"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Frames>
			<Frame name="AchievementWatchLine1">
				<Size>
					<AbsDimension x="0" y="15"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT"/>
					<Anchor point="RIGHT"/>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<Texture name="$parentIcon" file="Interface\Icons\Spell_Misc_HellifrePVPHonorHoldFavor" hidden="true">
							<Size>
								<AbsDimension x="14" y="14"/>
							</Size>
							<Anchors>
								<Anchor point="LEFT"/>
							</Anchors>
						</Texture>
						<FontString name="$parentText" inherits="AchievementWatchFontTemplate">
							<Anchors>
								<Anchor point="LEFT" relativeTo="$parentIcon" relativePoint="RIGHT">
									<Offset x="4" y="-1"/>
								</Anchor>
								<Anchor point="RIGHT"/>
							</Anchors>
						</FontString>
					</Layer>
					<Layer level="BORDER">
						<Texture name="$parentBorder" file="Interface\AchievementFrame\UI-Achievement-Progressive-IconBorder" hidden="true">
							<Size>
								<AbsDimension x="22" y="22"/>
							</Size>
							<Anchors>
								<Anchor point="CENTER" relativeTo="$parentIcon">
									<Offset x="0" y="-1"/>
								</Anchor>
							</Anchors>
							<TexCoords left="0" right="0.65625" top="0" bottom="0.65625"/>
						</Texture>
					</Layer>
				</Layers>
				<Frames>
					<Button name="$parentButton">
						<Size x="14" y="14"/>
						<Anchors>
							<Anchor point="LEFT"/>
						</Anchors>
						<Scripts>
							<OnClick>
								AchievementWatchButton_OnClick(self);
							</OnClick>
						</Scripts>
					</Button>
				</Frames>
				<Scripts>
					<OnLoad>
						local name = self:GetName();
						self.text = getglobal(name .. "Text");
						self.border = getglobal(name .. "Border");
						self.icon = getglobal(name .. "Icon");
						self.statusBar = getglobal(name .. "StatusBar");
					</OnLoad>
				</Scripts>
			</Frame>
			<Frame name="AchievementWatchLine2" inherits="AchievementWatchLineTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="AchievementWatchLine1" relativePoint="BOTTOMLEFT">
						<Offset x="-4" y="-4"/>
					</Anchor>
				</Anchors>
			</Frame>
			<Frame name="AchievementWatchLine3" inherits="AchievementWatchLineTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="AchievementWatchLine2" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Frame>
			<Frame name="AchievementWatchLine4" inherits="AchievementWatchLineTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="AchievementWatchLine3" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Frame>
			<Frame name="AchievementWatchLine5" inherits="AchievementWatchLineTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="AchievementWatchLine4" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Frame>
			<Frame name="AchievementWatchLine6" inherits="AchievementWatchLineTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="AchievementWatchLine5" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Frame>
			<Frame name="AchievementWatchLine7" inherits="AchievementWatchLineTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="AchievementWatchLine6" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Frame>
			<Frame name="AchievementWatchLine8" inherits="AchievementWatchLineTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="AchievementWatchLine7" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Frame>
			<Frame name="AchievementWatchLine9" inherits="AchievementWatchLineTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="AchievementWatchLine8" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Frame>
			<Frame name="AchievementWatchLine10" inherits="AchievementWatchLineTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="AchievementWatchLine9" relativePoint="BOTTOMLEFT"/>
				</Anchors>
			</Frame>
		</Frames>
		<Scripts>
			<OnLoad>
				self:RegisterEvent("TRACKED_ACHIEVEMENT_UPDATE");
				self:RegisterEvent("PLAYER_ENTERING_WORLD");
				self:RegisterEvent("ACHIEVEMENT_EARNED");
				self.timers = {}
			</OnLoad>
			<OnEvent>
				AchievementWatch_OnEvent(self, event, ...);
			</OnEvent>
			<OnShow>
				AchievementWatch_Update();
				UIParent_ManageFramePositions();
			</OnShow>
			<OnHide>
				UIParent_ManageFramePositions();
			</OnHide>
		</Scripts>
	</Frame>
</Ui>
