<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
    <Script file="localization.lua"/>
    <Script file="localization.de.lua"/>
    <Script file="AQWarnerGUI.lua"/>
    <Script file="AQWarner.lua"/>

    <!-- Standard and Message Frame  --> 
    <MessageFrame name="AQWarnerFrame" insertMode="TOP" parent="UIParent" frameStrata="LOW" toplevel="true">

        <Size>
            <AbsDimension x="512" y="60"/>
        </Size>
  
        <Anchors>
            <Anchor point="CENTER">
                <Offset>
                    <AbsDimension x="0" y="-200"/>
                </Offset>
            </Anchor>
        </Anchors>
    
        <Scripts> 
            <OnLoad> 
                this.elapsed = 0;
                AQWarner_OnLoad();
            </OnLoad> 
            <OnEvent> 
                AQWarner_OnEvent(event);
            </OnEvent> 
        </Scripts> 

        <FontString inherits="GameFontNormal" justifyH="CENTER"/>

    </MessageFrame>
    
    <!-- Frame for LARGE Warnings to Self -->
    <MessageFrame name="AQWarnerSelfWarningFrame" insertMode="TOP" parent="UIParent" frameStrata="LOW" toplevel="true">
  
        <Size>
            <AbsDimension x="512" y="60"/>
        </Size>
   
        <Anchors>
            <Anchor point="CENTER">
                <Offset>
                    <AbsDimension x="0" y="0"/>
                </Offset>
            </Anchor>
        </Anchors>
  
        <FontString inherits="NumberFontNormalHuge" justifyH="CENTER"/>
  
    </MessageFrame>

    <!-- Check Button Template -->
    <CheckButton name="AQWCheckTemplate" inherits="OptionsCheckButtonTemplate" virtual="true">

        <HitRectInsets>
            <AbsInset left="0" right="0" top="0" bottom="0"/>
        </HitRectInsets>
  
        <Scripts>
            <OnClick>
                if (this:GetChecked()) then
                    PlaySound("igMainMenuOptionCheckBoxOff");
                else
                    PlaySound("igMainMenuOptionCheckBoxOn");
                end
                AQWarner_OnClick();
            </OnClick>
        </Scripts>
  
    </CheckButton>

    <!-- Dropdown Template -->
    <Frame name="AQWDropdownTemplate" inherits="UIDropDownMenuTemplate" virtual="true">
    
        <Size>
            <AbsDimension x="128" y="16"/>
        </Size>
  
        <Layers>
            <Layer level="BACKGROUND">
                <FontString name="$parentLabel" inherits="GameFontNormalSmall">
                    <Anchors>
                        <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
                            <Offset>
                                <AbsDimension x="21" y="0"/>
                            </Offset>
                        </Anchor>
                    </Anchors>
                </FontString>
            </Layer>
        </Layers>
  
        <Scripts>
            <OnLoad>
                UIDropDownMenu_Initialize(this, AQWarner_DropDownInitialize);
            </OnLoad>
            <OnEnter>
                if ( this.tooltipText ) then
                    GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                    GameTooltip:SetText(this.tooltipText, nil, nil, nil, nil, 1);
                end
            </OnEnter>
            <OnLeave>
                GameTooltip:Hide();
            </OnLeave>
        </Scripts>
  
    </Frame>
  
    <!-- Configuration Start Frame -->
    <Frame name="AQWarnerConfigFrame" parent="UIParent" frameStrata="DIALOG" enableMouse="true" hidden="true" movable="true">
  
        <Size>
            <AbsDimension x="440" y="420"/>
        </Size>
        
        <Anchors>
            <Anchor point="CENTER">
                <Offset>
                    <AbsDimension x="0" y="0"/>
                </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 file="Interface\DialogFrame\UI-DialogBox-Header">
                    <Size>
                        <AbsDimension x="256" y="64"/>
                    </Size>
                    <Anchors>
                        <Anchor point="TOP">
                            <Offset>
                                <AbsDimension x="0" y="12"/>
                            </Offset>
                        </Anchor>
                    </Anchors>
                </Texture>
            </Layer>
            
            <Layer level="OVERLAY">
            
                <FontString name="$parentConfigTitle" inherits="GameFontNormal" text="AQWarner">
                    <Anchors>
                        <Anchor point="TOP" relativeTo="$parent"/>
                    </Anchors>
                </FontString>

            </Layer>
            
        </Layers>
        
        <Scripts>
            <OnLoad>
                this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                this:SetBackdropColor(0.15, 0.15, 0.15);
            </OnLoad>
            <OnMouseUp>
                if (this.isMoving) then
                    this:StopMovingOrSizing();
                    this.isMoving = false;
                end
            </OnMouseUp>
            <OnMouseDown>
                if (((not this.isLocked) or (this.isLocked == 0)) and (arg1 == "LeftButton")) then
                    this:StartMoving();
                    this.isMoving = true;
                end
            </OnMouseDown>
            <OnHide>
                if (this.isMoving) then
                    this:StopMovingOrSizing();
                    this.isMoving = false;
                end
            </OnHide>
        </Scripts>
        
        <Frames>
        
            <Button name="$parentButtonClose" inherits="OptionsButtonTemplate">
            
                <Anchors>
                    <Anchor point="BOTTOMRIGHT">
                        <Offset>
                            <AbsDimension x="-12" y="20"/>
                        </Offset>
                    </Anchor>
                </Anchors>
        
                <Scripts>
                    <OnLoad>
                        this:SetText(AQW_DIA.CLOSE);
                    </OnLoad>
                    <OnClick>
                        AQWarner_OnHide();
                    </OnClick>
                </Scripts>
        
            </Button>
            
            <Button name="$parentButtonToDefault" inherits="OptionsButtonTemplate">
            
                <Anchors>
                    <Anchor point="TOPRIGHT">
                        <Offset>
                            <AbsDimension x="-12" y="-20"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                
                <Scripts>
                    <OnLoad>
                        this:SetText(AQW_DIA.DEFAULT);
                    </OnLoad>
                    <OnClick>
                        AQWarner_ConfigToDefault();
                    </OnClick>
                </Scripts>
                
            </Button>   
            
            <!-- Drop Down Menu -->
            <Button name="AQWarnerDropdownSelect" inherits="UIDropDownMenuTemplate">
                
                <Anchors>
                    <Anchor point="TOPLEFT">
                        <Offset>
                            <AbsDimension x="20" y="-200"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                
                <Scripts>
                    <OnLoad>
                        AQWarner_DropdownOnLoad();
                    </OnLoad>
                    <OnEvent>
                        AQWarner_DropdownOnEvent();
                    </OnEvent>
                </Scripts>
                
            </Button>
            
            <!-- On/Off Button -->
            <CheckButton name="$parentCheckButtonAQWarner" inherits="AQWCheckTemplate">
    
                <Anchors>
                    <Anchor point="TOPLEFT" relativeTo="$parent">
                        <Offset>
                            <AbsDimension x="40" y="-20"/>
                        </Offset>
                    </Anchor>
                </Anchors>
    
                <Scripts>
                    <OnLoad>
                        getglobal(this:GetName().."Text"):SetText(AQW_DIA.AQW);
                    </OnLoad>
                    <OnEnter>
                        GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                        GameTooltip:SetText(AQW_DIA.TT.AQW);
                    </OnEnter>
                    <OnLeave>
                        GameTooltip:Hide();
                    </OnLeave>
                </Scripts>
    
            </CheckButton>    
                    
            <!-- General Options -->
            <Frame name="AQWarnerGeneralOptionsFrame" inherits="OptionFrameBoxTemplate">
    
                <Size>
                    <AbsDimension x="400" y="130"/>
                </Size>
                
                <Anchors>
                    <Anchor point="TOPLEFT">
                        <Offset>
                            <AbsDimension x="20" y="-60"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                
                <Scripts>
                    <OnLoad>
                        this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                        this:SetBackdropColor(0.2, 0.2, 0.2);
                    </OnLoad>
                </Scripts>
                
                <Frames>
            
                    <Frame name="AQWGeneralOptionsTitle">
              
                        <Size>
                            <AbsDimension x="160" y="20"/>
                        </Size>
          
                        <Anchors>
                            <Anchor point="TOP" relativeTo="AQWarnerGeneralOptionsFrame">
                                <Offset>
                                    <AbsDimension x="0" y="5"/>
                                </Offset>
                            </Anchor>
                        </Anchors>      
        
                        <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                            <EdgeSize>
                                <AbsValue val="8"/>
                            </EdgeSize>
                            <TileSize>
                                <AbsValue val="8"/>
                            </TileSize>
                            <BackgroundInsets>
                                <AbsInset left="2" right="2" top="2" bottom="2"/>
                            </BackgroundInsets>
                        </Backdrop>
            
                        <Layers>
                            <Layer>
                                <FontString name="$parentConfigIntro" inherits="GameFontHighlight" text="General Options">
                                    <Anchors>
                                        <Anchor point="CENTER" relativeTo="AQWGeneralOptionsTitle">
                                            <Offset>
                                                <AbsDimension x="0" y="0"/>
                                            </Offset>
                                        </Anchor>
                                    </Anchors>
                                </FontString>
                            </Layer>
                        </Layers>
            
                        <Scripts>
                            <OnLoad>
                                this:SetBackdropBorderColor(1, 1, 1);
                                this:SetBackdropColor(0.5, 0.5, 0.5);
                            </OnLoad>
                        </Scripts>
        
                    </Frame>

                    <CheckButton name="$parentCheckButtonSound" inherits="AQWCheckTemplate">
      
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerGeneralOptionsFrame">
                                <Offset>
                                    <AbsDimension x="210" y="-10"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
      
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.SOUND);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this,"ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.SOUND);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
        
                    </CheckButton>    
        
                    <CheckButton name="$parentCheckButtonStars" inherits="AQWCheckTemplate">
    
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerGeneralOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-10"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
      
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.STARS);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this,"ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.STARS);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
        
                    </CheckButton>    
                    
                    <CheckButton name="$parentCheckButtonTells" inherits="AQWCheckTemplate">
        
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerGeneralOptionsFrame">
                                <Offset>
                                    <AbsDimension x="210" y="-30"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
          
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.TELLS);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this,"ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.TELLS);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
        
                    </CheckButton>    
        
                    <CheckButton name="$parentCheckButtonRaid" inherits="AQWCheckTemplate">
        
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerGeneralOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-30"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
        
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.RAID);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.RAID);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
          
                    </CheckButton>    
                    
                    <CheckButton name="$parentCheckButtonSelf" inherits="AQWCheckTemplate">
        
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerGeneralOptionsFrame">
                                <Offset>
                                    <AbsDimension x="210" y="-50"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
        
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.SELF);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this,"ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.SELF);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
        
                    </CheckButton>    
        
                    <CheckButton name="$parentCheckButtonMinimapButtonToggle" inherits="AQWCheckTemplate">
            
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerGeneralOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-50"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
          
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.MINIMAP_BUTTON_TOGGLE);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.MINIMAP_BUTTON_TOGGLE);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
          
                    </CheckButton>    
        
                    <Slider name="$parentMinimapButtonSlider" inherits="OptionsSliderTemplate">
          
                        <Size>
                            <AbsDimension x="200" y="20"/>
                        </Size>
          
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerGeneralOptionsFrame">
                                <Offset>
                                    <AbsDimension x="100" y="-90"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
        
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.MINIMAP_SLIDER);
                                getglobal(this:GetName().."High"):SetText("359");
                                getglobal(this:GetName().."Low"):SetText("1");
                                this:SetMinMaxValues(1,359);
                                this:SetValueStep(1);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this,"ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.MINIMAP_SLIDER);
                            </OnEnter>
                            <OnValueChanged> 
                                AQWarner_ChangeMinimapPosition(this:GetValue());  
                                GameTooltip:SetText(AQW_DIA.TT.MINIMAP_SLIDER);
                            </OnValueChanged>
                        </Scripts>
      
                    </Slider> 
            
                </Frames>
            
            </Frame>

            <!-- The Prophet Skeram -->
            <Frame name="AQWarnerSkeramOptionsFrame" inherits="OptionFrameBoxTemplate">
      
                <Size>
                    <AbsDimension x="250" y="90"/>
                </Size>
                
                <Anchors>
                    <Anchor point="TOPLEFT">
                        <Offset>
                            <AbsDimension x="20" y="-250"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                
                <Scripts>
                    <OnLoad>
                        this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                        this:SetBackdropColor(0.2, 0.2, 0.2);
                    </OnLoad>
                </Scripts>
                
                <Frames>
            
                    <Frame name="AQWSkeramOptionsTitle">
        
                        <Size>
                            <AbsDimension x="160" y="20"/>
                        </Size>
      
                        <Anchors>
                            <Anchor point="TOP" relativeTo="AQWarnerSkeramOptionsFrame">
                                <Offset>
                                    <AbsDimension x="0" y="5"/>
                                </Offset>
                            </Anchor>
                        </Anchors>      
      
                        <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                            <EdgeSize>
                                <AbsValue val="8"/>
                            </EdgeSize>
                            <TileSize>
                                <AbsValue val="8"/>
                            </TileSize>
                            <BackgroundInsets>
                                <AbsInset left="2" right="2" top="2" bottom="2"/>
                            </BackgroundInsets>
                        </Backdrop>
        
                        <Layers>
                            <Layer>
                                <FontString name="$parentSkeramIntro" inherits="GameFontHighlight" text="Skeram Options">
                                    <Anchors>
                                        <Anchor point="CENTER" relativeTo="AQWSkeramOptionsTitle">
                                            <Offset>
                                                <AbsDimension x="0" y="0"/>
                                            </Offset>
                                        </Anchor>
                                    </Anchors>
                                </FontString>
                            </Layer>
                        </Layers>
            
                        <Scripts>
                            <OnLoad>
                                this:SetBackdropBorderColor(1, 1, 1);
                                this:SetBackdropColor(0.5, 0.5, 0.5);
                            </OnLoad>
                        </Scripts>
            
                    </Frame>

                    <CheckButton name="$parentCheckButtonSkeramAE" inherits="AQWCheckTemplate">
      
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerSkeramOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-10"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
      
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.SKERAM_AE);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.SKERAM_AE);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
        
                  </CheckButton>    
        
                    <CheckButton name="$parentCheckButtonSkeramMC" inherits="AQWCheckTemplate">
          
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerSkeramOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-30"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
      
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.SKERAM_MC);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.SKERAM_MC);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
        
                    </CheckButton>    
        
                    <CheckButton name="$parentCheckButtonSkeramSplit" inherits="AQWCheckTemplate">
          
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerSkeramOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-50"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
      
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.SKERAM_SPLIT);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.SKERAM_SPLIT);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
      
                    </CheckButton>    
                    
                </Frames>
                
            </Frame>
            
            <!-- Battleguard Sartura -->
            <Frame name="AQWarnerSarturaOptionsFrame" inherits="OptionFrameBoxTemplate">
      
                <Size>
                    <AbsDimension x="250" y="90"/>
                </Size>
                
                <Anchors>
                    <Anchor point="TOPLEFT">
                        <Offset>
                            <AbsDimension x="20" y="-250"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                
                <Scripts>
                    <OnLoad>
                        this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                        this:SetBackdropColor(0.2, 0.2, 0.2);
                    </OnLoad>
                </Scripts>
                
                <Frames>
            
                    <Frame name="AQWSarturaOptionsTitle">
        
                        <Size>
                            <AbsDimension x="160" y="20"/>
                        </Size>
      
                        <Anchors>
                            <Anchor point="TOP" relativeTo="AQWarnerSarturaOptionsFrame">
                                <Offset>
                                    <AbsDimension x="0" y="5"/>
                                </Offset>
                            </Anchor>
                        </Anchors>      
          
                        <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                            <EdgeSize>
                                <AbsValue val="8"/>
                            </EdgeSize>
                            <TileSize>
                                <AbsValue val="8"/>
                            </TileSize>
                            <BackgroundInsets>
                                <AbsInset left="2" right="2" top="2" bottom="2"/>
                            </BackgroundInsets>
                        </Backdrop>
          
                        <Layers>
                            <Layer>
                                <FontString name="$parentSarturaIntro" inherits="GameFontHighlight" text="Sartura Options">
                                    <Anchors>
                                        <Anchor point="CENTER" relativeTo="AQWSarturaOptionsTitle">
                                            <Offset>
                                                <AbsDimension x="0" y="0"/>
                                            </Offset>
                                        </Anchor>
                                    </Anchors>
                                </FontString>
                            </Layer>
                        </Layers>
          
                        <Scripts>
                            <OnLoad>
                                this:SetBackdropBorderColor(1, 1, 1);
                                this:SetBackdropColor(0.5, 0.5, 0.5);
                            </OnLoad>
                        </Scripts>
          
                    </Frame>

                    <CheckButton name="$parentCheckButtonSarturaWhirl" inherits="AQWCheckTemplate">
        
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerSarturaOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-10"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
        
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.SARTURA_WHIRL);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.SARTURA_WHIRL);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
        
                    </CheckButton>    
        
                    <CheckButton name="$parentCheckButtonSarturaEnrage" inherits="AQWCheckTemplate">
    
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerSarturaOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-30"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
      
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.SARTURA_ENRAGE);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.SARTURA_ENRAGE);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
    
                    </CheckButton>    
                    
                    <CheckButton name="$parentCheckButtonSarturaSupreme" inherits="AQWCheckTemplate">
      
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerSarturaOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-50"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
        
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.SARTURA_SUPREME);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.SARTURA_SUPREME);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
        
                    </CheckButton>    
                    
                </Frames>
            
            </Frame>
        
            <!-- Vem/Yauj/Kri -->
            <Frame name="AQWarnerTrioOptionsFrame" inherits="OptionFrameBoxTemplate">
      
                <Size>
                    <AbsDimension x="250" y="50"/>
                </Size>
                
                <Anchors>
                    <Anchor point="TOPLEFT">
                        <Offset>
                            <AbsDimension x="20" y="-250"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                
                <Scripts>
                    <OnLoad>
                        this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                        this:SetBackdropColor(0.2, 0.2, 0.2);
                    </OnLoad>
                </Scripts>
                
                <Frames>
            
                    <Frame name="AQWTrioOptionsTitle">
        
                        <Size>
                            <AbsDimension x="160" y="20"/>
                        </Size>
        
                        <Anchors>
                            <Anchor point="TOP" relativeTo="AQWarnerTrioOptionsFrame">
                                <Offset>
                                    <AbsDimension x="0" y="5"/>
                                </Offset>
                            </Anchor>
                        </Anchors>      
        
                        <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                            <EdgeSize>
                                <AbsValue val="8"/>
                            </EdgeSize>
                            <TileSize>
                                <AbsValue val="8"/>
                            </TileSize>
                            <BackgroundInsets>
                                <AbsInset left="2" right="2" top="2" bottom="2"/>
                            </BackgroundInsets>
                        </Backdrop>
            
                        <Layers>
                            <Layer>
                                <FontString name="$parentTrioIntro" inherits="GameFontHighlight" text="Vem/Yauj/Kri  Options">
                                    <Anchors>
                                        <Anchor point="CENTER" relativeTo="AQWTrioOptionsTitle">
                                            <Offset>
                                                <AbsDimension x="0" y="0"/>
                                            </Offset>
                                        </Anchor>
                                    </Anchors>
                                </FontString>
                            </Layer>
                        </Layers>
            
                        <Scripts>
                            <OnLoad>
                                this:SetBackdropBorderColor(1, 1, 1);
                                this:SetBackdropColor(0.5, 0.5, 0.5);
                            </OnLoad>
                        </Scripts>
          
                    </Frame>

                    <CheckButton name="$parentCheckButtonTrioYaujHeal" inherits="AQWCheckTemplate">
              
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerTrioOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-10"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
            
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.TRIO_YAUJ_HEAL);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.TRIO_YAUJ_HEAL);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
          
                    </CheckButton>    
                    
                </Frames>
            
            </Frame>

            <!-- Fankriss the Unyielding -->
            <Frame name="AQWarnerFankrissOptionsFrame" inherits="OptionFrameBoxTemplate">
    
                <Size>
                    <AbsDimension x="250" y="50"/>
                </Size>
                
                <Anchors>
                    <Anchor point="TOPLEFT">
                        <Offset>
                            <AbsDimension x="20" y="-250"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                
                <Scripts>
                    <OnLoad>
                        this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                        this:SetBackdropColor(0.2, 0.2, 0.2);
                    </OnLoad>
                </Scripts>
                
                <Frames>
            
                    <Frame name="AQWFankrissOptionsTitle">
          
                        <Size>
                            <AbsDimension x="200" y="20"/>
                        </Size>
        
                        <Anchors>
                            <Anchor point="TOP" relativeTo="AQWarnerFankrissOptionsFrame">
                                <Offset>
                                    <AbsDimension x="0" y="5"/>
                                </Offset>
                            </Anchor>
                        </Anchors>      
            
                        <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                            <EdgeSize>
                                <AbsValue val="8"/>
                            </EdgeSize>
                            <TileSize>
                                <AbsValue val="8"/>
                            </TileSize>
                            <BackgroundInsets>
                                <AbsInset left="2" right="2" top="2" bottom="2"/>
                            </BackgroundInsets>
                        </Backdrop>
          
                        <Layers>
                            <Layer>
                                <FontString name="$parentFankrissIntro" inherits="GameFontHighlight" text="Fankriss Options">
                                    <Anchors>
                                        <Anchor point="CENTER" relativeTo="AQWFankrissOptionsTitle">
                                            <Offset>
                                                <AbsDimension x="0" y="0"/>
                                            </Offset>
                                        </Anchor>
                                    </Anchors>
                                </FontString>
                            </Layer>
                        </Layers>
            
                        <Scripts>
                            <OnLoad>
                                this:SetBackdropBorderColor(1, 1, 1);
                                this:SetBackdropColor(0.5, 0.5, 0.5);
                            </OnLoad>
                        </Scripts>
        
                    </Frame>

                    <CheckButton name="$parentCheckButtonFankrissSummon" inherits="AQWCheckTemplate">
            
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerFankrissOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-10"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
          
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.FANKRISS_SUMMON);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.FANKRISS_SUMMON);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
          
                    </CheckButton>    
        
                </Frames>
                
            </Frame>
            
            <!-- Princess Huhuran -->
            <Frame name="AQWarnerHuhuranOptionsFrame" inherits="OptionFrameBoxTemplate">
        
                <Size>
                    <AbsDimension x="400" y="120"/>
                </Size>
                
                <Anchors>
                    <Anchor point="TOPLEFT">
                        <Offset>
                            <AbsDimension x="20" y="-250"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                
                <Scripts>
                    <OnLoad>
                        this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                        this:SetBackdropColor(0.2, 0.2, 0.2);
                    </OnLoad>
                </Scripts>
                
                <Frames>
            
                    <Frame name="AQWHuhuranOptionsTitle">
      
                        <Size>
                            <AbsDimension x="160" y="20"/>
                        </Size>
      
                        <Anchors>
                            <Anchor point="TOP" relativeTo="AQWarnerHuhuranOptionsFrame">
                                <Offset>
                                    <AbsDimension x="0" y="5"/>
                                </Offset>
                            </Anchor>
                        </Anchors>      
        
                        <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                            <EdgeSize>
                                <AbsValue val="8"/>
                            </EdgeSize>
                            <TileSize>
                                <AbsValue val="8"/>
                            </TileSize>
                            <BackgroundInsets>
                                <AbsInset left="2" right="2" top="2" bottom="2"/>
                            </BackgroundInsets>
                        </Backdrop>
          
                        <Layers>
                            <Layer>
                                <FontString name="$parentHuhuranIntro" inherits="GameFontHighlight" text="Huhuran Options">
                                    <Anchors>
                                        <Anchor point="CENTER" relativeTo="AQWHuhuranOptionsTitle">
                                            <Offset>
                                                <AbsDimension x="0" y="0"/>
                                            </Offset>
                                        </Anchor>
                                    </Anchors>
                                </FontString>
                            </Layer>
                        </Layers>
          
                        <Scripts>
                            <OnLoad>
                                this:SetBackdropBorderColor(1, 1, 1);
                                this:SetBackdropColor(0.5, 0.5, 0.5);
                            </OnLoad>
                        </Scripts>
        
                    </Frame>

                    <CheckButton name="$parentCheckButtonHuhuranFrenzy" inherits="AQWCheckTemplate">
      
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerHuhuranOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-10"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
    
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.HUHURAN_FRENZY);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.HUHURAN_FRENZY);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
        
                    </CheckButton>    
        
                    <CheckButton name="$parentCheckButtonHuhuranImminent" inherits="AQWCheckTemplate">
        
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerHuhuranOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-30"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
        
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.HUHURAN_BERSERK_IMMINENT);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.HUHURAN_BERSERK_IMMINENT);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
          
                    </CheckButton>    
        
                    <Slider name="$parentHuhuranBerserkLimit" inherits="OptionsSliderTemplate">
      
                        <Size>
                            <AbsDimension x="150" y="20"/>
                        </Size>
          
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerHuhuranOptionsFrame">
                                <Offset>
                                    <AbsDimension x="40" y="-80"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
        
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.HUHURAN_BERSERK_LIMIT);
                                getglobal(this:GetName().."High"):SetText("38%");
                                getglobal(this:GetName().."Low"):SetText("31%");
                                this:SetMinMaxValues(31,38);
                                this:SetValueStep(1);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this,"ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.HUHURAN_BERSERK_LIMIT.."\n"..AQW_OPTIONS.HUHURAN_BERSERK_LIMIT.."%");
                            </OnEnter>
                            <OnValueChanged> 
                                AQWarner_OnClick();  
                                GameTooltip:SetText(AQW_DIA.TT.HUHURAN_BERSERK_LIMIT.."\n"..AQW_OPTIONS.HUHURAN_BERSERK_LIMIT.."%");
                            </OnValueChanged>
                        </Scripts>
        
                    </Slider> 
        
                    <CheckButton name="$parentCheckButtonHuhuranBerserk" inherits="AQWCheckTemplate">
      
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerHuhuranOptionsFrame">
                                <Offset>
                                    <AbsDimension x="210" y="-10"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
        
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.HUHURAN_BERSERK);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.HUHURAN_BERSERK);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
    
                    </CheckButton>    
        
                    <CheckButton name="$parentCheckButtonHuhuranSting" inherits="AQWCheckTemplate">
        
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerHuhuranOptionsFrame">
                                <Offset>
                                    <AbsDimension x="210" y="-30"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
        
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.HUHURAN_STING);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.HUHURAN_STING);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
        
                    </CheckButton>  
                    
                </Frames>
                
            </Frame>
            
            <!-- Anubisath Defender -->
            <Frame name="AQWarnerAnubOptionsFrame" inherits="OptionFrameBoxTemplate">
        
                <Size>
                    <AbsDimension x="400" y="110"/>
                </Size>
                
                <Anchors>
                    <Anchor point="TOPLEFT">
                        <Offset>
                            <AbsDimension x="20" y="-250"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                
                <Scripts>
                    <OnLoad>
                        this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                        this:SetBackdropColor(0.2, 0.2, 0.2);
                    </OnLoad>
                </Scripts>
                
                <Frames>
            
                    <Frame name="AQWAnubOptionsTitle">
        
                        <Size>
                            <AbsDimension x="190" y="20"/>
                        </Size>
        
                        <Anchors>
                            <Anchor point="TOP" relativeTo="AQWarnerAnubOptionsFrame">
                                <Offset>
                                    <AbsDimension x="0" y="5"/>
                                </Offset>
                            </Anchor>
                        </Anchors>      
          
                        <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                            <EdgeSize>
                                <AbsValue val="8"/>
                            </EdgeSize>
                            <TileSize>
                                <AbsValue val="8"/>
                            </TileSize>
                            <BackgroundInsets>
                                <AbsInset left="2" right="2" top="2" bottom="2"/>
                            </BackgroundInsets>
                        </Backdrop>
              
                        <Layers>
                            <Layer>
                                <FontString name="$parentAnubIntro" inherits="GameFontHighlight" text="General Options">
                                    <Anchors>
                                        <Anchor point="CENTER" relativeTo="AQWAnubOptionsTitle">
                                            <Offset>
                                                <AbsDimension x="0" y="0"/>
                                            </Offset>
                                        </Anchor>
                                    </Anchors>
                                </FontString>
                            </Layer>
                        </Layers>
          
                        <Scripts>
                            <OnLoad>
                                this:SetBackdropBorderColor(1, 1, 1);
                                this:SetBackdropColor(0.5, 0.5, 0.5);
                            </OnLoad>
                        </Scripts>
          
                    </Frame>

                    <CheckButton name="$parentCheckButtonAnubSummon" inherits="AQWCheckTemplate">
      
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerAnubOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-10"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
      
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.ANUB_SUMMON);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.ANUB_SUMMON);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
      
                    </CheckButton>    
        
                    <CheckButton name="$parentCheckButtonAnubPlague" inherits="AQWCheckTemplate">
      
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerAnubOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-30"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
        
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.ANUB_PLAGUE);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.ANUB_PLAGUE);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
        
                    </CheckButton>    
        
                    <CheckButton name="$parentCheckButtonAnubMeteor" inherits="AQWCheckTemplate">
        
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerAnubOptionsFrame">
                                <Offset>
                                    <AbsDimension x="210" y="-30"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
        
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.ANUB_METEOR);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.ANUB_METEOR);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
        
                    </CheckButton>    
        
                    <CheckButton name="$parentCheckButtonAnubThunderclap" inherits="AQWCheckTemplate">
        
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerAnubOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-50"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
          
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.ANUB_THUNDERCLAP);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.ANUB_THUNDERCLAP);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
          
                    </CheckButton>    
        
                    <CheckButton name="$parentCheckButtonAnubStorm" inherits="AQWCheckTemplate">
    
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerAnubOptionsFrame">
                                <Offset>
                                    <AbsDimension x="210" y="-50"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
    
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.ANUB_STORM);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.ANUB_STORM);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
        
                    </CheckButton>    
        
                    <CheckButton name="$parentCheckButtonAnubExplode" inherits="AQWCheckTemplate">
      
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerAnubOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-70"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
      
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.ANUB_EXPLODE);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.ANUB_EXPLODE);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
        
                    </CheckButton>    
        
                    <CheckButton name="$parentCheckButtonAnubEnrage" inherits="AQWCheckTemplate">
      
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerAnubOptionsFrame">
                                <Offset>
                                    <AbsDimension x="210" y="-70"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
      
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.ANUB_ENRAGE);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.ANUB_ENRAGE);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
      
                    </CheckButton>    
        
                </Frames>
                
            </Frame>

            <!-- Twin Emperors -->
            <Frame name="AQWarnerTwinsOptionsFrame" inherits="OptionFrameBoxTemplate">
        
                <Size>
                    <AbsDimension x="400" y="100"/>
                </Size>
                
                <Anchors>
                    <Anchor point="TOPLEFT">
                        <Offset>
                            <AbsDimension x="20" y="-250"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                
                <Scripts>
                    <OnLoad>
                        this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                        this:SetBackdropColor(0.2, 0.2, 0.2);
                    </OnLoad>
                </Scripts>
                
                <Frames>
            
                    <Frame name="AQWTwinsOptionsTitle">
        
                        <Size>
                            <AbsDimension x="140" y="20"/>
                        </Size>
        
                        <Anchors>
                            <Anchor point="TOP" relativeTo="AQWarnerTwinsOptionsFrame">
                                <Offset>
                                    <AbsDimension x="0" y="5"/>
                                </Offset>
                            </Anchor>
                        </Anchors>      
          
                        <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                            <EdgeSize>
                                <AbsValue val="8"/>
                            </EdgeSize>
                            <TileSize>
                                <AbsValue val="8"/>
                            </TileSize>
                            <BackgroundInsets>
                                <AbsInset left="2" right="2" top="2" bottom="2"/>
                            </BackgroundInsets>
                        </Backdrop>
            
                        <Layers>
                            <Layer>
                                <FontString name="$parentTwinsIntro" inherits="GameFontHighlight" text="Twins Options">
                                    <Anchors>
                                        <Anchor point="CENTER" relativeTo="AQWTwinsOptionsTitle">
                                            <Offset>
                                                <AbsDimension x="0" y="0"/>
                                            </Offset>
                                        </Anchor>
                                    </Anchors>
                                </FontString>
                            </Layer>
                        </Layers>
          
                        <Scripts>
                            <OnLoad>
                                this:SetBackdropBorderColor(1, 1, 1);
                                this:SetBackdropColor(0.5, 0.5, 0.5);
                            </OnLoad>
                        </Scripts>
          
                    </Frame>

                    <CheckButton name="$parentCheckButtonTwinsPort" inherits="AQWCheckTemplate">
        
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerTwinsOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-10"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
          
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.TWINS_PORT);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.TWINS_PORT);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
          
                    </CheckButton>    
                            
                    <CheckButton name="$parentCheckButtonTwinsHeal" inherits="AQWCheckTemplate">
  
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerTwinsOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-30"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
      
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.TWINS_HEAL);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.TWINS_HEAL);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
    
                    </CheckButton>    
        
                    <CheckButton name="$parentCheckButtonTwinsSupreme" inherits="AQWCheckTemplate">
  
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerTwinsOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-50"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
      
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.TWINS_SUPREME);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.TWINS_SUPREME);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
    
                    </CheckButton>    
        
                    <Slider name="$parentTwinsHealAnnounceInterval" inherits="OptionsSliderTemplate">
    
                        <Size>
                            <AbsDimension x="150" y="20"/>
                        </Size>
      
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerTwinsOptionsFrame">
                                <Offset>
                                    <AbsDimension x="230" y="-60"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
        
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.TWINS_HEAL_ANNOUNCE_INTERVAL);
                                getglobal(this:GetName().."High"):SetText("20"..AQW_DIA.SEC);
                                getglobal(this:GetName().."Low"):SetText("5"..AQW_DIA.SEC);
                                this:SetMinMaxValues(5,20);
                                this:SetValueStep(1);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this,"ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.TWINS_HEAL_ANNOUNCE_INTERVAL.."\n"..AQW_OPTIONS.TWINS_HEAL_ANNOUNCE_INTERVAL..AQW_DIA.SEC);
                            </OnEnter>
                            <OnValueChanged> 
                                AQWarner_OnClick();  
                                GameTooltip:SetText(AQW_DIA.TT.TWINS_HEAL_ANNOUNCE_INTERVAL.."\n"..AQW_OPTIONS.TWINS_HEAL_ANNOUNCE_INTERVAL..AQW_DIA.SEC);
                            </OnValueChanged>
                        </Scripts>
      
                    </Slider> 
        
                    <CheckButton name="$parentCheckButtonTwinsBugExplode" inherits="AQWCheckTemplate">
    
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerTwinsOptionsFrame">
                                <Offset>
                                    <AbsDimension x="210" y="-10"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
      
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.TWINS_BUG_EXPLODE);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.TWINS_BUG_EXPLODE);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
      
                    </CheckButton>    
        
                </Frames>
                
            </Frame>
            
            <!-- Qiraji Slayer -->
            <Frame name="AQWarnerSlayerOptionsFrame" inherits="OptionFrameBoxTemplate">
      
                <Size>
                    <AbsDimension x="250" y="70"/>
                </Size>
                
                <Anchors>
                    <Anchor point="TOPLEFT">
                        <Offset>
                            <AbsDimension x="20" y="-250"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                
                <Scripts>
                    <OnLoad>
                        this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                        this:SetBackdropColor(0.2, 0.2, 0.2);
                    </OnLoad>
                </Scripts>
                
                <Frames>
            
                    <Frame name="AQWSlayerOptionsTitle">
        
                        <Size>
                            <AbsDimension x="160" y="20"/>
                        </Size>
        
                        <Anchors>
                            <Anchor point="TOP" relativeTo="AQWarnerSlayerOptionsFrame">
                                <Offset>
                                    <AbsDimension x="0" y="5"/>
                                </Offset>
                            </Anchor>
                        </Anchors>      
        
                        <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                            <EdgeSize>
                                <AbsValue val="8"/>
                            </EdgeSize>
                            <TileSize>
                                <AbsValue val="8"/>
                            </TileSize>
                            <BackgroundInsets>
                                <AbsInset left="2" right="2" top="2" bottom="2"/>
                            </BackgroundInsets>
                        </Backdrop>
            
                        <Layers>
                            <Layer>
                                <FontString name="$parentSlayerIntro" inherits="GameFontHighlight" text="Qiraji Slayer Options">
                                    <Anchors>
                                        <Anchor point="CENTER" relativeTo="AQWSlayerOptionsTitle">
                                            <Offset>
                                                <AbsDimension x="0" y="0"/>
                                            </Offset>
                                        </Anchor>
                                    </Anchors>
                                </FontString>
                            </Layer>
                        </Layers>
            
                        <Scripts>
                            <OnLoad>
                                this:SetBackdropBorderColor(1, 1, 1);
                                this:SetBackdropColor(0.5, 0.5, 0.5);
                            </OnLoad>
                        </Scripts>
          
                    </Frame>

                    <CheckButton name="$parentCheckButtonSlayerFrenzy" inherits="AQWCheckTemplate">
              
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerSlayerOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-10"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
            
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.SLAYER_FRENZY);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.SLAYER_FRENZY);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
          
                    </CheckButton>    
                    
                    <CheckButton name="$parentCheckButtonSlayerWhirl" inherits="AQWCheckTemplate">
              
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerSlayerOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-30"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
            
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.SLAYER_WHIRL);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.SLAYER_WHIRL);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
          
                    </CheckButton>    
                    
                </Frames>
            
            </Frame>

            <!-- Qiraji Champion -->
            <Frame name="AQWarnerChampOptionsFrame" inherits="OptionFrameBoxTemplate">
      
                <Size>
                    <AbsDimension x="250" y="50"/>
                </Size>
                
                <Anchors>
                    <Anchor point="TOPLEFT">
                        <Offset>
                            <AbsDimension x="20" y="-250"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                
                <Scripts>
                    <OnLoad>
                        this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                        this:SetBackdropColor(0.2, 0.2, 0.2);
                    </OnLoad>
                </Scripts>
                
                <Frames>
            
                    <Frame name="AQWChampOptionsTitle">
        
                        <Size>
                            <AbsDimension x="160" y="20"/>
                        </Size>
        
                        <Anchors>
                            <Anchor point="TOP" relativeTo="AQWarnerChampOptionsFrame">
                                <Offset>
                                    <AbsDimension x="0" y="5"/>
                                </Offset>
                            </Anchor>
                        </Anchors>      
        
                        <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                            <EdgeSize>
                                <AbsValue val="8"/>
                            </EdgeSize>
                            <TileSize>
                                <AbsValue val="8"/>
                            </TileSize>
                            <BackgroundInsets>
                                <AbsInset left="2" right="2" top="2" bottom="2"/>
                            </BackgroundInsets>
                        </Backdrop>
            
                        <Layers>
                            <Layer>
                                <FontString name="$parentChampIntro" inherits="GameFontHighlight" text="Champ Options">
                                    <Anchors>
                                        <Anchor point="CENTER" relativeTo="AQWChampOptionsTitle">
                                            <Offset>
                                                <AbsDimension x="0" y="0"/>
                                            </Offset>
                                        </Anchor>
                                    </Anchors>
                                </FontString>
                            </Layer>
                        </Layers>
            
                        <Scripts>
                            <OnLoad>
                                this:SetBackdropBorderColor(1, 1, 1);
                                this:SetBackdropColor(0.5, 0.5, 0.5);
                            </OnLoad>
                        </Scripts>
          
                    </Frame>

                    <CheckButton name="$parentCheckButtonChampEnrage" inherits="AQWCheckTemplate">
              
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerChampOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-10"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
            
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.CHAMP_ENRAGE);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.CHAMP_ENRAGE);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
          
                    </CheckButton>    
                    
                </Frames>
            
            </Frame>

            <!-- C'Thun -->
            <Frame name="AQWarnerCThunOptionsFrame" inherits="OptionFrameBoxTemplate">
      
                <Size>
                    <AbsDimension x="400" y="130"/>
                </Size>
                
                <Anchors>
                    <Anchor point="TOPLEFT">
                        <Offset>
                            <AbsDimension x="20" y="-250"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                
                <Scripts>
                    <OnLoad>
                        this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                        this:SetBackdropColor(0.2, 0.2, 0.2);
                    </OnLoad>
                </Scripts>
                
                <Frames>
            
                    <Frame name="AQWCThunOptionsTitle">
        
                        <Size>
                            <AbsDimension x="160" y="20"/>
                        </Size>
        
                        <Anchors>
                            <Anchor point="TOP" relativeTo="AQWarnerCThunOptionsFrame">
                                <Offset>
                                    <AbsDimension x="0" y="5"/>
                                </Offset>
                            </Anchor>
                        </Anchors>      
        
                        <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                            <EdgeSize>
                                <AbsValue val="8"/>
                            </EdgeSize>
                            <TileSize>
                                <AbsValue val="8"/>
                            </TileSize>
                            <BackgroundInsets>
                                <AbsInset left="2" right="2" top="2" bottom="2"/>
                            </BackgroundInsets>
                        </Backdrop>
            
                        <Layers>
                            <Layer>
                                <FontString name="$parentCThunIntro" inherits="GameFontHighlight" text="C'Thun Options">
                                    <Anchors>
                                        <Anchor point="CENTER" relativeTo="AQWCThunOptionsTitle">
                                            <Offset>
                                                <AbsDimension x="0" y="0"/>
                                            </Offset>
                                        </Anchor>
                                    </Anchors>
                                </FontString>
                            </Layer>
                        </Layers>
            
                        <Scripts>
                            <OnLoad>
                                this:SetBackdropBorderColor(1, 1, 1);
                                this:SetBackdropColor(0.5, 0.5, 0.5);
                            </OnLoad>
                        </Scripts>
          
                    </Frame>

                    <CheckButton name="$parentCheckButtonCThunGlare" inherits="AQWCheckTemplate">
              
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerCThunOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-10"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
            
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.CTHUN_GLARE);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.CTHUN_GLARE);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
          
                    </CheckButton>    
                    
                    <Slider name="$parentCThunGlarePrewarn" inherits="OptionsSliderTemplate">
      
                        <Size>
                            <AbsDimension x="150" y="20"/>
                        </Size>
          
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerCThunOptionsFrame">
                                <Offset>
                                    <AbsDimension x="210" y="-30"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
        
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.CTHUN_GLARE_PREWARN);
                                getglobal(this:GetName().."High"):SetText("10sec");
                                getglobal(this:GetName().."Low"):SetText("5sec");
                                this:SetMinMaxValues(5,10);
                                this:SetValueStep(1);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this,"ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.CTHUN_GLARE_PREWARN.."\n"..AQW_OPTIONS.CTHUN_GLARE_PREWARN.."sec");
                            </OnEnter>
                            <OnValueChanged> 
                                AQWarner_OnClick();  
                                GameTooltip:SetText(AQW_DIA.TT.CTHUN_GLARE_PREWARN.."\n"..AQW_OPTIONS.CTHUN_GLARE_PREWARN.."sec");
                            </OnValueChanged>
                        </Scripts>
        
                    </Slider> 
        
                    <CheckButton name="$parentCheckButtonCThunEyeTent" inherits="AQWCheckTemplate">
              
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerCThunOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-30"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
            
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.CTHUN_EYETENT);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.CTHUN_EYETENT);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
          
                    </CheckButton>    
                    
                    <Slider name="$parentCThunEyeTentPrewarn" inherits="OptionsSliderTemplate">
      
                        <Size>
                            <AbsDimension x="150" y="20"/>
                        </Size>
          
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerCThunOptionsFrame">
                                <Offset>
                                    <AbsDimension x="210" y="-80"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
        
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.CTHUN_EYETENT_PREWARN);
                                getglobal(this:GetName().."High"):SetText("10sec");
                                getglobal(this:GetName().."Low"):SetText("5sec");
                                this:SetMinMaxValues(5,10);
                                this:SetValueStep(1);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this,"ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.CTHUN_EYETENT_PREWARN.."\n"..AQW_OPTIONS.CTHUN_EYETENT_PREWARN.."sec");
                            </OnEnter>
                            <OnValueChanged> 
                                AQWarner_OnClick();  
                                GameTooltip:SetText(AQW_DIA.TT.CTHUN_EYETENT_PREWARN.."\n"..AQW_OPTIONS.CTHUN_EYETENT_PREWARN.."sec");
                            </OnValueChanged>
                        </Scripts>
        
                    </Slider> 
        
                    <CheckButton name="$parentCheckButtonCThunClawTent" inherits="AQWCheckTemplate">
              
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerCThunOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-50"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
            
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.CTHUN_CLAWTENT);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.CTHUN_CLAWTENT);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
          
                    </CheckButton>    
                    
                    <CheckButton name="$parentCheckButtonCThunStomach" inherits="AQWCheckTemplate">
              
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerCThunOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-70"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
            
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.CTHUN_STOMACH);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.CTHUN_STOMACH);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
          
                    </CheckButton>    
                    
                    <CheckButton name="$parentCheckButtonCThunEyeBeam" inherits="AQWCheckTemplate">
              
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerCThunOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-90"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
            
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.CTHUN_EYEBEAM);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.CTHUN_EYEBEAM);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
          
                    </CheckButton>    
                    
                </Frames>
            
            </Frame>

            <!-- General Rajaxx -->
            <Frame name="AQWarnerRajaxxOptionsFrame" inherits="OptionFrameBoxTemplate">
    
                <Size>
                    <AbsDimension x="250" y="50"/>
                </Size>
                
                <Anchors>
                    <Anchor point="TOPLEFT">
                        <Offset>
                            <AbsDimension x="20" y="-250"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                
                <Scripts>
                    <OnLoad>
                        this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                        this:SetBackdropColor(0.2, 0.2, 0.2);
                    </OnLoad>
                </Scripts>
                
                <Frames>
            
                    <Frame name="AQWRajaxxOptionsTitle">
    
                        <Size>
                            <AbsDimension x="160" y="20"/>
                        </Size>
        
                        <Anchors>
                            <Anchor point="TOP" relativeTo="AQWarnerRajaxxOptionsFrame">
                                <Offset>
                                    <AbsDimension x="0" y="5"/>
                                </Offset>
                            </Anchor>
                        </Anchors>      
        
                        <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                            <EdgeSize>
                                <AbsValue val="8"/>
                            </EdgeSize>
                            <TileSize>
                                <AbsValue val="8"/>
                            </TileSize>
                            <BackgroundInsets>
                                <AbsInset left="2" right="2" top="2" bottom="2"/>
                            </BackgroundInsets>
                        </Backdrop>
            
                        <Layers>
                            <Layer>
                                <FontString name="$parentRajaxxIntro" inherits="GameFontHighlight" text="Rajaxx Options">
                                    <Anchors>
                                        <Anchor point="CENTER" relativeTo="AQWRajaxxOptionsTitle">
                                            <Offset>
                                                <AbsDimension x="0" y="0"/>
                                            </Offset>
                                        </Anchor>
                                    </Anchors>
                                </FontString>
                            </Layer>
                        </Layers>
          
                        <Scripts>
                            <OnLoad>
                                this:SetBackdropBorderColor(1, 1, 1);
                                this:SetBackdropColor(0.5, 0.5, 0.5);
                            </OnLoad>
                        </Scripts>
        
                    </Frame>

                    <CheckButton name="$parentCheckButtonRajaxxWaves" inherits="AQWCheckTemplate">
        
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerRajaxxOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-10"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
          
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.RAJAXX_WAVES);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.RAJAXX_WAVES);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
      
                    </CheckButton>    
                    
                </Frames>
            
            </Frame>

            <!-- Buru the Gorger -->
            <Frame name="AQWarnerBuruOptionsFrame" inherits="OptionFrameBoxTemplate">
  
                <Size>
                    <AbsDimension x="250" y="50"/>
                </Size>
                
                <Anchors>
                    <Anchor point="TOPLEFT">
                        <Offset>
                            <AbsDimension x="20" y="-250"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                
                <Scripts>
                    <OnLoad>
                        this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                        this:SetBackdropColor(0.2, 0.2, 0.2);
                    </OnLoad>
                </Scripts>
                
                <Frames>
            
                    <Frame name="AQWBuruOptionsTitle">
        
                        <Size>
                            <AbsDimension x="160" y="20"/>
                        </Size>
        
                        <Anchors>
                            <Anchor point="TOP" relativeTo="AQWarnerBuruOptionsFrame">
                                <Offset>
                                    <AbsDimension x="0" y="5"/>
                                </Offset>
                            </Anchor>
                        </Anchors>      
          
                        <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                            <EdgeSize>
                                <AbsValue val="8"/>
                            </EdgeSize>
                            <TileSize>
                                <AbsValue val="8"/>
                            </TileSize>
                            <BackgroundInsets>
                                <AbsInset left="2" right="2" top="2" bottom="2"/>
                            </BackgroundInsets>
                        </Backdrop>
          
                        <Layers>
                            <Layer>
                                <FontString name="$parentBuruIntro" inherits="GameFontHighlight" text="Buru Options">
                                    <Anchors>
                                        <Anchor point="CENTER" relativeTo="AQWBuruOptionsTitle">
                                            <Offset>
                                                <AbsDimension x="0" y="0"/>
                                            </Offset>
                                        </Anchor>
                                    </Anchors>
                                </FontString>
                            </Layer>
                        </Layers>
        
                        <Scripts>
                            <OnLoad>
                                this:SetBackdropBorderColor(1, 1, 1);
                                this:SetBackdropColor(0.5, 0.5, 0.5);
                            </OnLoad>
                        </Scripts>
        
                    </Frame>

                    <CheckButton name="$parentCheckButtonBuruEyes" inherits="AQWCheckTemplate">
  
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerBuruOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-10"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
    
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.BURU_EYES);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.BURU_EYES);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
      
                    </CheckButton>    
                    
                </Frames>
            
            </Frame>

            <!-- Ayamiss the Hunter -->
            <Frame name="AQWarnerAyamissOptionsFrame" inherits="OptionFrameBoxTemplate">
    
                <Size>
                    <AbsDimension x="250" y="50"/>
                </Size>
                
                <Anchors>
                    <Anchor point="TOPLEFT">
                        <Offset>
                            <AbsDimension x="20" y="-250"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                
                <Scripts>
                    <OnLoad>
                        this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                        this:SetBackdropColor(0.2, 0.2, 0.2);
                    </OnLoad>
                </Scripts>
                
                <Frames>
            
                    <Frame name="AQWAyamissOptionsTitle">
        
                        <Size>
                            <AbsDimension x="160" y="20"/>
                        </Size>
        
                        <Anchors>
                            <Anchor point="TOP" relativeTo="AQWarnerAyamissOptionsFrame">
                                <Offset>
                                    <AbsDimension x="0" y="5"/>
                                </Offset>
                            </Anchor>
                        </Anchors>      
        
                        <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                            <EdgeSize>
                                <AbsValue val="8"/>
                            </EdgeSize>
                            <TileSize>
                                <AbsValue val="8"/>
                            </TileSize>
                            <BackgroundInsets>
                                <AbsInset left="2" right="2" top="2" bottom="2"/>
                            </BackgroundInsets>
                        </Backdrop>
        
                        <Layers>
                            <Layer>
                                <FontString name="$parentAyamissIntro" inherits="GameFontHighlight" text="Ayamiss Options">
                                    <Anchors>
                                        <Anchor point="CENTER" relativeTo="AQWAyamissOptionsTitle">
                                            <Offset>
                                                <AbsDimension x="0" y="0"/>
                                            </Offset>
                                        </Anchor>
                                    </Anchors>
                                </FontString>
                            </Layer>
                        </Layers>
        
                        <Scripts>
                            <OnLoad>
                                this:SetBackdropBorderColor(1, 1, 1);
                                this:SetBackdropColor(0.5, 0.5, 0.5);
                            </OnLoad>
                        </Scripts>
        
                    </Frame>

                    <CheckButton name="$parentCheckButtonAyamissSacrifice" inherits="AQWCheckTemplate">
        
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerAyamissOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-10"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
      
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.AYAMISS_SACRIFICE);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.AYAMISS_SACRIFICE);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
      
                    </CheckButton>    
                    
                </Frames>
            
            </Frame>

            <!-- Moam -->
            <Frame name="AQWarnerMoamOptionsFrame" inherits="OptionFrameBoxTemplate">
      
                <Size>
                    <AbsDimension x="250" y="50"/>
                </Size>
                
                <Anchors>
                    <Anchor point="TOPLEFT">
                        <Offset>
                            <AbsDimension x="20" y="-250"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                
                <Scripts>
                    <OnLoad>
                        this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                        this:SetBackdropColor(0.2, 0.2, 0.2);
                    </OnLoad>
                </Scripts>
                
                <Frames>
            
                    <Frame name="AQWMoamOptionsTitle">
          
                        <Size>
                            <AbsDimension x="160" y="20"/>
                        </Size>
          
                        <Anchors>
                            <Anchor point="TOP" relativeTo="AQWarnerMoamOptionsFrame">
                                <Offset>
                                    <AbsDimension x="0" y="5"/>
                                </Offset>
                            </Anchor>
                        </Anchors>      
        
                        <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                            <EdgeSize>
                                <AbsValue val="8"/>
                            </EdgeSize>
                            <TileSize>
                                <AbsValue val="8"/>
                            </TileSize>
                            <BackgroundInsets>
                                <AbsInset left="2" right="2" top="2" bottom="2"/>
                            </BackgroundInsets>
                        </Backdrop>
      
                        <Layers>
                            <Layer>
                                <FontString name="$parentMoamIntro" inherits="GameFontHighlight" text="Moam Options">
                                    <Anchors>
                                        <Anchor point="CENTER" relativeTo="AQWMoamOptionsTitle">
                                            <Offset>
                                                <AbsDimension x="0" y="0"/>
                                            </Offset>
                                        </Anchor>
                                    </Anchors>
                                </FontString>
                            </Layer>
                        </Layers>
        
                        <Scripts>
                            <OnLoad>
                                this:SetBackdropBorderColor(1, 1, 1);
                                this:SetBackdropColor(0.5, 0.5, 0.5);
                            </OnLoad>
                        </Scripts>
      
                    </Frame>

                    <CheckButton name="$parentCheckButtonMoamAdds" inherits="AQWCheckTemplate">
      
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerMoamOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-10"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
      
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.MOAM_ADDS);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.MOAM_ADDS);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
      
                    </CheckButton>    
                    
                </Frames>
            
            </Frame>

            <!-- Ossirian the Unscarred -->
            <Frame name="AQWarnerOssirianOptionsFrame" inherits="OptionFrameBoxTemplate">
      
                <Size>
                    <AbsDimension x="250" y="90"/>
                </Size>
                
                <Anchors>
                    <Anchor point="TOPLEFT">
                        <Offset>
                            <AbsDimension x="20" y="-250"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                
                <Scripts>
                    <OnLoad>
                        this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                        this:SetBackdropColor(0.2, 0.2, 0.2);
                    </OnLoad>
                </Scripts>
                
                <Frames>
            
                    <Frame name="AQWOssirianOptionsTitle">
        
                        <Size>
                            <AbsDimension x="160" y="20"/>
                        </Size>
        
                        <Anchors>
                            <Anchor point="TOP" relativeTo="AQWarnerOssirianOptionsFrame">
                                <Offset>
                                    <AbsDimension x="0" y="5"/>
                                </Offset>
                            </Anchor>
                        </Anchors>      
          
                        <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                            <EdgeSize>
                                <AbsValue val="8"/>
                            </EdgeSize>
                            <TileSize>
                                <AbsValue val="8"/>
                            </TileSize>
                            <BackgroundInsets>
                                <AbsInset left="2" right="2" top="2" bottom="2"/>
                            </BackgroundInsets>
                        </Backdrop>
          
                        <Layers>
                            <Layer>
                                <FontString name="$parentOssirianIntro" inherits="GameFontHighlight" text="Ossirian Options">
                                    <Anchors>
                                        <Anchor point="CENTER" relativeTo="AQWOssirianOptionsTitle">
                                            <Offset>
                                                <AbsDimension x="0" y="0"/>
                                            </Offset>
                                        </Anchor>
                                    </Anchors>
                                </FontString>
                            </Layer>
                        </Layers>
          
                        <Scripts>
                            <OnLoad>
                                this:SetBackdropBorderColor(1, 1, 1);
                                this:SetBackdropColor(0.5, 0.5, 0.5);
                            </OnLoad>
                        </Scripts>
        
                    </Frame>

                    <CheckButton name="$parentCheckButtonOssirianSupremeImminent" inherits="AQWCheckTemplate">
      
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerOssirianOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-10"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
        
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.OSSIRIAN_SUPREME_IMMINENT);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.OSSIRIAN_SUPREME_IMMINENT);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
      
                    </CheckButton>    
                    
                    <CheckButton name="$parentCheckButtonOssirianSupreme" inherits="AQWCheckTemplate">
      
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerOssirianOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-30"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
          
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.OSSIRIAN_SUPREME);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.OSSIRIAN_SUPREME);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
        
                    </CheckButton>    
                    
                    <CheckButton name="$parentCheckButtonOssirianWeakness" inherits="AQWCheckTemplate">
        
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerOssirianOptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-50"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
      
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.OSSIRIAN_WEAKNESS);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.OSSIRIAN_WEAKNESS);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
      
                    </CheckButton>    
                    
                </Frames>
            
            </Frame>

            <!-- Anubisath Guardian -->
            <Frame name="AQWarnerAnubAQ20OptionsFrame" inherits="OptionFrameBoxTemplate">
    
                <Size>
                    <AbsDimension x="400" y="110"/>
                </Size>
                
                <Anchors>
                    <Anchor point="TOPLEFT">
                        <Offset>
                            <AbsDimension x="20" y="-250"/>
                        </Offset>
                    </Anchor>
                </Anchors>
                
                <Scripts>
                    <OnLoad>
                        this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                        this:SetBackdropColor(0.2, 0.2, 0.2);
                    </OnLoad>
                </Scripts>
                
                <Frames>
            
                    <Frame name="AQWAnubAQ20OptionsTitle">
        
                        <Size>
                            <AbsDimension x="190" y="20"/>
                        </Size>
        
                        <Anchors>
                            <Anchor point="TOP" relativeTo="AQWarnerAnubAQ20OptionsFrame">
                                <Offset>
                                    <AbsDimension x="0" y="5"/>
                                </Offset>
                            </Anchor>
                        </Anchors>      
      
                        <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                            <EdgeSize>
                                <AbsValue val="8"/>
                            </EdgeSize>
                            <TileSize>
                                <AbsValue val="8"/>
                            </TileSize>
                            <BackgroundInsets>
                                <AbsInset left="2" right="2" top="2" bottom="2"/>
                            </BackgroundInsets>
                        </Backdrop>
        
                        <Layers>
                            <Layer>
                                <FontString name="$parentAnubAQ20Intro" inherits="GameFontHighlight" text="Anubisath Guardian Options">
                                    <Anchors>
                                        <Anchor point="CENTER" relativeTo="AQWAnubAQ20OptionsTitle">
                                            <Offset>
                                                <AbsDimension x="0" y="0"/>
                                            </Offset>
                                        </Anchor>
                                    </Anchors>
                                </FontString>
                            </Layer>
                        </Layers>
        
                        <Scripts>
                            <OnLoad>
                                this:SetBackdropBorderColor(1, 1, 1);
                                this:SetBackdropColor(0.5, 0.5, 0.5);
                            </OnLoad>
                        </Scripts>
        
                    </Frame>

                    <CheckButton name="$parentCheckButtonAnubAQ20Summon" inherits="AQWCheckTemplate">
        
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerAnubAQ20OptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-10"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
        
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.ANUB_AQ20_SUMMON);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.ANUB_AQ20_SUMMON);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
      
                    </CheckButton>    
        
                    <CheckButton name="$parentCheckButtonAnubAQ20Plague" inherits="AQWCheckTemplate">
      
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerAnubAQ20OptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-30"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
  
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.ANUB_AQ20_PLAGUE);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.ANUB_AQ20_PLAGUE);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
    
                    </CheckButton>    
        
                    <CheckButton name="$parentCheckButtonAnubAQ20Meteor" inherits="AQWCheckTemplate">
      
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerAnubAQ20OptionsFrame">
                                <Offset>
                                    <AbsDimension x="210" y="-30"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
    
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.ANUB_AQ20_METEOR);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.ANUB_AQ20_METEOR);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
    
                    </CheckButton>    
        
                    <CheckButton name="$parentCheckButtonAnubAQ20Thunderclap" inherits="AQWCheckTemplate">
    
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerAnubAQ20OptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-50"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
      
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.ANUB_AQ20_THUNDERCLAP);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.ANUB_AQ20_THUNDERCLAP);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
        
                    </CheckButton>    
        
                    <CheckButton name="$parentCheckButtonAnubAQ20Storm" inherits="AQWCheckTemplate">
    
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerAnubAQ20OptionsFrame">
                                <Offset>
                                    <AbsDimension x="210" y="-50"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
      
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.ANUB_AQ20_STORM);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.ANUB_AQ20_STORM);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
      
                    </CheckButton>    
        
                    <CheckButton name="$parentCheckButtonAnubAQ20Explode" inherits="AQWCheckTemplate">
      
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerAnubAQ20OptionsFrame">
                                <Offset>
                                    <AbsDimension x="20" y="-70"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
        
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.ANUB_AQ20_EXPLODE);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.ANUB_AQ20_EXPLODE);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
        
                    </CheckButton>    
        
                    <CheckButton name="$parentCheckButtonAnubAQ20Enrage" inherits="AQWCheckTemplate">
  
                        <Anchors>
                            <Anchor point="TOPLEFT" relativeTo="AQWarnerAnubAQ20OptionsFrame">
                                <Offset>
                                    <AbsDimension x="210" y="-70"/>
                                </Offset>
                            </Anchor>
                        </Anchors>
    
                        <Scripts>
                            <OnLoad>
                                getglobal(this:GetName().."Text"):SetText(AQW_DIA.ANUB_AQ20_ENRAGE);
                            </OnLoad>
                            <OnEnter>
                                GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
                                GameTooltip:SetText(AQW_DIA.TT.ANUB_AQ20_ENRAGE);
                            </OnEnter>
                            <OnLeave>
                                GameTooltip:Hide();
                            </OnLeave>
                        </Scripts>
      
                    </CheckButton>    
        
                </Frames>
                
            </Frame>

        </Frames>

    </Frame>

    <Button name="AQWMinimapButton" parent="Minimap" toplevel="true" hidden="false" frameStrata="LOW" enableMouse="true">
   
        <Size>
            <AbsDimension x="34" y="34"/>
        </Size>
  
        <Anchors>
            <Anchor point="CENTER" relativeTo="MinimapBackdrop" relativePoint="CENTER">
                <Offset>
                    <AbsDimension x="0" y="-53"/>
                </Offset>
            </Anchor>
        </Anchors>
  
        <Scripts>
            <OnClick>
                AQWarner_MinimapButtonClick(arg1);
            </OnClick>
            <OnLoad>
                this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
                
                if (AQW_OPTIONS.MINIMAP_BUTTON) then
                    this:Show();
                    AQWarner_ChangeMinimapPosition(AQW_OPTIONS.MINIMAP_BUTTON_POSITION);
                else
                    this:Hide();
                end
                
            </OnLoad>
            <OnEnter>
                GameTooltip:SetOwner(this, "ANCHOR_LEFT");
                GameTooltip:SetText(AQW_DIA.TT.MINIMAP_BUTTON);
            </OnEnter>
        </Scripts>
  
        <NormalTexture file="Interface\AddOns\AQWarner\AQWarnerButton"/>
  
        <PushedTexture file="Interface\AddOns\AQWarner\AQWarnerButtonDown"/>
  
        <DisabledTexture file="Interface\Minimap\UI-Minimap-ZoomOutButton-Disabled"/>
  
        <HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
  
    </Button>

</Ui>