<!--
//////////////////////////////////////////////
//
//		SuperInspect_UI.xml
//
//////////////////////////////////////////////
-->

<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-Player" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
	<Script file="localization_UI.lua"/>
	<Script file="localization_UI_EN.lua"/>
	<Script file="localization_UI_DE.lua"/>
	<Script file="localization_UI_FR.lua"/>
	<Script file="localization_UI_HELPER.lua"/>
	<Script file="SuperInspect_UI.lua"/>

	<FontString name="SuperInspect_NameText" font="Fonts\FRIZQT__.TTF" justifyH="LEFT" virtual="true">
		<FontHeight>
			<AbsValue val="12"/>
		</FontHeight>
		<Color r="1.0" g="1.0" b="1.0"/>
<!--  		<Shadow>
			<Offset>
				<AbsDimension x="0.75" y="-0.75"/>
			</Offset>
			<Color r=".4" g="0.4" b="0.4"/>
		</Shadow> -->
	</FontString>
	<FontString name="SuperInspect_TitleText" font="Fonts\FRIZQT__.TTF" justifyH="LEFT" virtual="true">
		<FontHeight>
			<AbsValue val="9"/>
		</FontHeight>
		<Color r="1.0" g="1.0" b="1.0"/>
<!--  		<Shadow>
			<Offset>
				<AbsDimension x="0.75" y="-0.75"/>
			</Offset>
			<Color r=".4" g="0.4" b="0.4"/>
		</Shadow> -->
	</FontString>
	<FontString name="SuperInspect_BonusesText" font="Fonts\FRIZQT__.TTF" justifyH="LEFT" justifyV="TOP" virtual="true">
		<FontHeight>
			<AbsValue val="10"/>
		</FontHeight>
		<Color r="1.0" g="1.0" b="0.1"/>
  		<Shadow>
			<Offset>
				<AbsDimension x="2" y="-2"/>
			</Offset>
			<Color r=".1" g="0.1" b="0.1"/>
		</Shadow>
	</FontString>
	<FontString name="SuperInspect_BonusesTextR" font="Fonts\FRIZQT__.TTF" justifyH="RIGHT" virtual="true">
		<FontHeight>
			<AbsValue val="10"/>
		</FontHeight>
		<Color r="1.0" g="1.0" b="0.1"/>
  		<Shadow>
			<Offset>
				<AbsDimension x="2" y="-2"/>
			</Offset>
			<Color r=".1" g="0.1" b="0.1"/>
		</Shadow>
	</FontString>
	<FontString name="SuperInspect_BonusesText2" font="Fonts\FRIZQT__.TTF" justifyH="LEFT" justifyV="TOP" virtual="true">
		<FontHeight>
			<AbsValue val="11"/>
		</FontHeight>
		<Color r="1.0" g="1.0" b="0.1"/>
  		<Shadow>
			<Offset>
				<AbsDimension x="1" y="-1"/>
			</Offset>
			<Color r=".1" g="0.1" b="0.1"/>
		</Shadow>
	</FontString>

	<FontString name="SIDurabilityNumberFont" font="Fonts\ARIALN.TTF" outline="NORMAL" virtual="true" justifyH="RIGHT">
		<FontHeight>
			<AbsValue val="14"/>
		</FontHeight>
		<Color r="1.0" g="1.0" b="1.0"/>
	</FontString>
	
	<FontString name="SINumberFontNormal" font="Fonts\ARIALN.TTF" outline="THICK" virtual="true" justifyH="CENTER">
		<FontHeight>
			<AbsValue val="13"/>
		</FontHeight>
		<Color r="1.0" g="1.0" b="1.0"/>
	</FontString>

	<FontString name="SuperInspect_ButtonText" font="Fonts\FRIZQT__.TTF" justifyH="CENTER" virtual="true">
		<FontHeight>
			<AbsValue val="11"/>
		</FontHeight>
		<Color r="1.0" g="1.0" b="0.1"/>
<!--  		<Shadow>
			<Offset>
				<AbsDimension x="0.75" y="-0.75"/>
			</Offset>
			<Color r=".4" g="0.4" b="0.4"/>
		</Shadow> -->
	</FontString>
	<FontString name="SuperInspect_HonorText" font="Fonts\FRIZQT__.TTF" justifyH="CENTER" virtual="true">
		<FontHeight>
			<AbsValue val="10"/>
		</FontHeight>
		<Color r="1.0" g="1.0" b="0.1"/>
  		<Shadow>
			<Offset>
				<AbsDimension x="2" y="-2"/>
			</Offset>
			<Color r=".1" g="0.1" b="0.1"/>
		</Shadow>
	</FontString>
	<FontString name="SuperInspect_HonorTextLarge" font="Fonts\FRIZQT__.TTF" justifyH="CENTER" virtual="true">
		<FontHeight>
			<AbsValue val="12"/>
		</FontHeight>
		<Color r="1.0" g="1.0" b="0.1"/>
  		<Shadow>
			<Offset>
				<AbsDimension x="2" y="-2"/>
			</Offset>
			<Color r=".1" g="0.1" b="0.1"/>
		</Shadow>
	</FontString>
	<FontString name="SuperInspect_HonorTextSmall" font="Fonts\FRIZQT__.TTF" justifyH="CENTER" virtual="true">
		<FontHeight>
			<AbsValue val="9"/>
		</FontHeight>
		<Color r="1.0" g="1.0" b="0"/>
  		<Shadow>
			<Offset>
				<AbsDimension x="2" y="-2"/>
			</Offset>
			<Color r=".1" g="0.1" b="0.1"/>
		</Shadow>
	</FontString>
	<FontString name="SuperInspect_HonorTextHighlightSmall" font="Fonts\FRIZQT__.TTF" justifyH="CENTER" virtual="true">
		<FontHeight>
			<AbsValue val="9"/>
		</FontHeight>
		<Color r="1.0" g="1.0" b="1.0"/>
  		<Shadow>
			<Offset>
				<AbsDimension x="2" y="-2"/>
			</Offset>
			<Color r=".1" g="0.1" b="0.1"/>
		</Shadow>
	</FontString>
	<FontString name="SuperInspect_ButtonTextHighlight" font="Fonts\FRIZQT__.TTF" justifyH="CENTER" virtual="true">
		<FontHeight>
			<AbsValue val="11"/>
		</FontHeight>
		<Color r="1.0" g="1.0" b="1.0"/>
<!--  		<Shadow>
			<Offset>
				<AbsDimension x="0.75" y="-0.75"/>
			</Offset>
			<Color r=".4" g="0.4" b="0.4"/>
		</Shadow> -->
	</FontString>
	<FontString name="SuperInspect_ButtonTextDisable" font="Fonts\FRIZQT__.TTF" justifyH="CENTER" virtual="true">
		<FontHeight>
			<AbsValue val="11"/>
		</FontHeight>
		<Color r="0.4" g="0.4" b="0.4"/>
<!--  		<Shadow>
			<Offset>
				<AbsDimension x="0.75" y="-0.75"/>
			</Offset>
			<Color r=".4" g="0.4" b="0.4"/>
		</Shadow> -->
	</FontString>
	
	<Button name="InfoPlayerInstanceTemplate" virtual="true">
		<Scripts>
			<OnMouseDown>
				local nm = this:GetName();			
				local myunit = getglobal(nm.."Name");
				if (myunit:GetText()) and (not (myunit:GetText() == "")) then
					SuperInspect_InspectUnit(myunit:GetText());	
				end
				
			</OnMouseDown>
		</Scripts>
		<Size>
			<AbsDimension x="220" y="40"/>
		</Size>
		<Layers>
			<Layer level="BACKGROUND">
				<FontString name="$parentName" inherits="GameFontNormal">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="-2" y="-10"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentInfo" inherits="GameFontHighlightSmall" >
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentName" relativePoint="BOTTOMLEFT">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentRealm" inherits="GameFontDisableSmall">
					<Anchors>
						<Anchor point="TOPRIGHT">
							<Offset>
								<AbsDimension x="-28" y="-12"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>				
			</Layer>
		</Layers>	
		<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>		
	</Button>
	

	<Button name="SI_BonusTabTemplate" frameStrata="DIALOG" virtual="true">
        <Size>
            <AbsDimension x="115" y="24"/>
        </Size>
        <Layers>
        	<Layer level="BACKGROUND">
        		<Texture name="$parentLeftDisabled" file="Interface\PaperDollInfoFrame\UI-Character-InActiveTab">
        			<Size>
        				<AbsDimension x="12" y="23"/>
        			</Size>
        			<Anchors>
        				<Anchor point="TOPLEFT">
        					<Offset>
        						<AbsDimension x="0" y="-1"/>
        					</Offset>
        				</Anchor>
        			</Anchors>
					<TexCoords left="0" right="0.15625" top="0" bottom="1.0"/>
        		</Texture>
				<Texture name="$parentMiddleDisabled" file="Interface\PaperDollInfoFrame\UI-Character-InActiveTab">
        			<Size>
        				<AbsDimension x="80" y="23"/>
        			</Size>
        			<Anchors>
        				<Anchor point="LEFT" relativeTo="$parentLeftDisabled" relativePoint="RIGHT"/>
        			</Anchors>
					<TexCoords left="0.15625" right="0.84375" top="0" bottom="1.0"/>
        		</Texture>
				<Texture name="$parentRightDisabled" file="Interface\PaperDollInfoFrame\UI-Character-InActiveTab">
        			<Size>
        				<AbsDimension x="12" y="23"/>
        			</Size>
        			<Anchors>
        				<Anchor point="LEFT" relativeTo="$parentMiddleDisabled" relativePoint="RIGHT"/>
        			</Anchors>
					<TexCoords left="0.84375" right="1.0" top="0" bottom="1.0"/>
        		</Texture>
				<Texture name="$parentLeft" file="Interface\PaperDollInfoFrame\UI-Character-InActiveTab">
        			<Size>
        				<AbsDimension x="12" y="24"/>
        			</Size>
        			<Anchors>
        				<Anchor point="TOPLEFT">
        					<Offset>
        						<AbsDimension x="0" y="-3"/>
        					</Offset>
        				</Anchor>
        			</Anchors>
					<TexCoords left="0" right="0.15625" top="0" bottom="1.0"/>
        		</Texture>
				<Texture name="$parentMiddle" file="Interface\PaperDollInfoFrame\UI-Character-InActiveTab">
        			<Size>
        				<AbsDimension x="80" y="24"/>
        			</Size>
        			<Anchors>
        				<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
        			</Anchors>
					<TexCoords left="0.15625" right="0.84375" top="0" bottom="1.0"/>
        		</Texture>
				<Texture name="$parentRight" file="Interface\PaperDollInfoFrame\UI-Character-InActiveTab">
        			<Size>
        				<AbsDimension x="12" y="24"/>
        			</Size>
        			<Anchors>
        				<Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/>
        			</Anchors>
					<TexCoords left="0.84375" right="1.0" top="0" bottom="1.0"/>
        		</Texture>
        	</Layer>
        </Layers>
		<Scripts>
			<OnLoad>
				this:SetFrameLevel(this:GetFrameLevel() + 4);
				this:SetAlpha(0.8);
			</OnLoad>
			<OnClick>
				SI_BonusFrameTab_OnClick();
			</OnClick>
			<OnShow>
				PanelTemplates_TabResize(0);
				getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth() + 30);
				this:SetFrameLevel(this:GetFrameLevel() + 4);
				--/script SuperInspect_BonusFrameParent:SetFrameLevel(SuperInspect_ItemBonusesFrame:GetFrameLevel() + 4);
			</OnShow>
		</Scripts>
		<ButtonText name="$parentText" inherits="GameFontNormalSmall">
			<Anchors>
				<Anchor point="CENTER">
					<Offset>
						<AbsDimension x="0" y="2"/>
					</Offset>
				</Anchor>
			</Anchors>
		</ButtonText>
		<HighlightText name="$parentHighlightText" inherits="GameFontHighlightSmall">
			<Anchors>
				<Anchor point="CENTER">
					<Offset>
						<AbsDimension x="0" y="2"/>
					</Offset>
				</Anchor>
			</Anchors>
		</HighlightText>
		<DisabledText name="$parentDisabledText" inherits="GameFontHighlightSmall">
			<Anchors>
				<Anchor point="CENTER">
					<Offset>
						<AbsDimension x="0" y="2"/>
					</Offset>
				</Anchor>
			</Anchors>
		</DisabledText>
		<HighlightTexture name="$parentHighlightTexture" file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD">
			<Anchors>
				<Anchor point="LEFT">
					<Offset>
						<AbsDimension x="10" y="-2"/>
					</Offset>
				</Anchor>
				<Anchor point="RIGHT">
					<Offset>
						<AbsDimension x="-10" y="-2"/>
					</Offset>
				</Anchor>
			</Anchors>
		</HighlightTexture>
	</Button>

	<Frame name="SuperInspect_HonorFrameHKButtonTemplate" inherits="HonorFrameTextButtonTemplate" virtual="true">
		<Layers>
			<Layer level="BACKGROUND">
				<FontString name="$parentText" inherits="SuperInspect_HonorTextHighlightSmall" text="HONORABLE_KILLS" justifyH="LEFT">
					<Anchors>
						<Anchor point="TOPLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="$parentValue" inherits="GameFontGreenSmall">
					<Anchors>
						<Anchor point="RIGHT" relativePoint="LEFT">
							<Offset>
								<AbsDimension x="184" y="1"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Scripts>
			<OnLoad>
				this.title = HONORABLE_KILLS;
				this.tooltip = NEWBIE_TOOLTIP_HONORABLE_KILLS;
			</OnLoad>
		</Scripts>
	</Frame>
	<Frame name="SuperInspect_HonorFrameDKButtonTemplate" inherits="HonorFrameTextButtonTemplate" virtual="true">
		<Layers>
			<Layer level="BACKGROUND">
				<FontString name="$parentText" inherits="SuperInspect_HonorTextHighlightSmall" text="DISHONORABLE_KILLS" justifyH="LEFT">
					<Anchors>
						<Anchor point="TOPLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="$parentValue" inherits="GameFontRedSmall">
					<Anchors>
						<Anchor point="RIGHT" relativePoint="LEFT">
							<Offset>
								<AbsDimension x="184" y="1"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Scripts>
			<OnLoad>
				this.title = DISHONORABLE_KILLS;
				this.tooltip = NEWBIE_TOOLTIP_DISHONORABLE_KILLS;
			</OnLoad>
		</Scripts>
	</Frame>

	<Frame name="SuperInspect_HonorFrameRankButtonTemplate" inherits="HonorFrameTextButtonTemplate" virtual="true">
		<Layers>
			<Layer level="BACKGROUND">
				<FontString name="$parentText" inherits="SuperInspect_HonorTextHighlightSmall" text="HONOR_HIGHEST_RANK" justifyH="LEFT">
					<Anchors>
						<Anchor point="TOPLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="$parentValue" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="RIGHT" relativePoint="LEFT">
							<Offset>
								<AbsDimension x="184" y="1"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Scripts>
			<OnLoad>
				this.title = RANK;
				this.tooltip = NEWBIE_TOOLTIP_RANK;
			</OnLoad>
		</Scripts>
	</Frame>
	<Frame name="SuperInspect_HonorFrameStandingButtonTemplate" inherits="HonorFrameTextButtonTemplate" virtual="true">
		<Layers>
			<Layer level="BACKGROUND">
				<FontString name="$parentText" inherits="SuperInspect_HonorTextHighlightSmall" text="HONOR_STANDING" justifyH="LEFT">
					<Anchors>
						<Anchor point="TOPLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="$parentValue" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="RIGHT" relativePoint="LEFT">
							<Offset>
								<AbsDimension x="184" y="1"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Scripts>
			<OnLoad>
				this.title = HONOR_STANDING;
				this.tooltip = NEWBIE_TOOLTIP_HONOR_STANDING;
			</OnLoad>
		</Scripts>
	</Frame>
	<Frame name="SuperInspect_HonorFrameContributionButtonTemplate" inherits="HonorFrameTextButtonTemplate" virtual="true">
		<Layers>
			<Layer level="BACKGROUND">
				<FontString name="$parentText" inherits="SuperInspect_HonorTextHighlightSmall" text="HONOR_CONTRIBUTION_POINTS" justifyH="LEFT">
					<Anchors>
						<Anchor point="TOPLEFT"/>
					</Anchors>
				</FontString>
				<FontString name="$parentValue" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="RIGHT" relativePoint="LEFT">
							<Offset>
								<AbsDimension x="184" y="1"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Scripts>
			<OnLoad>
				this.title = HONOR_CONTRIBUTION_POINTS;
				this.tooltip = NEWBIE_TOOLTIP_HONOR_CONTRIBUTION_POINTS;
			</OnLoad>
		</Scripts>
	</Frame>

    <Button name="SuperInspect_InspectPaperDollItemSlotButtonTemplate" inherits="ItemButtonTemplate" virtual="true">
		<Layers>
			<Layer level="OVERLAY">
				<Texture name="$parentBGTexture" file="Interface\Addons\SuperInspect\gfx\ItemOverlay">
					<Size>
						<AbsDimension x="41" y="41"/>
					</Size>
					<Anchors>
						<Anchor point="CENTER">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<FontString name="$parentDurabilityNumber" inherits="SIDurabilityNumberFont" hidden="true" justifyH="CENTER" text="??/??">
					<Anchors>
						<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="BOTTOM">
							<Offset>
								<AbsDimension x="0" y="1"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
<!-- 			SIDurabilityNumberFont	
				<Texture name="$parentBGTexture" file="Interface\Cooldown\Star4" alphaMode="ADD">
					<Size>
						<AbsDimension x="38" y="38"/>
					</Size>
					<Anchors>
						<Anchor point="CENTER" relativeTo="$parent" relativePoint="TOPRIGHT">
							<Offset>
								<AbsDimension x="-4" y="-4"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture> -->
			</Layer>
		</Layers>
		<Scripts>
            <OnLoad>
                SuperInspect_InspectPaperDollItemSlotButton_OnLoad();
				if (this:GetID() > 16) then

				elseif (this:GetID() > 16) then

				else

				end
            </OnLoad>
            <OnClick>
                SuperInspect_InspectPaperDollItemSlotButton_OnClick(arg1);
            </OnClick>
            <OnDragStart>
                SuperInspect_InspectPaperDollItemSlotButton_OnClick("LeftButton", 1);
            </OnDragStart>
            <OnReceiveDrag>
                SuperInspect_InspectPaperDollItemSlotButton_OnClick("LeftButton", 1);
            </OnReceiveDrag>
			<OnUpdate>
				CursorOnUpdate();
			</OnUpdate>
            <OnEnter>
				SuperInspect_InspectPaperDollItemSlotButton_OnEnter();
            </OnEnter>
            <OnLeave>
                GameTooltip:Hide();
				ResetCursor();
            </OnLeave>
        </Scripts>
		<NormalTexture file="">
			<Size>
				<AbsDimension x="64" y="64"/>
			</Size>
			<Anchors>
				<Anchor point="CENTER">
					<Offset>
						<AbsDimension x="0" y="-1"/>
					</Offset>
				</Anchor>
			</Anchors>
		</NormalTexture>
    </Button>

    <Frame name="SuperInspect_MagicResistanceFrameTemplate" virtual="true">
        <Size>
            <AbsDimension x="34" y="32"/>
        </Size>
		<Scripts>
			<OnEnter>
				if ( this.tooltip ) then
					GameTooltip:SetOwner(this,"ANCHOR_RIGHT");
					GameTooltip:SetText(this.tooltip, 1.0,1.0,1.0);
					GameTooltip:AddLine(this.tooltipSubtext, NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b, 1);
					GameTooltip:Show();
				end
			</OnEnter>
			<OnLeave>
                GameTooltip:Hide();
            </OnLeave>
		</Scripts>
    </Frame>

	<GameTooltip name="SuperInspect_TT" frameStrata="TOOLTIP" hidden="true" inherits="GameTooltipTemplate">
		<Scripts>
			<OnLoad>
				GameTooltip_OnLoad();
				this:SetOwner(UIParent, "ANCHOR_NONE");
			</OnLoad>
		</Scripts>
	</GameTooltip>

	<Frame name="SuperInspectFrame" parent="UIParent" frameStrata="DIALOG" toplevel="true" movable="true" enableMouse="true" hidden="true"> 
<!-- 		<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
			<EdgeSize>
				<AbsValue val="22"/>
			</EdgeSize>
			<TileSize>
				<AbsValue val="16"/>
			</TileSize>
			<BackgroundInsets>
				<AbsInset left="5" right="5" top="5" bottom="5"/>
			</BackgroundInsets>
		</Backdrop> -->
		<Size>
			<AbsDimension x="354" y="442"/>
		</Size>
		<Anchors>
			<Anchor point="CENTER">
				<Offset>
					<AbsDimension x="0" y="0"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Layers>
            <Layer level="ARTWORK">
                <Texture name="SuperInspectFramePortrait">
                    <Size>
                        <AbsDimension x="60" y="60"/>
                    </Size>
                    <Anchors>
                        <Anchor point="TOPLEFT">
                            <Offset>
                                <AbsDimension x="4" y="0"/>
                            </Offset>
                        </Anchor>
                    </Anchors>
                </Texture>
            </Layer>
		</Layers>
		<Scripts> 
			<OnLoad> 
				SuperInspect_OnLoad(); 
				this:SetBackdropBorderColor(0.5, 0.5, 0.5, 1);
				this:SetBackdropColor(0.1, 0.1, 0.1, 1);
				SuperInspect_BackgroundTopLeft:SetAlpha(1);
				SuperInspect_BackgroundTopRight:SetAlpha(1);
				SuperInspect_BackgroundBotLeft:SetAlpha(1);
				SuperInspect_BackgroundBotRight:SetAlpha(1);
			</OnLoad> 
			<OnEvent> 
				SuperInspect_OnEvent()
			</OnEvent> 
			<OnMouseDown>
				SuperInspect_Main_OnMouseDown(arg1);
			</OnMouseDown>
			<OnMouseUp>
				SuperInspect_Main_OnMouseUp(arg1);
			</OnMouseUp>
			<OnReceiveDrag>
				SuperInspect_Main_OnMouseUp("LeftButton");
			</OnReceiveDrag>
			<OnShow>
				SuperInspect_Main_OnShow();
			</OnShow>
			<OnHide>
				-- Clear the player being inspected
				ClearInspectPlayer();
				if (SI_Save.snd) then
					PlaySound("igCharacterInfoClose");
				end
			</OnHide>
			<OnUpdate>
				SuperInspect_Main_OnUpdate();
			</OnUpdate>
		</Scripts> 
		<Frames>
			<Frame name="$parentHeader"> 
				<Size>
					<AbsDimension x="342" y="26"/>
				</Size>
				<Anchors>
					<Anchor point="TOP">
						<Offset>
							<AbsDimension x="0" y="-8"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<Texture file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft">
							<Size>
								<AbsDimension x="256" y="256"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT">
									<Offset>
										<AbsDimension x="-9" y="11"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Texture>
						<Texture file="Interface\PaperDollInfoFrame\UI-Character-General-TopRight">
							<Size>
								<AbsDimension x="128" y="256"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT">
									<Offset>
										<AbsDimension x="247" y="11"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Texture>
						<Texture file="Interface\PaperDollInfoFrame\UI-Character-General-BottomLeft">
							<Size>
								<AbsDimension x="256" y="256"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT">
									<Offset>
										<AbsDimension x="-9" y="-245"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Texture>
						<Texture file="Interface\PaperDollInfoFrame\UI-Character-General-BottomRight">
							<Size>
								<AbsDimension x="128" y="256"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT">
									<Offset>
										<AbsDimension x="247" y="-245"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Texture>
					</Layer>
					<Layer level="OVERLAY">
						<FontString name="$parent_Name" inherits="SuperInspect_NameText" justifyH="CENTER" text="">
							<Anchors>
								<Anchor point="TOP" relativeTo="$parent" relativePoint="TOP">
									<Offset>
										<AbsDimension x="10" y="-7"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="$parent_Info" inherits="SuperInspect_TitleText" justifyH="CENTER" text="">
							<Anchors>
								<Anchor point="TOP" relativeTo="$parent_Name" relativePoint="BOTTOM">
									<Offset>
										<AbsDimension x="0" y="-8"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>						
						<FontString name="$parent_Guild" inherits="SuperInspect_TitleText" justifyH="CENTER" text="">
							<Anchors>
								<Anchor point="TOP" relativeTo="$parent_Info" relativePoint="BOTTOM">
									<Offset>
										<AbsDimension x="0" y="-2"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="$parent_Realm" inherits="SuperInspect_TitleText" justifyH="CENTER" text="">
							<Anchors>
								<Anchor point="TOP" relativeTo="$parent_Guild" relativePoint="BOTTOM">
									<Offset>
										<AbsDimension x="0" y="-2"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>						
					</Layer>
				</Layers>
				<Frames>
					<Button name="$parent_CloseButton">
						<Size>
							<AbsDimension x="32" y="32"/>
						</Size>
						<Anchors>
							<Anchor point="RIGHT">
								<Offset>
									<AbsDimension x="3" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								SuperInspect_InspectTarget();
							</OnClick>
						</Scripts>
						<NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/>
						<PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/>
						<HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
					</Button>
				</Frames>
				<Scripts> 
					<OnLoad> 
						getglobal(this:GetName().."_Name"):SetTextColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
						this:SetBackdropBorderColor(0.9, 0.9, 0.9, 0.6);
						this:SetBackdropColor(0, 0, 0, 0.4);
					</OnLoad> 
				</Scripts>
			</Frame>
			<PlayerModel name="SuperInspect_ModelFrame">
                <Size>
                    <AbsDimension x="318" y="354"/>
                </Size>
                <Anchors>
                    <Anchor point="BOTTOM">
                        <Offset>
                            <AbsDimension x="0" y="16"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                <Scripts>
                    <OnLoad>
						SuperInspect_ModelFrame_OnLoad();
						this:RegisterEvent("DISPLAY_SIZE_CHANGED");
						--this:SetScale(1.5);
                    </OnLoad>
					<OnEvent>
						this:RefreshUnit();
					</OnEvent>
                    <OnUpdate>
						--SuperInspect_ModelFrame_OnUpdate(arg1, this);
                    </OnUpdate>
                </Scripts>
				<Layers>
					<Layer level="ARTWORK">
						<Texture name="SuperInspect_BackgroundTopLeft">
							<Size>
								<AbsDimension x="240" y="268"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT">
									<Offset>
										<AbsDimension x="0" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Texture>
						<Texture name="SuperInspect_BackgroundTopRight">
							<Size>
								<AbsDimension x="52" y="268"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="SuperInspect_BackgroundTopLeft" relativePoint="TOPRIGHT"/>
							</Anchors>
						</Texture>
						<Texture name="SuperInspect_BackgroundBotLeft">
							<Size>
								<AbsDimension x="240" y="146"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="SuperInspect_BackgroundTopLeft" relativePoint="BOTTOMLEFT"/>
							</Anchors>
						</Texture>
						<Texture name="SuperInspect_BackgroundBotRight">
							<Size>
								<AbsDimension x="52" y="146"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="SuperInspect_BackgroundTopLeft" relativePoint="BOTTOMRIGHT"/>
							</Anchors>
						</Texture>
					</Layer>
				</Layers>
				<Frames>
					<Button name="SuperInspect_Button_ShowItems" inherits="GameMenuButtonTemplate" frameStrata="DIALOG" toplevel="true" text="SI_ITEMSSHOW">
						<Size>
							<AbsDimension x="98" y="21"/>
						</Size>
						<HitRectInsets>
							<AbsInset left="1" right="1" top="1" bottom="1"/>
						</HitRectInsets>
						<Anchors>
							<Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT">
								<Offset>
									<AbsDimension x="-4" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								this.tooltipText = SI_ITEMBUTTON_TOOLTIP;
								getglobal(this:GetName().."Texture"):SetVertexColor(0.5, 0.8, 1.0); 
								getglobal(this:GetName().."TexturePushed"):SetVertexColor(0.5, 0.8, 1.0); 
								--this:SetFrameLevel(this:GetFrameLevel() + 2);
							</OnLoad>
							<OnClick>
								SuperInspect_ShowItems_CheckChecked( this );
							</OnClick>
							<OnEnter>
								if ( this.tooltipText ) then
									GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
									GameTooltip:SetText(this.tooltipText, nil, nil, nil, nil, 1);
								end
								if ( this.tooltipRequirement ) then
									GameTooltip:AddLine(this.tooltipRequirement, 1.0, 1.0, 1.0);
									GameTooltip:Show();
								end
							</OnEnter>
							<OnLeave>
								GameTooltip:Hide();
							</OnLeave>
						</Scripts>
						<NormalText inherits="SuperInspect_ButtonText"/>
						<DisabledText inherits="SuperInspect_ButtonTextDisable"/>
						<HighlightText inherits="SuperInspect_ButtonTextHighlight"/>
						<NormalTexture name="$parentTexture" inherits="UIPanelButtonDisabledTexture"/>
						<PushedTexture name="$parentTexturePushed" inherits="UIPanelButtonDisabledDownTexture"/>
						<DisabledTexture name="$parentTextureDisabled" inherits="UIPanelButtonDisabledTexture"/>
						<HighlightTexture name="UIPanelButtonHighlightTexture" file="Interface\Buttons\UI-Panel-Button-Highlight2" alphaMode="ADD" virtual="true">
							<TexCoords left="0" right="0.625" top="0" bottom="0.6875"/>
						</HighlightTexture>
					</Button>
					<Button name="SuperInspect_Button_ShowHonor" inherits="GameMenuButtonTemplate" frameStrata="DIALOG" toplevel="true" text="SI_HONORSHOW">
						<Size>
							<AbsDimension x="98" y="21"/>
						</Size>
						<HitRectInsets>
							<AbsInset left="1" right="1" top="1" bottom="1"/>
						</HitRectInsets>
						<Anchors>
							<Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="4" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								this.tooltipText = SI_HONORBUTTON_TOOLTIP;
								getglobal(this:GetName().."Texture"):SetVertexColor(0.5, 0.8, 1.0); 
								getglobal(this:GetName().."TexturePushed"):SetVertexColor(0.5, 0.8, 1.0); 
								--this:SetFrameLevel(this:GetFrameLevel() + 2);
							</OnLoad>
							<OnClick>
								SuperInspect_ShowHonor_CheckChecked( this );
							</OnClick>
							<OnEnter>
								if ( this.tooltipText ) then
									GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
									GameTooltip:SetText(this.tooltipText, nil, nil, nil, nil, 1);
								end
								if ( this.tooltipRequirement ) then
									GameTooltip:AddLine(this.tooltipRequirement, 1.0, 1.0, 1.0);
									GameTooltip:Show();
								end
							</OnEnter>
							<OnLeave>
								GameTooltip:Hide();
							</OnLeave>
						</Scripts>
						<NormalText inherits="SuperInspect_ButtonText"/>
						<DisabledText inherits="SuperInspect_ButtonTextDisable"/>
						<HighlightText inherits="SuperInspect_ButtonTextHighlight"/>
						<NormalTexture name="$parentTexture" inherits="UIPanelButtonDisabledTexture"/>
						<PushedTexture name="$parentTexturePushed" inherits="UIPanelButtonDisabledDownTexture"/>
						<DisabledTexture name="$parentTextureDisabled" inherits="UIPanelButtonDisabledTexture"/>
						<HighlightTexture name="UIPanelButtonHighlightTexture" file="Interface\Buttons\UI-Panel-Button-Highlight2" alphaMode="ADD" virtual="true">
							<TexCoords left="0" right="0.625" top="0" bottom="0.6875"/>
						</HighlightTexture>
					</Button>
					<Button name="SuperInspect_Button_ShowBonuses" inherits="GameMenuButtonTemplate" frameStrata="DIALOG" toplevel="true" text="SI_BONUSESSHOW">
						<Size>
							<AbsDimension x="98" y="21"/>
						</Size>
						<HitRectInsets>
							<AbsInset left="1" right="1" top="1" bottom="1"/>
						</HitRectInsets>
						<Anchors>
							<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								this.tooltipText = SI_BONUSESBUTTON_TOOLTIP;
								getglobal(this:GetName().."Texture"):SetVertexColor(0.5, 0.8, 1.0); 
								getglobal(this:GetName().."TexturePushed"):SetVertexColor(0.5, 0.8, 1.0); 
								--this:SetFrameLevel(this:GetFrameLevel() + 2);
							</OnLoad>
							<OnClick>
								SuperInspect_ShowBonuses_CheckChecked( this );
							</OnClick>
							<OnEnter>
								if ( this.tooltipText ) then
									GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
									GameTooltip:SetText(this.tooltipText, nil, nil, nil, nil, 1);
								end
								if ( this.tooltipRequirement ) then
									GameTooltip:AddLine(this.tooltipRequirement, 1.0, 1.0, 1.0);
									GameTooltip:Show();
								end
							</OnEnter>
							<OnLeave>
								GameTooltip:Hide();
							</OnLeave>
						</Scripts>
						<NormalText inherits="SuperInspect_ButtonText"/>
						<DisabledText inherits="SuperInspect_ButtonTextDisable"/>
						<HighlightText inherits="SuperInspect_ButtonTextHighlight"/>
						<NormalTexture name="$parentTexture" inherits="UIPanelButtonDisabledTexture"/>
						<PushedTexture name="$parentTexturePushed" inherits="UIPanelButtonDisabledDownTexture"/>
						<DisabledTexture name="$parentTextureDisabled" inherits="UIPanelButtonDisabledTexture"/>
						<HighlightTexture name="UIPanelButtonHighlightTexture" file="Interface\Buttons\UI-Panel-Button-Highlight2" alphaMode="ADD" virtual="true">
							<TexCoords left="0" right="0.625" top="0" bottom="0.6875"/>
						</HighlightTexture>
					</Button>
					<Button name="SuperInspect_Button_ShowMobInfo" inherits="GameMenuButtonTemplate" frameStrata="DIALOG" toplevel="true" text="SI_MOBINFOSHOW">
						<Size>
							<AbsDimension x="98" y="21"/>
						</Size>
						<HitRectInsets>
							<AbsInset left="1" right="1" top="1" bottom="1"/>
						</HitRectInsets>
						<Anchors>
							<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnLoad>
								this.tooltipText = SI_MOBINFOBUTTON_TOOLTIP;
								getglobal(this:GetName().."Texture"):SetVertexColor(0.5, 0.8, 1.0); 
								getglobal(this:GetName().."TexturePushed"):SetVertexColor(0.5, 0.8, 1.0); 
								--this:SetFrameLevel(this:GetFrameLevel() + 2);
							</OnLoad>
							<OnClick>
								SuperInspect_ShowMobInfo_CheckChecked( this );
							</OnClick>
							<OnEnter>
								if ( this.tooltipText ) then
									GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
									GameTooltip:SetText(this.tooltipText, nil, nil, nil, nil, 1);
								end
								if ( this.tooltipRequirement ) then
									GameTooltip:AddLine(this.tooltipRequirement, 1.0, 1.0, 1.0);
									GameTooltip:Show();
								end
							</OnEnter>
							<OnLeave>
								GameTooltip:Hide();
							</OnLeave>
						</Scripts>
						<NormalText inherits="SuperInspect_ButtonText"/>
						<DisabledText inherits="SuperInspect_ButtonTextDisable"/>
						<HighlightText inherits="SuperInspect_ButtonTextHighlight"/>
						<NormalTexture name="$parentTexture" inherits="UIPanelButtonDisabledTexture"/>
						<PushedTexture name="$parentTexturePushed" inherits="UIPanelButtonDisabledDownTexture"/>
						<DisabledTexture name="$parentTextureDisabled" inherits="UIPanelButtonDisabledTexture"/>
						<HighlightTexture name="UIPanelButtonHighlightTexture" file="Interface\Buttons\UI-Panel-Button-Highlight2" alphaMode="ADD" virtual="true">
							<TexCoords left="0" right="0.625" top="0" bottom="0.6875"/>
						</HighlightTexture>
					</Button>
					<Frame name="SuperInspect_MoveFrame" setAllPoints="true" movable="true" enableMouse="true"> 
						<Size>
							<AbsDimension x="318" y="320"/>
						</Size>
						<Anchors>
							<Anchor point="TOP">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts> 
							<OnLoad> 
								this:SetBackdropBorderColor(0.4, 0.4, 0.4, 1);
								this:SetBackdropColor(0.15, 0.15, 0.15, 1);
								--this:RegisterForClicks("LeftButtonDown", "LeftButtonUp", "RightButtonDown", "RightButtonUp");
								this:SetFrameLevel(SuperInspectFrame:GetFrameLevel() + 1);
							</OnLoad> 
							<OnShow>
								--this:SetFrameLevel(SuperInspectFrame:GetFrameLevel() + 10);
								--/script DEFAULT_CHAT_FRAME:AddMessage(SuperInspectFrame:GetFrameLevel());
								--/script DEFAULT_CHAT_FRAME:AddMessage(SuperInspect_MoveFrame:IsVisible());

								this:ClearAllPoints();
								this:SetPoint("TOP", "SuperInspect_ModelFrame", "TOP", 0, 0);
							</OnShow>
							<OnMouseDown>
								SuperInspect_Move_OnMouseDown(arg1);
							</OnMouseDown>
							<OnMouseUp>
								SuperInspect_Move_OnMouseUp(arg1);
								SuperInspect_Main_OnMouseUp(arg1);
							</OnMouseUp>
							<OnReceiveDrag>
								SuperInspect_Main_OnMouseUp("LeftButton");
							</OnReceiveDrag>
							<OnUpdate>
								SuperInspect_Move_OnUpdate();
							</OnUpdate>
							<OnMouseWheel>
								SuperInspect_Move_OnMouseWheel(arg1);
							</OnMouseWheel>
						</Scripts>
					</Frame>
					<Frame name="SuperInspect_InRangeFrame" setAllPoints="true" enableMouse="true" hidden="false" id="98">
							<HitRectInsets>
								<AbsInset left="0" right="30" top="0" bottom="75"/>
							</HitRectInsets>
							<Size>
								<AbsDimension x="220" y="100"/>
							</Size>
							<Anchors>
								<Anchor point="TOP">
									<Offset>
										<AbsDimension x="0" y="82"/>
									</Offset>
								</Anchor>
							</Anchors>
							<Layers>
								<Layer level="ARTWORK">
									<FontString name="SuperInspect_InRangeFrame_Text" justifyH="CENTER" text="test"  inherits="SuperInspect_HonorText">
										<Anchors>
											<Anchor point="TOP">
												<Offset>
													<AbsDimension x="20" y="16"/>
												</Offset>
											</Anchor>
										</Anchors>
									</FontString>		
									<FontString name="SuperInspect_InRangeFrame_Text2" justifyH="CENTER" text="test"  inherits="SuperInspect_HonorText">
										<Anchors>
											<Anchor point="TOP">
												<Offset>
													<AbsDimension x="20" y="-5"/>
												</Offset>
											</Anchor>
										</Anchors>
									</FontString>	
								</Layer>
								<Layer level="BACKGROUND">
									<Texture file="Interface\Addons\SuperInspect_UI\infotop">
											<Size>
											<AbsDimension x="256" y="64"/>
										</Size>
										<Anchors>
											<Anchor point="TOPLEFT">
												<Offset>
													<AbsDimension x="0" y="20"/>
												</Offset>
											</Anchor>
										</Anchors>
									</Texture>
								</Layer>									
							</Layers>
						
					</Frame>
					<Frame name="SuperInspect_HonorFrame" setAllPoints="true" enableMouse="true" hidden="true" id="2">
						<HitRectInsets>
							<AbsInset left="0" right="30" top="0" bottom="75"/>
						</HitRectInsets>
						<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
							<EdgeSize>
								<AbsValue val="22"/>
							</EdgeSize>
							<TileSize>
								<AbsValue val="16"/>
							</TileSize>
							<BackgroundInsets>
								<AbsInset left="5" right="5" top="5" bottom="5"/>
							</BackgroundInsets>
						</Backdrop>
						<Size>
							<AbsDimension x="220" y="294"/>
						</Size>
						<Anchors>
							<Anchor point="TOP">
								<Offset>
									<AbsDimension x="0" y="3"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="ARTWORK">
								<FontString name="SuperInspect_HonorFrameCurrentPVPTitle" inherits="SuperInspect_HonorText">
									<Anchors>
										<Anchor point="TOP">
											<Offset>
												<AbsDimension x="0" y="-20"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="SuperInspect_HonorFrameCurrentPVPRank" inherits="SuperInspect_HonorTextSmall">
									<Anchors>
										<Anchor point="LEFT" relativeTo="SuperInspect_HonorFrameCurrentPVPTitle" relativePoint="RIGHT">
											<Offset>
												<AbsDimension x="5" y="4"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="SuperInspect_HonorFrameHonorPercent" inherits="SuperInspect_HonorText">
									<Anchors>
										<Anchor point="TOP" relativeTo="SuperInspect_HonorFrameCurrentPVPRank" relativePoint="BOTTOM">
											<Offset>
												<AbsDimension x="0" y="-2"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="SuperInspect_HonorFrameCurrentSessionTitle" inherits="SuperInspect_HonorText" text="HONOR_THIS_SESSION">
									<Anchors>
										<Anchor point="TOPLEFT">
											<Offset>
												<AbsDimension x="12" y="-47"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="SuperInspect_HonorFrameYesterdayTitle" inherits="SuperInspect_HonorText" text="HONOR_YESTERDAY">
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameCurrentSessionTitle" relativePoint="BOTTOMLEFT">
											<Offset>
												<AbsDimension x="0" y="-31"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="SuperInspect_HonorFrameThisWeekTitle" inherits="SuperInspect_HonorText" text="HONOR_THISWEEK">
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameYesterdayTitle" relativePoint="BOTTOMLEFT">
											<Offset>
												<AbsDimension x="0" y="-33"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="SuperInspect_HonorFrameLastWeekTitle" inherits="SuperInspect_HonorText" text="HONOR_LASTWEEK">
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameThisWeekTitle" relativePoint="BOTTOMLEFT">
											<Offset>
												<AbsDimension x="0" y="-32"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="SuperInspect_HonorFrameLifeTimeTitle" inherits="SuperInspect_HonorText" text="HONOR_LIFETIME">
									<Anchors>
										<Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameLastWeekTitle" relativePoint="BOTTOMLEFT">
											<Offset>
												<AbsDimension x="0" y="-48"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
							</Layer>
							<Layer level="OVERLAY">
								<Texture name="SuperInspect_HonorFramePvPIcon">
									<Size>
										<AbsDimension x="24" y="24"/>
									</Size>
									<Anchors>
										<Anchor point="RIGHT" relativeTo="SuperInspect_HonorFrameCurrentPVPTitle" relativePoint="LEFT">
											<Offset>
												<AbsDimension x="-5" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
								</Texture>	
							</Layer>
						</Layers>
						<Frames>
							<Frame name="SuperInspect_HonorFrameCurrentHK" inherits="SuperInspect_HonorFrameHKButtonTemplate">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameCurrentSessionTitle" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="6" y="-2"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>
							<Frame name="SuperInspect_HonorFrameCurrentDK" inherits="SuperInspect_HonorFrameDKButtonTemplate">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameCurrentHK" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-1"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>
							<Frame name="SuperInspect_HonorFrameYesterdayHK" inherits="SuperInspect_HonorFrameHKButtonTemplate">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameYesterdayTitle" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="6" y="-2"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>
							<Frame name="SuperInspect_HonorFrameYesterdayContribution" inherits="SuperInspect_HonorFrameContributionButtonTemplate">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameYesterdayHK" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-1"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>
							<Frame name="SuperInspect_HonorFrameThisWeekHK" inherits="SuperInspect_HonorFrameHKButtonTemplate">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameThisWeekTitle" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="6" y="-2"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>
							<Frame name="SuperInspect_HonorFrameThisWeekContribution" inherits="SuperInspect_HonorFrameContributionButtonTemplate">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameThisWeekHK" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-1"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>
							<Frame name="SuperInspect_HonorFrameLastWeekHK" inherits="SuperInspect_HonorFrameHKButtonTemplate">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameLastWeekTitle" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="6" y="-2"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>
							<Frame name="SuperInspect_HonorFrameLastWeekContribution" inherits="SuperInspect_HonorFrameContributionButtonTemplate">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameLastWeekHK" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-1"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>
							<Frame name="SuperInspect_HonorFrameLastWeekStanding" inherits="SuperInspect_HonorFrameStandingButtonTemplate">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameLastWeekContribution" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-1"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>
							<Frame name="SuperInspect_HonorFrameLifeTimeHK" inherits="SuperInspect_HonorFrameHKButtonTemplate">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameLifeTimeTitle" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="6" y="-2"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>
							<Frame name="SuperInspect_HonorFrameLifeTimeDK" inherits="SuperInspect_HonorFrameDKButtonTemplate">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameLifeTimeHK" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-1"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>
							<Frame name="SuperInspect_HonorFrameLifeTimeRank" inherits="SuperInspect_HonorFrameRankButtonTemplate">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_HonorFrameLifeTimeDK" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-1"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Frame>
							<Frame name="SuperInspect_HonorFrameRankButton" enableMouse="true" hidden="false">
								<Size>
									<AbsDimension x="10" y="24"/>
								</Size>
								<Anchors>
									<Anchor point="LEFT" relativeTo="SuperInspect_HonorFramePvPIcon"/>
									<Anchor point="RIGHT" relativeTo="SuperInspect_HonorFrameCurrentPVPRank"/>
								</Anchors>
								<Scripts>
									<OnEnter>
										GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
										GameTooltip:SetText(RANK, HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
										GameTooltip:AddLine(NEWBIE_TOOLTIP_RANK, NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b, 1);
										GameTooltip:Show();
									</OnEnter>
									<OnLeave>
										GameTooltip:Hide();
									</OnLeave>
								</Scripts>
							</Frame>
							<StatusBar name="SuperInspect_HonorFrameProgressBar" drawLayer="BORDER" minValue="0" maxValue="1" defaultValue="0">
								<Size>
									<AbsDimension x="192" y="28"/>
								</Size>
								<Anchors>
									<Anchor point="TOP">
										<Offset>
											<AbsDimension x="0" y="-12"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Frames>
									<Frame name="$parentBG">
										<Size>
											<AbsDimension x="206" y="40"/>
										</Size>
										<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
											<EdgeSize>
												<AbsValue val="22"/>
											</EdgeSize>
											<TileSize>
												<AbsValue val="16"/>
											</TileSize>
											<BackgroundInsets>
												<AbsInset left="5" right="5" top="5" bottom="5"/>
											</BackgroundInsets>
										</Backdrop>
										<Anchors>
											<Anchor point="CENTER">
												<Offset>
													<AbsDimension x="0" y="0"/>
												</Offset>
											</Anchor>
										</Anchors>
										<Scripts>
											<OnLoad>
												this:SetFrameLevel(this:GetFrameLevel() - 2);
												this:SetBackdropBorderColor(0.7, 0.7, 0.7, 0.4);
												this:SetBackdropColor(0.15, 0.15, 0.15, 0.5);
											</OnLoad>
										</Scripts>
									</Frame>
									<Frame name="SuperInspect_HonorFrameProgressButton" enableMouse="true" setAllPoints="true">
										<Scripts>
											<OnLoad>
												this:SetFrameLevel(this:GetFrameLevel() - 1);
											</OnLoad>
											<OnEnter>
												GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
												GameTooltip:SetText(RANK_POSITION, HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
												GameTooltip:AddLine(NEWBIE_TOOLTIP_RANK_POSITION, NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b, 1);
												GameTooltip:Show();
											</OnEnter>
											<OnLeave>
												GameTooltip:Hide();
											</OnLeave>
										</Scripts>
									</Frame>
								</Frames>
								<Scripts>
									<OnLoad>
										this:SetFrameLevel(this:GetFrameLevel() - 1);
									</OnLoad>
								</Scripts>
								<BarTexture name="$parentBar" file="Interface\PaperDollInfoFrame\UI-Character-Skills-Bar" />
							</StatusBar>
						</Frames>
						<Scripts>
							<OnLoad>
								SuperInspect_HonorFrame_OnLoad();
								this:SetBackdropBorderColor(0.7, 0.7, 0.7);
								this:SetBackdropColor(0.15, 0.15, 0.15, 0.9);
							</OnLoad>
							<OnShow>
								SuperInspect_HonorFrame_OnShow();
							</OnShow>
							<OnEvent>
								SuperInspect_HonorFrame_OnEvent(event);
							</OnEvent>
							<OnHide>
								SuperInspect_HonorFrame_Clear()
								SuperInspect_HonorFrame.isShowing = nil;
								SuperInspect_Button_ShowHonor:SetText(SI_HONORSHOW);
							</OnHide>
							<OnUpdate>
								SuperInspect_HonorFrame_OnUpdate();
							</OnUpdate>
						</Scripts>
					</Frame>

					<Frame name="SuperInspect_InvFrame" toplevel="true"> 
						<Size>
							<AbsDimension x="320" y="400"/>
						</Size>
						<Anchors>
							<Anchor point="CENTER">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts> 
							<OnShow> 
								SuperInspect_InspectPaperDollFrame_OnShow();
							</OnShow>
							<OnHide> 
								SuperInspect_Button_ShowItems:SetText(SI_ITEMSSHOW);
								SuperInspect_Button_ShowBonuses:Disable();
							</OnHide>
						</Scripts>
						<Frames>
							<Button name="SuperInspect_InspectHeadSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="1">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_ModelFrame" relativePoint="TOPLEFT">
										<Offset>
											<AbsDimension x="4" y="-4"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="SuperInspect_InspectNeckSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="2">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectHeadSlot" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-4"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="SuperInspect_InspectShoulderSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="3">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectNeckSlot" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-4"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="SuperInspect_InspectBackSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="4">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectShoulderSlot" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-4"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="SuperInspect_InspectChestSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="5">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectBackSlot" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-4"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="SuperInspect_InspectShirtSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="6">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectChestSlot" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-4"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="SuperInspect_InspectTabardSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="7">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectShirtSlot" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-4"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="SuperInspect_InspectWristSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="8">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectTabardSlot" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-4"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="SuperInspect_InspectHandsSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="9">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="SuperInspect_ModelFrame" relativePoint="TOPRIGHT">
										<Offset>
											<AbsDimension x="-4" y="-4"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="SuperInspect_InspectWaistSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="10">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectHandsSlot" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-4"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="SuperInspect_InspectLegsSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="11">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectWaistSlot" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-4"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="SuperInspect_InspectFeetSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="12">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectLegsSlot" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-4"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="SuperInspect_InspectFinger0Slot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="13">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectFeetSlot" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-4"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="SuperInspect_InspectFinger1Slot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="14">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectFinger0Slot" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-4"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="SuperInspect_InspectTrinket0Slot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="15">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectFinger1Slot" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-4"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="SuperInspect_InspectTrinket1Slot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="16">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectTrinket0Slot" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-4"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="SuperInspect_InspectSecondaryHandSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="18">
								<Anchors>
									<Anchor point="BOTTOM" relativeTo="SuperInspect_ModelFrame" relativePoint="BOTTOM">
										<Offset>
											<AbsDimension x="0" y="25"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="SuperInspect_InspectMainHandSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="17">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="SuperInspect_InspectSecondaryHandSlot" relativePoint="TOPLEFT">
										<Offset>
											<AbsDimension x="-5" y="0"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Button>

							<Button name="SuperInspect_InspectRangedSlot" inherits="SuperInspect_InspectPaperDollItemSlotButtonTemplate" id="19">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_InspectSecondaryHandSlot" relativePoint="TOPRIGHT">
										<Offset>
											<AbsDimension x="5" y="0"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Button>

							<Frame name="SuperInspect_BonusFrameParent" setAllPoints="true" frameStrata="DIALOG" parent="SuperInspect_InvFrame" hidden="true">
								<HitRectInsets>
									<AbsInset left="0" right="30" top="0" bottom="75"/>
								</HitRectInsets>
								<Size>
									<AbsDimension x="220" y="294"/>
								</Size>
								<Anchors>
									<Anchor point="TOP">
										<Offset>
											<AbsDimension x="0" y="-22"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnLoad>
										this.numTabs = 4;	
									</OnLoad>
									<OnShow>
										PanelTemplates_SetTab(this, 1);
										SuperInspect_ItemBonusesFrame:Show();
										SuperInspect_COHBonusesFrame:Hide();
										SuperInspect_USEBonusesFrame:Hide();
										SuperInspect_SnTBonusesFrame:Hide();
									</OnShow>
									<OnHide>
										SuperInspect_Button_ShowBonuses:SetText(SI_BONUSESSHOW);
									</OnHide>
								</Scripts>
								<Frames>
								</Frames>
							</Frame>
							



							<Frame name="SuperInspect_ItemBonusesFrame" setAllPoints="true" frameStrata="DIALOG" parent="SuperInspect_BonusFrameParent" hidden="true">
								<HitRectInsets>
									<AbsInset left="0" right="30" top="0" bottom="75"/>
								</HitRectInsets>
								<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
									<EdgeSize>
										<AbsValue val="22"/>
									</EdgeSize>
									<TileSize>
										<AbsValue val="16"/>
									</TileSize>
									<BackgroundInsets>
										<AbsInset left="5" right="5" top="5" bottom="5"/>
									</BackgroundInsets>
								</Backdrop>
								<Size>
									<AbsDimension x="220" y="294"/>
								</Size>
								<Anchors>
									<Anchor point="TOP">
										<Offset>
											<AbsDimension x="0" y="0"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Layers>
									<Layer level="ARTWORK">
										<FontString name="SuperInspect_ItemBonusesTitle" inherits="SuperInspect_ButtonText" text="SI_BONUSWINDOWTITLE">
											<Anchors>
												<Anchor point="TOP">
													<Offset>
														<AbsDimension x="0" y="-6"/>
													</Offset>
												</Anchor>
											</Anchors>
										</FontString>
									</Layer>
								</Layers>
								<Scripts>
									<OnLoad>
										this:SetBackdropBorderColor(0.6, 0.6, 0.6, 0.8);
										this:SetBackdropColor(0.1, 0.1, 0.1);
									</OnLoad>
								</Scripts>
								<Frames>
									<ScrollFrame name="SuperInspect_ItemBonusesScrollFrame" inherits="UIPanelScrollFrameTemplate">
										<Size>
											<AbsDimension x="185" y="210"/>
										</Size>
										<Anchors>
											<Anchor point="TOPLEFT">
												<Offset>
													<AbsDimension x="6" y="-56"/>
												</Offset>
											</Anchor>
										</Anchors>
	
										<ScrollChild>	
									<Frame name="SuperInspect_ItemBonusesScrollFrameScrollChildFrame">
										<Size>
											<AbsDimension x="180" y="20"/>
										</Size>
										<Layers>
											<Layer level="ARTWORK">										
												<FontString name="SuperInspect_ItemBonusesText" inherits="SuperInspect_BonusesText">
				<!-- 									<Size>
														<AbsDimension x="208" y="380"/>
													</Size> -->
													<Anchors>
														<Anchor point="TOPLEFT">
															<Offset>
																<AbsDimension x="4" y="0"/>
															</Offset>
														</Anchor>
													</Anchors>
												</FontString>	
										<FontString name="SuperInspect_ItemBonusesTextR" inherits="SuperInspect_BonusesTextR">
											<Anchors>
												<Anchor point="TOPRIGHT">
													<Offset>
														<AbsDimension x="4" y="0"/>
													</Offset>
												</Anchor>
											</Anchors>
										</FontString>												
											</Layer>
										</Layers>
									</Frame>
																			
										</ScrollChild>
									</ScrollFrame>
									<Button name="SuperInspect_CompareButton">
										<Size>
											<AbsDimension x="24" y="24"/>
										</Size>
										<Anchors>
											<Anchor point="TOPRIGHT">
												<Offset>
													<AbsDimension x="-5" y="-5"/>
												</Offset>
											</Anchor>
										</Anchors>
				<!-- 						<Layers>
											<Layer level="ARTWORK">
												<FontString inherits="GameFontNormal" justifyH="RIGHT" text="NEXT">
													<Anchors>
														<Anchor point="RIGHT" relativePoint="LEFT"/>
													</Anchors>
												</FontString>
											</Layer>
										</Layers> -->
										<Scripts>
											<OnClick>
												SuperInspect_BonusInfo_StartCompare();
											</OnClick>
											<OnEnter>
												GameTooltip:SetOwner(this,"ANCHOR_RIGHT");
												GameTooltip:SetText(SI_COMPARE_TOOLTIP, 1.0,1.0,1.0);
												GameTooltip:Show();
											</OnEnter>
											<OnLeave>
												GameTooltip:Hide();
											</OnLeave>
										</Scripts>
										<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
										<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>
										<DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Disabled"/>
										<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
									</Button>
									<Frame name="SuperInspect_CharacterResistanceFrame">
										<Size>
											<AbsDimension x="172" y="34"/>
										</Size>
										<Anchors>
											<Anchor point="TOP" relativeTo="$parent" relativePoint="TOP">
												<Offset>
													<AbsDimension x="2" y="-18"/>
												</Offset>
											</Anchor>
										</Anchors>
										<Frames>
											<Frame name="SuperInspect_MagicResFrame1" inherits="SuperInspect_MagicResistanceFrameTemplate" id="6">
												<Anchors>
													<Anchor point="LEFT" relativeTo="SuperInspect_CharacterResistanceFrame" relativePoint="LEFT"/>
												</Anchors>
												<Layers>
													<Layer level="BACKGROUND">
														<Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons">
															<TexCoords left="0" right="1.0" top="0.2265625" bottom="0.33984375"/>
														</Texture>
														<FontString name="SuperInspect_MagicResText1" inherits="SINumberFontNormal" text="X">
															<Anchors>
																<Anchor point="BOTTOM">
																	<Offset>
																		<AbsDimension x="0" y="4"/>
																	</Offset>
																</Anchor>
															</Anchors>
														</FontString>
													</Layer>
												</Layers>
												<Scripts>
													<OnLoad>
														this.tooltip = RESISTANCE6_NAME;
													</OnLoad>
												</Scripts>
											</Frame>
											<Frame name="SuperInspect_MagicResFrame2" inherits="SuperInspect_MagicResistanceFrameTemplate" id="2">
												<Anchors>
													<Anchor point="LEFT" relativeTo="SuperInspect_MagicResFrame1" relativePoint="RIGHT">
														<Offset>
															<AbsDimension x="-1" y="0"/>
														</Offset>
													</Anchor>
												</Anchors>
												<Layers>
													<Layer level="BACKGROUND">
														<Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons">
															<TexCoords left="0" right="1.0" top="0" bottom="0.11328125"/>
														</Texture>
														<FontString name="SuperInspect_MagicResText2" inherits="SINumberFontNormal" text="X">
															<Anchors>
																<Anchor point="BOTTOM">
																	<Offset>
																		<AbsDimension x="0" y="4"/>
																	</Offset>
																</Anchor>
															</Anchors>
														</FontString>
													</Layer>
												</Layers>
												<Scripts>
													<OnLoad>
														this.tooltip = RESISTANCE2_NAME;
													</OnLoad>
												</Scripts>
											</Frame>
											<Frame name="SuperInspect_MagicResFrame3" inherits="SuperInspect_MagicResistanceFrameTemplate" id="3">
												<Anchors>
													<Anchor point="LEFT" relativeTo="SuperInspect_MagicResFrame2" relativePoint="RIGHT">
														<Offset>
															<AbsDimension x="-1" y="0"/>
														</Offset>
													</Anchor>
												</Anchors>
												<Layers>
													<Layer level="BACKGROUND">
														<Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons">
															<TexCoords left="0" right="1.0" top="0.11328125" bottom="0.2265625"/>
														</Texture>
														<FontString name="SuperInspect_MagicResText3" inherits="SINumberFontNormal" text="X">
															<Anchors>
																<Anchor point="BOTTOM">
																	<Offset>
																		<AbsDimension x="0" y="4"/>
																	</Offset>
																</Anchor>
															</Anchors>
														</FontString>
													</Layer>
												</Layers>
												<Scripts>
													<OnLoad>
														this.tooltip = RESISTANCE3_NAME;
													</OnLoad>
												</Scripts>
											</Frame>
											<Frame name="SuperInspect_MagicResFrame4" inherits="SuperInspect_MagicResistanceFrameTemplate" id="4">
												<Anchors>
													<Anchor point="LEFT" relativeTo="SuperInspect_MagicResFrame3" relativePoint="RIGHT">
														<Offset>
															<AbsDimension x="-1" y="0"/>
														</Offset>
													</Anchor>
												</Anchors>
												<Layers>
													<Layer level="BACKGROUND">
														<Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons">
															<TexCoords left="0" right="1.0" top="0.33984375" bottom="0.453125"/>
														</Texture>
														<FontString name="SuperInspect_MagicResText4" inherits="SINumberFontNormal" text="X">
															<Anchors>
																<Anchor point="BOTTOM">
																	<Offset>
																		<AbsDimension x="0" y="4"/>
																	</Offset>
																</Anchor>
															</Anchors>
														</FontString>
													</Layer>
												</Layers>
												<Scripts>
													<OnLoad>
														this.tooltip = RESISTANCE4_NAME;
													</OnLoad>
												</Scripts>
											</Frame>
											<Frame name="SuperInspect_MagicResFrame5" inherits="SuperInspect_MagicResistanceFrameTemplate" id="5">
												<Anchors>
													<Anchor point="LEFT" relativeTo="SuperInspect_MagicResFrame4" relativePoint="RIGHT">
														<Offset>
															<AbsDimension x="-1" y="0"/>
														</Offset>
													</Anchor>
												</Anchors>
												<Layers>
													<Layer level="BACKGROUND">
														<Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons">
															<TexCoords left="0" right="1.0" top="0.453125" bottom="0.56640625"/>
														</Texture>
														<FontString name="SuperInspect_MagicResText5" inherits="NumberFontNormal" text="X">
															<Anchors>
																<Anchor point="BOTTOM">
																	<Offset>
																		<AbsDimension x="0" y="4"/>
																	</Offset>
																</Anchor>
															</Anchors>
														</FontString>
													</Layer>
												</Layers>
												<Scripts>
													<OnLoad>
														this.tooltip = RESISTANCE5_NAME;
													</OnLoad>
												</Scripts>
											</Frame>
										</Frames>
									</Frame>
								</Frames>
							</Frame>



-------------
							<Frame name="SuperInspect_SnTBonusesFrame" setAllPoints="true" frameStrata="DIALOG" parent="SuperInspect_BonusFrameParent" hidden="true">
								<HitRectInsets>
									<AbsInset left="0" right="30" top="0" bottom="75"/>
								</HitRectInsets>
								<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
									<EdgeSize>
										<AbsValue val="22"/>
									</EdgeSize>
									<TileSize>
										<AbsValue val="16"/>
									</TileSize>
									<BackgroundInsets>
										<AbsInset left="5" right="5" top="5" bottom="5"/>
									</BackgroundInsets>
								</Backdrop>
								<Size>
									<AbsDimension x="220" y="284"/>
								</Size>
								<Anchors>
									<Anchor point="TOP">
										<Offset>
											<AbsDimension x="0" y="0"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Layers>
									<Layer level="ARTWORK">
										<FontString name="SuperInspect_SnTBonusesTitle" inherits="SuperInspect_ButtonText" text="Sets Bonuses">
											<Anchors>
												<Anchor point="TOP">
													<Offset>
														<AbsDimension x="0" y="-10"/>
													</Offset>
												</Anchor>
											</Anchors>
										</FontString>
										<FontString name="SuperInspect_SnTBonusesText" inherits="SuperInspect_BonusesText2">
											<Size>
												<AbsDimension x="200" y="380"/>
											</Size>
											<Anchors>
												<Anchor point="TOPLEFT">
													<Offset>
														<AbsDimension x="12" y="-7"/>
													</Offset>
												</Anchor>
											</Anchors>
										</FontString>
									</Layer>
								</Layers>
								<Scripts>
									<OnLoad>
										this:SetBackdropBorderColor(0.6, 0.6, 0.6, 0.8);
										this:SetBackdropColor(0.1, 0.1, 0.1);
									</OnLoad>
									<OnShow>
										
									</OnShow>
									<OnHide>
										
									</OnHide>
								</Scripts>
								<Frames>
								</Frames>
							</Frame>
							--------------
							<Frame name="SuperInspect_COHBonusesFrame" setAllPoints="true" frameStrata="DIALOG" parent="SuperInspect_BonusFrameParent" hidden="true">
								<HitRectInsets>
									<AbsInset left="0" right="30" top="0" bottom="75"/>
								</HitRectInsets>
								<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
									<EdgeSize>
										<AbsValue val="22"/>
									</EdgeSize>
									<TileSize>
										<AbsValue val="16"/>
									</TileSize>
									<BackgroundInsets>
										<AbsInset left="5" right="5" top="5" bottom="5"/>
									</BackgroundInsets>
								</Backdrop>
								<Size>
									<AbsDimension x="220" y="284"/>
								</Size>
								<Anchors>
									<Anchor point="TOP">
										<Offset>
											<AbsDimension x="0" y="0"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Layers>
									<Layer level="ARTWORK">
										<FontString name="SuperInspect_COHBonusesTitle" inherits="SuperInspect_ButtonText" text="Chance on Hit">
											<Anchors>
												<Anchor point="TOP">
													<Offset>
														<AbsDimension x="0" y="-10"/>
													</Offset>
												</Anchor>
											</Anchors>
										</FontString>
										<FontString name="SuperInspect_COHBonusesText" inherits="SuperInspect_BonusesText2">
											<Size>
												<AbsDimension x="200" y="380"/>
											</Size>
											<Anchors>
												<Anchor point="TOPLEFT">
													<Offset>
														<AbsDimension x="12" y="-7"/>
													</Offset>
												</Anchor>
											</Anchors>
										</FontString>
									</Layer>
								</Layers>
								<Scripts>
									<OnLoad>
										this:SetBackdropBorderColor(0.6, 0.6, 0.6, 0.8);
										this:SetBackdropColor(0.1, 0.1, 0.1);
									</OnLoad>
									<OnShow>
										
									</OnShow>
									<OnHide>
										
									</OnHide>
								</Scripts>
								<Frames>
								</Frames>
							</Frame>
							<Frame name="SuperInspect_USEBonusesFrame" setAllPoints="true" frameStrata="DIALOG" parent="SuperInspect_BonusFrameParent" hidden="true">
								<HitRectInsets>
									<AbsInset left="0" right="30" top="0" bottom="75"/>
								</HitRectInsets>
								<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
									<EdgeSize>
										<AbsValue val="22"/>
									</EdgeSize>
									<TileSize>
										<AbsValue val="16"/>
									</TileSize>
									<BackgroundInsets>
										<AbsInset left="5" right="5" top="5" bottom="5"/>
									</BackgroundInsets>
								</Backdrop>
								<Size>
									<AbsDimension x="220" y="284"/>
								</Size>
								<Anchors>
									<Anchor point="TOP">
										<Offset>
											<AbsDimension x="0" y="0"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Layers>
									<Layer level="ARTWORK">
										<FontString name="SuperInspect_USEBonusesTitle" inherits="SuperInspect_ButtonText" text="On Use">
											<Anchors>
												<Anchor point="TOP">
													<Offset>
														<AbsDimension x="0" y="-10"/>
													</Offset>
												</Anchor>
											</Anchors>
										</FontString>
										<FontString name="SuperInspect_USEBonusesText" inherits="SuperInspect_BonusesText2">
											<Size>
												<AbsDimension x="200" y="380"/>
											</Size>
											<Anchors>
												<Anchor point="TOPLEFT">
													<Offset>
														<AbsDimension x="12" y="-7"/>
													</Offset>
												</Anchor>
											</Anchors>
										</FontString>
									</Layer>
								</Layers>
								<Scripts>
									<OnLoad>
										this:SetBackdropBorderColor(0.6, 0.6, 0.6, 0.8);
										this:SetBackdropColor(0.1, 0.1, 0.1);
									</OnLoad>
									<OnShow>
										
									</OnShow>
									<OnHide>
										
									</OnHide>
								</Scripts>
								<Frames>
								</Frames>
							</Frame>

							<Button name="$parentTab1" inherits="SI_BonusTabTemplate" id="1" text="General" parent="SuperInspect_BonusFrameParent">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspect_BonusFrameParent" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="2" y="8"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="$parentTab2" inherits="SI_BonusTabTemplate" id="2" text="Hit" parent="SuperInspect_BonusFrameParent">
								<Anchors>
									<Anchor point="Left" relativeTo="$parentTab1" relativePoint="RIGHT">
										<Offset>
											<AbsDimension x="2" y="0"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="$parentTab3" inherits="SI_BonusTabTemplate" id="3" text="Use" parent="SuperInspect_BonusFrameParent">
								<Anchors>
									<Anchor point="Left" relativeTo="$parentTab2" relativePoint="RIGHT">
										<Offset>
											<AbsDimension x="2" y="0"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Button name="$parentTab4" inherits="SI_BonusTabTemplate" id="4" text="Sets" parent="SuperInspect_BonusFrameParent">
								<Anchors>
									<Anchor point="Left" relativeTo="$parentTab3" relativePoint="RIGHT">
										<Offset>
											<AbsDimension x="2" y="0"/>
										</Offset>
									</Anchor>
								</Anchors>
							</Button>
							<Frame name="SuperInspect_MobInfoFrame" setAllPoints="true" frameStrata="DIALOG" toplevel="true" parent="SuperInspect_Button_ShowMobInfo" hidden="true">
								<HitRectInsets>
									<AbsInset left="0" right="30" top="0" bottom="75"/>
								</HitRectInsets>
								<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
									<EdgeSize>
										<AbsValue val="22"/>
									</EdgeSize>
									<TileSize>
										<AbsValue val="16"/>
									</TileSize>
									<BackgroundInsets>
										<AbsInset left="5" right="5" top="5" bottom="5"/>
									</BackgroundInsets>
								</Backdrop>
								<Size>
									<AbsDimension x="300" y="294"/>
								</Size>
								<Anchors>
									<Anchor point="BOTTOM">
										<Offset>
											<AbsDimension x="0" y="18"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Layers>
									<Layer level="ARTWORK">
										<FontString name="SuperInspect_MobInfoTitle" inherits="SuperInspect_ButtonText" text="Mob Info">
											<Anchors>
												<Anchor point="TOP">
													<Offset>
														<AbsDimension x="0" y="-10"/>
													</Offset>
												</Anchor>
											</Anchors>
										</FontString>
										<FontString name="SuperInspect_MobInfoText" inherits="SuperInspect_BonusesText">
		<!-- 									<Size>
												<AbsDimension x="208" y="380"/>
											</Size> -->
											<Anchors>
												<Anchor point="TOPLEFT">
													<Offset>
														<AbsDimension x="24" y="-30"/>
													</Offset>
												</Anchor>
											</Anchors>
										</FontString>
										<FontString name="SuperInspect_MobInfoTextR" inherits="SuperInspect_BonusesTextR">
											<Anchors>
												<Anchor point="TOPRIGHT">
													<Offset>
														<AbsDimension x="-32" y="-30"/>
													</Offset>
												</Anchor>
											</Anchors>
										</FontString>
									</Layer>
								</Layers>
								<Scripts>
									<OnLoad>
										this:SetBackdropBorderColor(0.6, 0.6, 0.6, 0.8);
										this:SetBackdropColor(0.1, 0.1, 0.1);
									</OnLoad>
									<OnShow>
										SuperInspect_MobInfoFrame_OnShow();
									</OnShow>
									<OnHide>
										SuperInspect_Button_ShowMobInfo:SetText(SI_MOBINFOSHOW);
									</OnHide>
								</Scripts>
							</Frame>
							<Frame name="SuperInspect_ItemBonusesFrameCompare" setAllPoints="true" frameStrata="DIALOG" toplevel="true" parent="SuperInspect_InvFrame" hidden="true">
								<HitRectInsets>
									<AbsInset left="0" right="30" top="0" bottom="75"/>
								</HitRectInsets>
								<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
									<EdgeSize>
										<AbsValue val="22"/>
									</EdgeSize>
									<TileSize>
										<AbsValue val="16"/>
									</TileSize>
									<BackgroundInsets>
										<AbsInset left="5" right="5" top="5" bottom="5"/>
									</BackgroundInsets>
								</Backdrop>
								<Size>
									<AbsDimension x="220" y="294"/>
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="SuperInspectFrame" relativePoint="TOPRIGHT">
										<Offset>
											<AbsDimension x="-14" y="-42"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Layers>
									<Layer level="ARTWORK">
										<FontString name="SuperInspect_ItemBonusesNameCompare" inherits="SuperInspect_ButtonText" text="Name\nGuild\info">
											<Size>
												<AbsDimension x="210" y="12"/>
											</Size>
											<Anchors>
												<Anchor point="TOP">
													<Offset>
														<AbsDimension x="0" y="-8"/>
													</Offset>
												</Anchor>
											</Anchors>
										</FontString>
										<FontString name="SuperInspect_ItemBonusesGuildCompare" inherits="SuperInspect_HonorTextSmall" text="Name\nGuild\info">
											<Size>
												<AbsDimension x="210" y="24"/>
											</Size>
											<Anchors>
												<Anchor point="TOP" relativeTo="SuperInspect_ItemBonusesNameCompare" relativePoint="BOTTOM">
													<Offset>
														<AbsDimension x="0" y="-2"/>
													</Offset>
												</Anchor>
											</Anchors>
										</FontString>
										<FontString name="SuperInspect_ItemBonusesTitleCompare" inherits="SuperInspect_ButtonText" text="SI_BONUSWINDOWTITLE">
											<Anchors>
												<Anchor point="TOP">
													<Offset>
														<AbsDimension x="0" y="-46"/>
													</Offset>
												</Anchor>
											</Anchors>
										</FontString>
										<FontString name="SuperInspect_ItemBonusesTextCompare" inherits="SuperInspect_BonusesText">
		<!-- 									<Size>
												<AbsDimension x="208" y="380"/>
											</Size> -->
											<Anchors>
												<Anchor point="TOPLEFT">
													<Offset>
														<AbsDimension x="16" y="-96"/>
													</Offset>
												</Anchor>
											</Anchors>
										</FontString>
										<FontString name="SuperInspect_ItemBonusesTextRCompare" inherits="SuperInspect_BonusesTextR">
											<Anchors>
												<Anchor point="TOPRIGHT">
													<Offset>
														<AbsDimension x="-26" y="-96"/>
													</Offset>
												</Anchor>
											</Anchors>
										</FontString>
									</Layer>
								</Layers>
								<Scripts>
									<OnLoad>
										this:SetBackdropBorderColor(0.6, 0.6, 0.6, 0.8);
										this:SetBackdropColor(0.1, 0.1, 0.1);
									</OnLoad>
									<OnShow>
										this:SetScale(SuperInspect_BonusFrameParent:GetScale() - 0.1);
										--SuperInspect_SetEffectiveScale(this, 0.75, "UIParent");
									</OnShow>
								</Scripts>
								<Frames>
									<Button name="$parent_CloseButton">
										<Size>
											<AbsDimension x="24" y="24"/>
										</Size>
										<Anchors>
											<Anchor point="TOPRIGHT">
												<Offset>
													<AbsDimension x="-4" y="-4"/>
												</Offset>
											</Anchor>
										</Anchors>
										<Scripts>
											<OnClick>
												this:GetParent():Hide();
											</OnClick>
										</Scripts>
										<NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/>
										<PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/>
										<HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
									</Button>
									<Frame name="SuperInspect_CharacterResistanceFrameCompare">
										<Size>
											<AbsDimension x="172" y="34"/>
										</Size>
										<Anchors>
											<Anchor point="TOP" relativeTo="$parent" relativePoint="TOP">
												<Offset>
													<AbsDimension x="2" y="-58"/>
												</Offset>
											</Anchor>
										</Anchors>
										<Frames>
											<Frame name="SuperInspect_MagicResFrameCompare1" inherits="SuperInspect_MagicResistanceFrameTemplate" id="6">
												<Anchors>
													<Anchor point="LEFT" relativeTo="SuperInspect_CharacterResistanceFrameCompare" relativePoint="LEFT"/>
												</Anchors>
												<Layers>
													<Layer level="BACKGROUND">
														<Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons">
															<TexCoords left="0" right="1.0" top="0.2265625" bottom="0.33984375"/>
														</Texture>
														<FontString name="SuperInspect_MagicResTextCompare1" inherits="SINumberFontNormal" text="X">
															<Anchors>
																<Anchor point="BOTTOM">
																	<Offset>
																		<AbsDimension x="-1" y="4"/>
																	</Offset>
																</Anchor>
															</Anchors>
														</FontString>
													</Layer>
												</Layers>
												<Scripts>
													<OnLoad>
														this.tooltip = RESISTANCE6_NAME;
													</OnLoad>
												</Scripts>
											</Frame>
											<Frame name="SuperInspect_MagicResFrameCompare2" inherits="SuperInspect_MagicResistanceFrameTemplate" id="2">
												<Anchors>
													<Anchor point="LEFT" relativeTo="SuperInspect_MagicResFrameCompare1" relativePoint="RIGHT">
														<Offset>
															<AbsDimension x="-1" y="0"/>
														</Offset>
													</Anchor>
												</Anchors>
												<Layers>
													<Layer level="BACKGROUND">
														<Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons">
															<TexCoords left="0" right="1.0" top="0" bottom="0.11328125"/>
														</Texture>
														<FontString name="SuperInspect_MagicResTextCompare2" inherits="SINumberFontNormal" text="X">
															<Anchors>
																<Anchor point="BOTTOM">
																	<Offset>
																		<AbsDimension x="-1" y="4"/>
																	</Offset>
																</Anchor>
															</Anchors>
														</FontString>
													</Layer>
												</Layers>
												<Scripts>
													<OnLoad>
														this.tooltip = RESISTANCE2_NAME;
													</OnLoad>
												</Scripts>
											</Frame>
											<Frame name="SuperInspect_MagicResFrameCompare3" inherits="SuperInspect_MagicResistanceFrameTemplate" id="3">
												<Anchors>
													<Anchor point="LEFT" relativeTo="SuperInspect_MagicResFrameCompare2" relativePoint="RIGHT">
														<Offset>
															<AbsDimension x="-1" y="0"/>
														</Offset>
													</Anchor>
												</Anchors>
												<Layers>
													<Layer level="BACKGROUND">
														<Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons">
															<TexCoords left="0" right="1.0" top="0.11328125" bottom="0.2265625"/>
														</Texture>
														<FontString name="SuperInspect_MagicResTextCompare3" inherits="SINumberFontNormal" text="X">
															<Anchors>
																<Anchor point="BOTTOM">
																	<Offset>
																		<AbsDimension x="-1" y="4"/>
																	</Offset>
																</Anchor>
															</Anchors>
														</FontString>
													</Layer>
												</Layers>
												<Scripts>
													<OnLoad>
														this.tooltip = RESISTANCE3_NAME;
													</OnLoad>
												</Scripts>
											</Frame>
											<Frame name="SuperInspect_MagicResFrameCompare4" inherits="SuperInspect_MagicResistanceFrameTemplate" id="4">
												<Anchors>
													<Anchor point="LEFT" relativeTo="SuperInspect_MagicResFrameCompare3" relativePoint="RIGHT">
														<Offset>
															<AbsDimension x="-1" y="0"/>
														</Offset>
													</Anchor>
												</Anchors>
												<Layers>
													<Layer level="BACKGROUND">
														<Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons">
															<TexCoords left="0" right="1.0" top="0.33984375" bottom="0.453125"/>
														</Texture>
														<FontString name="SuperInspect_MagicResTextCompare4" inherits="SINumberFontNormal" text="X">
															<Anchors>
																<Anchor point="BOTTOM">
																	<Offset>
																		<AbsDimension x="-1" y="4"/>
																	</Offset>
																</Anchor>
															</Anchors>
														</FontString>
													</Layer>
												</Layers>
												<Scripts>
													<OnLoad>
														this.tooltip = RESISTANCE4_NAME;
													</OnLoad>
												</Scripts>
											</Frame>
											<Frame name="SuperInspect_MagicResFrameCompare5" inherits="SuperInspect_MagicResistanceFrameTemplate" id="5">
												<Anchors>
													<Anchor point="LEFT" relativeTo="SuperInspect_MagicResFrameCompare4" relativePoint="RIGHT">
														<Offset>
															<AbsDimension x="-1" y="0"/>
														</Offset>
													</Anchor>
												</Anchors>
												<Layers>
													<Layer level="BACKGROUND">
														<Texture file="Interface\PaperDollInfoFrame\UI-Character-ResistanceIcons">
															<TexCoords left="0" right="1.0" top="0.453125" bottom="0.56640625"/>
														</Texture>
														<FontString name="SuperInspect_MagicResTextCompare5" inherits="NumberFontNormal" text="X">
															<Anchors>
																<Anchor point="BOTTOM">
																	<Offset>
																		<AbsDimension x="0" y="4"/>
																	</Offset>
																</Anchor>
															</Anchors>
														</FontString>
													</Layer>
												</Layers>
												<Scripts>
													<OnLoad>
														this.tooltip = RESISTANCE5_NAME;
													</OnLoad>
												</Scripts>
											</Frame>
										</Frames>
									</Frame>
								</Frames>
							</Frame>							
						</Frames>
					</Frame>
				</Frames>
            </PlayerModel>	

			<Frame name="SIInfoFrame" enableMouse="true" hidden="true">
				<Size>
					<AbsDimension x="270" y="410"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="0" y="-28"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
					<BackgroundInsets>
						<AbsInset left="11" right="12" top="12" bottom="11"/>
					</BackgroundInsets>
					<TileSize>
						<AbsValue val="32"/>
					</TileSize>
					<EdgeSize>
						<AbsValue val="32"/>
					</EdgeSize>
				</Backdrop>
				<Layers>
					<Layer level="ARTWORK">
						<Texture name="SIInfoDetailHeader" file="Interface\RaidFrame\UI-RaidInfo-Header">
							<Size>
								<AbsDimension x="250" y="64"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT">
									<Offset>
										<AbsDimension x="11" y="-10"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Texture>
					</Layer>
					<Layer level="OVERLAY">
						<Texture name="SIInfoDetailCorner" file="Interface\DialogFrame\UI-DialogBox-Corner">
							<Size>
								<AbsDimension x="32" y="32"/>
							</Size>
							<Anchors>
								<Anchor point="TOPRIGHT">
									<Offset>
										<AbsDimension x="-6" y="-7"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Texture>
						<FontString name="SIInfoHeader" inherits="GameFontNormal" text="SI_TEXT_CACHEDPLAYERS">
							<Anchors>
								<Anchor point="TOPLEFT">
									<Offset>
										<AbsDimension x="20" y="-15"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="SIInfoSubheader" inherits="GameFontHighlightSmall"  text=" ">
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="SIInfoHeader" relativePoint="BOTTOMLEFT">
									<Offset>
										<AbsDimension x="0" y="-5"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="SIInfoPlayerLabel" inherits="GameFontDisableSmall" text="SI_TEXT_NAME">
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="SIInfoSubheader" relativePoint="BOTTOMLEFT">
									<Offset>
										<AbsDimension x="0" y="-13"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					
					</Layer>
				</Layers>
				<Frames>
					<Button name="SIInfoCloseButton" inherits="UIPanelCloseButton">
						<Anchors>
							<Anchor point="TOPRIGHT">
								<Offset>
									<AbsDimension x="-3" y="-3"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<ScrollFrame name="SIInfoScrollFrame" inherits="FauxScrollFrameTemplate">
						<Size>
							<AbsDimension x="210" y="320"/>
						</Size>
						<Anchors>
							<Anchor point="BOTTOMRIGHT">
								<Offset>
									<AbsDimension x="-39" y="25"/>
								</Offset>
							</Anchor>
						</Anchors>
			        <Scripts>
			          <OnVerticalScroll>
			            FauxScrollFrame_OnVerticalScroll(40, SuperInspect_UpdateCachedList);
			          </OnVerticalScroll>
			          <OnShow>
			            SuperInspect_UpdateCachedList();
			          </OnShow>
			        </Scripts>
					</ScrollFrame>
					<Button name="SIInfoPlayer1" inherits="InfoPlayerInstanceTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="SIInfoScrollFrame" relativePoint="TOPLEFT">
								<Offset>
									<AbsDimension x="0" y="-5"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="SIInfoPlayer2" inherits="InfoPlayerInstanceTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="SIInfoPlayer1" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="SIInfoPlayer3" inherits="InfoPlayerInstanceTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="SIInfoPlayer2" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="SIInfoPlayer4" inherits="InfoPlayerInstanceTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="SIInfoPlayer3" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="SIInfoPlayer5" inherits="InfoPlayerInstanceTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="SIInfoPlayer4" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="SIInfoPlayer6" inherits="InfoPlayerInstanceTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="SIInfoPlayer5" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="SIInfoPlayer7" inherits="InfoPlayerInstanceTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="SIInfoPlayer6" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="SIInfoPlayer8" inherits="InfoPlayerInstanceTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="SIInfoPlayer7" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					
				</Frames>
			</Frame>
		
		</Frames>
	</Frame> 
	<Frame name="SIButtonFrame" hidden="false" parent="SuperInspectFrame" setAllPoints="true">
		<Frames>
			<Button name="SIButton" hidden="false">
				<Size>
					<AbsDimension x="32" y="32" />
				</Size>
				<Anchors>
					<Anchor point="TOPRIGHT">
						<Offset>
							<AbsDimension x="-10" y="-40" />
						</Offset>
					</Anchor>
				</Anchors>
				<NormalTexture file="Interface\Addons\SuperInspect_UI\si-Button">
					<TexCoords left="0" right="1" top="0" bottom="0.5" />
				</NormalTexture>
				<PushedTexture file="Interface\Addons\SuperInspect_UI\si-Button">
					<TexCoords left="0" right="1" top="0.5" bottom="1" />
				</PushedTexture>
				<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD" />
				<Scripts>
					<OnClick>
						SuperInspect_ToggleCachedPlayers();
					</OnClick>
				</Scripts>
			</Button>
		</Frames>
	</Frame> 	
	
	<GameTooltip name="SuperInspectTTScan" frameStrata="TOOLTIP" hidden="true" inherits="GameTooltipTemplate"/>
</Ui>