<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="MetaMapHLP.lua"/>

	<Button name="HLP_ButtonTemplate" virtual="true">
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="$parentHeader" inherits="MetaMap_FontSmallTemplate" justifyH="LEFT" text="">
					<Anchors>
						<Anchor point="LEFT">
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentText" inherits="MetaMap_FontSmallTemplate" justifyH="LEFT" text="">
					<Anchors>
						<Anchor point="LEFT">
							<Offset><AbsDimension x="10" y="0"/></Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
			<Layer level="BACKGROUND">
				<Texture name="$parentHighlight" file="Interface\QuestFrame\UI-QuestTitleHighlight"	alphaMode="ADD"	setAllPoints="true"	hidden="true"/>
			</Layer>
		</Layers>
		<Scripts>
			<OnLoad>
				this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
			</OnLoad>
			<OnClick>
				HLPButton_OnClick();
			</OnClick>
			<OnEnter>
				if(this.item and strlen(this.item) > 0) then
					getglobal(this:GetName().."Highlight"):SetVertexColor(0.5, 0.5, 0.5);
					getglobal(this:GetName().."Highlight"):Show();
				end
			</OnEnter>
			<OnLeave>
				getglobal(this:GetName().."Highlight"):Hide();
			</OnLeave>
		</Scripts>
	</Button>

	<Frame name="HLP_DisplayFrame" parent="MetaMap_HelpDialog">
		<Anchors>
			<Anchor point="TOPLEFT"/>
			<Anchor point="BOTTOMRIGHT"/>
		</Anchors>
		<Frames>
			<Frame name="HLP_MenuSelect" toplevel="true" inherits="MetaMap_DropdownTemplate" id="2">
				<Size>
					<AbsDimension	x="150"	y="24" />
				</Size>
				<Anchors>
					<Anchor point="TOPRIGHT">
						<Offset><AbsDimension x="-10" y="-10"/></Offset>
					</Anchor>
				</Anchors>
			</Frame>
			<ScrollFrame name="HLP_ScrollFrame" inherits="UIPanelScrollFrameTemplate">
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="0" y="-30"/>
						</Offset>
					</Anchor>
					<Anchor point="BOTTOMRIGHT">
						<Offset>
							<AbsDimension x="-30" y="10"/>
						</Offset>
					</Anchor>
				</Anchors>
				<ScrollChild>
					<Frame name="HLP_ScrollChild">
						<Size>
							<AbsDimension x="600" y="500"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT"/>
							<Anchor point="TOPRIGHT"/>
						</Anchors>
					</Frame>
				</ScrollChild>
			</ScrollFrame>
		</Frames>
		<Scripts>
			<OnLoad>
				this:RegisterEvent("ADDON_LOADED");
				HLP_MenuSelect:SetScale(0.80);
			</OnLoad>
			<OnEvent>
				HLP_OnEvent(event, arg1);
			</OnEvent>
		</Scripts>
	</Frame>
</Ui>
