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

	<!-- ##################################################################################################################################### -->
	<!-- # GUI MISC                                                                                                                          # -->
	<!-- ##################################################################################################################################### -->

	<Button name="CHH_GuiMiscPartySortLineButtonUpTemplate" virtual="true">
		<Anchors>
			<Anchor point="RIGHT" relativePoint="RIGHT">
				<Offset>
					<AbsDimension x="-20" y="0"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Size>
			<AbsDimension x="30" y="25"/>
		</Size>
		<Layers>
			<Layer level="ARTWORK">
				<Texture name="$parent_Background" file="Interface\AddOns\ClickHeal\Images\ArrowUp.tga">
					<Size>
						<AbsDimension x="20" y="20" />
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset><AbsDimension x="5" y="-3"/></Offset>
						</Anchor>
						<Anchor point="BOTTOMRIGHT">
							<Offset><AbsDimension x="-5" y="2"/></Offset>
						</Anchor>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<Scripts>
			<OnClick>
				CHH_GuiMiscPlayerSortButtonUpClicked();
			</OnClick>
		</Scripts>
	</Button>

	<Button name="CHH_GuiMiscPartySortLineButtonDownTemplate" virtual="true">
		<Anchors>
			<Anchor point="RIGHT" relativePoint="RIGHT" />
		</Anchors>
		<Size>
			<AbsDimension x="30" y="25"/>
		</Size>
		<Layers>
			<Layer level="ARTWORK">
				<Texture name="$parent_Background" file="Interface\AddOns\ClickHeal\Images\ArrowDown.tga">
					<Size>
						<AbsDimension x="20" y="20" />
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset><AbsDimension x="5" y="-3"/></Offset>
						</Anchor>
						<Anchor point="BOTTOMRIGHT">
							<Offset><AbsDimension x="-5" y="2"/></Offset>
						</Anchor>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<Scripts>
			<OnClick>
				CHH_GuiMiscPlayerSortButtonDownClicked();
			</OnClick>
		</Scripts>
	</Button>

	<Frame name="CHH_GuiMiscPartySortLineFrameTemplate" virtual="true">
		<Size>
			<AbsDimension x="240" y="25"/>
		</Size>
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="$parentUnit" inherits="GameFontNormal" justifyH="LEFT" text="Line X">
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="20" y="0" />
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
							<Offset>
								<AbsDimension x="0" y="0" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Button name="$parentButtonUp" inherits="CHH_GuiMiscPartySortLineButtonUpTemplate" />
			<Button name="$parentButtonDown" inherits="CHH_GuiMiscPartySortLineButtonDownTemplate" />
		</Frames>
	</Frame>

	<Frame name="CHH_GuiMiscPartySortFrameTemplate" inherits="CHH_FrameBoxTemplate" virtual="true">
		<Size>
			<AbsDimension x="250" y="300"/>
		</Size>
		<Anchors>
			<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
				<Offset>
					<AbsDimension x="-10" y="10"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Scripts>
			<OnLoad>
				getglobal(this:GetName()..'TitleText'):SetText( CHHT_GUI_PARTY_SORT );
				this:SetBackdropBorderColor(0.4, 0.4, 0.4);
				this:SetBackdropColor(0.15, 0.15, 0.15);
			</OnLoad>
		</Scripts>
		<Frames>
			<Frame name="$parentLine1" inherits="CHH_GuiMiscPartySortLineFrameTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="0" y="-40"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Frame>
			<Frame name="$parentLine2" inherits="CHH_GuiMiscPartySortLineFrameTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentLine1" relativePoint="BOTTOMLEFT" />
				</Anchors>
			</Frame>
			<Frame name="$parentLine3" inherits="CHH_GuiMiscPartySortLineFrameTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentLine2" relativePoint="BOTTOMLEFT" />
				</Anchors>
			</Frame>
			<Frame name="$parentLine4" inherits="CHH_GuiMiscPartySortLineFrameTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentLine3" relativePoint="BOTTOMLEFT" />
				</Anchors>
			</Frame>
			<Frame name="$parentLine5" inherits="CHH_GuiMiscPartySortLineFrameTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentLine4" relativePoint="BOTTOMLEFT" />
				</Anchors>
			</Frame>
			<Frame name="$parentLine6" inherits="CHH_GuiMiscPartySortLineFrameTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentLine5" relativePoint="BOTTOMLEFT" />
				</Anchors>
			</Frame>
			<Frame name="$parentLine7" inherits="CHH_GuiMiscPartySortLineFrameTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentLine6" relativePoint="BOTTOMLEFT" />
				</Anchors>
			</Frame>
			<Frame name="$parentLine8" inherits="CHH_GuiMiscPartySortLineFrameTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentLine7" relativePoint="BOTTOMLEFT" />
				</Anchors>
			</Frame>
			<Frame name="$parentLine9" inherits="CHH_GuiMiscPartySortLineFrameTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentLine8" relativePoint="BOTTOMLEFT" />
				</Anchors>
			</Frame>
			<Frame name="$parentLine10" inherits="CHH_GuiMiscPartySortLineFrameTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentLine9" relativePoint="BOTTOMLEFT" />
				</Anchors>
			</Frame>
		</Frames>
	</Frame>

	<Frame name="CHH_GuiMiscFrameTemplate" inherits="CHH_FrameBoxTemplate" virtual="true">
		<Anchors>
			<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
				<Offset>
					<AbsDimension x="10" y="-10"/>
				</Offset>
			</Anchor>
			<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
				<Offset>
					<AbsDimension x="-10" y="40"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Scripts>
			<OnLoad>
				getglobal(this:GetName()..'TitleText'):SetText( CHHT_GUI_MISC );
				this:SetBackdropBorderColor(0.4, 0.4, 0.4);
				this:SetBackdropColor(0.15, 0.15, 0.15);
			</OnLoad>
		</Scripts>
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="$parentFrameGroupModeMyText" inherits="GameFontNormal" justifyH="RIGHT" text="CHHT_GUI_FRAME_GROUP_MODE">
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOP">
							<Offset>
								<AbsDimension x="30" y="-85" />
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
							<Offset>
								<AbsDimension x="-180" y="-110" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Frame name="$parentPartySort" inherits="CHH_GuiMiscPartySortFrameTemplate" />

			<CheckButton name="$parentShowClickHeal" inherits="HintOptionsCheckButtonTemplate" checked="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-50" />
						</Offset>
						
					</Anchor>
				</Anchors>
				<Layers>
					<Layer>
		                		<FontString name="$parentName" inherits="GameFontNormal" text="CHHT_GUI_SHOW_CLICKHEAL_FRAMES">
		                 			<Anchors>
		                    				<Anchor point="LEFT" relativePoint="RIGHT" />
       							</Anchors>
							<Color r="1" g="1" b="1" />
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnLoad>
						CHH_HintOptionCheckBoxLoad( 'showClickHeal' );
					</OnLoad>
				</Scripts>
			</CheckButton>
			<CheckButton name="$parentShowParty" inherits="HintOptionsCheckButtonTemplate" checked="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-80" />
						</Offset>
						
					</Anchor>
				</Anchors>
				<Layers>
					<Layer>
		                		<FontString name="$parentName" inherits="GameFontNormal" text="CHHT_GUI_SHOW_PARTY_FRAMES">
		                 			<Anchors>
		                    				<Anchor point="LEFT" relativePoint="RIGHT" />
       							</Anchors>
							<Color r="1" g="1" b="1" />
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnLoad>
						CHH_HintOptionCheckBoxLoad( 'showParty' );
					</OnLoad>
				</Scripts>
			</CheckButton>
			<CheckButton name="$parentShowPartyPets" inherits="HintOptionsCheckButtonTemplate" checked="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-110" />
						</Offset>
						
					</Anchor>
				</Anchors>
				<Layers>
					<Layer>
		                		<FontString name="$parentName" inherits="GameFontNormal" text="CHHT_GUI_SHOW_PARTY_PETS_FRAMES">
		                 			<Anchors>
		                    				<Anchor point="LEFT" relativePoint="RIGHT" />
       							</Anchors>
							<Color r="1" g="1" b="1" />
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnLoad>
						CHH_HintOptionCheckBoxLoad( 'showPartyPets' );
					</OnLoad>
				</Scripts>
			</CheckButton>
			<CheckButton name="$parentShowWoWParty" inherits="HintOptionsCheckButtonTemplate" checked="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-140" />
						</Offset>
						
					</Anchor>
				</Anchors>
				<Layers>
					<Layer>
		                		<FontString name="$parentName" inherits="GameFontNormal" text="CHHT_GUI_SHOW_WOW_PARTY_FRAMES">
		                 			<Anchors>
		                    				<Anchor point="LEFT" relativePoint="RIGHT" />
       							</Anchors>
							<Color r="1" g="1" b="1" />
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnLoad>
						CHH_HintOptionCheckBoxLoad( 'showWoWParty' );
					</OnLoad>
				</Scripts>
			</CheckButton>
			<CheckButton name="$parentShowPlayerMana" inherits="HintOptionsCheckButtonTemplate" checked="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-170" />
						</Offset>
						
					</Anchor>
				</Anchors>
				<Layers>
					<Layer>
		                		<FontString name="$parentName" inherits="GameFontNormal" text="CHHT_GUI_SHOW_PLAYER_MANA">
		                 			<Anchors>
		                    				<Anchor point="LEFT" relativePoint="RIGHT" />
       							</Anchors>
							<Color r="1" g="1" b="1" />
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnLoad>
						CHH_HintOptionCheckBoxLoad( 'showPlayerMana' );
					</OnLoad>
				</Scripts>
			</CheckButton>
			<CheckButton name="$parentShowPetFocus" inherits="HintOptionsCheckButtonTemplate" checked="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-200" />
						</Offset>
						
					</Anchor>
				</Anchors>
				<Layers>
					<Layer>
		                		<FontString name="$parentName" inherits="GameFontNormal" text="CHHT_GUI_SHOW_PET_FOCUS">
		                 			<Anchors>
		                    				<Anchor point="LEFT" relativePoint="RIGHT" />
       							</Anchors>
							<Color r="1" g="1" b="1" />
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnLoad>
						CHH_HintOptionCheckBoxLoad( 'showPetFocus' );
					</OnLoad>
				</Scripts>
			</CheckButton>
			<CheckButton name="$parentShowPartyPetTarget" inherits="HintOptionsCheckButtonTemplate" checked="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-230" />
						</Offset>
						
					</Anchor>
				</Anchors>
				<Layers>
					<Layer>
						<FontString name="$parentName" inherits="GameFontNormal" text="CHHT_GUI_SHOW_PARTYPET_TARGET">
		                 			<Anchors>
		                    				<Anchor point="LEFT" relativePoint="RIGHT" />
       							</Anchors>
							<Color r="1" g="1" b="1" />
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnLoad>
						CHH_HintOptionCheckBoxLoad( 'showPartyPetTarget' );
					</OnLoad>
				</Scripts>
			</CheckButton>
			<CheckButton name="$parentShowMesmerize" inherits="HintOptionsCheckButtonTemplate" checked="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-260" />
						</Offset>
						
					</Anchor>
				</Anchors>
				<Layers>
					<Layer>
						<FontString name="$parentName" inherits="GameFontNormal" text="CHHT_GUI_SHOW_MES">
		                 			<Anchors>
		                    				<Anchor point="LEFT" relativePoint="RIGHT" />
       							</Anchors>
							<Color r="1" g="1" b="1" />
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnLoad>
						CHH_HintOptionCheckBoxLoad( 'showMesmerize' );
					</OnLoad>
				</Scripts>
			</CheckButton>
			<CheckButton name="$parentShowFiveSecRule" inherits="HintOptionsCheckButtonTemplate" checked="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-290" />
						</Offset>
						
					</Anchor>
				</Anchors>
				<Layers>
					<Layer>
						<FontString name="$parentName" inherits="GameFontNormal" text="CHHT_GUI_SHOW_FIVE_SEC_RULE">
		                 			<Anchors>
		                    				<Anchor point="LEFT" relativePoint="RIGHT" />
       							</Anchors>
							<Color r="1" g="1" b="1" />
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnLoad>
						CHH_HintOptionCheckBoxLoad( 'showFiveSecondRule' );
					</OnLoad>
				</Scripts>
			</CheckButton>
			<CheckButton name="$parentShowHints" inherits="HintOptionsCheckButtonTemplate" checked="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-320" />
						</Offset>
						
					</Anchor>
				</Anchors>
				<Layers>
					<Layer>
						<FontString name="$parentName" inherits="GameFontNormal" text="CHHT_GUI_SHOW_HINTS">
		                 			<Anchors>
		                    				<Anchor point="LEFT" relativePoint="RIGHT" />
       							</Anchors>
							<Color r="1" g="1" b="1" />
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnLoad>
						CHH_HintOptionCheckBoxLoad( 'showHints' );
						CHH_HintOptionCheckBoxSetPostClickFunc( CHH_GuiTooltipPostShowHints );
					</OnLoad>
				</Scripts>
			</CheckButton>
			<Slider name="$parentUpdateEffectsInterval" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-450"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'updateEffectsInterval', 0, 0.5, 0.1, CHHT_LABEL_CONTINOUSLY, '0.5', CHHT_GUI_UPDATE_SLIDER_TITLE );
					</OnLoad>
				</Scripts>
			</Slider>

			<CheckButton name="$parentShowMainAnchor" inherits="HintOptionsCheckButtonTemplate" checked="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOP">
						<Offset>
							<AbsDimension x="40" y="-50" />
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer>
						<FontString name="$parentName" justifyH="LEFT" inherits="GameFontNormal" text="CHHT_GUI_SHOW_ANCHOR">
							<Size>
								<AbsDimension x="250" y="32"/>
							</Size>
		                 			<Anchors>
		                    				<Anchor point="LEFT" relativePoint="RIGHT" />
       							</Anchors>
							<Color r="1" g="1" b="1" />
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnLoad>
						CHH_HintOptionCheckBoxLoad( 'showAnchors' );
					</OnLoad>
				</Scripts>
			</CheckButton>
			<Frame name="$parentFrameGroupMode" inherits="HintDropDownMenuTemplate">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentFrameGroupModeMyText" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="10" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintDropDownLoad( 'frameGroupMode', CHH_GuiFrameGroupModeOptions );
					</OnLoad>
				</Scripts>
			</Frame>
			<Button name="$parentResetFramePos" inherits="OptionsButtonTemplate" text="CHHT_GUI_RESET_FRAME_POS">
				<Size>
					<AbsDimension x="170" y="24"/>
				</Size>
				<Anchors>
					<Anchor point="TOPRIGHT">
						<Offset>
							<AbsDimension x="-70" y="-130"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						CH_ResetFramePositions();
					</OnClick>
				</Scripts>
			</Button>
		</Frames>
	</Frame>

	<!-- ##################################################################################################################################### -->
	<!-- # GUI BASIC                                                                                                                         # -->
	<!-- ##################################################################################################################################### -->

	<Frame name="CHH_GuiBasicFrameTemplate" inherits="CHH_FrameBoxTemplate" virtual="true">
		<Anchors>
			<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
				<Offset>
					<AbsDimension x="10" y="-10"/>
				</Offset>
			</Anchor>
			<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
				<Offset>
					<AbsDimension x="-10" y="40"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Scripts>
			<OnLoad>
				getglobal(this:GetName()..'TitleText'):SetText( CHHT_GUI_MAIN_FRAMES );
				this:SetBackdropBorderColor(0.4, 0.4, 0.4);
				this:SetBackdropColor(0.15, 0.15, 0.15);
			</OnLoad>
		</Scripts>
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="$parentFrameAlignMyText" inherits="GameFontNormal" justifyH="RIGHT" text="CHHT_GUI_FRAME_ALIGNMENT">
					<Anchors>
						<Anchor point="TOPRIGHT" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="200" y="-50" />
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="10" y="-75" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Frame name="$parentFrameAlign" inherits="HintDropDownMenuTemplate">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentFrameAlignMyText" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="10" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintDropDownLoad( 'frameAlign', CHH_GuiFrameAlignOptions );
					</OnLoad>
				</Scripts>
			</Frame>
			<Slider name="$parentExtraFrameWidth" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="50" y="-100"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'extraFrameWidth', 50, 100, 1, '50', '100', CHHT_GUI_FRAME_EXTRA_WIDTH );
					</OnLoad>
				</Scripts>
			</Slider>
			<Slider name="$parentPanicFrameWidth" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="50" y="-140"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'panicFrameWidth', 100, 200, 1, '100', '200', CHHT_GUI_FRAME_PANIC_WIDTH );
					</OnLoad>
				</Scripts>
			</Slider>
			<Slider name="$parentPlayerFrameWidth" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="50" y="-180"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'playerFrameWidth', 100, 200, 1, '100', '200', CHHT_GUI_FRAME_PLAYER_WIDTH );
					</OnLoad>
				</Scripts>
			</Slider>
			<Slider name="$parentPartyFrameWidth" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="50" y="-220"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'partyFrameWidth', 100, 200, 1, '100', '200', CHHT_GUI_FRAME_PARTY_WIDTH );
					</OnLoad>
				</Scripts>
			</Slider>
			<Slider name="$parentPetFrameWidth" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="50" y="-260"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'petFrameWidth', 100, 200, 1, '100', '200', CHHT_GUI_FRAME_PET_WIDTH );
					</OnLoad>
				</Scripts>
			</Slider>
			<Slider name="$parentPartyPetFrameWidth" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="50" y="-300"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'partyPetFrameWidth', 100, 200, 1, '100', '200', CHHT_GUI_FRAME_PARTYPET_WIDTH );
					</OnLoad>
				</Scripts>
			</Slider>
			<Slider name="$parentExtraFrameHeight" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="350" y="-100"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'extraFrameHeight', 24, 50, 1, '24', '50', CHHT_GUI_FRAME_EXTRA_HEIGHT );
					</OnLoad>
				</Scripts>
			</Slider>
			<Slider name="$parentPanicFrameHeight" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="350" y="-140"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'panicFrameHeight', 32, 100, 1, '32', '100', CHHT_GUI_FRAME_PANIC_HEIGHT );
					</OnLoad>
				</Scripts>
			</Slider>
			<Slider name="$parentPlayerFrameHeight" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="350" y="-180"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'playerFrameHeight', 32, 100, 1, '32', '100', CHHT_GUI_FRAME_PLAYER_HEIGHT );
					</OnLoad>
				</Scripts>
			</Slider>
			<Slider name="$parentPartyFrameHeight" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="350" y="-220"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'partyFrameHeight', 32, 100, 1, '32', '100', CHHT_GUI_FRAME_PARTY_HEIGHT );
					</OnLoad>
				</Scripts>
			</Slider>
			<Slider name="$parentPetFrameHeight" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="350" y="-260"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'petFrameHeight', 32, 100, 1, '32', '100', CHHT_GUI_FRAME_PET_HEIGHT );
					</OnLoad>
				</Scripts>
			</Slider>
			<Slider name="$parentPartyPetFrameHeight" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="350" y="-300"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'partyPetFrameHeight', 32, 100, 1, '32', '100', CHHT_GUI_FRAME_PARTYPET_HEIGHT );
					</OnLoad>
				</Scripts>
			</Slider>

			<Slider name="$parentExtraFrameScale" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="50" y="-370"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'extraFrameScale', 25, 200, 5, '25%', '200%', CHHT_GUI_FRAME_EXTRA_SCALE );
					</OnLoad>
				</Scripts>
			</Slider>
			<Slider name="$parentPanicFrameScale" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="350" y="-370"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'panicFrameScale', 25, 200, 5, '25%', '200%', CHHT_GUI_FRAME_PANIC_SCALE );
					</OnLoad>
				</Scripts>
			</Slider>
			<Slider name="$parentPlayerFrameScale" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="50" y="-410"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'playerFrameScale', 25, 200, 5, '25%', '200%', CHHT_GUI_FRAME_PLAYER_SCALE );
					</OnLoad>
				</Scripts>
			</Slider>
			<Slider name="$parentPetFrameScale" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="350" y="-410"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'petFrameScale', 25, 200, 5, '25%', '200%', CHHT_GUI_FRAME_PET_SCALE );
					</OnLoad>
				</Scripts>
			</Slider>
			<Slider name="$parentPartyFrameScale" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="50" y="-450"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'partyFrameScale', 25, 200, 5, '25%', '200%', CHHT_GUI_FRAME_PARTY_SCALE );
					</OnLoad>
				</Scripts>
			</Slider>
			<Slider name="$parentPartyPetFrameScale" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="350" y="-450"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'partyPetFrameScale', 25, 200, 5, '25%', '200%', CHHT_GUI_FRAME_PARTYPET_SCALE );
					</OnLoad>
				</Scripts>
			</Slider>
		</Frames>
	</Frame>

	<!-- ##################################################################################################################################### -->
	<!-- # GUI TARGET                                                                                                                       # -->
	<!-- ##################################################################################################################################### -->

	<Frame name="CHH_GuiTargetFrameTemplate" inherits="CHH_FrameBoxTemplate" virtual="true">
		<Anchors>
			<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
				<Offset>
					<AbsDimension x="10" y="-10"/>
				</Offset>
			</Anchor>
			<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
				<Offset>
					<AbsDimension x="-10" y="40"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Scripts>
			<OnLoad>
				getglobal(this:GetName()..'TitleText'):SetText( CHHT_GUI_TARGET_FRAMES );
				this:SetBackdropBorderColor(0.4, 0.4, 0.4);
				this:SetBackdropColor(0.15, 0.15, 0.15);
			</OnLoad>
		</Scripts>
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="$parentDockTargetMyText" inherits="GameFontNormal" justifyH="RIGHT" text="CHHT_GUI_SHOW_TARGETS">
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="10" y="-50" />
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMRIGHT" relativePoint="TOP">
							<Offset>
								<AbsDimension x="-200" y="-75" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
				<FontString name="$parentColorMyText" inherits="GameFontNormal" justifyH="RIGHT" text="CHHT_GUI_TARGET_BACKGROUND_COLOR">
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOP">
							<Offset>
								<AbsDimension x="0" y="-50" />
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
							<Offset>
								<AbsDimension x="-200" y="-75" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
				<FontString name="$parentDebuffsMyText" inherits="GameFontNormal" justifyH="RIGHT" text="CHHT_GUI_SHOW_TARGET_DEBUFFS">
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOP">
							<Offset>
								<AbsDimension x="0" y="-75" />
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
							<Offset>
								<AbsDimension x="-200" y="-100" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Frame name="$parentDockTarget" inherits="HintDropDownMenuTemplate">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentDockTargetMyText" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="10" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintDropDownLoad( 'dockTarget', CHH_GuiDockTargetOptions );
					</OnLoad>
				</Scripts>
			</Frame>
			<Frame name="$parentColor" inherits="HintDropDownMenuTemplate">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentColorMyText" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="10" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintDropDownLoad( 'colorTarget', CHH_GuiTargetColorOptions );
					</OnLoad>
				</Scripts>
			</Frame>
			<Frame name="$parentDebuffs" inherits="HintDropDownMenuTemplate">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentDebuffsMyText" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="10" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintDropDownLoad( 'showTargetDebuffs', CHH_GuiTargetDebuffsOptions );
					</OnLoad>
				</Scripts>
			</Frame>
			<Slider name="$parentPlayerFrameWidth" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="50" y="-140"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'playerTargetFrameWidth', 90, 200, 1, '90', '200', CHHT_GUI_FRAME_PLAYER_TARGET_WIDTH );
					</OnLoad>
				</Scripts>
			</Slider>
			<Slider name="$parentPartyFrameWidth" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="50" y="-180"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'partyTargetFrameWidth', 90, 200, 1, '90', '200', CHHT_GUI_FRAME_PARTY_TARGET_WIDTH );
					</OnLoad>
				</Scripts>
			</Slider>
			<Slider name="$parentPetFrameWidth" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="50" y="-220"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'petTargetFrameWidth', 90, 200, 1, '90', '200', CHHT_GUI_FRAME_PET_TARGET_WIDTH );
					</OnLoad>
				</Scripts>
			</Slider>
			<Slider name="$parentPartyPetFrameWidth" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="50" y="-260"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'partyPetTargetFrameWidth', 90, 200, 1, '90', '200', CHHT_GUI_FRAME_PARTYPET_TARGET_WIDTH );
					</OnLoad>
				</Scripts>
			</Slider>
			<Slider name="$parentPlayerFrameHeight" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="350" y="-140"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'playerTargetFrameHeight', 32, 100, 1, '32', '100', CHHT_GUI_FRAME_PLAYER_TARGET_HEIGHT );
					</OnLoad>
				</Scripts>
			</Slider>
			<Slider name="$parentPartyFrameHeight" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="350" y="-180"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'partyTargetFrameHeight', 32, 100, 1, '32', '100', CHHT_GUI_FRAME_PARTY_TARGET_HEIGHT );
					</OnLoad>
				</Scripts>
			</Slider>
			<Slider name="$parentPetFrameHeight" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="350" y="-220"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'petTargetFrameHeight', 32, 100, 1, '32', '100', CHHT_GUI_FRAME_PET_TARGET_HEIGHT );
					</OnLoad>
				</Scripts>
			</Slider>
			<Slider name="$parentPartyPetFrameHeight" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="350" y="-260"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'partyPetTargetFrameHeight', 32, 100, 1, '32', '100', CHHT_GUI_FRAME_PARTYPET_TARGET_HEIGHT );
					</OnLoad>
				</Scripts>
			</Slider>

			<Slider name="$parentPlayerTargetFrameScale" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="50" y="-410"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'playerTargetFrameScale', 25, 200, 5, '25%', '200%', CHHT_GUI_FRAME_PLAYER_TARGET_SCALE );
					</OnLoad>
				</Scripts>
			</Slider>
			<Slider name="$parentPetTargetFrameScale" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="350" y="-410"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'petTargetFrameScale', 25, 200, 5, '25%', '200%', CHHT_GUI_FRAME_PET_TARGET_SCALE );
					</OnLoad>
				</Scripts>
			</Slider>
			<Slider name="$parentPartyTargetFrameScale" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="50" y="-450"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'partyTargetFrameScale', 25, 200, 5, '25%', '200%', CHHT_GUI_FRAME_PARTY_TARGET_SCALE );
					</OnLoad>
				</Scripts>
			</Slider>
			<Slider name="$parentPartyPetTargetFrameScale" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="250" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="350" y="-450"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'partyPetTargetFrameScale', 25, 200, 5, '25%', '200%', CHHT_GUI_FRAME_PARTYPET_TARGET_SCALE );
					</OnLoad>
				</Scripts>
			</Slider>
		</Frames>
	</Frame>

	<!-- ##################################################################################################################################### -->
	<!-- # GUI TOOLTIP                                                                                                                       # -->
	<!-- ##################################################################################################################################### -->

	<Frame name="CHH_GuiTooltipFrameTemplate" inherits="CHH_FrameBoxTemplate" virtual="true">
		<Anchors>
			<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
				<Offset>
					<AbsDimension x="10" y="-10"/>
				</Offset>
			</Anchor>
			<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
				<Offset>
					<AbsDimension x="-10" y="40"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Scripts>
			<OnLoad>
				getglobal(this:GetName()..'TitleText'):SetText( CHHT_GUI_TOOLTIPS );
				this:SetBackdropBorderColor(0.4, 0.4, 0.4);
				this:SetBackdropColor(0.15, 0.15, 0.15);
			</OnLoad>
		</Scripts>
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="$parentTooltipsMyText" inherits="GameFontNormal" justifyH="RIGHT" text="CHHT_GUI_SHOW_GAME_TOOLTIPS">
					<Anchors>
						<Anchor point="TOPRIGHT" relativePoint="TOP">
							<Offset>
								<AbsDimension x="-10" y="-50" />
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="10" y="-75" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
				<FontString name="$parentActionsTooltipsMyText" inherits="GameFontNormal" justifyH="RIGHT" text="CHHT_GUI_SHOW_ACTION_TOOLTIPS">
					<Anchors>
						<Anchor point="TOPRIGHT" relativePoint="TOP">
							<Offset>
								<AbsDimension x="-10" y="-75" />
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="10" y="-100" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Frame name="$parentTooltips" inherits="HintDropDownMenuTemplate">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentTooltipsMyText" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="10" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintDropDownLoad( 'unitTooltipInfo', CHH_GuiUnitTooltipOptions );
					</OnLoad>
				</Scripts>
			</Frame>
			<Frame name="$parentActionsTooltips" inherits="HintDropDownMenuTemplate">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentActionsTooltipsMyText" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="10" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintDropDownLoad( 'actionsTooltipInfo', CHH_GuiActionsTooltipOptions );
					</OnLoad>
				</Scripts>
			</Frame>
			<CheckButton name="$parentShowSpellRank" inherits="HintOptionsCheckButtonTemplate" checked="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-110" />
						</Offset>
						
					</Anchor>
				</Anchors>
				<Layers>
					<Layer>
						<FontString name="$parentName" inherits="GameFontNormal" text="CHHT_GUI_TOOLTIP_SHOW_SPELLRANK">
		                 			<Anchors>
		                    				<Anchor point="LEFT" relativePoint="RIGHT" />
       							</Anchors>
							<Color r="1" g="1" b="1" />
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnLoad>
						CHH_HintOptionCheckBoxLoad( 'actionsTooltipShowSpellRank' );
					</OnLoad>
				</Scripts>
			</CheckButton>
			<CheckButton name="$parentSpellRankShowMax" inherits="HintOptionsCheckButtonTemplate" checked="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-135" />
						</Offset>
						
					</Anchor>
				</Anchors>
				<Layers>
					<Layer>
						<FontString name="$parentName" inherits="GameFontNormal" text="CHHT_GUI_TOOLTIP_SHOW_SPELLRANK_MAX">
		                 			<Anchors>
		                    				<Anchor point="LEFT" relativePoint="RIGHT" />
       							</Anchors>
							<Color r="1" g="1" b="1" />
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnLoad>
						CHH_HintOptionCheckBoxLoad( 'actionsTooltipSpellRankShowMax' );
					</OnLoad>
				</Scripts>
			</CheckButton>
			<Slider name="$parentUnitTooltipScale" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="200" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="450" y="-150"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'unitTooltipScale', 50, 200, 1, '50%', '200%', CHHT_GUI_TOOLTIP_UNIT_TOOLTIP_SCALE );
					</OnLoad>
				</Scripts>
			</Slider>
			<Slider name="$parentActionsTooltipScale" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="200" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="450" y="-200"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'actionsTooltipScale', 50, 200, 1, '50%', '200%', CHHT_GUI_TOOLTIP_ACTIONS_TOOLTIP_SCALE );
					</OnLoad>
				</Scripts>
			</Slider>
			<Slider name="$parentHintTooltipScale" inherits="HintOptionsSliderTemplate">
				<Size>
					<AbsDimension x="200" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="450" y="-250"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CHH_HintOptionSliderLoad( 'hintTooltipScale', 50, 200, 1, '50%', '200%', CHHT_GUI_TOOLTIP_HINT_TOOLTIP_SCALE );
						CHH_HintOptionSliderSetPostClickFunc( CHH_GuiTooltipPostShowHints );
					</OnLoad>
				</Scripts>
			</Slider>
		</Frames>
	</Frame>

	<!-- ##################################################################################################################################### -->
	<!-- # GUI ANCHORS                                                                                                                       # -->
	<!-- ##################################################################################################################################### -->

	<EditBox name="SmallEditBox" virtual="true">
		<Size>
			<AbsDimension x="40" y="32" />
		</Size>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
					<Size>
						<AbsDimension x="30" y="32"></AbsDimension>
					</Size>
					<Anchors>
						<Anchor point="LEFT">
							<Offset>
								<AbsDimension x="-10" y="0"></AbsDimension>
							</Offset>
						</Anchor>
					</Anchors>
					<TexCoords left="0" right="0.2" top="0" bottom="1.0"></TexCoords>
				</Texture>
				<Texture file="Interface\ChatFrame\UI-ChatInputBorder-Right">
					<Size>
						<AbsDimension x="30" y="32"></AbsDimension>
					</Size>
					<Anchors>
						<Anchor point="RIGHT">
							<Offset>
								<AbsDimension x="10" y="0"></AbsDimension>
							</Offset>
						</Anchor>
					</Anchors>
					<TexCoords left="0.7" right="1.0" top="0" bottom="1.0"></TexCoords>
				</Texture>
			</Layer>
		</Layers>
		<FontString inherits="GameFontNormal">
			<Color r="1" g="1" b="1" />
		</FontString>
		<Scripts>
			<OnLoad>
				this:SetAutoFocus( false );
			</OnLoad>
		</Scripts>
	</EditBox>

	<Frame name="CHH_GuiAnchorsLineTemplate" hidden="true" virtual="true">
		<Size>
			<AbsDimension x="675" y="30"/>
		</Size>
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="$parentAnchorName" inherits="GameFontNormal" justifyH="LEFT" text="name of anchor">
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="0" y="0" />
							</Offset>
						</Anchor>
						<Anchor point="BOTTOMRIGHT" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="150" y="-30" />
							</Offset>
						</Anchor>
					</Anchors>
					<Color r="1" g="1" b="1" />
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Frame name="$parentRelativeTo" inherits="UIDropDownMenuTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="110" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Frame>
			<Frame name="$parentRelativePoint" inherits="UIDropDownMenuTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="250" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Frame>
			<EditBox name="$parentOffsetX" inherits="SmallEditBox">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="370" y="2"></AbsDimension>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnEnterPressed>
						CHH_GuiAnchorsOffsetClicked( 'offsetX' );
					</OnEnterPressed>
					<OnTextChanged>
						CHH_GuiAnchorsOffsetClicked( 'offsetX' );
					</OnTextChanged>
				</Scripts>
			</EditBox>
			<EditBox name="$parentOffsetY" inherits="SmallEditBox">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="440" y="2"></AbsDimension>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnEnterPressed>
						CHH_GuiAnchorsOffsetClicked( 'offsetY' );
					</OnEnterPressed>
					<OnTextChanged>
						CHH_GuiAnchorsOffsetClicked( 'offsetY' );
					</OnTextChanged>
				</Scripts>
			</EditBox>
			<Frame name="$parentVisibility" inherits="UIDropDownMenuTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="480" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Frame>
			<CheckButton name="$parentShowMenu" inherits="OptionsCheckButtonTemplate" checked="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="610" y="0" />
						</Offset>
						
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						CHH_GuiAnchorsShowMenuClicked();
					</OnClick>
				</Scripts>
			</CheckButton>
		</Frames>
	</Frame>

	<Frame name="CHH_GuiAnchorsFrameTemplate" inherits="CHH_FrameBoxTemplate" virtual="true">
		<Anchors>
			<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
				<Offset>
					<AbsDimension x="10" y="-10"/>
				</Offset>
			</Anchor>
			<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
				<Offset>
					<AbsDimension x="-10" y="40"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Scripts>
			<OnLoad>
				getglobal(this:GetName()..'TitleText'):SetText( CHHT_GUI_ANCHORS );
				this:SetBackdropBorderColor(0.4, 0.4, 0.4);
				this:SetBackdropColor(0.15, 0.15, 0.15);
			</OnLoad>
		</Scripts>
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="$parentAnchorName" inherits="GameFontNormal" justifyH="LEFT" text="CHHT_GUI_ANCHORS_ANCHOR_NAME">
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="10" y="-50" />
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentRelativeTo" inherits="GameFontNormal" justifyH="LEFT" text="CHHT_GUI_ANCHORS_RELATIVE_TO">
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="140" y="-50" />
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentRelativePoint" inherits="GameFontNormal" justifyH="LEFT" text="CHHT_GUI_ANCHORS_RELATIVE_POINT">
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="280" y="-50" />
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentOffsetX" inherits="GameFontNormal" justifyH="LEFT" text="CHHT_GUI_ANCHORS_OFFSET_X">
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="370" y="-50" />
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentOffsetY" inherits="GameFontNormal" justifyH="LEFT" text="CHHT_GUI_ANCHORS_OFFSET_Y">
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="440" y="-50" />
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentVisibility" inherits="GameFontNormal" justifyH="LEFT" text="CHHT_GUI_ANCHORS_VISIBILITY">
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="510" y="-50" />
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentShowMenu" inherits="GameFontNormal" justifyH="LEFT" text="CHHT_GUI_ANCHORS_SHOW_MENU">
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="615" y="-50" />
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<ScrollFrame name="$parentScrollFrame" inherits="FauxScrollFrameTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="10" y="-70" />
						</Offset>
					</Anchor>
					<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
						<Offset>
							<AbsDimension x="-30" y="5" />
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnVerticalScroll>
						FauxScrollFrame_OnVerticalScroll( 30, CHH_GuiAnchorsListUpdate ); 
					</OnVerticalScroll>
				</Scripts>
			</ScrollFrame>
			<Frame name="$parent1" inherits="CHH_GuiAnchorsLineTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentScrollFrame" relativePoint="TOPLEFT" />
				</Anchors>
			</Frame>
			<Frame name="$parent2" inherits="CHH_GuiAnchorsLineTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent1" relativePoint="BOTTOMLEFT" />
				</Anchors>
			</Frame>
			<Frame name="$parent3" inherits="CHH_GuiAnchorsLineTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent2" relativePoint="BOTTOMLEFT" />
				</Anchors>
			</Frame>
			<Frame name="$parent4" inherits="CHH_GuiAnchorsLineTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent3" relativePoint="BOTTOMLEFT" />
				</Anchors>
			</Frame>
			<Frame name="$parent5" inherits="CHH_GuiAnchorsLineTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent4" relativePoint="BOTTOMLEFT" />
				</Anchors>
			</Frame>
			<Frame name="$parent6" inherits="CHH_GuiAnchorsLineTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent5" relativePoint="BOTTOMLEFT" />
				</Anchors>
			</Frame>
			<Frame name="$parent7" inherits="CHH_GuiAnchorsLineTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent6" relativePoint="BOTTOMLEFT" />
				</Anchors>
			</Frame>
			<Frame name="$parent8" inherits="CHH_GuiAnchorsLineTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent7" relativePoint="BOTTOMLEFT" />
				</Anchors>
			</Frame>
			<Frame name="$parent9" inherits="CHH_GuiAnchorsLineTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent8" relativePoint="BOTTOMLEFT" />
				</Anchors>
			</Frame>
			<Frame name="$parent10" inherits="CHH_GuiAnchorsLineTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent9" relativePoint="BOTTOMLEFT" />
				</Anchors>
			</Frame>
			<Frame name="$parent11" inherits="CHH_GuiAnchorsLineTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent10" relativePoint="BOTTOMLEFT" />
				</Anchors>
			</Frame>
			<Frame name="$parent12" inherits="CHH_GuiAnchorsLineTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent11" relativePoint="BOTTOMLEFT" />
				</Anchors>
			</Frame>
			<Frame name="$parent13" inherits="CHH_GuiAnchorsLineTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent12" relativePoint="BOTTOMLEFT" />
				</Anchors>
			</Frame>
			<Frame name="$parent14" inherits="CHH_GuiAnchorsLineTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent13" relativePoint="BOTTOMLEFT" />
				</Anchors>
			</Frame>
		</Frames>
	</Frame>

	<!-- ##################################################################################################################################### -->
	<!-- # GUI TAB                                                                                                                           # -->
	<!-- ##################################################################################################################################### -->

	<Frame name="CHH_GuiTemplate" hidden="true" virtual="true">
		<Anchors>
			<Anchor point="TOPLEFT" relativePoint="TOPLEFT" />
			<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" />
		</Anchors>
		<Frames>
			<Frame name="$parentMisc" inherits="CHH_GuiMiscFrameTemplate" hidden="true" />
			<Frame name="$parentBasic" inherits="CHH_GuiBasicFrameTemplate" hidden="true" />
			<Frame name="$parentTarget" inherits="CHH_GuiTargetFrameTemplate" hidden="true" />
			<Frame name="$parentTooltip" inherits="CHH_GuiTooltipFrameTemplate" hidden="true" />
			<Frame name="$parentAnchors" inherits="CHH_GuiAnchorsFrameTemplate" hidden="true" />

			<Button name="$parentPage1Button" inherits="OptionsButtonTemplate" text="CHHT_GUI_PAGE1">
				<Anchors>
					<Anchor point="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="20" y="16"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						CHH_GuiMiscTab();
					</OnClick>
				</Scripts>
			</Button>
			<Button name="$parentPage2Button" inherits="OptionsButtonTemplate" text="CHHT_GUI_PAGE2">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentPage1Button" relativePoint="RIGHT" />
				</Anchors>
				<Scripts>
					<OnClick>
						CHH_GuiBasicTab();
					</OnClick>
				</Scripts>
			</Button>
			<Button name="$parentPage3Button" inherits="OptionsButtonTemplate" text="CHHT_GUI_PAGE3">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentPage2Button" relativePoint="RIGHT" />
				</Anchors>
				<Scripts>
					<OnClick>
						CHH_GuiTargetTab();
					</OnClick>
				</Scripts>
			</Button>
			<Button name="$parentPage4Button" inherits="OptionsButtonTemplate" text="CHHT_GUI_PAGE4">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentPage3Button" relativePoint="RIGHT" />
				</Anchors>
				<Scripts>
					<OnClick>
						CHH_GuiTooltipTab();
					</OnClick>
				</Scripts>
			</Button>
			<Button name="$parentPage5Button" inherits="OptionsButtonTemplate" text="CHHT_GUI_PAGE5">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentPage4Button" relativePoint="RIGHT" />
				</Anchors>
				<Scripts>
					<OnClick>
						CHH_GuiAnchorsTab();
					</OnClick>
				</Scripts>
			</Button>

			<Button name="$parentResetButton" inherits="OptionsButtonTemplate" text="CHHT_LABEL_DEFAULTS">
				<Anchors>
					<Anchor point="BOTTOMRIGHT">
						<Offset>
							<AbsDimension x="-20" y="16"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						CHH_ResetDefaults();
					</OnClick>
				</Scripts>
			</Button>
		</Frames>
	</Frame>

</Ui>
