<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/">

  <!-- ===== Main tank anchor ============================================================================== -->

  <Frame name="CH_MTAnchor" inherits="CH_RaidAnchorTemplate">
    <Anchors>
      <Anchor point="TOPRIGHT" relativeTo="UIParent" relativePoint="TOP">
        <Offset>
          <AbsDimension x="0" y="-30"/>
        </Offset>
      </Anchor>
    </Anchors>
  </Frame>

  <!-- ===== Main Tanks ================================================================================== -->

  <Frame name="CH_MT1Frame" inherits="CH_HealFrameTemplate">
    <Anchors>
      <Anchor point="TOP" relativeTo="CH_MTAnchor" relativePoint="BOTTOM" />
    </Anchors>
    <Frames>
	<Button name="CH_MT1Name" inherits="CH_NameTemplate"/>
	<StatusBar name="CH_MT1HPBar" inherits="CH_HPBarTemplate" />
	<Frame name="CH_MT1SP" inherits="CH_PlayerSPBarTemplate" />
    </Frames>
    <Scripts>
      <OnLoad>
        CH_OnUnitFrameLoad(nil,'MT1',nil);
      </OnLoad>
      <OnUpdate>
	CH_OnUnitFrameUpdate( this.index, 'MT1', this.frameData, false, false, false, true );
      </OnUpdate>
    </Scripts>
  </Frame>

  <Frame name="CH_MT2Frame" inherits="CH_HealFrameTemplate">
    <Anchors>
      <Anchor point="TOP" relativeTo="CH_MT1Frame" relativePoint="BOTTOM" />
    </Anchors>
    <Frames>
	<Button name="CH_MT2Name" inherits="CH_NameTemplate"/>
	<StatusBar name="CH_MT2HPBar" inherits="CH_HPBarTemplate" />
	<Frame name="CH_MT2SP" inherits="CH_PlayerSPBarTemplate" />
    </Frames>
    <Scripts>
      <OnLoad>
        CH_OnUnitFrameLoad(nil,'MT2',nil);
      </OnLoad>
      <OnUpdate>
	CH_OnUnitFrameUpdate( this.index, 'MT2', this.frameData, false, false, false, true );
      </OnUpdate>
    </Scripts>
  </Frame>

  <Frame name="CH_MT3Frame" inherits="CH_HealFrameTemplate">
    <Anchors>
      <Anchor point="TOP" relativeTo="CH_MT2Frame" relativePoint="BOTTOM" />
    </Anchors>
    <Frames>
	<Button name="CH_MT3Name" inherits="CH_NameTemplate"/>
	<StatusBar name="CH_MT3HPBar" inherits="CH_HPBarTemplate" />
	<Frame name="CH_MT3SP" inherits="CH_PlayerSPBarTemplate" />
    </Frames>
    <Scripts>
      <OnLoad>
        CH_OnUnitFrameLoad(nil,'MT3',nil);
      </OnLoad>
      <OnUpdate>
	CH_OnUnitFrameUpdate( this.index, 'MT3', this.frameData, false, false, false, true );
      </OnUpdate>
    </Scripts>
  </Frame>

  <Frame name="CH_MT4Frame" inherits="CH_HealFrameTemplate">
    <Anchors>
      <Anchor point="TOP" relativeTo="CH_MT3Frame" relativePoint="BOTTOM" />
    </Anchors>
    <Frames>
	<Button name="CH_MT4Name" inherits="CH_NameTemplate"/>
	<StatusBar name="CH_MT4HPBar" inherits="CH_HPBarTemplate" />
	<Frame name="CH_MT4SP" inherits="CH_PlayerSPBarTemplate" />
    </Frames>
    <Scripts>
      <OnLoad>
        CH_OnUnitFrameLoad(nil,'MT4',nil);
      </OnLoad>
      <OnUpdate>
	CH_OnUnitFrameUpdate( this.index, 'MT4', this.frameData, false, false, false, true );
      </OnUpdate>
    </Scripts>
  </Frame>

  <Frame name="CH_MT5Frame" inherits="CH_HealFrameTemplate">
    <Anchors>
      <Anchor point="TOP" relativeTo="CH_MT4Frame" relativePoint="BOTTOM" />
    </Anchors>
    <Frames>
	<Button name="CH_MT5Name" inherits="CH_NameTemplate"/>
	<StatusBar name="CH_MT5HPBar" inherits="CH_HPBarTemplate" />
	<Frame name="CH_MT5SP" inherits="CH_PlayerSPBarTemplate" />
    </Frames>
    <Scripts>
      <OnLoad>
        CH_OnUnitFrameLoad(nil,'MT5',nil);
      </OnLoad>
      <OnUpdate>
	CH_OnUnitFrameUpdate( this.index, 'MT5', this.frameData, false, false, false, true );
      </OnUpdate>
    </Scripts>
  </Frame>

  <Frame name="CH_MT6Frame" inherits="CH_HealFrameTemplate">
    <Anchors>
      <Anchor point="TOP" relativeTo="CH_MT5Frame" relativePoint="BOTTOM" />
    </Anchors>
    <Frames>
	<Button name="CH_MT6Name" inherits="CH_NameTemplate"/>
	<StatusBar name="CH_MT6HPBar" inherits="CH_HPBarTemplate" />
	<Frame name="CH_MT6SP" inherits="CH_PlayerSPBarTemplate" />
    </Frames>
    <Scripts>
      <OnLoad>
        CH_OnUnitFrameLoad(nil,'MT6',nil);
      </OnLoad>
      <OnUpdate>
	CH_OnUnitFrameUpdate( this.index, 'MT6', this.frameData, false, false, false, true );
      </OnUpdate>
    </Scripts>
  </Frame>

  <Frame name="CH_MT7Frame" inherits="CH_HealFrameTemplate">
    <Anchors>
      <Anchor point="TOP" relativeTo="CH_MT6Frame" relativePoint="BOTTOM" />
    </Anchors>
    <Frames>
	<Button name="CH_MT7Name" inherits="CH_NameTemplate"/>
	<StatusBar name="CH_MT7HPBar" inherits="CH_HPBarTemplate" />
	<Frame name="CH_MT7SP" inherits="CH_PlayerSPBarTemplate" />
    </Frames>
    <Scripts>
      <OnLoad>
        CH_OnUnitFrameLoad(nil,'MT7',nil);
      </OnLoad>
      <OnUpdate>
	CH_OnUnitFrameUpdate( this.index, 'MT7', this.frameData, false, false, false, true );
      </OnUpdate>
    </Scripts>
  </Frame>

  <Frame name="CH_MT8Frame" inherits="CH_HealFrameTemplate">
    <Anchors>
      <Anchor point="TOP" relativeTo="CH_MT7Frame" relativePoint="BOTTOM" />
    </Anchors>
    <Frames>
	<Button name="CH_MT8Name" inherits="CH_NameTemplate"/>
	<StatusBar name="CH_MT8HPBar" inherits="CH_HPBarTemplate" />
	<Frame name="CH_MT8SP" inherits="CH_PlayerSPBarTemplate" />
    </Frames>
    <Scripts>
      <OnLoad>
        CH_OnUnitFrameLoad(nil,'MT8',nil);
      </OnLoad>
      <OnUpdate>
	CH_OnUnitFrameUpdate( this.index, 'MT8', this.frameData, false, false, false, true );
      </OnUpdate>
    </Scripts>
  </Frame>

  <Frame name="CH_MT9Frame" inherits="CH_HealFrameTemplate">
    <Anchors>
      <Anchor point="TOP" relativeTo="CH_MT8Frame" relativePoint="BOTTOM" />
    </Anchors>
    <Frames>
	<Button name="CH_MT9Name" inherits="CH_NameTemplate"/>
	<StatusBar name="CH_MT9HPBar" inherits="CH_HPBarTemplate" />
	<Frame name="CH_MT9SP" inherits="CH_PlayerSPBarTemplate" />
    </Frames>
    <Scripts>
      <OnLoad>
        CH_OnUnitFrameLoad(nil,'MT9',nil);
      </OnLoad>
      <OnUpdate>
	CH_OnUnitFrameUpdate( this.index, 'MT9', this.frameData, false, false, false, true );
      </OnUpdate>
    </Scripts>
  </Frame>

  <Frame name="CH_MT10Frame" inherits="CH_HealFrameTemplate">
    <Anchors>
      <Anchor point="TOP" relativeTo="CH_MT9Frame" relativePoint="BOTTOM" />
    </Anchors>
    <Frames>
	<Button name="CH_MT10Name" inherits="CH_NameTemplate"/>
	<StatusBar name="CH_MT10HPBar" inherits="CH_HPBarTemplate" />
	<Frame name="CH_MT10SP" inherits="CH_PlayerSPBarTemplate" />
    </Frames>
    <Scripts>
      <OnLoad>
        CH_OnUnitFrameLoad(nil,'MT10',nil);
      </OnLoad>
      <OnUpdate>
	CH_OnUnitFrameUpdate( this.index, 'MT10', this.frameData, false, false, false, true );
      </OnUpdate>
    </Scripts>
  </Frame>

  <!-- ===== Main Tanks TargetTarget ===================================================================== -->

  <Frame name="CH_MT1targetFrame" inherits="CH_HealFrameTemplate">
    <Anchors>
      <Anchor point="LEFT" relativeTo="CH_MT1Frame" relativePoint="RIGHT" />
    </Anchors>
    <Frames>
	<Button name="CH_MT1targetName" inherits="CH_NameTemplate"/>
	<StatusBar name="CH_MT1targetHPBar" inherits="CH_HPBarTemplate" />
	<Frame name="CH_MT1targetSP" inherits="CH_PlayerSPBarTemplate" />
    </Frames>
    <Scripts>
      <OnLoad>
        CH_OnUnitFrameLoad(nil,'MT1target',nil);
      </OnLoad>
      <OnUpdate>
	CH_OnUnitFrameUpdate( this.index, 'MT1target', this.frameData, false, false, true, true );
      </OnUpdate>
    </Scripts>
  </Frame>

  <Frame name="CH_MT2targetFrame" inherits="CH_HealFrameTemplate">
    <Anchors>
      <Anchor point="LEFT" relativeTo="CH_MT2Frame" relativePoint="RIGHT" />
    </Anchors>
    <Frames>
	<Button name="CH_MT2targetName" inherits="CH_NameTemplate"/>
	<StatusBar name="CH_MT2targetHPBar" inherits="CH_HPBarTemplate" />
	<Frame name="CH_MT2targetSP" inherits="CH_PlayerSPBarTemplate" />
    </Frames>
    <Scripts>
      <OnLoad>
        CH_OnUnitFrameLoad(nil,'MT2target',nil);
      </OnLoad>
      <OnUpdate>
	CH_OnUnitFrameUpdate( this.index, 'MT2target', this.frameData, false, false, true, true );
      </OnUpdate>
    </Scripts>
  </Frame>

  <Frame name="CH_MT3targetFrame" inherits="CH_HealFrameTemplate">
    <Anchors>
      <Anchor point="LEFT" relativeTo="CH_MT3Frame" relativePoint="RIGHT" />
    </Anchors>
    <Frames>
	<Button name="CH_MT3targetName" inherits="CH_NameTemplate"/>
	<StatusBar name="CH_MT3targetHPBar" inherits="CH_HPBarTemplate" />
	<Frame name="CH_MT3targetSP" inherits="CH_PlayerSPBarTemplate" />
    </Frames>
    <Scripts>
      <OnLoad>
        CH_OnUnitFrameLoad(nil,'MT3target',nil);
      </OnLoad>
      <OnUpdate>
	CH_OnUnitFrameUpdate( this.index, 'MT3target', this.frameData, false, false, true, true );
      </OnUpdate>
    </Scripts>
  </Frame>

  <Frame name="CH_MT4targetFrame" inherits="CH_HealFrameTemplate">
    <Anchors>
      <Anchor point="LEFT" relativeTo="CH_MT4Frame" relativePoint="RIGHT" />
    </Anchors>
    <Frames>
	<Button name="CH_MT4targetName" inherits="CH_NameTemplate"/>
	<StatusBar name="CH_MT4targetHPBar" inherits="CH_HPBarTemplate" />
	<Frame name="CH_MT4targetSP" inherits="CH_PlayerSPBarTemplate" />
    </Frames>
    <Scripts>
      <OnLoad>
        CH_OnUnitFrameLoad(nil,'MT4target',nil);
      </OnLoad>
      <OnUpdate>
	CH_OnUnitFrameUpdate( this.index, 'MT4target', this.frameData, false, false, true, true );
      </OnUpdate>
    </Scripts>
  </Frame>

  <Frame name="CH_MT5targetFrame" inherits="CH_HealFrameTemplate">
    <Anchors>
      <Anchor point="LEFT" relativeTo="CH_MT5Frame" relativePoint="RIGHT" />
    </Anchors>
    <Frames>
	<Button name="CH_MT5targetName" inherits="CH_NameTemplate"/>
	<StatusBar name="CH_MT5targetHPBar" inherits="CH_HPBarTemplate" />
	<Frame name="CH_MT5targetSP" inherits="CH_PlayerSPBarTemplate" />
    </Frames>
    <Scripts>
      <OnLoad>
        CH_OnUnitFrameLoad(nil,'MT5target',nil);
      </OnLoad>
      <OnUpdate>
	CH_OnUnitFrameUpdate( this.index, 'MT5target', this.frameData, false, false, true, true );
      </OnUpdate>
    </Scripts>
  </Frame>

  <Frame name="CH_MT6targetFrame" inherits="CH_HealFrameTemplate">
    <Anchors>
      <Anchor point="LEFT" relativeTo="CH_MT6Frame" relativePoint="RIGHT" />
    </Anchors>
    <Frames>
	<Button name="CH_MT6targetName" inherits="CH_NameTemplate"/>
	<StatusBar name="CH_MT6targetHPBar" inherits="CH_HPBarTemplate" />
	<Frame name="CH_MT6targetSP" inherits="CH_PlayerSPBarTemplate" />
    </Frames>
    <Scripts>
      <OnLoad>
        CH_OnUnitFrameLoad(nil,'MT6target',nil);
      </OnLoad>
      <OnUpdate>
	CH_OnUnitFrameUpdate( this.index, 'MT6target', this.frameData, false, false, true, true );
      </OnUpdate>
    </Scripts>
  </Frame>

  <Frame name="CH_MT7targetFrame" inherits="CH_HealFrameTemplate">
    <Anchors>
      <Anchor point="LEFT" relativeTo="CH_MT7Frame" relativePoint="RIGHT" />
    </Anchors>
    <Frames>
	<Button name="CH_MT7targetName" inherits="CH_NameTemplate"/>
	<StatusBar name="CH_MT7targetHPBar" inherits="CH_HPBarTemplate" />
	<Frame name="CH_MT7targetSP" inherits="CH_PlayerSPBarTemplate" />
    </Frames>
    <Scripts>
      <OnLoad>
        CH_OnUnitFrameLoad(nil,'MT7target',nil);
      </OnLoad>
      <OnUpdate>
	CH_OnUnitFrameUpdate( this.index, 'MT7target', this.frameData, false, false, true, true );
      </OnUpdate>
    </Scripts>
  </Frame>

  <Frame name="CH_MT8targetFrame" inherits="CH_HealFrameTemplate">
    <Anchors>
      <Anchor point="LEFT" relativeTo="CH_MT8Frame" relativePoint="RIGHT" />
    </Anchors>
    <Frames>
	<Button name="CH_MT8targetName" inherits="CH_NameTemplate"/>
	<StatusBar name="CH_MT8targetHPBar" inherits="CH_HPBarTemplate" />
	<Frame name="CH_MT8targetSP" inherits="CH_PlayerSPBarTemplate" />
    </Frames>
    <Scripts>
      <OnLoad>
        CH_OnUnitFrameLoad(nil,'MT8target',nil);
      </OnLoad>
      <OnUpdate>
	CH_OnUnitFrameUpdate( this.index, 'MT8target', this.frameData, false, false, true, true );
      </OnUpdate>
    </Scripts>
  </Frame>

  <Frame name="CH_MT9targetFrame" inherits="CH_HealFrameTemplate">
    <Anchors>
      <Anchor point="LEFT" relativeTo="CH_MT9Frame" relativePoint="RIGHT" />
    </Anchors>
    <Frames>
	<Button name="CH_MT9targetName" inherits="CH_NameTemplate"/>
	<StatusBar name="CH_MT9targetHPBar" inherits="CH_HPBarTemplate" />
	<Frame name="CH_MT9targetSP" inherits="CH_PlayerSPBarTemplate" />
    </Frames>
    <Scripts>
      <OnLoad>
        CH_OnUnitFrameLoad(nil,'MT9target',nil);
      </OnLoad>
      <OnUpdate>
	CH_OnUnitFrameUpdate( this.index, 'MT9target', this.frameData, false, false, true, true );
      </OnUpdate>
    </Scripts>
  </Frame>

  <Frame name="CH_MT10targetFrame" inherits="CH_HealFrameTemplate">
    <Anchors>
      <Anchor point="LEFT" relativeTo="CH_MT10Frame" relativePoint="RIGHT" />
    </Anchors>
    <Frames>
	<Button name="CH_MT10targetName" inherits="CH_NameTemplate"/>
	<StatusBar name="CH_MT10targetHPBar" inherits="CH_HPBarTemplate" />
	<Frame name="CH_MT10targetSP" inherits="CH_PlayerSPBarTemplate" />
    </Frames>
    <Scripts>
      <OnLoad>
        CH_OnUnitFrameLoad(nil,'MT10target',nil);
      </OnLoad>
      <OnUpdate>
	CH_OnUnitFrameUpdate( this.index, 'MT10target', this.frameData, false, false, true, true );
      </OnUpdate>
    </Scripts>
  </Frame>

</Ui>
