<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\..\FrameXML\UI.xsd">
    <Script file="Blizzard_InspectUI.lua"/>
    <Frame name="InspectFrame" toplevel="true" movable="true" enableMouse="true" hidden="true" parent="UIParent" inherits="ButtonFrameTemplate">
        <Frames>
			<Button name="InspectFrameTab1" inherits="CharacterFrameTabButtonTemplate" id="1" text="CHARACTER">
                <Anchors>
					<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="11" y="2"/>
						</Offset>
					</Anchor>
                </Anchors>
                <Scripts>
					<OnClick function="InspectFrameTab_OnClick"/>
					<OnEnter>
						GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
						GameTooltip:SetText(CHARACTER_INFO, 1.0,1.0,1.0 );
					</OnEnter>
					<OnLeave function="GameTooltip_Hide"/>
                </Scripts>
			</Button>
			<Button name="InspectFrameTab2" inherits="CharacterFrameTabButtonTemplate" id="2" text="PVP">
                <Anchors>
                   <Anchor point="LEFT" relativeTo="InspectFrameTab1" relativePoint="RIGHT">
                        <Offset>
                            <AbsDimension x="-16" y="0"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                <Scripts>
					<OnClick function="InspectFrameTab_OnClick"/>
					<OnEnter>
						GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
						GameTooltip:SetText(PLAYER_V_PLAYER, 1.0,1.0,1.0 );
					</OnEnter>
					<OnLeave function="GameTooltip_Hide"/>
                </Scripts>
			</Button>
			<Button name="InspectFrameTab3" inherits="CharacterFrameTabButtonTemplate" id="3" text="TALENTS">
				<Anchors>
				   <Anchor point="LEFT" relativeTo="InspectFrameTab2" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="-16" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick function="InspectFrameTab_OnClick"/>
					<OnEnter>
						GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
						GameTooltip:SetText(TALENTS, 1.0,1.0,1.0 );
					</OnEnter>
					<OnLeave function="GameTooltip_Hide"/>
				</Scripts>
			</Button>
			<Button name="InspectFrameTab4" inherits="CharacterFrameTabButtonTemplate" id="4" text="GUILD">
				<Anchors>
				   <Anchor point="LEFT" relativeTo="InspectFrameTab3" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="-16" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick function="InspectFrameTab_OnClick"/>
					<OnEnter>
						GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
						GameTooltip:SetText(GUILD, 1.0,1.0,1.0 );
					</OnEnter>
					<OnLeave function="GameTooltip_Hide"/>
				</Scripts>
			</Button>
		</Frames>
        <Scripts>
			<OnLoad function="InspectFrame_OnLoad"/>
            <OnEvent function="InspectFrame_OnEvent"/>
            <OnShow function="InspectFrame_OnShow"/>
			<OnHide function="InspectFrame_OnHide"/>
			<OnUpdate function="InspectFrame_OnUpdate"/>
        </Scripts>
    </Frame>
</Ui>