<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/
C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
	<Script file="KillLogFrame.lua"/>
	<Button name="KillLogTitleButtonTemplate" virtual="true">
		<Size>
			<AbsDimension x="300" y="16"/>
		</Size>
		<Layers>
			<Layer level="BACKGROUND">
				<FontString name="$parentTag" inherits="GameFontNormal">
					<Size>
						<AbsDimension x="50" y="16"/>
					</Size>
					<Anchors>
						<Anchor point="RIGHT">
							<Offset>
								<AbsDimension x="5" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Scripts>
			<OnLoad>
				KillLogTitleButton_OnLoad();
			</OnLoad>
			<OnClick>
				KillLogTitleButton_OnClick(arg1);
			</OnClick>
			<OnEnter>
				getglobal(this:GetName().."Tag"):SetTextColor(1, 1, 1);
			</OnEnter>
			<OnLeave>
				if (this:GetID() ~= KillLogFrame.selectedButtonID) then
					getglobal(this:GetName().."Tag"):SetTextColor(this.r, this.g, this.b);
				end
			</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>
		<NormalText name="$parentNormalText" inherits="GameFontNormal" justifyH="LEFT">
			<Size>
				<AbsDimension x="275" y="12"/>
			</Size>
			<Anchors>
				<Anchor point="LEFT">
					<Offset>
						<AbsDimension x="20" y="0"/>
					</Offset>
				</Anchor>
			</Anchors>
		</NormalText>
		<HighlightText name="$parentHighlightText" inherits="GameFontHighlight" justifyH="LEFT">
			<Size>
				<AbsDimension x="275" y="12"/>
			</Size>
			<Anchors>
				<Anchor point="LEFT">
					<Offset>
						<AbsDimension x="20" y="0"/>
					</Offset>
				</Anchor>
			</Anchors>
		</HighlightText>
		<DisabledText name="$parentDisabledText" inherits="GameFontHighlight" justifyH="LEFT">
			<Size>
				<AbsDimension x="275" y="12"/>
			</Size>
			<Anchors>
				<Anchor point="LEFT">
					<Offset>
						<AbsDimension x="20" y="0"/>
					</Offset>
				</Anchor>
			</Anchors>
		</DisabledText>
	</Button>

	<GameTooltip name="KillLogTooltip" frameStrata="TOOLTIP" hidden="false" inherits="GameTooltipTemplate">
		<Layers>
			<Layer level="BACKGROUND">
				<FontString name="KillLogTooltipNumerator" inherits="GameFontHighlightSmall" justifyH="CENTER">
					<Anchors>
						<Anchor point="CENTER" relativeTo="KillLogTooltip" relativePoint="TOP">
							<Offset>
								<AbsDimension x="0" y="-15"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="KillLogTooltipDenominator" inherits="GameFontHighlightSmall" justifyH="CENTER">
					<Anchors>
						<Anchor point="TOP" relativeTo="KillLogTooltipNumerator" relativePoint="BOTTOM">
							<Offset>
								<AbsDimension x="0" y="-9"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
			<Layer level="ARTWORK">
				<Texture name="KillLogTooltipLine">
					<Size>
						<AbsDimension x="250" y="1"/>
					</Size>
					<Anchors>
						<Anchor point="TOP" relativeTo="KillLogTooltipNumerator" relativePoint="BOTTOM">
							<Offset>
								<AbsDimension x="0" y="-5"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" a="1.00"/>
				</Texture>
			</Layer>
		</Layers>
		<Scripts>
			<OnLoad>
				this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
				this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
			</OnLoad>
		</Scripts>
	</GameTooltip>

	<Frame name="KillLogStatTemplate" virtual="true">
		<Size>
			<AbsDimension x="70" y="16"/>
		</Size>
		<Layers>
			<Layer level="BACKGROUND">
				<FontString name="$parentText" inherits="GameFontHighlightSmall" justifyH="RIGHT">
					<Anchors>
						<Anchor point="RIGHT"/>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Scripts>
			<OnEnter>
				KillLogStatTemplate_OnEnter();
			</OnEnter>
			<OnLeave>
				KillLogStatTemplate_OnLeave();
			</OnLeave>
		</Scripts>
	</Frame>

	<Frame name="KillLogFrame" toplevel="true" enableMouse="true" movable="true" parent="UIParent" hidden="true">
		<Size>
			<AbsDimension x="384" y="512"/>
		</Size>
		<Anchors>
			<Anchor point="TOPLEFT">
				<Offset>
					<AbsDimension x="2" y="-1"/>
				</Offset>
			</Anchor>
		</Anchors>
		<HitRectInsets>
			<AbsInset left="0" right="34" top="0" bottom="75"/>
		</HitRectInsets>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture file="Interface\Spellbook\Spellbook-Icon">
					<Size>
						<AbsDimension x="58" y="58"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="10" y="-8"/>
							</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 file="Interface\ClassTrainerFrame\UI-ClassTrainer-BotLeft">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="BOTTOMLEFT"/>
					</Anchors>
				</Texture>
				<Texture file="Interface\ClassTrainerFrame\UI-ClassTrainer-BotRight">
					<Size>
						<AbsDimension x="128" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="BOTTOMRIGHT"/>
					</Anchors>
				</Texture>
				<FontString name="KillLogTitleText" inherits="GameFontHighlight" text="KILL_LOG">
					<Size>
						<AbsDimension x="300" y="14"/>
					</Size>
					<Anchors>
						<Anchor point="TOP" relativeTo="KillLogFrame" relativePoint="TOP">
							<Offset>
								<AbsDimension x="0" y="-17"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
			<Layer level="ARTWORK">
				<Texture name="KillLogHorizontalBarLeft" 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="KillLogHorizontalBarLeft" 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="KillLogExpandButtonFrame">
				<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="KillLogExpandTabLeft" file="Interface\ClassTrainerFrame\UI-ClassTrainer-ExpandTab-Left">
							<Size>
								<AbsDimension x="8" y="32"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT"/>
							</Anchors>
						</Texture>
						<Texture name="KillLogExpandTabMiddle" file="Interface\QuestFrame\UI-QuestLogSortTab-Middle">
							<Size>
								<AbsDimension x="38" y="32"/>
							</Size>
							<Anchors>
								<Anchor point="LEFT" relativeTo="KillLogExpandTabLeft" 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="KillLogExpandTabMiddle" relativePoint="RIGHT"/>
							</Anchors>
						</Texture>
					</Layer>
				</Layers>
				<Frames>
					<Button name="KillLogCollapseAllButton" hidden="false" inherits="KillLogTitleButtonTemplate">
						<Size>
							<AbsDimension x="40" y="22"/>
						</Size>
						<Anchors>
							<Anchor point="LEFT" relativeTo="KillLogExpandTabLeft" relativePoint="RIGHT">
								<Offset>
									<AbsDimension x="0" y="3"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								getglobal(this:GetName()):SetText(ALL);
							</OnLoad>
							<OnClick>
								KillLogCollapseAllButton_OnClick();
							</OnClick>
						</Scripts>
					</Button>
				</Frames>
			</Frame>

			<Frame name="KillLogSortFrame">
				<Size>
					<AbsDimension x="222" y="32"/>
				</Size>
				<Anchors>
					<Anchor point="TOPRIGHT">
						<Offset>
							<AbsDimension x="-40" y="-65"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<Texture name="KillLogSortFrameRight" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
							<Size>
								<AbsDimension x="12" y="32"/>
							</Size>
							<Anchors>
								<Anchor point="TOPRIGHT"/>
							</Anchors>
							<TexCoords left="0.90625" right="1.0" top="0" bottom="1.0"/>
						</Texture>
						<Texture name="KillLogSortFrameMiddle" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
							<Size>
								<AbsDimension x="148" y="32"/>
							</Size>
							<Anchors>
								<Anchor point="RIGHT" relativeTo="KillLogSortFrameRight" relativePoint="LEFT"/>
							</Anchors>
							<TexCoords left="0.09375" right="0.90625" top="0" bottom="1.0"/>
						</Texture>
						<Texture name="KillLogSortFrameLeft" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
							<Size>
								<AbsDimension x="12" y="32"/>
							</Size>
							<Anchors>
								<Anchor point="RIGHT" relativeTo="KillLogSortFrameMiddle" relativePoint="LEFT"/>
							</Anchors>
							<TexCoords left="0" right="0.09375" top="0" bottom="1.0"/>
						</Texture>
					</Layer>
				</Layers>
				<Frames>
					<Frame name="KillLogSortDropDown" inherits="UIDropDownMenuTemplate">
						<Anchors>
							<Anchor point="RIGHT" relativeTo="KillLogSortFrameLeft">
								<Offset>
									<AbsDimension x="2" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								KillLogSortDropDown_OnLoad();
							</OnLoad>
						</Scripts>
					</Frame>
					<CheckButton name="KillLogTrivialButton" inherits="OptionsCheckButtonTemplate">
						<Size>
							<AbsDimension x="25" y="25"/>
						</Size>
						<Anchors>
							<Anchor point="LEFT" relativeTo="KillLogSortFrameLeft">
								<Offset>
									<AbsDimension x="10" y="2"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								KillLogTrivial_OnLoad();
							</OnLoad>
							<OnClick>
								KillLogTrivial_OnClick();
							</OnClick>
							<OnEnter>
								CosmosTooltip:SetOwner(this,"ANCHOR_RIGHT");
								CosmosTooltip:SetText(TEXT(KILL_LOG_FILTER_TRIVIAL_TIP), 1.0, 1.0, 1.0);
							</OnEnter>
							<OnLeave>
								CosmosTooltip:Hide();
							</OnLeave>
						</Scripts>
					</CheckButton>
					<CheckButton name="KillLogEncounteredButton" inherits="OptionsCheckButtonTemplate">
						<Size>
							<AbsDimension x="25" y="25"/>
						</Size>
						<Anchors>
							<Anchor point="LEFT" relativeTo="KillLogTrivialButtonText" relativePoint="RIGHT">
								<Offset>
									<AbsDimension x="10" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								KillLogEncountered_OnLoad();
							</OnLoad>
							<OnClick>
								KillLogEncountered_OnClick();
							</OnClick>
							<OnEnter>
								CosmosTooltip:SetOwner(this,"ANCHOR_RIGHT");
								CosmosTooltip:SetText(TEXT(KILL_LOG_FILTER_CREATURS_NK_TIP), 1.0, 1.0, 1.0);
							</OnEnter>
							<OnLeave>
								CosmosTooltip:Hide();
							</OnLeave>
						</Scripts>
					</CheckButton>
				</Frames>
			</Frame>

			<Button name="KillLogFrameCloseButton" inherits="UIPanelCloseButton">
				<Anchors>
					<Anchor point="TOPRIGHT" relativeTo="KillLogFrame" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="-29" y="-8"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Frame name="KillLogHighlightFrame" hidden="true">
				<Size>
					<AbsDimension x="293" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT"/>
				</Anchors>
				<Layers>
					<Layer level="ARTWORK">
						<Texture name="KillLogMobHighlight" file="Interface\Buttons\UI-Listbox-Highlight2"/>
					</Layer>
				</Layers>
			</Frame>
			<Button name="KillLogTitle1" inherits="KillLogTitleButtonTemplate" id="1" hidden="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="KillLogFrame">
						<Offset>
							<AbsDimension x="22" y="-100"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="KillLogTitle2" inherits="KillLogTitleButtonTemplate" id="2" hidden="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="KillLogTitle1" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="KillLogTitle3" inherits="KillLogTitleButtonTemplate" id="3" hidden="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="KillLogTitle2" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="KillLogTitle4" inherits="KillLogTitleButtonTemplate" id="4" hidden="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="KillLogTitle3" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="KillLogTitle5" inherits="KillLogTitleButtonTemplate" id="5" hidden="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="KillLogTitle4" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="KillLogTitle6" inherits="KillLogTitleButtonTemplate" id="6" hidden="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="KillLogTitle5" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="KillLogTitle7" inherits="KillLogTitleButtonTemplate" id="7" hidden="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="KillLogTitle6" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="KillLogTitle8" inherits="KillLogTitleButtonTemplate" id="8" hidden="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="KillLogTitle7" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="KillLogTitle9" inherits="KillLogTitleButtonTemplate" id="9" hidden="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="KillLogTitle8" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="KillLogTitle10" inherits="KillLogTitleButtonTemplate" id="10" hidden="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="KillLogTitle9" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="KillLogTitle11" inherits="KillLogTitleButtonTemplate" id="11" hidden="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="KillLogTitle10" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<ScrollFrame name="KillLogListScrollFrame" inherits="ClassTrainerListScrollFrameTemplate">
				<Size>
					<AbsDimension x="296" y="184"/>
				</Size>
				<Anchors>
					<Anchor point="TOPRIGHT" relativeTo="KillLogFrame" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="-67" y="-96"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnVerticalScroll>
						FauxScrollFrame_OnVerticalScroll(KILL_LOG_KILL_HEIGHT, KillLog_Update);
					</OnVerticalScroll>
				</Scripts>
			</ScrollFrame>
			<ScrollFrame name="KillLogDetailScrollFrame" inherits="ClassTrainerDetailScrollFrameTemplate">
				<Size>
					<AbsDimension x="296" y="120"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="KillLogListScrollFrame" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="-8"/>
						</Offset>
					</Anchor>
				</Anchors>
				<ScrollChild>
					<Frame name="KillLogDetailScrollChildFrame">
						<Size>
							<AbsDimension x="296" y="50"/>
						</Size>
						<Layers>
							<Layer level="BACKGROUND">
								<FontString name="KillLogMobTitle" inherits="GameFontNormal" justifyH="LEFT">
									<Size>
										<AbsDimension x="234" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT">
											<Offset>
												<AbsDimension x="50" y="-4"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="KillLogMobLevelText" inherits="GameFontHighlightSmall" justifyH="LEFT">
									<Size>
										<AbsDimension x="234" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="TOP" relativeTo="KillLogMobTitle" relativePoint="BOTTOM">
											<Offset>
												<AbsDimension x="0" y="-2"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>

								<FontString name="KillLogMobKillsLabel" inherits="GameFontNormal" justifyH="LEFT">
									<Size>
										<AbsDimension x="35" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="KillLogMobLevelText" relativePoint="BOTTOMLEFT">
											<Offset>
												<AbsDimension x="-38" y="-18"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="KillLogMobKillsStat" inherits="GameFontHighlightLarge" justifyH="RIGHT">
									<Size>
										<AbsDimension x="50" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="LEFT" relativeTo="KillLogMobKillsLabel" relativePoint="RIGHT"/>
									</Anchors>
								</FontString>
								<FontString name="KillLogMobDeathsLabel" inherits="GameFontNormal" justifyH="LEFT">
									<Size>
										<AbsDimension x="50" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="LEFT" relativeTo="KillLogMobKillsStat" relativePoint="RIGHT">
											<Offset>
												<AbsDimension x="7" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="KillLogMobDeathsStat" inherits="GameFontHighlightLarge" justifyH="RIGHT">
									<Size>
										<AbsDimension x="35" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="LEFT" relativeTo="KillLogMobDeathsLabel" relativePoint="RIGHT"/>
									</Anchors>
								</FontString>
								<FontString name="KillLogMobXPLabel" inherits="GameFontNormal" justifyH="LEFT">
									<Size>
										<AbsDimension x="30" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="LEFT" relativeTo="KillLogMobDeathsStat" relativePoint="RIGHT">
											<Offset>
												<AbsDimension x="7" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="KillLogMobXPStat" inherits="GameFontHighlightLarge" justifyH="RIGHT">
									<Size>
										<AbsDimension x="70" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="LEFT" relativeTo="KillLogMobXPLabel" relativePoint="RIGHT"/>
									</Anchors>
								</FontString>

								<FontString name="KillLogStatsHitLabel" inherits="GameFontNormalSmall" justifyH="RIGHT">
									<Size>
										<AbsDimension x="70" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="KillLogMobKillsLabel" relativePoint="BOTTOMLEFT">
											<Offset>
												<AbsDimension x="50" y="-16"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="KillLogStatsCritLabel" inherits="GameFontNormalSmall" justifyH="RIGHT">
									<Size>
										<AbsDimension x="70" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="LEFT" relativeTo="KillLogStatsHitLabel" relativePoint="RIGHT"/>
									</Anchors>
								</FontString>
								<FontString name="KillLogStatsDamageLabel" inherits="GameFontNormalSmall" justifyH="RIGHT">
									<Size>
										<AbsDimension x="94" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="LEFT" relativeTo="KillLogStatsCritLabel" relativePoint="RIGHT"/>
									</Anchors>
								</FontString>

								<FontString name="KillLogStatsPlayerLabel" inherits="GameFontNormalSmall" justifyH="LEFT">
									<Size>
										<AbsDimension x="35" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="TOPRIGHT" relativeTo="KillLogStatsHitLabel" relativePoint="BOTTOMLEFT">
											<Offset>
												<AbsDimension x="0" y="-9"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>

								<FontString name="KillLogStatsMobLabel" inherits="GameFontNormalSmall" justifyH="LEFT">
									<Size>
										<AbsDimension x="35" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="KillLogStatsPlayerLabel" relativePoint="BOTTOMLEFT">
											<Offset>
												<AbsDimension x="0" y="-6"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
							</Layer>
						</Layers>
						<Frames>
							<Button name="KillLogMobIcon">
								<Size>
									<AbsDimension x="37" y="37"/>
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT">
										<Offset>
											<AbsDimension x="15" y="-14"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Layers>
									<Layer level="BACKGROUND">
										<Texture file="Interface\CharacterFrame\TempPortrait" name="KillLogMobPortrait">
											<Size>
												<AbsDimension x="37" y="37"/>
											</Size>
											<Anchors>
												<Anchor point="TOPLEFT">
													<Offset>
														<AbsDimension x="-13" y="13"/>
													</Offset>
												</Anchor>
											</Anchors>
										</Texture>
									</Layer>
								</Layers>
							</Button>
							<Frame name="KillLogDetailTypeDropDown" inherits="UIDropDownMenuTemplate">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="KillLogMobKillsLabel" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="-20" y="-5"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnLoad>
										KillLogDetailTypeDropDown_OnLoad();
									</OnLoad>
								</Scripts>
							</Frame>
							<Frame name="KillLogStatsPlayerHit" inherits="KillLogStatTemplate" justifyH="RIGHT">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="KillLogStatsHitLabel" relativePoint="BOTTOMRIGHT">
										<Offset>
											<AbsDimension x="0" y="-5"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>
							<Frame name="KillLogStatsPlayerCrit" inherits="KillLogStatTemplate" justifyH="RIGHT">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="KillLogStatsCritLabel" relativePoint="BOTTOMRIGHT">
										<Offset>
											<AbsDimension x="0" y="-5"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>
							<Frame name="KillLogStatsPlayerDamage" inherits="KillLogStatTemplate" justifyH="RIGHT">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="KillLogStatsDamageLabel" relativePoint="BOTTOMRIGHT">
										<Offset>
											<AbsDimension x="0" y="-5"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>

							<Frame name="KillLogStatsMobHit" inherits="KillLogStatTemplate" justifyH="RIGHT">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="KillLogStatsPlayerHit" relativePoint="BOTTOMRIGHT"/>
								</Anchors>
							</Frame>
							<Frame name="KillLogStatsMobCrit" inherits="KillLogStatTemplate" justifyH="RIGHT">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="KillLogStatsPlayerCrit" relativePoint="BOTTOMRIGHT"/>
								</Anchors>
							</Frame>
							<Frame name="KillLogStatsMobDamage" inherits="KillLogStatTemplate" justifyH="RIGHT">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="KillLogStatsPlayerDamage" relativePoint="BOTTOMRIGHT"/>
								</Anchors>
							</Frame>
<!--
								<FontString name="KillLogStatsMobHit" inherits="GameFontHighlightSmall" justifyH="RIGHT">
									<Size>
										<AbsDimension x="54" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="LEFT" relativeTo="KillLogStatsMobLabel" relativePoint="RIGHT"/>
									</Anchors>
								</FontString>
								<FontString name="KillLogStatsMobCrit" inherits="GameFontHighlightSmall" justifyH="RIGHT">
									<Size>
										<AbsDimension x="70" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="LEFT" relativeTo="KillLogStatsMobHit" relativePoint="RIGHT"/>
									</Anchors>
								</FontString>
								<FontString name="KillLogStatsMobDamage" inherits="GameFontHighlightSmall" justifyH="RIGHT">
									<Size>
										<AbsDimension x="86" y="0"/>
									</Size>
									<Anchors>
										<Anchor point="LEFT" relativeTo="KillLogStatsMobCrit" relativePoint="RIGHT"/>
									</Anchors>
								</FontString>
-->

						</Frames>
					</Frame>
				</ScrollChild>
			</ScrollFrame>

			<Frame name="KillLogVersionFrame">
				<Size>
					<AbsDimension x="70" y="22"/>
				</Size>
				<Anchors>
					<Anchor point="CENTER" relativeTo="KillLogFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="63" y="-420"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<FontString name="KillLogVersionLabel" inherits="GameFontNormalSmall" justifyH="LEFT"/>
						<FontString name="KillLogVersionText" inherits="GameFontHighlightSmall" justifyH="RIGHT"/>
					</Layer>
				</Layers>
				<Scripts>
					<OnEnter>
						CosmosTooltip:SetOwner(this,"ANCHOR_RIGHT");
						CosmosTooltip:SetText("Developed by:\nDaniel and James Risse", 1.0, 1.0, 1.0);
					</OnEnter>
					<OnLeave>
						CosmosTooltip:Hide();
					</OnLeave>
				</Scripts>
			</Frame>

			<Button name="KillLogResetButton" inherits="UIPanelButtonTemplate">
				<Size>
					<AbsDimension x="80" y="22"/>
				</Size>
				<Anchors>
					<Anchor point="CENTER" relativeTo="KillLogFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="224" y="-420"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						this:SetText("Reset");
					</OnLoad>
					<OnClick>
						KillLogResetButton_OnClick();
						CosmosTooltip:Hide();
					</OnClick>
					<OnEnter>
						CosmosTooltip:SetOwner(this,"ANCHOR_RIGHT");
						CosmosTooltip:SetText(TEXT(KILL_LOG_RESET_TIP), 1.0, 1.0, 1.0);
					</OnEnter>
					<OnLeave>
						CosmosTooltip:Hide();
					</OnLeave>
				</Scripts>
			</Button>
			<Button name="KillLogCancelButton" inherits="UIPanelButtonTemplate">
				<Size>
					<AbsDimension x="80" y="22"/>
				</Size>
				<Anchors>
					<Anchor point="CENTER" relativeTo="KillLogFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="305" y="-420"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						this:SetText(CLOSE);
					</OnLoad>
					<OnClick>
						HideUIPanel(KillLogFrame);
					</OnClick>
				</Scripts>
			</Button>

			<!-- temporary button -->
			<Button name="KillLogClearButton" inherits="UIPanelButtonTemplate">
				<Size>
					<AbsDimension x="80" y="22"/>
				</Size>
				<Anchors>
					<Anchor point="RIGHT" relativeTo="KillLogResetButton" relativePoint="LEFT"/>
				</Anchors>
				<Scripts>
					<OnLoad>
						this:SetText("Clear");
					</OnLoad>
					<OnClick>
						KillLogClearButton_OnClick();
						GameTooltip:Hide();
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this,"ANCHOR_RIGHT");
						GameTooltip:SetText("Clear all data from the Kill Log\nThis is not reversable!", 1.0, 1.0, 1.0);
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide();
					</OnLeave>
				</Scripts>
			</Button>
		</Frames>
		<Scripts>
			<OnEvent>
				KillLog_OnEvent(event);
			</OnEvent>
			<OnLoad>
				KillLog_OnLoad();
			</OnLoad>
			<OnShow>
				KillLog_OnShow();
			</OnShow>
			<OnHide>
				KillLog_OnHide();
			</OnHide>
		</Scripts>
	</Frame>
</Ui>
