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


	<!-- Virtual buffs template -->
	<Button name="Perl_Target_BuffTemplate" virtual="true">
		<Size>
			<AbsDimension x="24" y="24"/>
		</Size>
		<Layers>
			<Layer level="ARTWORK">
				<Texture name="$parentIcon">
					<Size>
						<AbsDimension x="24" y="24"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="OVERLAY">
				<Texture name="$parentDebuffBorder" file="Interface\Buttons\UI-Debuff-Overlays" hidden="true">
					<Size>
						<AbsDimension x="24" y="24"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
					<TexCoords left="0.296875" right="0.5703125" top="0" bottom="0.515625"/>
				</Texture>
				<FontString name="$parentCount" inherits="NumberFontNormalSmall">
					<Anchors>
						<Anchor point="BOTTOMRIGHT">
							<Offset>
								<AbsDimension x="-1" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Scripts>
			<OnEnter>
				Perl_Target_SetBuffTooltip();
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide();
			</OnLeave>
		</Scripts>
	</Button>


	<!-- Frame to display Target's health -->
	<Frame name="Perl_Target_Frame" movable="true" parent="UIParent" hidden="true" enableMouse="true">
		<Size>
			<!-- The size of this frame determines what can be clicked for the menu and moving, hence it is the same size as the name frame. (This is no longer true in 0.48) -->
			<AbsDimension x="180" y="24"/>
		</Size>
		<Anchors>
			<Anchor point="TOPLEFT">
				<Offset>
					<AbsDimension x="263" y="-43"/>
				</Offset>
			</Anchor>
		</Anchors>


		<!-- Script Events -->
		<Scripts>
			<OnLoad>
				Perl_Target_OnLoad();
			</OnLoad>
			<OnEvent>
				Perl_Target_OnEvent(event);
			</OnEvent>
			<OnShow>
				Perl_Target_OnShow();
			</OnShow>
			<OnHide>
				Perl_Target_OnHide();
			</OnHide>
			<OnUpdate>
				CombatFeedback_OnUpdate(arg1);
			</OnUpdate>
		</Scripts>

		<Frames>
			<!-- Frame for the drop down menu. -->
			<Frame name="Perl_Target_DropDown" inherits="UIDropDownMenuTemplate" id="1" hidden="true">
				<Size>
					<AbsDimension x="10" y="10"/>
				</Size>
				<Anchors>
					<Anchor point="TOP">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						Perl_TargetDropDown_OnLoad();
					</OnLoad>
				</Scripts>
			</Frame>


			<!-- Target Name -->
			<Frame name="Perl_Target_NameFrame">
				<Size>
					<AbsDimension x="180" y="24"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Backdrop bgFile="Interface\AddOns\Perl_Config\Perl_Black" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
					<EdgeSize>
						<AbsValue val="16"/>
					</EdgeSize>
					<TileSize>
						<AbsValue val="16"/>
					</TileSize>
					<BackgroundInsets>
						<AbsInset left="5" right="5" top="5" bottom="5"/>
					</BackgroundInsets>
				</Backdrop>
				<Frames>
					<StatusBar name="Perl_Target_NameFrame_CPMeter" inherits="TextStatusBar">
						<Size>
							<AbsDimension x="170" y="12"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="Perl_Target_NameFrame">
								<Offset>
									<AbsDimension x="6" y="-6"/>
								</Offset>
							</Anchor>
						</Anchors>
						<BarTexture name="Perl_Target_NameFrame_CPMeterTex" file="Interface\TargetingFrame\UI-StatusBar"/>
						<BarColor r="1" g="0" b="0" a="1"/>
					</StatusBar>
				</Frames>
				<Layers>
					<Layer level="OVERLAY">
						<!-- Class Icon -->
						<Texture name="Perl_Target_ClassTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Classes">
							<Size>
								<AbsDimension x="15" y="15"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
									<Offset>
										<AbsDimension x="5" y="-4"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Texture>

						<!-- PVP Icon -->
						<Texture name="Perl_Target_PVPStatus" file="Interface\TargetingFrame\UI-PVP-FFA">
							<Size>
								<AbsDimension x="32" y="32"/>
							</Size>
							<Anchors>
								<Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
									<Offset>
										<AbsDimension x="9" y="-2"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Texture>

						<!-- PVP Rank Icon -->
						<Texture name="Perl_Target_PVPRank">
							<Size>
								<AbsDimension x="16" y="16"/>
							</Size>
							<Anchors>
								<Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
									<Offset>
										<AbsDimension x="-22" y="-4"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Texture>

						<!-- Death Icon -->
						<Texture name="Perl_Target_DeadStatus" file="Interface\TargetingFrame\TargetDead" visible="false">
							<Size>
								<AbsDimension x="16" y="16"/>
							</Size>
							<Anchors>
								<Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
									<Offset>
										<AbsDimension x="-5" y="-5"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Texture>
					</Layer>
				</Layers>
			</Frame>


			<!-- Raid Icon -->
			<Frame name="Perl_Target_RaidIconFrame">
				<Size>
					<AbsDimension x="180" y="24"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="OVERLAY">
						<!-- Raid Target Icon -->
						<Texture name="Perl_Target_RaidTargetIcon" file="Interface\TargetingFrame\UI-RaidTargetingIcons" hidden="true">
							<Size>
								<AbsDimension x="26" y="26"/>
							</Size>
							<Anchors>
								<Anchor point="CENTER" relativePoint="TOPRIGHT" relativeTo="Perl_Target_NameFrame">
									<Offset>
										<AbsDimension x="45" y="-10"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Texture>
					</Layer>
				</Layers>
			</Frame>


			<!-- Target Name Frame for Combo Point changes -->
			<Frame name="Perl_Target_Name">
				<Size>
					<AbsDimension x="180" y="24"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="Perl_Target_NameFrame">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Frames>
					<Button name="Perl_Target_NameFrame_CastClickOverlay">
						<Size>
							<AbsDimension x="180" y="24"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
								this:RegisterForDrag('LeftButton');
							</OnLoad>
							<OnClick>
								Perl_Target_MouseClick(arg1);
							</OnClick>
							<OnEnter>
								Perl_Target_Tip();
								UnitFrame_OnEnter();
							</OnEnter>
							<OnLeave>
								UnitFrame_OnLeave();
							</OnLeave>
							<OnDragStart>
								Perl_Target_DragStart(arg1);
							</OnDragStart>
							<OnDragStop>
								Perl_Target_DragStop(arg1);
							</OnDragStop>
						</Scripts>
					</Button>
				</Frames>
				<Layers>
					<Layer level="OVERLAY">
						<!-- Name Text -->
						<Fontstring name="Perl_Target_NameBarText" inherits="GameFontNormal" text="Error!">
							<Anchors>
								<Anchor point="LEFT" relativeTo="Perl_Target_ClassTexture" relativePoint="RIGHT">
									<Offset>
										<AbsDimension x="5" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Fontstring>
					</Layer>
				</Layers>
			</Frame>


			<!-- Target Level Frame -->
			<Frame name="Perl_Target_LevelFrame">
				<Size>
					<AbsDimension x="46" y="24"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="Perl_Target_NameFrame">
						<Offset>
							<AbsDimension x="-5" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Frames>
					<Button name="Perl_Target_LevelFrame_CastClickOverlay">
						<Size>
							<AbsDimension x="46" y="24"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
								this:RegisterForDrag('LeftButton');
							</OnLoad>
							<OnClick>
								Perl_Target_MouseClick(arg1);
							</OnClick>
							<OnDragStart>
								Perl_Target_DragStart(arg1);
							</OnDragStart>
							<OnDragStop>
								Perl_Target_DragStop(arg1);
							</OnDragStop>
						</Scripts>
					</Button>
				</Frames>
				<Backdrop bgFile="Interface\AddOns\Perl_Config\Perl_Black" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
					<EdgeSize>
						<AbsValue val="16"/>
					</EdgeSize>
					<TileSize>
						<AbsValue val="16"/>
					</TileSize>
					<BackgroundInsets>
						<AbsInset left="5" right="5" top="5" bottom="5"/>
					</BackgroundInsets>
				</Backdrop>
				<Layers>
					<Layer level="OVERLAY">
						<!-- Level Text -->
						<Fontstring name="Perl_Target_LevelBarText" inherits="GameFontNormal" text="Error!">
							<Anchors>
								<Anchor point="TOP">
									<Offset>
										<AbsDimension x="0" y="-5"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Fontstring>
					</Layer>
				</Layers>
			</Frame>


			<!-- Portrait Frame -->
			<Frame name="Perl_Target_PortraitFrame">
				<Size>
					<AbsDimension x="60" y="61"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="Perl_Target_LevelFrame">
						<Offset>
							<AbsDimension x="-5" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Backdrop bgFile="Interface\AddOns\Perl_Config\Perl_Black" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
					<EdgeSize>
						<AbsValue val="16"/>
					</EdgeSize>
					<TileSize>
						<AbsValue val="16"/>
					</TileSize>
					<BackgroundInsets>
						<AbsInset left="5" right="5" top="5" bottom="5"/>
					</BackgroundInsets>
				</Backdrop>
				<Frames>
					<Button name="Perl_Target_PortraitFrame_CastClickOverlay">
						<Size>
							<AbsDimension x="60" y="61"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
								this:RegisterForDrag('LeftButton');
							</OnLoad>
							<OnClick>
								Perl_Target_MouseClick(arg1);
							</OnClick>
							<OnDragStart>
								Perl_Target_DragStart(arg1);
							</OnDragStart>
							<OnDragStop>
								Perl_Target_DragStop(arg1);
							</OnDragStop>
						</Scripts>
					</Button>
					<PlayerModel name="$parent_TargetModel" hidden="true">
						<Size>
							<AbsDimension x="50" y="50"/>
						</Size>
						<Anchors>
							<Anchor point="CENTER">
								<Offset>
									<AbsDimension x="1" y="-1"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnUpdate>
								this:SetCamera(0)
							</OnUpdate>
						</Scripts>
					</PlayerModel>
				</Frames>
				<Layers>
					<!-- Portrait -->
					<Layer level="ARTWORK">
						<Texture name="Perl_Target_Portrait">
							<Size>
								<AbsDimension x="48" y="48"/>
							</Size>
							<Anchors>
								<Anchor point="TOP" relativePoint="TOP" relativeTo="Perl_Target_PortraitFrame">
									<Offset>
										<AbsDimension x="0" y="-6"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Texture>
					</Layer>
				</Layers>
			</Frame>


			<!-- Portrait Text Frame -->
			<Frame name="Perl_Target_PortraitTextFrame">
				<Size>
					<AbsDimension x="60" y="61"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="Perl_Target_PortraitFrame">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="OVERLAY">
						<Fontstring name="Perl_Target_HitIndicator" inherits="NumberFontNormalHuge" hidden="true" text="Error!">
							<FontHeight>
								<AbsValue val="30"/>
							</FontHeight>
							<Color r="1.0" g="1.0" b="1.0"/>
							<Anchors>
								<Anchor point="CENTER" relativePoint="CENTER" relativeTo="Perl_Target_PortraitFrame">
									<Offset>
										<AbsDimension x="0" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Fontstring>
					</Layer>
				</Layers>
			</Frame>


			<!-- Target Class Frame -->
			<Frame name="Perl_Target_ClassNameFrame">
				<Size>
					<AbsDimension x="90" y="24"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="Perl_Target_NameFrame">
						<Offset>
							<AbsDimension x="0" y="20"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Frames>
					<Button name="Perl_Target_ClassNameFrame_CastClickOverlay">
						<Size>
							<AbsDimension x="90" y="24"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
								this:RegisterForDrag('LeftButton');
							</OnLoad>
							<OnClick>
								Perl_Target_MouseClick(arg1);
							</OnClick>
							<OnDragStart>
								Perl_Target_DragStart(arg1);
							</OnDragStart>
							<OnDragStop>
								Perl_Target_DragStop(arg1);
							</OnDragStop>
						</Scripts>
					</Button>
				</Frames>
				<Backdrop bgFile="Interface\AddOns\Perl_Config\Perl_Black" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
					<EdgeSize>
						<AbsValue val="16"/>
					</EdgeSize>
					<TileSize>
						<AbsValue val="16"/>
					</TileSize>
					<BackgroundInsets>
						<AbsInset left="5" right="5" top="5" bottom="5"/>
					</BackgroundInsets>
				</Backdrop>
				<Layers>
					<Layer level="OVERLAY">
						<!-- Class Text -->
						<Fontstring name="Perl_Target_ClassNameBarText" inherits="GameFontNormal" text="Error!">
							<Anchors>
								<Anchor point="TOP">
									<Offset>
										<AbsDimension x="0" y="-5"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Fontstring>
					</Layer>
				</Layers>
			</Frame>


			<!-- Target Civilian Frame -->
			<Frame name="Perl_Target_CivilianFrame">
				<Size>
					<AbsDimension x="95" y="24"/> <!-- 135 -->
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="Perl_Target_NameFrame">
						<Offset>
							<AbsDimension x="85" y="20"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Frames>
					<Button name="Perl_Target_CivilianFrame_CastClickOverlay">
						<Size>
							<AbsDimension x="95" y="24"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
								this:RegisterForDrag('LeftButton');
							</OnLoad>
							<OnClick>
								Perl_Target_MouseClick(arg1);
							</OnClick>
							<OnDragStart>
								Perl_Target_DragStart(arg1);
							</OnDragStart>
							<OnDragStop>
								Perl_Target_DragStop(arg1);
							</OnDragStop>
						</Scripts>
					</Button>
				</Frames>
				<Backdrop bgFile="Interface\AddOns\Perl_Config\Perl_White" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
					<EdgeSize>
						<AbsValue val="16"/>
					</EdgeSize>
					<TileSize>
						<AbsValue val="16"/>
					</TileSize>
					<BackgroundInsets>
						<AbsInset left="5" right="5" top="5" bottom="5"/>
					</BackgroundInsets>
				</Backdrop>
				<Layers>
					<Layer level="OVERLAY">
						<!-- Class Text -->
						<Fontstring name="Perl_Target_CivilianBarText" inherits="GameFontNormal" text="Error!">
							<Anchors>
								<Anchor point="TOP">
									<Offset>
										<AbsDimension x="0" y="-5"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Fontstring>
					</Layer>
				</Layers>
			</Frame>


			<!-- Target Rare Elite Frame -->
			<Frame name="Perl_Target_RareEliteFrame" hidden="true">
				<Size>
					<AbsDimension x="46" y="24"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="Perl_Target_CivilianFrame">
						<Offset>
							<AbsDimension x="-5" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Frames>
					<Button name="Perl_Target_RareEliteFrame_CastClickOverlay">
						<Size>
							<AbsDimension x="46" y="24"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
								this:RegisterForDrag('LeftButton');
							</OnLoad>
							<OnClick>
								Perl_Target_MouseClick(arg1);
							</OnClick>
							<OnDragStart>
								Perl_Target_DragStart(arg1);
							</OnDragStart>
							<OnDragStop>
								Perl_Target_DragStop(arg1);
							</OnDragStop>
						</Scripts>
					</Button>
				</Frames>
				<Backdrop bgFile="Interface\AddOns\Perl_Config\Perl_Black" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
					<EdgeSize>
						<AbsValue val="16"/>
					</EdgeSize>
					<TileSize>
						<AbsValue val="16"/>
					</TileSize>
					<BackgroundInsets>
						<AbsInset left="5" right="5" top="5" bottom="5"/>
					</BackgroundInsets>
				</Backdrop>
				<Layers>
					<Layer level="OVERLAY">
						<!-- Level Text -->
						<Fontstring name="Perl_Target_RareEliteBarText" inherits="GameFontNormal" text="Error!">
							<Anchors>
								<Anchor point="TOP">
									<Offset>
										<AbsDimension x="0" y="-5"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Fontstring>
					</Layer>
				</Layers>
			</Frame>


			<!-- Combo Points Frame -->
			<Frame name="Perl_Target_CPFrame" hidden="true">
				<Size>
					<AbsDimension x="25" y="30"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="Perl_Target_NameFrame">
						<Offset>
							<AbsDimension x="217" y="5"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Frames>
					<Button name="Perl_Target_CPFrame_CastClickOverlay">
						<Size>
							<AbsDimension x="25" y="30"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
								this:RegisterForDrag('LeftButton');
							</OnLoad>
							<OnClick>
								Perl_Target_MouseClick(arg1);
							</OnClick>
							<OnDragStart>
								Perl_Target_DragStart(arg1);
							</OnDragStart>
							<OnDragStop>
								Perl_Target_DragStop(arg1);
							</OnDragStop>
						</Scripts>
					</Button>
				</Frames>
				<Backdrop bgFile="Interface\AddOns\Perl_Config\Perl_Black" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
					<EdgeSize>
						<AbsValue val="16"/>
					</EdgeSize>
					<TileSize>
						<AbsValue val="16"/>
					</TileSize>
					<BackgroundInsets>
						<AbsInset left="5" right="5" top="5" bottom="5"/>
					</BackgroundInsets>
				</Backdrop>
				<Layers>
					<Layer level="OVERLAY">
						<!-- Combo Point Text -->
						<Fontstring name="Perl_Target_CPText" inherits="GameFontNormalLarge" text="Error!">
							<Anchors>
								<Anchor point="CENTER">
									<Offset>
										<AbsDimension x="0" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Fontstring>
					</Layer>
				</Layers>
			</Frame>


			<!-- Target Stats -->
			<Frame name="Perl_Target_StatsFrame">
				<Size>
					<AbsDimension x="221" y="42"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="Perl_Target_NameFrame">
						<Offset>
							<AbsDimension x="0" y="5"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Backdrop bgFile="Interface\AddOns\Perl_Config\Perl_Black" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
					<EdgeSize>
						<AbsValue val="16"/>
					</EdgeSize>
					<TileSize>
						<AbsValue val="16"/>
					</TileSize>
					<BackgroundInsets>
						<AbsInset left="5" right="5" top="5" bottom="5"/>
					</BackgroundInsets>
				</Backdrop>
				<Frames>
					<!-- 1.10 Click Solution -->
					<Button name="Perl_Target_StatsFrame_CastClickOverlay">
						<Size>
							<AbsDimension x="221" y="42"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up');
								this:RegisterForDrag('LeftButton');
							</OnLoad>
							<OnClick>
								Perl_Target_MouseClick(arg1);
							</OnClick>
							<OnDragStart>
								Perl_Target_DragStart(arg1);
							</OnDragStart>
							<OnDragStop>
								Perl_Target_DragStop(arg1);
							</OnDragStop>
						</Scripts>
					</Button>

					<!-- Health Bar -->
					<StatusBar name="Perl_Target_HealthBar" inherits="TextStatusBar">
						<Size>
							<AbsDimension x="200" y="10"/>
						</Size>
						<Anchors>
							<Anchor point="TOP" relativePoint="TOP">
								<Offset>
									<AbsDimension x="0" y="-10"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnDragStart>
								Perl_Target_DragStart(arg1);
							</OnDragStart>
							<OnDragStop>
								Perl_Target_DragStop(arg1);
							</OnDragStop>
						</Scripts>
						<BarTexture name="Perl_Target_HealthBarTex" file="Interface\TargetingFrame\UI-StatusBar"/>
						<BarColor r="0" g="0.8" b="0"/>
						<Layers>
							<!-- Health Text -->
							<Layer level="OVERLAY">
								<Fontstring name="Perl_Target_HealthBarText" inherits="GameFontNormalSmall" text="Error!">
									<Anchors>
										<Anchor point="TOP" relativePoint="TOP">
											<Offset>
												<AbsDimension x="0" y="1"/>
											</Offset>
										</Anchor>
									</Anchors>
								</Fontstring>
								<Fontstring name="Perl_Target_HealthBarTextRight" inherits="GameFontNormalSmall" text="Error!">
									<Anchors>
										<Anchor point="RIGHT" relativePoint="RIGHT">
											<Offset>
												<AbsDimension x="70" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
									<Color r="1" g="1" b="1"/>
								</Fontstring>
								<Fontstring name="Perl_Target_HealthBarTextCompactPercent" inherits="GameFontNormalSmall" text="Error!">
									<Anchors>
										<Anchor point="RIGHT" relativePoint="RIGHT">
											<Offset>
												<AbsDimension x="35" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
									<Color r="1" g="1" b="1"/>
								</Fontstring>
							</Layer>
						</Layers>
					</StatusBar>
					<StatusBar name="Perl_Target_HealthBarBG" inherits="TextStatusBar">
						<Size>
							<AbsDimension x="200" y="10"/>
						</Size>
						<Anchors>
							<Anchor point="TOP" relativePoint="TOP" relativeTo="Perl_Target_HealthBar">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<BarTexture file="Interface\TargetingFrame\UI-TargetingFrame-BarFill"/>
						<BarColor r="0" g="0.8" b="0" a="0.25"/>
					</StatusBar>

					<!-- Mana Bar -->
					<StatusBar name="Perl_Target_ManaBar" inherits="TextStatusBar">
						<Size>
							<AbsDimension x="200" y="10"/>
						</Size>
						<Anchors>
							<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="Perl_Target_HealthBar">
								<Offset>
									<AbsDimension x="0" y="-2"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnDragStart>
								Perl_Target_DragStart(arg1);
							</OnDragStart>
							<OnDragStop>
								Perl_Target_DragStop(arg1);
							</OnDragStop>
						</Scripts>
						<BarTexture name="Perl_Target_ManaBarTex" file="Interface\TargetingFrame\UI-StatusBar"/>
						<BarColor r="0" g="0" b="1"/>
						<Layers>
							<!-- Mana Text -->
							<Layer level="OVERLAY">
								<Fontstring name="Perl_Target_ManaBarText" inherits="GameFontNormalSmall" text="Error!">
									<Anchors>
										<Anchor point="TOP" relativePoint="TOP">
											<Offset>
												<AbsDimension x="0" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
								</Fontstring>
								<Fontstring name="Perl_Target_ManaBarTextRight" inherits="GameFontNormalSmall" text="Error!">
									<Anchors>
										<Anchor point="RIGHT" relativePoint="RIGHT">
											<Offset>
												<AbsDimension x="70" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
									<Color r="1" g="1" b="1"/>
								</Fontstring>
								<Fontstring name="Perl_Target_ManaBarTextCompactPercent" inherits="GameFontNormalSmall" text="Error!">
									<Anchors>
										<Anchor point="RIGHT" relativePoint="RIGHT">
											<Offset>
												<AbsDimension x="35" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
									<Color r="1" g="1" b="1"/>
								</Fontstring>
							</Layer>
						</Layers>
					</StatusBar>
					<StatusBar name="Perl_Target_ManaBarBG" inherits="TextStatusBar">
						<Size>
							<AbsDimension x="200" y="10"/>
						</Size>
						<Anchors>
							<Anchor point="TOP" relativePoint="TOP" relativeTo="Perl_Target_ManaBar">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<BarTexture file="Interface\TargetingFrame\UI-TargetingFrame-BarFill"/>
						<BarColor r="0" g="0" b="1" a="0.25"/>
					</StatusBar>
				</Frames>
			</Frame>


			<!-- Buffs Frame -->
			<Frame name="Perl_Target_BuffFrame">
				<Size>
					<AbsDimension x="100" y="34"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="Perl_Target_StatsFrame">
						<Offset>
							<AbsDimension x="0" y="5"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
					<EdgeSize>
						<AbsValue val="16"/>
					</EdgeSize>
					<TileSize>
						<AbsValue val="16"/>
					</TileSize>
					<BackgroundInsets>
						<AbsInset left="5" right="5" top="5" bottom="5"/>
					</BackgroundInsets>
				</Backdrop>
				<Frames>
					<!-- Start buttons -->
					<Button name="Perl_Target_Buff1" inherits="Perl_Target_BuffTemplate" id="1">
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="5" y="-5"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Buff2" inherits="Perl_Target_BuffTemplate" id="2">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Buff1" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="2.71" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Buff3" inherits="Perl_Target_BuffTemplate" id="3">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Buff2" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="2.71" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Buff4" inherits="Perl_Target_BuffTemplate" id="4">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Buff3" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="2.71" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Buff5" inherits="Perl_Target_BuffTemplate" id="5">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Buff4" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="2.71" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Buff6" inherits="Perl_Target_BuffTemplate" id="6">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Buff5" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="2.71" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Buff7" inherits="Perl_Target_BuffTemplate" id="7">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Buff6" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="2.71" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Buff8" inherits="Perl_Target_BuffTemplate" id="8">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Buff7" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="2.71" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Buff9" inherits="Perl_Target_BuffTemplate" id="9">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Buff1" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="-3"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Buff10" inherits="Perl_Target_BuffTemplate" id="10">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Buff9" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="2.71" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Buff11" inherits="Perl_Target_BuffTemplate" id="11">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Buff10" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="2.71" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Buff12" inherits="Perl_Target_BuffTemplate" id="12">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Buff11" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="2.71" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Buff13" inherits="Perl_Target_BuffTemplate" id="13">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Buff12" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="2.71" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Buff14" inherits="Perl_Target_BuffTemplate" id="14">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Buff13" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="2.71" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Buff15" inherits="Perl_Target_BuffTemplate" id="15">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Buff14" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="2.71" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Buff16" inherits="Perl_Target_BuffTemplate" id="16">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Buff15" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="2.71" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<!-- End buttons -->
				</Frames>
			</Frame>


			<!-- Debuffs Frame -->
			<Frame name="Perl_Target_DebuffFrame">
				<Size>
					<AbsDimension x="100" y="34"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="Perl_Target_StatsFrame">
						<Offset>
							<AbsDimension x="0" y="-25"/>
						</Offset>
					</Anchor>
				</Anchors>		
				<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
					<EdgeSize>
						<AbsValue val="16"/>
					</EdgeSize>
					<TileSize>
						<AbsValue val="16"/>
					</TileSize>
					<BackgroundInsets>
						<AbsInset left="5" right="5" top="5" bottom="5"/>
					</BackgroundInsets>
				</Backdrop>
				<Frames>
					<!-- Start buttons -->
					<Button name="Perl_Target_Debuff1" inherits="Perl_Target_BuffTemplate" id="17">
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="5" y="-5"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Debuff2" inherits="Perl_Target_BuffTemplate" id="18">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Debuff1" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="2.71" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Debuff3" inherits="Perl_Target_BuffTemplate" id="19">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Debuff2" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="2.71" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					
					<Button name="Perl_Target_Debuff4" inherits="Perl_Target_BuffTemplate" id="20">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Debuff3" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="2.71" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Debuff5" inherits="Perl_Target_BuffTemplate" id="21">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Debuff4" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="2.71" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Debuff6" inherits="Perl_Target_BuffTemplate" id="22">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Debuff5" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="2.71" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Debuff7" inherits="Perl_Target_BuffTemplate" id="23">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Debuff6" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="2.71" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Debuff8" inherits="Perl_Target_BuffTemplate" id="24">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Debuff7" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="2.71" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Debuff9" inherits="Perl_Target_BuffTemplate" id="25">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Debuff1" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="-3"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Debuff10" inherits="Perl_Target_BuffTemplate" id="26">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Debuff9" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="2.71" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Debuff11" inherits="Perl_Target_BuffTemplate" id="27">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Debuff10" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="2.71" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Debuff12" inherits="Perl_Target_BuffTemplate" id="28">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Debuff11" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="2.71" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Debuff13" inherits="Perl_Target_BuffTemplate" id="29">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Debuff12" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="2.71" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Debuff14" inherits="Perl_Target_BuffTemplate" id="30">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Debuff13" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="2.71" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Debuff15" inherits="Perl_Target_BuffTemplate" id="31">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Debuff14" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="2.71" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

					<Button name="Perl_Target_Debuff16" inherits="Perl_Target_BuffTemplate" id="32">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="Perl_Target_Debuff15" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="2.71" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<!-- End buttons -->
				</Frames>
			</Frame>
		</Frames>
	</Frame>

	<GameTooltip name="Perl_Target_Tooltip" hidden="true" parent="Perl_Player_Frame" inherits="GameTooltipTemplate"/>

</Ui>