vanilla-wow-addons – Rev 1

Subversion Repositories:
Rev:
<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">




        <!-- 
                LUA Script files
        -->
        
        <Script file="CTALocalization.lua"/>
        <Script file="CTALocalization.de.lua"/>
        <Script file="CTALocalization.fr.lua"/>
        <Script file="CallToArms_Util.lua"/>

        <Script file="CallToArms.lua"/>

        
        
        
        
        <!-- 
                Abstract Fonts
        -->
        
        <FontString name="CTA_TitleFont" inherits="GameFontNormal" virtual="true">
                <Color r="0.9" g="0.9" b="0.9"/>
        </FontString>
        
        <FontString name="CTA_Heading1Font" inherits="GameFontNormalLarge" virtual="true">
                <!--Color r="1.0" g="1.0" b="1.0"/-->
        </FontString>
        
        <FontString name="CTA_Heading2Font" inherits="GameFontNormal" virtual="true">
                <Color r="1.0" g="1.0" b="1.0"/>
        </FontString>
                
        <FontString name="CTA_NormalFont" inherits="GameFontNormal" virtual="true">
                <Color r="1.0" g="1.0" b="1.0"/>
        </FontString>
        
        <FontString name="CTA_NormalFontSmall" inherits="GameFontNormal" virtual="true">
                <Color r="1.0" g="1.0" b="1.0"/>
        </FontString>           

        <FontString name="CTA_ListItemFont" font="Fonts\ARIALN.TTF" virtual="true">
                <FontHeight>
                        <AbsValue val="12"/>
                </FontHeight>
                <Color r="1.0" g="1.0" b="1.0"/>
                <Shadow>
                        <Offset>
                                <AbsDimension x="1" y="-1"/>
                        </Offset>
                        <Color r="0" g="0" b="0"/>
                </Shadow>
        </FontString>




        <!-- 
                Abstract Editbox, Buttons
        -->
        
        <EditBox name="CTA_AbstractEditBox" autoFocus="false" virtual="true">           
                <Size>
                        <AbsDimension x="140" y="20"/>
                </Size>
                <Layers>
                        <Layer level="BACKGROUND">      
                                <Texture>
                                        <Anchors>
                                                <Anchor point="TOPLEFT"/>
                                                <Anchor point="BOTTOMRIGHT"/>
                                        </Anchors>                                      
                                        <Color r="1.0" g="1.0" b="1.0" a="0.5"/>
                                </Texture>                                                                                      
                        </Layer>
                        <Layer level="ARTWORK"> 
                                <Texture>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="1" y="-1"/>
                                                        </Offset>
                                                </Anchor>
                                                <Anchor point="BOTTOMRIGHT">
                                                        <Offset>
                                                                <AbsDimension x="-1" y="1"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>                                      
                                        <Color r="0.0" g="0.0" b="0.0" a="0.92"/>
                                </Texture>                                                                                      
                        </Layer>
                </Layers>       
                <FontString inherits="ChatFontNormal"/>
        </EditBox>      
        
        <Button name="CTA_AbstractButton" inherits="UIPanelButtonTemplate" virtual="true">
                <Size>
                        <AbsDimension x="80" y="22"/>
                </Size>
                <NormalText inherits="GameFontNormalSmall"/>
                <DisabledText inherits="GameFontDisableSmall"/>
                <HighlightText inherits="GameFontHighlightSmall"/>
        </Button>
        
        <CheckButton name="CTA_AbstractCheckButton" virtual="true" inherits="UICheckButtonTemplate">
                <Size>
                        <AbsDimension x="24" y="24"/>
                </Size>
                <Scripts>
                        <OnEnter>
                                CTA_ShowTooltip();
                        </OnEnter>
                        <OnLeave>
                                GameTooltip:Hide();
                        </OnLeave>      
                        <OnClick>
                                if ( this:GetChecked() ) then
                                        PlaySound("igMainMenuOptionCheckBoxOff");
                                else
                                        PlaySound("igMainMenuOptionCheckBoxOn");
                                end
                        </OnClick>
                </Scripts>      
        </CheckButton>

    <Button name="CTA_CharacterFrameTabButtonTemplate" inherits="WorldStateScoreFrameTabButtonTemplate" virtual="true">
        <Size>
            <AbsDimension x="115" y="32"/>
        </Size>
                <Scripts>
                        <OnLoad>
                                this:SetFrameLevel(CTA_MainFrame:GetFrameLevel() + 1);
                        </OnLoad>                       
                        <OnCLick>
                                CTA_Tab_OnCLick();
                        </OnCLick>
                </Scripts>
    </Button>
    
    <Button name="CTA_TabButtonTemplate" inherits="TabButtonTemplate" virtual="true">
        <Size>
            <AbsDimension x="115" y="32"/>
        </Size>
    </Button>
    
        
        <CheckButton name="CTA_AbstractLabelCheckButton" inherits="CTA_AbstractCheckButton" virtual="true">
                <Layers>
                        <Layer level="OVERLAY">
                                <FontString inherits="GameFontNormalSmall" name="$parentTextLabel" justifyH="LEFT">
                                        <Size>
                                                <AbsDimension x="128" y="24"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="LEFT">
                                                        <Offset>
                                                                <AbsDimension x="28" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>   
                        </Layer>
                </Layers>
        </CheckButton>          
        
        <EditBox name="CTA_AbstractLabelEditBox" inherits="CTA_AbstractEditBox" virtual="true">         
                <Layers>
                        <Layer level="OVERLAY">
                                <FontString inherits="GameFontNormalSmall" name="$parentTextLabel" justifyH="RIGHT">
                                        <Anchors>
                                                <Anchor point="TOPRIGHT" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="-8" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                                <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT">
                                                        <Offset>
                                                                <AbsDimension x="-8" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>   
                        </Layer>
                </Layers>
        </EditBox>      
        
        
        <!-- 
                Abstract Window, Frame, Internal Frame, Dialog
        -->     
        
        <Frame name="CTA_AbstractWindow" virtual="true">
                <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>
        </Frame>
        
        <Frame name="CTA_AbstractFrame" virtual="true"> 
                <Backdrop bgFile="Interface\Tooltips\ChatBubble-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                        <BackgroundInsets>
                                <AbsInset left="3" right="4" top="4" bottom="3"/>
                        </BackgroundInsets>
                        <TileSize>
                                <AbsValue val="32"/>
                        </TileSize>
                        <EdgeSize>
                                <AbsValue val="16"/>
                        </EdgeSize>
                </Backdrop>     
                <Layers>
                        <Layer level="BACKGROUND">      
                        </Layer>

                </Layers>       
                <Frames>

                </Frames>                       
        </Frame>                

        <Frame name="CTA_OptionFrameBoxTemplate" inherits="OptionFrameBoxTemplate" virtual="true">              
                <Scripts>
                        <OnLoad>
                                this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                                this:SetBackdropColor(0.15, 0.15, 0.15);
                        </OnLoad>
                </Scripts>                              
        </Frame>
        
        <Frame name = "CTA_AbstractDialogFrame" inherits="CTA_AbstractWindow" toplevel="true" enableMouse="true" frameStrata="DIALOG" virtual="true">
                <Size>
                        <AbsDimension x="320" y="240"/>
                </Size>
                <Anchors>
                        <Anchor point="TOP">
                                <Offset>
                                        <AbsDimension x="0" y="-120"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Layers>
                        <Layer level="ARTWORK"> 
                                <FontString inherits="GameFontNormalLarge" name="$parentHeadingLabel" nonspacewrap="false">
                                        <Size>
                                                <AbsDimension x="300" y="32"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-16"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>   
                                <FontString inherits="GameFontNormal" name="$parentContentLabel" nonspacewrap="false">
                                        <Size>
                                                <AbsDimension x="300" y="96"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-32"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>                                                                                   
                        </Layer>
                </Layers>               
                <Frames>
                        <EditBox name="$parentEditBox" inherits="CTA_AbstractEditBox">
                                <Size>
                                        <AbsDimension x="200" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOP" >
                                                <Offset>
                                                        <AbsDimension x="0" y="-128"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <FontString inherits="ChatFontNormal"/>
                                <Scripts>
                                        <OnLoad>
                                                this:SetTextInsets(4,0,0,0);
                                        </OnLoad>
                                </Scripts>                              
                        </EditBox>
                        <Button name="$parentOkButton" inherits="CTA_AbstractButton">
                                <Anchors>
                                        <Anchor point="BOTTOMRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-20" y="16"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                CTA_DialogOKButton_OnCLick();
                                        </OnClick>
                                </Scripts>
                        </Button>                                               
                        <Button name="$parentCloseButton" inherits="CTA_AbstractButton" text="CTA_CANCEL">
                                <Anchors>
                                        <Anchor point="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="20" y="16"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                this:GetParent():Hide();
                                        </OnClick>                              
                                </Scripts>
                        </Button>       
                </Frames>               
        </Frame>
        
        
        
        
        <!-- 
                Results List Item Templates
        -->
                                                
                
        <Frame name="CTA_NewItemTemplate" virtual="true">                                               
                <Size>
                        <AbsDimension x="600" y="18"/>
                </Size> 
                <Layers>                        
                        <Layer level="BACKGROUND">
                                                                                        
                                <Texture name ="$parentTextureSelectedIcon" file="Interface\Icons\Spell_Holy_SealOfFury" hidden="true">
                                        <Size>
                                                <AbsDimension x="30" y="30"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="LEFT" relativePoint="LEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>                                                                                      
                                <!--Texture name ="$parentTextureSelectedBg" file="Interface\TargetingFrame\UI-TargetingFrame-LevelBackground" hidden="true">
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="32" y="-1"/>
                                                        </Offset>
                                                </Anchor>
                                                <Anchor point="BOTTOMRIGHT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="1"/>
                                                        </Offset>
                                                </Anchor>                                               
                                        </Anchors>
                                </Texture-->
                                <Texture name ="$parentTexturePurple" hidden="true">
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="30" y="-1"/>
                                                        </Offset>
                                                </Anchor>
                                                <Anchor point="BOTTOMRIGHT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="1"/>
                                                        </Offset>
                                                </Anchor>                                               
                                        </Anchors>
                                        <Color r="0.25" g="0.1" b="0.0" a="0.75"/>
                                </Texture>
                                <Texture name ="$parentTextureBlue" hidden="true">
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="30" y="-1"/>
                                                        </Offset>
                                                </Anchor>
                                                <Anchor point="BOTTOMRIGHT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="1"/>
                                                        </Offset>
                                                </Anchor>                                               
                                        </Anchors>
                                        <Color r="0.0" g="0.0" b="0.25" a="0.75"/>
                                </Texture>
                                        
                        </Layer>                
                        
                        <Layer level="ARTWORK"> 
                                <Texture name ="$parentTextureSelectedBg"  file="Interface\WorldStateFrame\WorldStateFinalScoreFrame-TopBackground" alphaMode="ADD" hidden="true">
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="30" y="-1"/>
                                                        </Offset>
                                                </Anchor>
                                                <Anchor point="BOTTOMRIGHT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-5"/>
                                                        </Offset>
                                                </Anchor>                                               
                                        </Anchors>
                                        <TexCoords left="0" right="2.0" top="0.1" bottom="1.0"/>
                                </Texture>                              
                                
                                
                                <Texture name ="$parentTextureGold" hidden="true">
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="-5" y="-1"/>
                                                        </Offset>
                                                </Anchor>
                                                <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT">
                                                        <Offset>
                                                                <AbsDimension x="-1" y="1"/>
                                                        </Offset>
                                                </Anchor>                                               
                                        </Anchors>
                                        <Color r="1" g="0.85" b="0.0" a="1"/>
                                </Texture>      

                                <Texture name ="$parentTextureSilver" hidden="true">
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="-5" y="-1"/>
                                                        </Offset>
                                                </Anchor>
                                                <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT">
                                                        <Offset>
                                                                <AbsDimension x="-1" y="1"/>
                                                        </Offset>
                                                </Anchor>                                               
                                        </Anchors>
                                        <Color r="0.95" g="0.95" b="1" a="1"/>
                                </Texture>      

                                <Texture name ="$parentTextureSelected" file="Interface\FriendsFrame\UI-FriendsFrame-HighlightBar" alphaMode="ADD" hidden="true">
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                                <Anchor point="BOTTOMRIGHT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="0"/>
                                                        </Offset>
                                                </Anchor>                                               
                                        </Anchors>
                                </Texture>                                                                                      
                        </Layer>
                        <Layer level="OVERLAY">
                                <FontString inherits="GameFontNormal" name="$parentNameLabel" justifyH="LEFT">
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="5" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                                <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
                                                        <Offset>
                                                                <AbsDimension x="-20" y="-16"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <Color r="1.0" g="1.0" b="1.0" a="1"/>                          
                                </FontString>                                                   
                                <FontString inherits="GameFontNormalSmall" name="$parentMoreLabel" justifyH="LEFT" hidden="true">
                                        <Size>
                                                <AbsDimension x="580" y="16"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="LEFT">
                                                        <Offset>
                                                                <AbsDimension x="5" y="-6"/>
                                                        </Offset>
                                                </Anchor>                                       
                                        </Anchors>
                                        <Color r="1.0" g="1.0" b="1.0"/>                                
                                </FontString>           
                                <FontString inherits="GameFontNormalSmall" name="$parentMoreRightLabel" justifyH="RIGHT" hidden="true">
                                        <Size>
                                                <AbsDimension x="580" y="16"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="RIGHT">
                                                        <Offset>
                                                                <AbsDimension x="-2" y="-6"/>
                                                        </Offset>
                                                </Anchor>                                       
                                        </Anchors>
                                        <Color r="1.0" g="1.0" b="1.0"/>                                
                                </FontString>           
                        </Layer>
                </Layers>
                <Frames>
                        <Frame name="$parentAuxFrameLeft">                                              
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                        <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="32" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnEnter>
                                                CTA_ListItemAuxLeft_ShowTooltip();
                                                CTA_ResultItem_Hover_On(this:GetParent());
                                        </OnEnter>
                                        <OnLeave>
                                                GameTooltip:Hide();
                                                CTA_ResultItem_Hover_Off(this:GetParent());
                                        </OnLeave>              
                                </Scripts>                                      
                        </Frame>
                        
                        <Frame name="$parentAuxFrameRight">                                             
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-32" y="0"/>
                                                </Offset>
                                        </Anchor>
                                        <Anchor point="BOTTOMRIGHT"/>                                           
                                </Anchors>
                                <Layers>                        
                                        <Layer level="ARTWORK"> 
                                                <!--Texture>
                                                        <Size>
                                                                <AbsDimension x="14" y="14"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOPRIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="-2" y="-2"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                        <Color r="1.0" g="1.0" b="1.0" a="0.20"/>
                                                </Texture-->
                                        </Layer>                        
                                        <Layer level="OVERLAY">
                                                <Texture name ="$parentTextureLock" file="Interface\ChatFrame\UI-ChatFrame-LockIcon" alphaMode="ADD" hidden="true">
                                                        <Size>
                                                                <AbsDimension x="16" y="16"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="9" y="-1"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Texture>      
                                                <Texture name ="$parentTextureInfo" file="Interface\Buttons\UI-GuildButton-OfficerNote-Disabled" alphaMode="ADD" >
                                                        <Size>
                                                                <AbsDimension x="16" y="16"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="15" y="-1"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Texture>      
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnEnter>
                                                CTA_ListItemAuxRight_ShowTooltip();
                                                CTA_ResultItem_Hover_On(this:GetParent());
                                        </OnEnter>
                                        <OnLeave>
                                                GameTooltip:Hide();
                                                CTA_ResultItem_Hover_Off(this:GetParent());
                                        </OnLeave>              
                                </Scripts>                                      
                        </Frame>        
                </Frames>               
                <Scripts>
                    <OnMouseUp>
                                CTA_ListItem_OnMouseUp();
                    </OnMouseUp>
                        <OnEnter>
                                CTA_ResultItem_Hover_On(this);
                        </OnEnter>
                        <OnLeave>
                                CTA_ResultItem_Hover_Off(this);
                        </OnLeave>              
                </Scripts>                                      
        </Frame>                
                                
        
        
        

        <!-- 
                Acid Item Templates 
        -->

        <Frame name="CTA_AcidItemTemplate0" virtual = "true" >
                <Size>
                        <AbsDimension x="60" y="140"/>
                </Size>
                <Layers>
                        <Layer level="BACKGROUND">      
                                <Texture>
                                        <Size>
                                                <AbsDimension x="20" y="50"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="BOTTOM">
                                                        <Offset>
                                                                <AbsDimension x="0" y="90"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <Color r="0.0" g="0.0" b="0.0" a="0.2"/>
                                </Texture>                                              
                        </Layer>
                        <Layer level="ARTWORK">                         
                                <Texture name="$parentCurrentTexture"> <!-- alphaMode="ADD"-->
                                        <Size>
                                                <AbsDimension x="20" y="50"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="BOTTOM">
                                                        <Offset>
                                                                <AbsDimension x="0" y="90"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <Color r="0.9" g="0.9" b="0.9" a="0.5"/>
                                </Texture>      
                                <FontString inherits="GameFontNormalSmall" name="$parentClassNameLabel" justifyV="TOP">
                                        <Size>
                                                <AbsDimension x="60" y="80"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-100"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>                                                   
                                <FontString inherits="GameFontNormalSmall" name="$parentClassPercentLabel" hidden="true">
                                        <Size>
                                                <AbsDimension x="60" y="20"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="20"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>   
                                <FontString inherits="GameFontNormalLarge" name="$parentClassAbsoluteLabel">
                                        <Size>
                                                <AbsDimension x="60" y="20"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-52"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>   
                                <FontString inherits="GameFontNormalSmall" name="$parentClassCurrentLabel">
                                        <Size>
                                                <AbsDimension x="60" y="20"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="15" y="-50"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>                                                                                                                                                                                                                                                                                   
                        </Layer>
                </Layers>
                <Frames>
                        <Frame name="$parentbarBorder">
                                <Size>
                                        <AbsDimension x="28" y="58"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="86"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                                        <BackgroundInsets>
                                                <AbsInset left="14" right="14" top="44" bottom="44"/>
                                        </BackgroundInsets>
                                        <TileSize>
                                                <AbsValue val="0"/>
                                        </TileSize>
                                        <EdgeSize>
                                                <AbsValue val="16"/>
                                        </EdgeSize>
                                </Backdrop>     
                        </Frame>                        
                        <Button name="$parentLessButton">
                                <Size>
                                        <AbsDimension x="20" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="40" y="-30"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>       
                                        <OnClick>
                                                CTA_AcidItemButton_OnClick();
                                        </OnClick>                                                                                              
                                </Scripts>
                                <NormalTexture file="Interface\MainMenuBar\UI-MainMenu-ScrollDownButton-Up"/>
                                <PushedTexture file="Interface\MainMenuBar\UI-MainMenu-ScrollDownButton-Down"/>
                                <DisabledTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Disabled"/>
                                <HighlightTexture alphaMode="ADD" file="Interface\MainMenuBar\UI-MainMenu-ScrollDownButton-Highlight"/>
                                        
                        </Button>       
                        <Button name="$parentMoreButton">
                                <Size>
                                        <AbsDimension x="20" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="40" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                CTA_AcidItemButton_OnClick();
                                        </OnClick>                                                                                                                                                                                                      
                                </Scripts>
                                <NormalTexture file="Interface\MainMenuBar\UI-MainMenu-ScrollUpButton-Up"/>
                                <PushedTexture file="Interface\MainMenuBar\UI-MainMenu-ScrollUpButton-Down"/>
                                <DisabledTexture file="Interface\Buttons\UI-ScrollBar-ScrollUpButton-Disabled"/>
                                <HighlightTexture alphaMode="ADD" file="Interface\MainMenuBar\UI-MainMenu-ScrollUpButton-Highlight"/>
                        </Button>                       
                        <Button name="$parentDeleteButton" inherits="CTA_AbstractButton">
                                <Size>
                                        <AbsDimension x="40" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="10" y="-72"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                CTA_AcidItemButton_OnClick();
                                        </OnClick>                                                                                                                                                                                                      
                                </Scripts>
                        </Button>                       
                                                
                </Frames>
                <Scripts>
                        <OnEnter>
                                CTA_AcidItem_ShowTooltip();
                        </OnEnter>
                        <OnLeave>
                                GameTooltip:Hide();
                        </OnLeave>              
                </Scripts>                      
        </Frame>        
        
        <Frame name="CTA_AcidItemTemplate" inherits="CTA_AcidItemTemplate0" virtual = "true" >
                <Layers>
                        <Layer level="BACKGROUND">      
                                <Texture name="$parentPercentTexture"><!--file="Interface\Addons\CallToArms\vertbar"-->
                                        <Size>
                                                <AbsDimension x="20" y="50"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="BOTTOM">
                                                        <Offset>
                                                                <AbsDimension x="0" y="90"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <Color r="1.0" g="0.8" b="0.0" a="0.8"/>
                                </Texture>                                      
                        </Layer>
                </Layers>
        </Frame>        
        
        <Frame name="CTA_AcidItemTemplateAnyClass" inherits="CTA_AcidItemTemplate0" virtual = "true" >
                <Layers>
                        <Layer level="BACKGROUND">      
                                <Texture name="$parentPercentTexture" ><!--file="Interface\Addons\CallToArms\ggrad"-->
                                        <Size>
                                                <AbsDimension x="20" y="50"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="BOTTOM">
                                                        <Offset>
                                                                <AbsDimension x="0" y="90"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <Color r="0.0" g="1.0" b="0.0" a="0.8"/>
                                </Texture>                                      
                        </Layer>
                </Layers>
        </Frame>        
                
                
                
                
        <!-- 
                Player List Item Templates
         -->
         
        <Button name="CTA_GreyListTemplate0" virtual="true">
                <Size>
                        <AbsDimension x="600" y="18"/>
                </Size> 
                <Layers>
                        <Layer level="BACKGROUND">      
                                <Texture>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="1" y="-1"/>
                                                        </Offset>
                                                </Anchor>
                                                <Anchor point="BOTTOMRIGHT">
                                                        <Offset>
                                                                <AbsDimension x="-1" y="0"/>
                                                        </Offset>
                                                </Anchor>                                               
                                        </Anchors>
                                        <Color r="0.0" g="0.0" b="0.0" a="0.2"/>
                                </Texture>
                        </Layer>                                                                
                        <Layer level="OVERLAY">
                                <FontString inherits="GameFontNormalSmall" name="$parentNameLabel" justifyH="LEFT">
                                        <Size>
                                                <AbsDimension x="90" y="18"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="LEFT">
                                                        <Offset>
                                                                <AbsDimension x="5" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>                                                   
                                <FontString inherits="GameFontNormalSmall" name="$parentNoteLabel" justifyH="LEFT">
                                        <Size>
                                                <AbsDimension x="340" y="18"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="LEFT">
                                                        <Offset>
                                                                <AbsDimension x="100" y="0"/>
                                                        </Offset>
                                                </Anchor>                                       
                                        </Anchors>
                                </FontString>           
                                <FontString inherits="GameFontNormalSmall" name="$parentStatusLabel" justifyH="LEFT">
                                        <Size>
                                                <AbsDimension x="100" y="18"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="LEFT">
                                                        <Offset>
                                                                <AbsDimension x="450" y="0"/>
                                                        </Offset>
                                                </Anchor>                                       
                                        </Anchors>
                                </FontString>
                                <FontString inherits="GameFontNormalSmall" name="$parentRatingLabel">
                                        <Size>
                                                <AbsDimension x="30" y="18"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="LEFT">
                                                        <Offset>
                                                                <AbsDimension x="550" y="0"/>
                                                        </Offset>
                                                </Anchor>                                       
                                        </Anchors>
                                </FontString>   
                        </Layer>
                </Layers>                       
        </Button>                       
        
        <Button name="CTA_GreyListTemplate" inherits="CTA_GreyListTemplate0" virtual="true">
                <Scripts>
                        <OnClick>
                                CTA_EditGreyListItem();
                        </OnClick>
                </Scripts>      
                <HighlightTexture file="Interface\FriendsFrame\UI-FriendsFrame-HighlightBar" alphaMode="ADD">
                        <Size>
                                <AbsDimension x="600" y="18"/>
                        </Size>
                        <Anchors>
                                <Anchor point="TOP">
                                        <Offset>
                                                <AbsDimension x="0" y="0"/>
                                        </Offset>
                                </Anchor>
                        </Anchors>
                </HighlightTexture>                             
        </Button>                       
        
                
                
        <!-- 
                Information Dialog
        -->

        <Frame name="CTA_InformationDialog" inherits="CTA_AbstractDialogFrame" hidden="true">
                <Scripts>
                    <OnLoad>
                        CTA_InformationDialogEditBox:Hide();
                        CTA_InformationDialogOkButton:SetText( CTA_OK );
                    </OnLoad>
                </Scripts>      
        </Frame>
                
                
                
        <!--
                Minimap Icon
        -->
                
        <Button name="CTA_MinimapIcon" enableMouse="true" frameStrata="LOW" parent="Minimap">   
                <Size>
                        <AbsDimension x="32" y="32"/>
                </Size>
                <Layers>
                        <Layer level="BACKGROUND">
                                <Texture file="Interface\BattlefieldFrame\UI-Battlefield-Icon">
                                        <Size>
                                                <AbsDimension x="24" y="24"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                        </Layer>                        
                        <Layer level="ARTWORK">
                                <Texture file="Interface\Minimap\MiniMap-TrackingBorder">
                                        <Size>
                                                <AbsDimension x="50" y="50"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                        </Layer>                        
                        <Layer level="BORDER">
                                <Texture>
                                        <Size>
                                                <AbsDimension x="17" y="17"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="5" y="-5"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <Color r="0.25" g="0.0" b="0.0" a="0.75"/>
                                </Texture>
                        </Layer>                        
                        <Layer level="OVERLAY"> 
                                <FontString name="$parentTextLabel" font="Fonts\ARIALN.TTF" outline="NORMAL" nonspacewrap="false">
                                        <Size>
                                                <AbsDimension x="32" y="32"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="-2" y="3"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <FontHeight>
                                                <AbsValue val="12"/>
                                        </FontHeight>
                                        <Color r="1" g="1" b="1"/>
                                        <Shadow>
                                                <Offset>
                                                        <AbsDimension x="0" y="2"/>
                                                </Offset>
                                                <Color r="0.2" g="0" b="0" a="0.25"/>
                                        </Shadow>
                                </FontString>
                        </Layer>                                                
                </Layers>
                <Frames>
                        <MessageFrame name="CTA_MinimapMessageFrame" frameStrata="DIALOG" toplevel="true" displayDuration="5.0" maxLines="1">
                                <Size>
                                        <AbsDimension x="256" y="16"/>
                                </Size>
                                <FontString name="CTA_MessageFrameTextLabel" inherits="GameFontNormal" nonspacewrap="false" justifyH="RIGHT"/>
                        </MessageFrame>                 
                </Frames>               
                <Scripts>
                        <OnClick>
                                CTA_ToggleMainFrame();                                  
                        </OnClick>      
                        <OnEnter>
                                CTA_IconMsg( CTA_CALL_TO_ARMS );
                        </OnEnter>
                    <OnMouseUp>             </OnMouseUp>                
                        <OnLeave>                       </OnLeave>      
                        <OnLoad>
                                CTA_UpdateMinimapIcon();
                                this:Show();
                        </OnLoad>
                        <OnEvent>
                        </OnEvent>      
                        <OnUpdate>
                        </OnUpdate>     
                    <OnDragStart>
                        this:StartMoving();
                    </OnDragStart>
                    <OnDragStop>
                        this:StopMovingOrSizing();
                    </OnDragStop>                                                               
                </Scripts>
                <!-- NormalTexture file="Interface\Addons\CallToArms\ctamini"/>
                <PushedTexture file="Interface\Addons\CallToArms\ctamini"/>
                <DisabledTexture file="Interface\Addons\CallToArms\ctamini"/ 
                <NormalTexture file="Interface\BattlefieldFrame\UI-Battlefield-Icon"/>
                <PushedTexture file="Interface\BattlefieldFrame\UI-Battlefield-Icon"/>
                <DisabledTexture file="Interface\BattlefieldFrame\UI-Battlefield-Icon"/> -->
        </Button>
                
        
        
        
        <!--
                Call To Arms Main Frame
                ________________________________________________________________________
                [ Search ]  [ Host ]  [ Blacklist ]                                [ Log ]  [ Settings ]
        -->
        
        <Frame name="CTA_MainFrame" movable="true" toplevel="true" enableMouse="true" hidden="true" frameStrata="DIALOG" parent="UIParent">     
                <Size>
                        <AbsDimension x="680" y="480"/>
                </Size>
                <Anchors>
                        <Anchor point="TOP">
                                <Offset>
                                        <AbsDimension x="0" y="-128"/>
                                </Offset>
                        </Anchor>
                </Anchors>      
                <Layers>
                        <Layer level="BACKGROUND">
                                <Texture file="Interface\WorldStateFrame\WorldStateFinalScoreFrame-TopBackground">
                                        <Size>
                                                <AbsDimension x="670" y="64"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="5" y="-4"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <TexCoords left="0" right="2.0" top="0" bottom="1.0"/>
                                </Texture>                              

                                <Texture file="Interface\WorldStateFrame\WorldStateFinalScoreFrame-TopLeft">
                                        <Size>
                                                <AbsDimension x="128" y="76"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-256"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <TexCoords left="0.0" right="1" top="0.3" bottom="1.0"/>
                                </Texture>
                                <Texture file="Interface\WorldStateFrame\WorldStateFinalScoreFrame-Top">
                                        <Size>
                                                <AbsDimension x="410" y="76"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="128" y="-256"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <TexCoords left="0.0" right="1" top="0.3" bottom="1.0"/>
                                </Texture>
                                <Texture file="Interface\WorldStateFrame\WorldStateFinalScoreFrame-TopRight">
                                        <Size>
                                                <AbsDimension x="256" y="76"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPRIGHT">
                                                        <Offset>
                                                                <AbsDimension x="114" y="-256"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <TexCoords left="0.0" right="1" top="0.3" bottom="1.0"/>
                                </Texture>



                        </Layer>


                        <Layer level="ARTWORK">
                                <Texture file="Interface\WorldStateFrame\WorldStateFinalScoreFrame-TopLeft">
                                        <Size>
                                                <AbsDimension x="128" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT"/>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\WorldStateFrame\WorldStateFinalScoreFrame-Top">
                                        <Size>
                                                <AbsDimension x="410" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="128" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\WorldStateFrame\WorldStateFinalScoreFrame-TopRight">
                                        <Size>
                                                <AbsDimension x="256" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPRIGHT">
                                                        <Offset>
                                                                <AbsDimension x="114" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>


                                <Texture file="Interface\WorldStateFrame\WorldStateFinalScoreFrame-BotLeft">
                                        <Size>
                                                <AbsDimension x="128" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-332"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\WorldStateFrame\WorldStateFinalScoreFrame-Bot">
                                        <Size>
                                                <AbsDimension x="410" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="128" y="-332"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\WorldStateFrame\WorldStateFinalScoreFrame-BotRight">
                                        <Size>
                                                <AbsDimension x="256" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPRIGHT">
                                                        <Offset>
                                                                <AbsDimension x="114" y="-332"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                        </Layer>
                        
                        <Layer level="OVERLAY"> 
                                <FontString inherits="CTA_TitleFont" nonspacewrap="false" maxLines="1" text="CTA_CALL_TO_ARMS">
                                        <Size>
                                                <AbsDimension x="300" y="32"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="4"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>                           
                                
                                <FontString inherits="CTA_TitleFont" name="CTA_MainFrameReleaseLabel" nonspacewrap="false" justifyH="LEFT"  text="CTA_RELEASEVERSION">
                                        <Size>
                                                <AbsDimension x="96" y="32"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="24" y="4"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>                                           
                        </Layer>
                </Layers>
                <Frames>        
        
        
        
                
                        <!-- Main Frame Buttons -->                                                     
                                        
                        <Button name="$parentCloseButton" inherits="UIPanelCloseButton">
                                <Anchors>
                                        <Anchor point="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="3" y="4"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                CTA_ToggleMainFrame();
                                        </OnClick>
                                </Scripts>
                        </Button>
                        
                        <Button name="CTA_ShowSearchButton" inherits="CTA_CharacterFrameTabButtonTemplate" text="CTA_FIND_PLAYERS_AND_GROUPS">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="16" y="-24"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        
                        <Button name="CTA_ShowMyRaidButton" inherits="CTA_CharacterFrameTabButtonTemplate" text="CTA_MANAGE_GROUP">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="CTA_ShowSearchButton" relativePoint="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-16" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                                                
                        <Button name="CTA_ShowLFGButton" inherits="CTA_CharacterFrameTabButtonTemplate" text="CTA_LFG_FRAME">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="CTA_ShowMyRaidButton" relativePoint="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-16" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>

                        <Button name="CTA_ShowMFFButton" inherits="CTA_CharacterFrameTabButtonTemplate" text="CTA_MORE_FEATURES">
                                <Anchors>
                                        <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-16" y="-24"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>


                        
                        <!-- 
                                Main Frame Sub-Frames 
                        -->



                                        
                        <!-- Search Frame -->                                                   
                        <Frame name="CTA_SearchFrame">          
                                <Size>
                                        <AbsDimension x="640" y="480"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="0" y="-16"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>      
                
                                <Frames>
                                        
                                        <Button name="CTA_ShowResultsButton" inherits="CTA_TabButtonTemplate" text="CTA_SEARCH_RESULTS">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="16" y="-4"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                if( CTA_SearchFrame_Filters:IsVisible() ) then
                                                                        CTA_SearchFrame_Filters:Hide();
                                                                        CTA_SearchFrame_Results:Show();
                                                                end
                                                        </OnClick>
                                                </Scripts>
                                        </Button>

                                        <Button name="CTA_ShowOptionsButton" inherits="CTA_TabButtonTemplate" text="CTA_SEARCH_OPTIONS">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="CTA_ShowResultsButton" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="2" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                if( not CTA_SearchFrame_Filters:IsVisible() ) then
                                                                        CTA_SearchFrame_Filters:Show();
                                                                        CTA_SearchFrame_Results:Hide();
                                                                end
                                                        </OnClick>
                                                </Scripts>                                      
                                        </Button>

                                        <CheckButton name="CTA_MuteLFGChannelCheckButton" inherits="CTA_AbstractLabelCheckButton">
                                                <Anchors>
                                                        <Anchor point="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-250" y="-12"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>                                                               
                                                        </OnClick>
                                                        <OnLoad>
                                                                getglobal( this:GetName().."TextLabel" ):SetWidth( 500 );
                                                                getglobal( this:GetName().."TextLabel" ):SetText( "Mute LFG channel" );
                                                                this:SetChecked(1);
                                                        </OnLoad>
                                                </Scripts>                                                      
                                        </CheckButton>

                                        <CheckButton name="CTA_ShowOnMinimapCheckButton" inherits="CTA_AbstractLabelCheckButton">
                                                <Anchors>
                                                        <Anchor point="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-125" y="-12"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>                                                               
                                                        </OnClick>
                                                        <OnLoad>
                                                                getglobal( this:GetName().."TextLabel" ):SetWidth( 500 );
                                                                getglobal( this:GetName().."TextLabel" ):SetText( "Show on minimap" );
                                                                this:SetChecked(1);
                                                        </OnLoad>
                                                </Scripts>                                                      
                                        </CheckButton>

                                        <Frame name="CTA_SearchFrame_Results" enableMouse="true">               
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" />      
                                                        <Anchor point="BOTTOMRIGHT" />
                                                </Anchors>      
                                                <Layers>
                                                        <Layer level="ARTWORK">                                 
                                                                <FontString inherits="GameFontNormalSmall" name="CTA_ResultsLabel" nonspacewrap="false" justifyH="LEFT"  text="CTA_RESULTS">
                                                                        <Size>
                                                                                <AbsDimension x="150" y="32"/>
                                                                        </Size>
                                                                        <Anchors>
                                                                                <Anchor point="BOTTOMLEFT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="20" y="0"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                </FontString>   
                                                                
                                                                <FontString inherits="GameFontNormalSmall" name="CTA_PageLabel" nonspacewrap="false">
                                                                        <Size>
                                                                                <AbsDimension x="300" y="32"/>
                                                                        </Size>
                                                                        <Anchors>
                                                                                <Anchor point="BOTTOM">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="0"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                </FontString>                                                           
                                                        </Layer>
                                                </Layers>       
                                                <Frames>                                                        
                                                        <!-- Join Group Dialog -->      
                                                        <Frame name="CTA_JoinRaidWindow" inherits="CTA_AbstractDialogFrame" hidden="true">
                                                                <Scripts>
                                                                    <OnLoad>
                                                                        CTA_JoinRaidWindowHeadingLabel:Hide(); 
                                                                        CTA_JoinRaidWindowContentLabel:SetText( CTA_PASSWORD_REQURED_TO_JOIN_MESSAGE );
                                                                        CTA_JoinRaidWindowEditBox:Show();
                                                                        CTA_JoinRaidWindowOkButton:SetText( CTA_SEND_REQUEST );
                                                                    </OnLoad>
                                                                </Scripts>      
                                                        </Frame>                                                                        
                                                        <Frame name="CTA_SearchDropDown" inherits="UIDropDownMenuTemplate" id="1">
                                                                <Anchors>
                                                                        <Anchor point="TOPLEFT">
                                                                                <Offset>
                                                                                        <AbsDimension x="4" y="-49"/>
                                                                                </Offset>
                                                                        </Anchor>
                                                                </Anchors>
                
                                                                <Scripts>
                                                                        <OnLoad>
                                                                                UIDropDownMenu_Initialize(this, CTA_SearchDropDown_Init );
                                                                                UIDropDownMenu_SetWidth(200);   
                                                                                UIDropDownMenu_SetSelectedID(CTA_SearchDropDown, 1);
                                                                        </OnLoad>
                                                                </Scripts>
                                                        </Frame>                                                                                                        
                                                        <Button name="CTA_SearchButton" inherits="CTA_AbstractButton" text="CTA_UPDATE_LIST">
                                                                <Anchors>
                                                                        <Anchor point="TOPRIGHT">
                                                                                <Offset>
                                                                                        <AbsDimension x="-20" y="-50"/>
                                                                                </Offset>
                                                                        </Anchor>
                                                                </Anchors>
                                                                <Scripts>
                                                                        <OnClick>
                                                                                CTA_ApplyFiltersToGroupList();
                                                                        </OnClick>
                                                                </Scripts>
                                                        </Button>
                                                        <EditBox name="CTA_SearchFrameDescriptionEditBox" inherits="CTA_AbstractLabelEditBox" letters="32">
                                                                <Anchors>
                                                                        <Anchor point="LEFT" relativeTo="CTA_SearchDropDown" relativePoint="RIGHT">
                                                                                <Offset>
                                                                                        <AbsDimension x="62" y="3"/>
                                                                                </Offset>
                                                                        </Anchor>
                                                                        <Anchor point="RIGHT" relativeTo="CTA_SearchButton" relativePoint="LEFT">
                                                                                <Offset>
                                                                                        <AbsDimension x="-8" y="0"/>
                                                                                </Offset>
                                                                        </Anchor>
                                                                </Anchors>
                                                                <FontString inherits="ChatFontNormal"/>
                                                                <Scripts>
                                                                        <OnEnter>
                                                                                CTA_ShowTooltip(this);
                                                                        </OnEnter>
                                                                        <OnLeave>
                                                                                GameTooltip:Hide();
                                                                        </OnLeave>                      
                                                                        
                                                                        <OnLoad>
                                                                                this:SetTextInsets(4,0,0,0);
                                                                                getglobal( this:GetName().."TextLabel" ):SetText( "Keywords:" );
                                                                        </OnLoad>
                                                                        <OnTabPressed>
                                                                                if ( ChatFrameEditBox ) then
                                                                                        ChatFrameEditBox:Show();
                                                                                        ChatFrameEditBox:SetFocus();
                                                                                end                                                             
                                                                        </OnTabPressed>
                                                                        <OnEnterPressed>
                                                                                this:ClearFocus();
                                                                                CTA_ApplyFiltersToGroupList();
                                                                        </OnEnterPressed>
                                                                
                                                                </Scripts>                              
                                                        </EditBox>                      
                                                        
                                                        
                                                        <Frame name="CTA_NewItem1" inherits="CTA_NewItemTemplate">      
                                                                <Anchors>
                                                                        <Anchor point="TOPRIGHT" relativeTo="CTA_SearchButton">
                                                                                <Offset>
                                                                                        <AbsDimension x="0" y="-32"/>
                                                                                </Offset>
                                                                        </Anchor>
                                                                </Anchors>
                                                        </Frame>                        
                                                        <Frame name="CTA_NewItem2"  inherits="CTA_NewItemTemplate"></Frame>     
                                                        <Frame name="CTA_NewItem3"  inherits="CTA_NewItemTemplate"></Frame>     
                                                        <Frame name="CTA_NewItem4"  inherits="CTA_NewItemTemplate"></Frame>     
                                                        <Frame name="CTA_NewItem5"  inherits="CTA_NewItemTemplate"></Frame>     
                                                        <Frame name="CTA_NewItem6"  inherits="CTA_NewItemTemplate"></Frame>     
                                                        <Frame name="CTA_NewItem7"  inherits="CTA_NewItemTemplate"></Frame>     
                                                        <Frame name="CTA_NewItem8"  inherits="CTA_NewItemTemplate"></Frame>     
                                                        <Frame name="CTA_NewItem9"  inherits="CTA_NewItemTemplate"></Frame>     
                                                        <Frame name="CTA_NewItem10" inherits="CTA_NewItemTemplate"></Frame>     
                                                        <Frame name="CTA_NewItem11"  inherits="CTA_NewItemTemplate"></Frame>    
                                                        <Frame name="CTA_NewItem12"  inherits="CTA_NewItemTemplate"></Frame>    
                                                        <Frame name="CTA_NewItem13"  inherits="CTA_NewItemTemplate"></Frame>    
                                                        <Frame name="CTA_NewItem14"  inherits="CTA_NewItemTemplate"></Frame>    
                                                        <Frame name="CTA_NewItem15"  inherits="CTA_NewItemTemplate"></Frame>    
                                                        <Frame name="CTA_NewItem16"  inherits="CTA_NewItemTemplate"></Frame>    
                                                        <Frame name="CTA_NewItem17"  inherits="CTA_NewItemTemplate"></Frame>    
                                                        <Frame name="CTA_NewItem18"  inherits="CTA_NewItemTemplate"></Frame>    
                                                        <Frame name="CTA_NewItem19"  inherits="CTA_NewItemTemplate"></Frame>    
                                                        <Frame name="CTA_NewItem20"  inherits="CTA_NewItemTemplate"></Frame>    
                                                        
                                                        <Button name="$parentPrev">
                                                                <Size>
                                                                        <AbsDimension x="32" y="32"/>
                                                                </Size>
                                                                <Anchors>
                                                                        <Anchor point="BOTTOM">
                                                                                <Offset>
                                                                                        <AbsDimension x="-64" y="0"/>
                                                                                </Offset>
                                                                        </Anchor>
                                                                </Anchors>
                                                                <Scripts>       
                                                                        <OnClick>
                                                                                if( CTA_ResultsListOffset > 0 ) then
                                                                                        CTA_ResultsListOffset = CTA_ResultsListOffset - CTA_MAX_RESULTS_ITEMS;
                                                                                        CTA_UpdateResults();
                                                                                end
                                                                        </OnClick>                                                      
                                                                </Scripts>
                                                                <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up"/>
                                                                <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down"/>
                                                                <DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Disabled"/>
                                                                <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>                     
                                                        </Button>       
                                                        <Button name="$parentNext">
                                                                <Size>
                                                                        <AbsDimension x="32" y="32"/>
                                                                </Size>
                                                                <Anchors>
                                                                        <Anchor point="BOTTOM">
                                                                                <Offset>
                                                                                        <AbsDimension x="64" y="0"/>
                                                                                </Offset>
                                                                        </Anchor>
                                                                </Anchors>
                                                                <Scripts>                                                               
                                                                        <OnClick>
                                                                                if( getn( CTA_RaidList ) > CTA_ResultsListOffset + CTA_MAX_RESULTS_ITEMS ) then
                                                                                        CTA_ResultsListOffset = CTA_ResultsListOffset + CTA_MAX_RESULTS_ITEMS;
                                                                                        CTA_UpdateResults();
                                                                                end
                                                                        </OnClick>                                                      
                                                                </Scripts>
                                                                <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
                                                                <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>
                                                                <DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Disabled"/>
                                                                <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>                     
                                                        </Button>       
                                                        <Button name="CTA_RequestInviteButton" inherits="CTA_AbstractButton" text="CTA_JOIN_RAID">
                                                                <Anchors>
                                                                        <Anchor point="BOTTOMRIGHT">
                                                                                <Offset>
                                                                                        <AbsDimension x="-32" y="5"/>
                                                                                </Offset>
                                                                        </Anchor>
                                                                </Anchors>
                                                                <Scripts>
                                                                        <OnClick>
                                                                                CTA_SendRaidInvitationRequest();
                                                                        </OnClick>
                                                                </Scripts>
                                                        </Button>                                                                                                                               
                                                </Frames>                                       
                                        </Frame>
                                        
                                        <Frame name="CTA_SearchFrame_Filters" enableMouse="true" hidden="true">         
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="-64"/>
                                                                </Offset>
                                                        </Anchor>       
                                                        <Anchor point="BOTTOMRIGHT" />
                                                </Anchors>      
                                                <Frames>        
                                                        <Frame name="CTA_SearchFrame_Filters_GroupInternalFrame" inherits="CTA_OptionFrameBoxTemplate">
                                                                <Size>
                                                                        <AbsDimension x="600" y="160"/>
                                                                </Size>
                                                                <Anchors>
                                                                        <Anchor point="TOP">
                                                                                <Offset>
                                                                                        <AbsDimension x="0" y="0"/>
                                                                                </Offset>
                                                                        </Anchor>
                                                                </Anchors>      
                                                                <Frames>
                                                                        <CheckButton name="CTA_SearchFrameShowClassCheckButton" inherits="CTA_AbstractLabelCheckButton">
                                                                                <Anchors>
                                                                                        <Anchor point="TOPLEFT">
                                                                                                <Offset>
                                                                                                        <AbsDimension x="20" y="-32"/>
                                                                                                </Offset>
                                                                                        </Anchor>
                                                                                </Anchors>
                                                                                <Scripts>
                                                                                        <OnLoad>
                                                                                                getglobal( this:GetName().."TextLabel" ):SetText( CTA_SHOW_ALL_CLASSES );
                                                                                                this:SetChecked(1);
                                                                                        </OnLoad>
                                                                                </Scripts>                                                      
                                                                        </CheckButton>
                                                                        
                                                                        <CheckButton name="CTA_SearchFrameShowPVPCheckButton" inherits="CTA_AbstractLabelCheckButton">
                                                                                <Anchors>
                                                                                        <Anchor point="TOPLEFT">
                                                                                                <Offset>
                                                                                                        <AbsDimension x="170" y="-32"/>
                                                                                                </Offset>
                                                                                        </Anchor>
                                                                                </Anchors>
                                                                                <Scripts>
                                                                                        <OnClick>
                                                                                                if( not CTA_SearchFrameShowPVPCheckButton:GetChecked() and not CTA_SearchFrameShowPVECheckButton:GetChecked() ) then
                                                                                                        CTA_SearchFrameShowPVECheckButton:SetChecked(1);
                                                                                                end
                                                                                        </OnClick>
                                                                                        <OnLoad>
                                                                                                getglobal( this:GetName().."TextLabel" ):SetText( CTA_SHOW_PVP_RAIDS );
                                                                                                this:SetChecked(1);
                                                                                        </OnLoad>
                                                                                </Scripts>                                                      
                                                                        </CheckButton>
                                                                                                        
                                                                        <CheckButton name="CTA_SearchFrameShowPVECheckButton" inherits="CTA_AbstractLabelCheckButton">
                                                                                <Anchors>
                                                                                        <Anchor point="TOPLEFT">
                                                                                                <Offset>
                                                                                                        <AbsDimension x="320" y="-32"/>
                                                                                                </Offset>
                                                                                        </Anchor>
                                                                                </Anchors>
                                                                                <Scripts>
                                                                                        <OnClick>
                                                                                                if( not CTA_SearchFrameShowPVPCheckButton:GetChecked() and not CTA_SearchFrameShowPVECheckButton:GetChecked() ) then
                                                                                                        CTA_SearchFrameShowPVPCheckButton:SetChecked(1);
                                                                                                end
                                                                                        </OnClick>
                                                                                        <OnLoad>
                                                                                                getglobal( this:GetName().."TextLabel" ):SetText( CTA_SHOW_PVE_RAIDS );
                                                                                                this:SetChecked(1);
                                                                                        </OnLoad>
                                                                                </Scripts>                                                      
                                                                        </CheckButton>
                
                                                                        <CheckButton name="CTA_SearchFrameShowFullCheckButton" inherits="CTA_AbstractLabelCheckButton">
                                                                                <Anchors>
                                                                                        <Anchor point="TOPLEFT">
                                                                                                <Offset>
                                                                                                        <AbsDimension x="20" y="-64"/>
                                                                                                </Offset>
                                                                                        </Anchor>
                                                                                </Anchors>
                                                                                <Scripts>
                                                                                        <OnLoad>
                                                                                                getglobal( this:GetName().."TextLabel" ):SetText( CTA_SHOW_FULL_RAIDS );
                                                                                                this:SetChecked(1);
                                                                                        </OnLoad>
                                                                                </Scripts>                                                      
                                                                        </CheckButton>
                
                                                                        <CheckButton name="CTA_SearchFrameShowEmptyCheckButton" inherits="CTA_AbstractLabelCheckButton">
                                                                                <Anchors>
                                                                                        <Anchor point="TOPLEFT">
                                                                                                <Offset>
                                                                                                        <AbsDimension x="170" y="-64"/>
                                                                                                </Offset>
                                                                                        </Anchor>
                                                                                </Anchors>
                                                                                <Scripts>
                                                                                        <OnLoad>
                                                                                                getglobal( this:GetName().."TextLabel" ):SetText( CTA_SHOW_EMPTY_RAIDS );
                                                                                                this:SetChecked(1);
                                                                                        </OnLoad>
                                                                                </Scripts>                                                      
                                                                        </CheckButton>
                
                                                                        <CheckButton name="CTA_SearchFrameShowPasswordCheckButton" inherits="CTA_AbstractLabelCheckButton">
                                                                                <Anchors>
                                                                                        <Anchor point="TOPLEFT">
                                                                                                <Offset>
                                                                                                        <AbsDimension x="320" y="-64"/>
                                                                                                </Offset>
                                                                                        </Anchor>
                                                                                </Anchors>
                                                                                <Scripts>
                                                                                        <OnLoad>
                                                                                                getglobal( this:GetName().."TextLabel" ):SetText( CTA_SHOW_PASSWORD_PROTECTED_RAIDS );
                                                                                                this:SetChecked(1);
                                                                                        </OnLoad>
                                                                                </Scripts>                                                      
                                                                        </CheckButton>
                
                                                                        <CheckButton name="CTA_SearchFrameShowLevelCheckButton" inherits="CTA_AbstractLabelCheckButton">
                                                                                <Anchors>
                                                                                        <Anchor point="TOPLEFT">
                                                                                                <Offset>
                                                                                                        <AbsDimension x="20" y="-96"/>
                                                                                                </Offset>
                                                                                        </Anchor>
                                                                                </Anchors>
                                                                                <Scripts>
                                                                                        <OnLoad>
                                                                                                getglobal( this:GetName().."TextLabel" ):SetText( CTA_SHOW_RAIDS_ABOVE_MY_LEVEL );
                                                                                                this:SetChecked(1);
                                                                                        </OnLoad>
                                                                                </Scripts>                                                      
                                                                        </CheckButton>
                                                                </Frames>
                                                        </Frame>
                                                
                                                        <Frame name="CTA_SearchFrame_Filters_PlayerInternalFrame" inherits="CTA_OptionFrameBoxTemplate">
                                                                <Size>
                                                                        <AbsDimension x="600" y="64"/>
                                                                </Size>
                                                                <Anchors>
                                                                        <Anchor point="TOP" relativeTo="CTA_SearchFrame_Filters_GroupInternalFrame" relativePoint="BOTTOM">
                                                                                <Offset>
                                                                                        <AbsDimension x="0" y="-24"/>
                                                                                </Offset>
                                                                        </Anchor>
                                                                </Anchors>      
                                                                <Frames>
                                                                        <Frame name="CTA_PlayerClassDropDown" inherits="UIDropDownMenuTemplate" id="1">
                                                                                <Anchors>
                                                                                        <Anchor point="LEFT">
                                                                                                <Offset>
                                                                                                        <AbsDimension x="8" y="-2"/>
                                                                                                </Offset>
                                                                                        </Anchor>
                                                                                </Anchors>
                                
                                                                                <Scripts>
                                                                                        <OnLoad>
                                                                                                UIDropDownMenu_Initialize(this, CTA_PlayerClassDropDown_Init );
                                                                                                UIDropDownMenu_SetWidth(100);                   
                                                                                                UIDropDownMenu_SetSelectedID(CTA_PlayerClassDropDown, 1);
                                                                                        </OnLoad>
                                                                                </Scripts>
                                                                        </Frame>
                                                                        
                                                                        <EditBox name="CTA_PlayerMinLevelEditBox" inherits="CTA_AbstractLabelEditBox" numeric="true" letters="2">
                                                                                <Anchors>
                                                                                        <Anchor point="LEFT" relativeTo="CTA_PlayerClassDropDown" relativePoint="RIGHT">
                                                                                                <Offset>
                                                                                                        <AbsDimension x="80" y="3"/>
                                                                                                </Offset>
                                                                                        </Anchor>
                                                                                </Anchors>
                                                                                <Scripts>
                                                                                        <OnLoad>
                                                                                                this:SetTextInsets(4,0,0,0);
                                                                                                this:SetWidth( 20 );
                                                                                                getglobal( this:GetName().."TextLabel" ):SetText( "Show levels:" );
                                                                                        </OnLoad>
                                                                                </Scripts>                              
                                                                        </EditBox>                      
                                                                        <EditBox name="CTA_PlayerMaxLevelEditBox" inherits="CTA_AbstractLabelEditBox" numeric="true" letters="2">
                                                                                <Anchors>
                                                                                        <Anchor point="LEFT" relativeTo="CTA_PlayerMinLevelEditBox" relativePoint="RIGHT">
                                                                                                <Offset>
                                                                                                        <AbsDimension x="30" y="0"/>
                                                                                                </Offset>
                                                                                        </Anchor>
                                                                                </Anchors>
                                                                                <Scripts>
                                                                                        <OnLoad>
                                                                                                this:SetTextInsets(4,0,0,0);
                                                                                                this:SetWidth( 20 );
                                                                                                getglobal( this:GetName().."TextLabel" ):SetText( "-" );
                                                                                        </OnLoad>
                                                                                </Scripts>                              
                                                                        </EditBox>                      


                                                                </Frames>
                                                        </Frame>
                                                        
                                                        
                                                        <Frame name="CTA_SearchFrame_Filters_LocalChatInternalFrame" inherits="CTA_OptionFrameBoxTemplate">
                                                                <Size>
                                                                        <AbsDimension x="600" y="64"/>
                                                                </Size>
                                                                <Anchors>
                                                                        <Anchor point="TOP" relativeTo="CTA_SearchFrame_Filters_PlayerInternalFrame" relativePoint="BOTTOM">
                                                                                <Offset>
                                                                                        <AbsDimension x="0" y="-24"/>
                                                                                </Offset>
                                                                        </Anchor>
                                                                </Anchors>      
                                                                <Frames>
                                                                        <CheckButton name="CTA_ShowLocalLFXMessagesCheckButton" inherits="CTA_AbstractLabelCheckButton">
                                                                                <Anchors>
                                                                                        <Anchor point="TOPLEFT">
                                                                                                <Offset>
                                                                                                        <AbsDimension x="20" y="-20"/>
                                                                                                </Offset>
                                                                                        </Anchor>
                                                                                </Anchors>
                                                                                <Scripts>
                                                                                        <OnClick>                                                               
                                                                                        </OnClick>
                                                                                        <OnLoad>
                                                                                                getglobal( this:GetName().."TextLabel" ):SetWidth( 500 );
                                                                                                getglobal( this:GetName().."TextLabel" ):SetText( CTA_SHOW_NON_CTA_RESULTS );
                                                                                                this:SetChecked(1);
                                                                                        </OnLoad>
                                                                                </Scripts>                                                      
                                                                        </CheckButton>
                                                                </Frames>
                                                        </Frame>
                                                                
                                                </Frames>
                                        </Frame>        
                                                
                                </Frames>               
                            <Scripts>
                            <OnLoad>                    
                                for i = 2, CTA_MAX_RESULTS_ITEMS do
                                        getglobal( "CTA_NewItem"..i ):SetPoint( "TOP", "CTA_NewItem"..(i-1), "BOTTOM", 0, 0 );
                                end
                                        CTA_RequestInviteButton:Disable();
                                        
                                        CTA_SearchFrame_Filters_GroupInternalFrameTitle:SetText( CTA_CTA_GROUP_FILTERS );
                                        CTA_SearchFrame_Filters_PlayerInternalFrameTitle:SetText( CTA_PLAYER_FILTERS );
                                        CTA_SearchFrame_Filters_LocalChatInternalFrameTitle:SetText( CTA_OTHER_FILTERS );
                            </OnLoad>
                          </Scripts>            
                        </Frame>



                        
                        <!-- My Group Frame -->                                                 
                        <Frame name="CTA_MyRaidFrame" hidden="true">    
                                <Size>
                                        <AbsDimension x="640" y="480"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="0" y="-16"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>      
                                <Layers>
                                        <Layer level="ARTWORK"> 
                                                <FontString inherits="CTA_TitleFont" name="$parentTitleLabel" nonspacewrap="false" maxLines="1" hidden="true">
                                                        <Size>
                                                                <AbsDimension x="300" y="32"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOP">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="-3"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>                   
                                                
                                                <FontString inherits="GameFontNormal" name="$parentDescriptionLabel" nonspacewrap="false" justifyH="RIGHT"  text="CTA_RAID_DESCRIPTION">
                                                        <Size>
                                                                <AbsDimension x="140" y="32"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="20" y="-52"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>

                                                <FontString inherits="GameFontNormalSmall" name="$parentDescriptionPromptLabel" nonspacewrap="false" justifyH="LEFT"  text="CTA_RAID_DESCRIPTION_HELP">
                                                        <Size>
                                                                <AbsDimension x="400" y="32"/>
                                                        </Size>
                                                        
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="170" y="-36"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>                   
                                                                        
                                                <FontString inherits="GameFontNormal" name="$parentTypeLabel" nonspacewrap="false" justifyH="RIGHT"  text="CTA_RAID_TYPE">
                                                        <Size>
                                                                <AbsDimension x="140" y="32"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="20" y="-84"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>           
                                                                                                
                                                <FontString inherits="GameFontNormalSmall" name="$parentPVPLabel" nonspacewrap="false" justifyH="LEFT"  text="CTA_PLAYER_VS_PLAYER">
                                                        <Size>
                                                                <AbsDimension x="150" y="32"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="200" y="-84"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString inherits="GameFontNormalSmall" name="$parentPVELabel" nonspacewrap="false" justifyH="LEFT"  text="CTA_PLAYER_VS_ENVIRONMENT">
                                                        <Size>
                                                                <AbsDimension x="200" y="32"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="330" y="-84"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>                           
                
                                                <FontString inherits="GameFontNormal" name="$parentMaxSizeLabel" nonspacewrap="false" justifyH="RIGHT"  text="CTA_MAXIMUM_PLAYERS">
                                                        <Size>
                                                                <AbsDimension x="140" y="32"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="20" y="-116"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                
                                                <FontString inherits="GameFontNormalSmall" name="CTA_MaxSizeHelpLabel" nonspacewrap="false" justifyH="LEFT"  text="CTA_MAXIMUM_PLAYERS_HELP">
                                                        <Size>
                                                                <AbsDimension x="400" y="32"/>
                                                        </Size>
                                                        
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="240" y="-116"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>                                           
                                                
                                                <FontString inherits="GameFontNormal" name="$parentMinLevelLabel" nonspacewrap="false" justifyH="RIGHT"  text="CTA_MINIMUM_LEVEL">
                                                        <Size>
                                                                <AbsDimension x="140" y="32"/>
                                                        </Size>
                                                        
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="20" y="-148"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                
                                                <FontString inherits="GameFontNormalSmall" nonspacewrap="false" justifyH="LEFT"  text="CTA_MINIMUM_LEVEL_HELP">
                                                        <Size>
                                                                <AbsDimension x="140" y="32"/>
                                                        </Size>
                                                        
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="240" y="-148"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>                                           
                                        
                                                <FontString inherits="GameFontNormal" name="$parentPasswordLabel" nonspacewrap="false" justifyH="RIGHT"  text="CTA_PASSWORD">
                                                        <Size>
                                                                <AbsDimension x="140" y="32"/>
                                                        </Size>
                                                        
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="20" y="-180"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                
                                                <FontString inherits="GameFontNormalSmall" name="$parentUsePasswordLabel" nonspacewrap="false" justifyH="LEFT"  text="CTA_PASSWORD_HELP">
                                                        <Size>
                                                                <AbsDimension x="240" y="32"/>
                                                        </Size>
                                                        
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="340" y="-180"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                
                                                <FontString inherits="GameFontNormal" name="$parentClassesLabel" nonspacewrap="false" justifyH="RIGHT"  text="CTA_CLASS_DISTRIBUTION">
                                                        <Size>
                                                                <AbsDimension x="140" y="32"/>
                                                        </Size>
                                                        
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="20" y="-212"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>                                           
                                                                                                
                                                <FontString inherits="GameFontNormalSmall" name="CTA_RaidSizeLabel" nonspacewrap="false" justifyH="LEFT" >
                                                        <Size>
                                                                <AbsDimension x="440" y="32"/>
                                                        </Size>
                                                        
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="170" y="-212"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>                                           
                                                                                                
                                                <FontString inherits="GameFontNormalSmall" name="CTA_AcidNote">
                                                        <Size>
                                                                <AbsDimension x="480" y="20"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="BOTTOM">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="44"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                        <Color r="1.0" g="1.0" b="1.0" a="0.5"/>
                                                </FontString>   
                                                                                                
                                                <FontString name="CTA_PublicStatusLabel" inherits="GameFontNormalSmall" nonspacewrap="false">
                                                        <Size>
                                                                <AbsDimension x="600" y="32"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="BOTTOM">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="24"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>                                           
                                        </Layer>
                                </Layers>
                                <Frames>                                                                                
                                        <EditBox name="CTA_MyRaidFrameDescriptionEditBox" letters="128" inherits="CTA_AbstractEditBox">
                                                <Size>
                                                        <AbsDimension x="400" y="20"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="170" y="-60"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnLoad>
                                                                this:SetTextInsets(4,0,0,0);
                                                        </OnLoad>
                                                        <OnEditFocusLost>
                                                                CTA_MyRaidInstantUpdate();
                                                        </OnEditFocusLost>      
                                                        <OnTabPressed>
                                                                this:ClearFocus();
                                                                CTA_MyRaidFrameMaxSizeEditBox:SetFocus();
                                                        </OnTabPressed>
                                                        <OnEnterPressed>
                                                                this:ClearFocus();
                                                                --CTA_MyRaidFrameMaxSizeEditBox:SetFocus();
                                                                if ( ChatFrameEditBox ) then
                                                                        ChatFrameEditBox:Show();
                                                                        ChatFrameEditBox:SetFocus();
                                                                end                                                             
                                                        </OnEnterPressed>                                                                                                       
                                                </Scripts>                              
                                        </EditBox>

                                        <CheckButton name="$parentPVPCheckButton" inherits="UICheckButtonTemplate">
                                                <Size>
                                                        <AbsDimension x="24" y="24"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="CTA_MyRaidFramePVPLabel" >
                                                                <Offset>
                                                                        <AbsDimension x="-30" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>                                                               
                                                                CTA_MyRaidFramePVPCheckButton:SetChecked(1);
                                                                CTA_MyRaidFramePVECheckButton:SetChecked(0);    
                                                                CTA_MyRaidInstantUpdate();                                                      
                                                        </OnClick>
                                                        <OnLoad>
                                                                        CTA_MyRaidFramePVPCheckButton:SetChecked(1);
                                                        </OnLoad>
                                                </Scripts>                                                      
                                        </CheckButton>
                                        <CheckButton name="$parentPVECheckButton" inherits="UICheckButtonTemplate">
                                                <Size>
                                                        <AbsDimension x="24" y="24"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="CTA_MyRaidFramePVELabel" >
                                                                <Offset>
                                                                        <AbsDimension x="-30" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                CTA_MyRaidFramePVPCheckButton:SetChecked(0);
                                                                CTA_MyRaidFramePVECheckButton:SetChecked(1);
                                                                CTA_MyRaidInstantUpdate();                                                                      
                                                        </OnClick>
                                                </Scripts>      
                                        </CheckButton>
                                                                                        
                                        <EditBox name="CTA_MyRaidFrameMaxSizeEditBox" inherits="CTA_AbstractEditBox" letters="2" numeric="true">
                                                <Size>
                                                        <AbsDimension x="50" y="20"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="170" y="-124"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnLoad>
                                                                this:SetTextInsets(4,0,0,0);
                                                        </OnLoad>
                                                        <OnEditFocusLost>
                                                                CTA_MyRaidInstantUpdate();
                                                        </OnEditFocusLost>
                                                        <OnTabPressed>
                                                                this:ClearFocus();
                                                                CTA_MyRaidFrameMinLevelEditBox:SetFocus();
                                                        </OnTabPressed>
                                                        <OnEnterPressed>
                                                                this:ClearFocus();
                                                                --CTA_MyRaidFrameMinLevelEditBox:SetFocus();
                                                                if ( ChatFrameEditBox ) then
                                                                        ChatFrameEditBox:Show();
                                                                        ChatFrameEditBox:SetFocus();
                                                                end                                                             
                                                        </OnEnterPressed>                                                               
                                                </Scripts>                              
                                        </EditBox>
                                        <EditBox name="CTA_MyRaidFrameMinLevelEditBox" inherits="CTA_AbstractEditBox" letters="2" numeric="true">
                                                <Size>
                                                        <AbsDimension x="50" y="20"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="170" y="-156"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnLoad>
                                                                this:SetTextInsets(4,0,0,0);
                                                        </OnLoad>
                                                        <OnEditFocusLost>
                                                                CTA_MyRaidInstantUpdate();
                                                        </OnEditFocusLost>      
                                                        <OnTabPressed>
                                                                this:ClearFocus();
                                                                CTA_MyRaidFramePasswordEditBox:SetFocus();
                                                        </OnTabPressed>
                                                        <OnEnterPressed>
                                                                this:ClearFocus();
                                                                --CTA_MyRaidFramePasswordEditBox:SetFocus();
                                                                if ( ChatFrameEditBox ) then
                                                                        ChatFrameEditBox:Show();
                                                                        ChatFrameEditBox:SetFocus();
                                                                end                                                             
                                                        </OnEnterPressed>                                                                                                       
                                                </Scripts>                              
                                        </EditBox>
                                        
                                        <EditBox name="CTA_MyRaidFramePasswordEditBox" inherits="CTA_AbstractEditBox" letters="16" >
                                                <Size>
                                                        <AbsDimension x="150" y="20"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="170" y="-188"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnLoad>
                                                                this:SetTextInsets(4,0,0,0);
                                                        </OnLoad>
                                                        <OnEditFocusLost>
                                                                CTA_MyRaidInstantUpdate();
                                                        </OnEditFocusLost>      
                                                        <OnTabPressed>
                                                                this:ClearFocus();
                                                                CTA_MyRaidFrameDescriptionEditBox:SetFocus();
                                                        </OnTabPressed>
                                                        <OnEnterPressed>
                                                                this:ClearFocus();
                                                                if ( ChatFrameEditBox ) then
                                                                        ChatFrameEditBox:Show();
                                                                        ChatFrameEditBox:SetFocus();
                                                                end                                                             
                                                        </OnEnterPressed>                                                                                                       
                                                </Scripts>                              
                                        </EditBox>                      
                        
                                        
                                        <Frame name="CTA_Acid1" inherits="CTA_AcidItemTemplate">        
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="50" y="-250"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>      
                                        </Frame>                
                                        <Frame name="CTA_Acid2" inherits="CTA_AcidItemTemplate"></Frame>                                                        
                                        <Frame name="CTA_Acid3" inherits="CTA_AcidItemTemplate"></Frame>                                                        
                                        <Frame name="CTA_Acid4" inherits="CTA_AcidItemTemplate"></Frame>                                                        
                                        <Frame name="CTA_Acid0" inherits="CTA_AcidItemTemplateAnyClass"></Frame>                                                        
                                        <Frame name="CTA_Acid5" inherits="CTA_AcidItemTemplate"></Frame>                                                        
                                        <Frame name="CTA_Acid6" inherits="CTA_AcidItemTemplate"></Frame>                                                        
                                        <Frame name="CTA_Acid7" inherits="CTA_AcidItemTemplate"></Frame>                                                        
                                        <Frame name="CTA_Acid8" inherits="CTA_AcidItemTemplate"></Frame>                                                        

                                        

                                
                                        <!-- 
                                                Acid Edit Dialog
                                        -->
                                
                                        <Frame name="CTA_AcidEditDialog" inherits="CTA_AbstractDialogFrame" hidden="true">
                                                <Frames>
                                                        <CheckButton name="CTA_AcidClassCheckButton1" inherits="CTA_AbstractLabelCheckButton"/>
                                                        <CheckButton name="CTA_AcidClassCheckButton2" inherits="CTA_AbstractLabelCheckButton"/>
                                                        <CheckButton name="CTA_AcidClassCheckButton3" inherits="CTA_AbstractLabelCheckButton"/>
                                                        <CheckButton name="CTA_AcidClassCheckButton4" inherits="CTA_AbstractLabelCheckButton"/>
                                                        <CheckButton name="CTA_AcidClassCheckButton5" inherits="CTA_AbstractLabelCheckButton"/>
                                                        <CheckButton name="CTA_AcidClassCheckButton6" inherits="CTA_AbstractLabelCheckButton"/>
                                                        <CheckButton name="CTA_AcidClassCheckButton7" inherits="CTA_AbstractLabelCheckButton"/>
                                                        <CheckButton name="CTA_AcidClassCheckButton8" inherits="CTA_AbstractLabelCheckButton"/>
                                                </Frames>
                                                <Scripts>
                                                    <OnLoad>
                                                        CTA_AcidEditDialogEditBox:Hide();
                                                        CTA_AcidEditDialogOkButton:SetText( CTA_OK );
                                                        
                                                        CTA_AcidEditDialogHeadingLabel:SetText( "Choose the classes for this rule:" );

                                                                local classes = { };
                                                                classes[1] = CTA_PRIEST;
                                                                classes[2] = CTA_MAGE;
                                                                classes[3] = CTA_WARLOCK;
                                                                classes[4] = CTA_DRUID;
                                                                classes[5] = CTA_HUNTER;
                                                                classes[6] = CTA_ROGUE;
                                                                classes[7] = CTA_WARRIOR;
                                                                if( UnitFactionGroup("PLAYER") == CTA_ALLIANCE ) then
                                                                        classes[8] = CTA_PALADIN;
                                                                else
                                                                        classes[8] = CTA_SHAMAN;
                                                                end
                                                        
                                                                CTA_AcidClassCheckButton1:SetPoint( "TOP", "CTA_AcidEditDialog", "TOP", -80, -64 );
                                                                CTA_AcidClassCheckButton1TextLabel:SetText( CTA_PRIEST );
                                                                
                                                                for i = 2, 4 do
                                                                        getglobal( "CTA_AcidClassCheckButton"..i ):SetPoint( "TOP", "CTA_AcidClassCheckButton"..(i-1), "TOP", 0, -32 );
                                                                        getglobal( "CTA_AcidClassCheckButton"..i.."TextLabel" ):SetText( classes[i] );
                                                                end
                                                                
                                                                for i = 5, 8 do
                                                                        getglobal( "CTA_AcidClassCheckButton"..i ):SetPoint( "LEFT", "CTA_AcidClassCheckButton"..(i-4), "LEFT", 120, 0 );
                                                                        getglobal( "CTA_AcidClassCheckButton"..i.."TextLabel" ):SetText( classes[i] );
                                                                end
                                                        
                                                    </OnLoad>
                                                </Scripts>      
                                        </Frame>
                                                                
                                        <Button name="CTA_ConvertToRaidButton" inherits="CTA_AbstractButton" text="CTA_CONVERT_TO_RAID">
                                                <Size>
                                                        <AbsDimension x="100" y="22"/>
                                                </Size>                         
                                                <Anchors>
                                                        <Anchor point="BOTTOMRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-142" y="5"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                CTA_ConvertToRaid();
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                                                                                
                                        <Button name="CTA_ConvertToPartyButton" inherits="CTA_AbstractButton" text="CTA_CONVERT_TO_PARTY">
                                                <Size>
                                                        <AbsDimension x="100" y="22"/>
                                                </Size>                         
                                                <Anchors>
                                                        <Anchor point="BOTTOMRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-142" y="5"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                CTA_ConvertToParty();
                                                        </OnClick>
                                                </Scripts>
                                        </Button>               
                                        
                                        <Button name="CTA_StopHostingButton" inherits="CTA_AbstractButton" text="CTA_STOP_HOSTING">
                                                <Anchors>
                                                        <Anchor point="BOTTOMRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-252" y="5"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                CTA_StopHosting();
                                                        </OnClick>
                                                </Scripts>
                                        </Button>                                                                               
                                                                                                                                        
                                        <Button name="CTA_ToggleViewableButton" inherits="CTA_AbstractButton">
                                                <Anchors>
                                                        <Anchor point="BOTTOMRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-32" y="5"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                if ( CTA_MyRaidIsOnline ) then
                                                                        CTA_ToggleViewableButton:SetText( CTA_GO_ONLINE );
                                                                        CTA_IconMsg( CTA_IS_OFFLINE, CTA_GENERAL );
                                                                        CTA_PublicStatusLabel:SetText( CTA_RAID_OFFLINE_MESSAGE );
                                                                        CTA_PublicStatusLabel:SetTextColor( 1, 0.2, 0.2, 1 );
                                                                        CTA_MyRaidIsOnline = nil;
                                                                        CTA_PollBroadcast = 2;
                                                                else
                                                                        CTA_ToggleViewableButton:SetText( CTA_GO_OFFLINE );
                                                                        CTA_IconMsg( CTA_IS_ONLINE, CTA_GENERAL );
                                                                        CTA_PublicStatusLabel:SetText( CTA_RAID_ONLINE_MESSAGE );
                                                                        CTA_PublicStatusLabel:SetTextColor( 0.2, 1, 0.2, 1 );
                                                                        CTA_MyRaidIsOnline = 1;
                                                                        CTA_PollBroadcast = 1;
                                                                end
                                                        </OnClick>
                                                        <OnLoad>
                                                                        this:SetText( CTA_GO_OFFLINE );
                                                                        CTA_PublicStatusLabel:SetText( CTA_RAID_ONLINE_MESSAGE );
                                                                        CTA_PublicStatusLabel:SetTextColor( 0.2, 1, 0.2, 1 );
                                                        </OnLoad>
                                                </Scripts>
                                        </Button>                       
                                </Frames>
                            <Scripts>
                            <OnLoad>
                                for i = 2, 4 do
                                        getglobal( "CTA_Acid"..i ):SetPoint( "LEFT", "CTA_Acid"..(i-1), "LEFT", 60, 0 );
                                end
                                CTA_Acid0:SetPoint( "LEFT", "CTA_Acid4", "LEFT", 60, 0 );
                                CTA_Acid5:SetPoint( "LEFT", "CTA_Acid0", "LEFT", 60, 0 );
                                for i = 6, 8 do
                                        getglobal( "CTA_Acid"..i ):SetPoint( "LEFT", "CTA_Acid"..(i-1), "LEFT", 60, 0 );
                                end
                                        CTA_MyRaidFrameTitleLabel:SetText( CTA_CALL_TO_ARMS.." - "..CTA_HOST_A_RAID );
                            </OnLoad>
                          </Scripts>                            
                        </Frame>



                
                        <!-- Start Hosting Frame -->                                                    
                        <Frame name="CTA_StartRaidFrame" hidden="true"> 
                                <Size>
                                        <AbsDimension x="640" y="480"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="0" y="-16"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>      
                                <Layers>
                                        <Layer level="ARTWORK"> 
                                                <FontString inherits="CTA_TitleFont" name="$parentTitleLabel" nonspacewrap="false" maxLines="1" hidden="true">
                                                        <Size>
                                                                <AbsDimension x="300" y="32"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOP">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="-3"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>                   
                                                
                                                <FontString inherits="CTA_Heading1Font" name="CTA_StartRaidLabel" justifyV="TOP"  nonspacewrap="false">
                                                        <Size>
                                                                <AbsDimension x="400" y="256"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOP">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="-128"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <Frames>
                                        <Button name="CTA_StartAPartyButton" inherits="CTA_AbstractButton" text="CTA_START_PARTY">
                                                <Size>
                                                        <AbsDimension x="160" y="44"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOP">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="-160"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                PlaySound("igCharacterInfoTab");
                                                                CTA_StartAParty();
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="CTA_StartARaidButton" inherits="CTA_AbstractButton" text="CTA_START_RAID">
                                                <Size>
                                                        <AbsDimension x="160" y="44"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOP">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="-240"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                PlaySound("igCharacterInfoTab");
                                                                CTA_StartARaid();
                                                        </OnClick>
                                                </Scripts>
                                        </Button>                                               
                                </Frames>                                       
                            <Scripts>
                                    <OnLoad>                    
                                                CTA_StartRaidFrameTitleLabel:SetText( CTA_CALL_TO_ARMS.." - "..CTA_START_A_RAID );
                                    </OnLoad>
                          </Scripts>                            
                        </Frame>                




                        <!-- LFG Frame -->                                                      
                        <Frame name="CTA_LFGFrame" hidden="true">       
                                <Size>
                                        <AbsDimension x="640" y="480"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="0" y="-16"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>      
                                <Layers>
                                        <Layer level="ARTWORK"> 
                                                <FontString inherits="CTA_TitleFont" name="$parentTitleLabel" nonspacewrap="false" maxLines="1" hidden="true">
                                                        <Size>
                                                                <AbsDimension x="300" y="32"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOP">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="-3"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>                   
                                                
                                                <FontString inherits="CTA_Heading1Font" name="CTA_LGMPrefixLabel" justifyV="TOP"  nonspacewrap="false">
                                                        <Size>
                                                                <AbsDimension x="400" y="256"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOP">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="-128"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString inherits="GameFontNormalSmall" text="CTA_ANNOUNCE_INFO_TEXT" justifyV="TOP"  nonspacewrap="false">
                                                        <Size>
                                                                <AbsDimension x="400" y="256"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOP">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="-300"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString inherits="GameFontNormalSmall" text="CTA_ANNOUNCE_LFG" justifyV="TOP"  nonspacewrap="false">
                                                        <Size>
                                                                <AbsDimension x="400" y="256"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOP">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="-220"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <Frames>
                                        <EditBox name="CTA_LFGDescriptionEditBox" letters="128" inherits="CTA_AbstractEditBox">
                                                <Size>
                                                        <AbsDimension x="320" y="20"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOP">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="-160"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnLoad>
                                                                this:SetTextInsets(4,0,0,0);
                                                        </OnLoad>
                                                        <OnEditFocusLost>
                                                                --CTA_MyRaidInstantUpdate();
                                                        </OnEditFocusLost>      
                                                        <OnTabPressed>
                                                                this:ClearFocus();
                                                        </OnTabPressed>
                                                        <OnEnterPressed>
                                                                this:ClearFocus();
                                                        </OnEnterPressed>                                                                                                       
                                                </Scripts>                              
                                        </EditBox>
                                        <CheckButton name="CTA_LFGCheckButton" inherits="CTA_AbstractCheckButton">
                                                <Size>
                                                        <AbsDimension x="24" y="24"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOP">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="-190"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnLoad>
                                                                this:SetChecked(1);
                                                        </OnLoad>
                                                </Scripts>                      
                                        </CheckButton>  
                                        
                                </Frames>                                       
                            <Scripts>
                                    <OnLoad>                    
                                                CTA_StartRaidFrameTitleLabel:SetText( CTA_CALL_TO_ARMS.." - "..CTA_LFG_FRAME );
                                    </OnLoad>
                          </Scripts>                            
                        </Frame>                

                        <!-- Cannot LFG Frame -->                                                       
                        <Frame name="CTA_CannotLFGFrame" hidden="true"> 
                                <Size>
                                        <AbsDimension x="640" y="480"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="0" y="-16"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>      
                                <Layers>
                                        <Layer level="ARTWORK"> 
                                                <FontString inherits="CTA_Heading1Font" nonspacewrap="false" text="CTA_CANNOT_LFG">
                                                        <Size>
                                                                <AbsDimension x="400" y="256"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOP">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="-128"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>                       
                        </Frame>                




                        <!-- MORE -->                                                   
                        <Frame name = "CTA_MoreFeaturesFrame" hidden="true">
                                <Size>
                                        <AbsDimension x="640" y="480"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOP"/>
                                </Anchors>
                                <Frames>
                                        
                                        <Button name="CTA_ShowBlacklistButton" inherits="CTA_TabButtonTemplate" text="CTA_PLAYER_LIST">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="16" y="-20"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                CTA_GreyListFrame:Show();
                                                                CTA_UpdateGreyListItems();      

                                                                CTA_LogFrame:Hide();
                                                                CTA_SettingsFrame:Hide();
                                                        </OnClick>
                                                </Scripts>
                                        </Button>

                                        <Button name="CTA_SettingsFrameButton" inherits="CTA_TabButtonTemplate" text="CTA_SETTINGS">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="CTA_ShowBlacklistButton" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="2" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                CTA_GreyListFrame:Hide();
                                                                CTA_LogFrame:Hide();
                                                                CTA_SettingsFrame:Show();
                                                        </OnClick>
                                                </Scripts>                                      
                                        </Button>
                                        
                                        <Button name="CTA_LogFrameButton" inherits="CTA_TabButtonTemplate" text="CTA_LOG">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="CTA_SettingsFrameButton" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="2" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                CTA_GreyListFrame:Hide();
                                                                CTA_LogFrame:Show();
                                                                CTA_SettingsFrame:Hide();
                                                        </OnClick>
                                                </Scripts>                                      
                                        </Button>
                                        
                                        <!-- Blacklisted Players Frame -->                                                      
                                        <Frame name = "CTA_GreyListFrame">
                                                <Size>
                                                        <AbsDimension x="640" y="480"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOP">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="-16"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Layers>
                                                        <Layer level="ARTWORK"> 
                                                                <FontString inherits="CTA_TitleFont" name="$parentTitleLabel" nonspacewrap="false" maxLines="1" hidden="true">
                                                                        <Size>
                                                                                <AbsDimension x="300" y="32"/>
                                                                        </Size>
                                                                        <Anchors>
                                                                                <Anchor point="TOP">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="-3"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                </FontString>                                                           
                                                                <FontString inherits="GameFontNormalSmall" name="$parentPageLabel" nonspacewrap="false">
                                                                        <Size>
                                                                                <AbsDimension x="300" y="32"/>
                                                                        </Size>
                                                                        <Anchors>
                                                                                <Anchor point="BOTTOM">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="4"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                </FontString>                                                                                                           
                                                        </Layer>
                                                </Layers>
                                                <Frames>
                                                                                
                                                        <Button name="CTA_GreyListItem0" inherits="CTA_GreyListTemplate0" ></Button>
                                                        <Button name="CTA_GreyListItem1" inherits="CTA_GreyListTemplate" ></Button>
                                                        <Button name="CTA_GreyListItem2" inherits="CTA_GreyListTemplate" ></Button>
                                                        <Button name="CTA_GreyListItem3" inherits="CTA_GreyListTemplate" ></Button>
                                                        <Button name="CTA_GreyListItem4" inherits="CTA_GreyListTemplate" ></Button>
                                                        <Button name="CTA_GreyListItem5" inherits="CTA_GreyListTemplate" ></Button>
                                                        <Button name="CTA_GreyListItem6" inherits="CTA_GreyListTemplate" ></Button>
                                                        <Button name="CTA_GreyListItem7" inherits="CTA_GreyListTemplate" ></Button>
                                                        <Button name="CTA_GreyListItem8" inherits="CTA_GreyListTemplate" ></Button>
                                                        <Button name="CTA_GreyListItem9" inherits="CTA_GreyListTemplate" ></Button>
                                                        <Button name="CTA_GreyListItem10" inherits="CTA_GreyListTemplate" ></Button>
                                                        <Button name="CTA_GreyListItem11" inherits="CTA_GreyListTemplate" ></Button>
                                                        <Button name="CTA_GreyListItem12" inherits="CTA_GreyListTemplate" ></Button>
                                                        <Button name="CTA_GreyListItem13" inherits="CTA_GreyListTemplate" ></Button>
                                                        <Button name="CTA_GreyListItem14" inherits="CTA_GreyListTemplate" ></Button>
                                                        <Button name="CTA_GreyListItem15" inherits="CTA_GreyListTemplate" ></Button>
                
                                                        <Button name="$parentPrev">
                                                                <Size>
                                                                        <AbsDimension x="32" y="32"/>
                                                                </Size>
                                                                <Anchors>
                                                                        <Anchor point="BOTTOM">
                                                                                <Offset>
                                                                                        <AbsDimension x="-64" y="0"/>
                                                                                </Offset>
                                                                        </Anchor>
                                                                </Anchors>
                                                                <Scripts>       
                                                                        <OnClick>
                                                                                if( CTA_PlayerListOffset > 0 ) then
                                                                                        CTA_PlayerListOffset = CTA_PlayerListOffset - CTA_MAX_BLACKLIST_ITEMS;
                                                                                        CTA_UpdateGreyListItems();
                                                                                end
                                                                        </OnClick>                                                      
                                                                </Scripts>
                                                                <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up"/>
                                                                <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down"/>
                                                                <DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Disabled"/>
                                                                <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>                     
                                                        </Button>       
                                                        <Button name="$parentNext">
                                                                <Size>
                                                                        <AbsDimension x="32" y="32"/>
                                                                </Size>
                                                                <Anchors>
                                                                        <Anchor point="BOTTOM">
                                                                                <Offset>
                                                                                        <AbsDimension x="64" y="0"/>
                                                                                </Offset>
                                                                        </Anchor>
                                                                </Anchors>
                                                                <Scripts>                                                               
                                                                        <OnClick>
                                                                                if( getn(CTA_BlackList)  > CTA_PlayerListOffset + CTA_MAX_BLACKLIST_ITEMS ) then
                                                                                        CTA_PlayerListOffset = CTA_PlayerListOffset + CTA_MAX_BLACKLIST_ITEMS;
                                                                                        CTA_UpdateGreyListItems();
                                                                                end
                                                                        </OnClick>                                                      
                                                                </Scripts>
                                                                <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
                                                                <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>
                                                                <DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Disabled"/>
                                                                <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>                     
                                                        </Button>
                                                        
                                                        <Frame name="CTA_AddPlayerFrame" inherits="CTA_AbstractDialogFrame" hidden="true">
                                                                <Scripts>
                                                                    <OnLoad>
                                                                        CTA_AddPlayerFrameHeadingLabel:SetText( CTA_ADD_PLAYER );
                                                                        CTA_AddPlayerFrameContentLabel:SetText( CTA_ENTER_PLAYER_NAME );
                                                                        CTA_AddPlayerFrameEditBox:Show();
                                                                        CTA_AddPlayerFrameOkButton:SetText( CTA_OK );
                                                                    </OnLoad>
                                                                </Scripts>      
                                                        </Frame>
                
                                                        
                                                        <Button name="CTA_AddPlayerButton" inherits="CTA_AbstractButton" text="CTA_ADD_PLAYER">
                                                                <Anchors>
                                                                        <Anchor point="BOTTOMRIGHT">
                                                                                <Offset>
                                                                                        <AbsDimension x="-32" y="5"/>
                                                                                </Offset>
                                                                        </Anchor>
                                                                </Anchors>
                                                                <Scripts>
                                                                        <OnClick>
                                                                                CTA_AddPlayerFrame:Show();
                                                                        </OnClick>
                                                                </Scripts>
                                                        </Button>       
                                                        
                                                        <Frame name="CTA_GreyListItemEditFrame" inherits="CTA_OptionFrameBoxTemplate" hidden="true">
                                                                <Size>
                                                                        <AbsDimension x="600" y="64"/>
                                                                </Size>
                                                                <Anchors>
                                                                        <Anchor point="BOTTOM">
                                                                                <Offset>
                                                                                        <AbsDimension x="0" y="32"/>
                                                                                </Offset>
                                                                        </Anchor>
                                                                </Anchors>
                                                                <Layers>
                                                                        <Layer level="ARTWORK"> 
                                                                                <FontString name="$parentTitleLabel" justifyH="LEFT" inherits="GameFontNormalSmall" nonspacewrap="false" text="CTA_PLAYER_NOTE">
                                                                                        <Size>
                                                                                                <AbsDimension x="400" y="32"/>
                                                                                        </Size>
                                                                                        <Anchors>
                                                                                                <Anchor point="TOPLEFT">
                                                                                                        <Offset>
                                                                                                                <AbsDimension x="10" y="-4"/>
                                                                                                        </Offset>
                                                                                                </Anchor>
                                                                                        </Anchors>
                                                                                </FontString>                                                                                                                                                                                                                                           
                                                                        </Layer>
                                                                </Layers>               
                                                                <Frames>
                                                                        <EditBox name="$parentEditBox" inherits="CTA_AbstractEditBox" letters="64">
                                                                                <Size>
                                                                                        <AbsDimension x="400" y="20"/>
                                                                                </Size>
                                                                                <Anchors>
                                                                                        <Anchor point="TOPLEFT" >
                                                                                                <Offset>
                                                                                                        <AbsDimension x="10" y="-32"/>
                                                                                                </Offset>
                                                                                        </Anchor>
                                                                                </Anchors>
                                                                                <FontString inherits="ChatFontNormal"/>
                                                                                <Scripts>
                                                                                        <OnLoad>
                                                                                                this:SetTextInsets(4,0,0,0);
                                                                                                this:SetFocus();
                                                                                        </OnLoad>
                                                                                </Scripts>                              
                                                                        </EditBox>
                                                                        <Button name="$parentEditButton" inherits="CTA_AbstractButton" text="CTA_SAVE">
                                                                                <Anchors>
                                                                                        <Anchor point="TOPRIGHT">
                                                                                                <Offset>
                                                                                                        <AbsDimension x="-10" y="-32"/>
                                                                                                </Offset>
                                                                                        </Anchor>
                                                                                </Anchors>
                                                                                <Scripts>
                                                                                        <OnClick>
                                                                                                CTA_GreyListItemSaveChanges();
                                                                                        </OnClick>
                                                                                </Scripts>
                                                                        </Button>       
                                                                        <Button name="$parentDeleteButton" inherits="CTA_AbstractButton" text="CTA_DELETE">
                                                                                <Anchors>
                                                                                        <Anchor point="TOPRIGHT">
                                                                                                <Offset>
                                                                                                        <AbsDimension x="-10" y="-8"/>
                                                                                                </Offset>
                                                                                        </Anchor>
                                                                                </Anchors>
                                                                                <Scripts>
                                                                                        <OnClick>
                                                                                                CTA_DeletePlayer();
                                                                                        </OnClick>
                                                                                </Scripts>
                                                                        </Button>               
                                                                                                                
                                                                        <Button name="$parentCloseButton" inherits="CTA_AbstractButton" text="CTA_CANCEL">
                                                                                <Anchors>
                                                                                        <Anchor point="TOPRIGHT">
                                                                                                <Offset>
                                                                                                        <AbsDimension x="-100" y="-32"/>
                                                                                                </Offset>
                                                                                        </Anchor>
                                                                                </Anchors>
                                                                                <Scripts>
                                                                                        <OnClick>
                                                                                                CTA_GreyListItemEditFrame:Hide();
                                                                                        </OnClick>                              
                                                                                </Scripts>
                                                                        </Button>       
                                                                </Frames>               
                                                        </Frame>
                                                        
                                                </Frames>                                           
                                                <Scripts>
                                                    <OnLoad>
                                                                CTA_GreyListItemEditFrameTitle:SetText( "" ); --CTA_EDIT_PLAYER );
                                                                
                                                        CTA_GreyListItem0:SetPoint( "TOP", "CTA_GreyListFrame", "TOP", 0, -48 );
                                                        for i = 1, 15 do
                                                                getglobal( "CTA_GreyListItem"..i ):SetPoint( "TOP", "CTA_GreyListItem"..(i-1), "BOTTOM", 0, 0 );
                                                        end
                                                                CTA_GreyListFrameTitleLabel:SetText( CTA_CALL_TO_ARMS.." - "..CTA_PLAYER_LIST );
                                                    </OnLoad>
                                                </Scripts>                              
                                        </Frame>                        
                
                
                
                
                                        <!-- Log Frame -->                                                      
                                        <Frame name = "CTA_LogFrame" hidden="true">
                                                <Size>
                                                        <AbsDimension x="640" y="480"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOP">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="-16"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Layers>
                                                        <Layer level="ARTWORK"> 
                                                                <FontString inherits="CTA_TitleFont" name="$parentTitleLabel" nonspacewrap="false" maxLines="1" hidden="true">
                                                                        <Size>
                                                                                <AbsDimension x="300" y="32"/>
                                                                        </Size>
                                                                        <Anchors>
                                                                                <Anchor point="TOP">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="-3"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                </FontString>                   
                                                        </Layer>
                                                </Layers>                               
                                                <Frames>
                                                        <Frame name="$parentInternalFrame" inherits="CTA_OptionFrameBoxTemplate">
                                                                <Size>
                                                                        <AbsDimension x="600" y="400"/>
                                                                </Size>
                                                                <Anchors>
                                                                        <Anchor point="TOP">
                                                                                <Offset>
                                                                                        <AbsDimension x="0" y="-64"/>
                                                                                </Offset>
                                                                        </Anchor>
                                                                </Anchors>      
                                                                <Frames>        
                                                                
                                                                        <ScrollingMessageFrame name="CTA_Log" displayDuration="1200.0" maxLines="128">
                                                                                <Anchors>
                                                                                        <Anchor point="TOPLEFT">
                                                                                                <Offset>
                                                                                                        <AbsDimension x="40" y="-20"/>
                                                                                                </Offset>
                                                                                        </Anchor>
                                                                                        <Anchor point="BOTTOMRIGHT">
                                                                                                <Offset>
                                                                                                        <AbsDimension x="-40" y="20"/>
                                                                                                </Offset>
                                                                                        </Anchor>
                                                                                </Anchors>                                              
                                                                                <Frames>
                                                                                        <Button name="$parentBottomButton">
                                                                                                <Size>
                                                                                                        <AbsDimension x="32" y="32"/>
                                                                                                </Size>
                                                                                                <Anchors>
                                                                                                        <Anchor point="BOTTOMLEFT">
                                                                                                                <Offset>
                                                                                                                        <AbsDimension x="-32" y="-4"/>
                                                                                                                </Offset>
                                                                                                        </Anchor>
                                                                                                </Anchors>
                                                                                                <Layers>
                                                                                                        <Layer level="OVERLAY">
                                                                                                                <Texture name="$parentFlash" file="Interface\ChatFrame\UI-ChatIcon-BlinkHilight" hidden="true"/>
                                                                                                        </Layer>
                                                                                                </Layers>
                                                                                                <Scripts>
                                                                                                        <OnClick>
                                                                                                                PlaySound("igChatBottom");
                                                                                                                this:GetParent():ScrollToBottom();
                                                                                                        </OnClick>
                                                                                                </Scripts>
                                                                                                <NormalTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollEnd-Up"/>
                                                                                                <PushedTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollEnd-Down"/>
                                                                                                <DisabledTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollEnd-Disabled"/>
                                                                                                <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
                                                                                        </Button>
                                                                                        <Button name="$parentDownButton">
                                                                                                <Size>
                                                                                                        <AbsDimension x="32" y="32"/>
                                                                                                </Size>
                                                                                                <Anchors>
                                                                                                        <Anchor point="BOTTOM" relativeTo="$parentBottomButton" relativePoint="TOP">
                                                                                                                <Offset>
                                                                                                                        <AbsDimension x="0" y="-2"/>
                                                                                                                </Offset>
                                                                                                        </Anchor>
                                                                                                </Anchors>
                                                                                                <Scripts>
                                                                                                        <OnLoad>
                                                                                                                MessageFrameScrollButton_OnLoad();
                                                                                                        </OnLoad>
                                                                                                        <OnUpdate>
                                                                                                                MessageFrameScrollButton_OnUpdate(arg1);
                                                                                                        </OnUpdate>
                                                                                                        <OnClick>
                                                                                                                if ( this:GetButtonState() == "PUSHED" ) then
                                                                                                                        this.clickDelay = MESSAGE_SCROLLBUTTON_INITIAL_DELAY;
                                                                                                                else
                                                                                                                        PlaySound("igChatScrollDown");
                                                                                                                        this:GetParent():ScrollDown();
                                                                                                                end
                                                                                                        </OnClick>
                                                                                                </Scripts>
                                                                                                <NormalTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Up"/>
                                                                                                <PushedTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Down"/>
                                                                                                <DisabledTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Disabled"/>
                                                                                                <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
                                                                                        </Button>
                                                                                        <Button name="$parentUpButton">
                                                                                                <Size>
                                                                                                        <AbsDimension x="32" y="32"/>
                                                                                                </Size>
                                                                                                <Anchors>
                                                                                                        <Anchor point="BOTTOM" relativeTo="$parentDownButton" relativePoint="TOP"/>
                                                                                                </Anchors>
                                                                                                <Scripts>
                                                                                                        <OnLoad>
                                                                                                                MessageFrameScrollButton_OnLoad();
                                                                                                        </OnLoad>
                                                                                                        <OnUpdate>
                                                                                                                MessageFrameScrollButton_OnUpdate(arg1);
                                                                                                        </OnUpdate>
                                                                                                        <OnClick>
                                                                                                                if ( this:GetButtonState() == "PUSHED" ) then
                                                                                                                        this.clickDelay = MESSAGE_SCROLLBUTTON_INITIAL_DELAY;
                                                                                                                else
                                                                                                                        PlaySound("igChatScrollUp");
                                                                                                                        this:GetParent():ScrollUp();
                                                                                                                end
                                                                                                        </OnClick>
                                                                                                </Scripts>
                                                                                                <NormalTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollUp-Up"/>
                                                                                                <PushedTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollUp-Down"/>
                                                                                                <DisabledTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollUp-Disabled"/>
                                                                                                <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
                                                                                        </Button>
                                                                                        
                                                                                </Frames>
                                                                                <Scripts>
                                                                                        <OnHyperlinkClick>
                                                                                                ChatFrame_OnHyperlinkShow(arg1, arg2, arg3);
                                                                                        </OnHyperlinkClick>
                                                                                </Scripts>
                                                                                <FontString justifyH="LEFT" font="Fonts\ARIALN.TTF">
                                                                                        <FontHeight>
                                                                                                <AbsValue val="12"/>
                                                                                        </FontHeight>
                                                                                        <Shadow>
                                                                                                <Offset>
                                                                                                        <AbsDimension x="1" y="-1"/>
                                                                                                </Offset>
                                                                                                <Color r="0" g="0" b="0" a="0.5"/>
                                                                                        </Shadow>
                                                                                </FontString>                                                           
                                                                        </ScrollingMessageFrame>                                                
                                                                
                                                                </Frames>                       
                                                        </Frame>
                                                </Frames>
                                                <Scripts>
                                                    <OnLoad>    
                                                                CTA_LogFrameInternalFrameTitle:SetText( CTA_LOG_AND_MONITOR );
                                                                CTA_LogFrameTitleLabel:SetText( CTA_CALL_TO_ARMS.." - "..CTA_LOG );
                                                    </OnLoad>
                                                </Scripts>                                                              
                                        </Frame>
                
                
                
                                        
                                        <!-- Settings Frame -->                                                 
                                        <Frame name = "CTA_SettingsFrame" hidden="true">
                                                <Size>
                                                        <AbsDimension x="640" y="480"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOP">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="-16"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Layers>
                                                        <Layer level="ARTWORK"> 
                                                                <FontString inherits="CTA_TitleFont" name="$parentTitleLabel" nonspacewrap="false" maxLines="1" hidden="true">
                                                                        <Size>
                                                                                <AbsDimension x="300" y="32"/>
                                                                        </Size>
                                                                        <Anchors>
                                                                                <Anchor point="TOP">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="-3"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                </FontString>                   
                                                        </Layer>
                                                </Layers>
                                                <Frames>
                
                                                        <Frame name="$parentMinimapSettings" inherits="CTA_OptionFrameBoxTemplate">
                                                                <Size>
                                                                        <AbsDimension x="600" y="128"/>
                                                                </Size>
                                                                <Anchors>
                                                                        <Anchor point="TOP">
                                                                                <Offset>
                                                                                        <AbsDimension x="0" y="-64"/>
                                                                                </Offset>
                                                                        </Anchor>
                                                                </Anchors>      
                                                                <Frames>
                                                                        <Slider name="CTA_MinimapArcSlider"  inherits="OptionsSliderTemplate">
                                                                                <Size>
                                                                                        <AbsDimension x="360" y="16"/>
                                                                                </Size>
                                                                                <Anchors>
                                                                                        <Anchor point="TOPLEFT">
                                                                                                <Offset>
                                                                                                        <AbsDimension x="24" y="-24" />
                                                                                                </Offset>
                                                                                        </Anchor>
                                                                                </Anchors>
                                                                                <Scripts>
                                                                                        <OnLoad>
                                                                                                getglobal(this:GetName().."Text"):SetText(CTA_ICON.." - "..CTA_ADJUST_ANGLE);
                                                                                                getglobal(this:GetName().."High"):SetText("360");
                                                                                                getglobal(this:GetName().."Low"):SetText("0");
                                                                                                this:SetMinMaxValues(0,360);
                                                                                                this:SetValueStep(1);
                                                                                        </OnLoad>
                                                                                        <OnValueChanged>
                                                                                                CTA_SavedVariables.MinimapArcOffset = this:GetValue();
                                                                                                CTA_UpdateMinimapIcon();
                                                                                                CTA_IconMsg( floor(this:GetValue() ));                                                          
                                                                                        </OnValueChanged>
                                                                                </Scripts>
                                                                        </Slider>
                                                                        <Slider name="CTA_MinimapRadiusSlider"  inherits="OptionsSliderTemplate">
                                                                                <Size>
                                                                                        <AbsDimension x="160" y="16"/>
                                                                                </Size>
                                                                                <Anchors>
                                                                                        <Anchor point="TOPRIGHT">
                                                                                                <Offset>
                                                                                                        <AbsDimension x="-24" y="-24" />
                                                                                                </Offset>
                                                                                        </Anchor>
                                                                                </Anchors>
                                                                                <Scripts>
                                                                                        <OnLoad>
                                                                                                getglobal(this:GetName().."Text"):SetText(CTA_ICON.." - "..CTA_ADJUST_RADIUS);
                                                                                                getglobal(this:GetName().."High"):SetText("160");
                                                                                                getglobal(this:GetName().."Low"):SetText("0");
                                                                                                this:SetMinMaxValues(0,160);
                                                                                                this:SetValueStep(1);
                                                                                        </OnLoad>
                                                                                        <OnValueChanged>
                                                                                                CTA_SavedVariables.MinimapRadiusOffset = this:GetValue();
                                                                                                CTA_UpdateMinimapIcon();
                                                                                                CTA_IconMsg( floor(this:GetValue() ));                                                          
                                                                                        </OnValueChanged>
                                                                                </Scripts>
                                                                        </Slider>
                                                                        
                                                                        <Slider name="CTA_MinimapMsgArcSlider" inherits="OptionsSliderTemplate">
                                                                                <Size>
                                                                                        <AbsDimension x="360" y="16"/>
                                                                                </Size>
                                                                                <Anchors>
                                                                                        <Anchor point="TOPLEFT">
                                                                                                <Offset>
                                                                                                        <AbsDimension x="24" y="-56" />
                                                                                                </Offset>
                                                                                        </Anchor>
                                                                                </Anchors>
                                                                                <Scripts>
                                                                                        <OnLoad>
                                                                                                getglobal(this:GetName().."Text"):SetText(CTA_ICON_TEXT.." - "..CTA_ADJUST_ANGLE);
                                                                                                getglobal(this:GetName().."High"):SetText("360");
                                                                                                getglobal(this:GetName().."Low"):SetText("0");
                                                                                                this:SetMinMaxValues(0,360);
                                                                                                this:SetValueStep(1);
                                                                                        </OnLoad>
                                                                                        <OnValueChanged>
                                                                                                CTA_SavedVariables.MinimapMsgArcOffset = this:GetValue();
                                                                                                CTA_UpdateMinimapIcon();
                                                                                                CTA_IconMsg( floor(this:GetValue()) );
                                                                                        </OnValueChanged>
                                                                                </Scripts>
                                                                        </Slider>
                                                                        <Slider name="CTA_MinimapMsgRadiusSlider" inherits="OptionsSliderTemplate">
                                                                                <Size>
                                                                                        <AbsDimension x="160" y="16"/>
                                                                                </Size>
                                                                                <Anchors>
                                                                                        <Anchor point="TOPRIGHT">
                                                                                                <Offset>
                                                                                                        <AbsDimension x="-24" y="-56" />
                                                                                                </Offset>
                                                                                        </Anchor>
                                                                                </Anchors>
                                                                                <Scripts>
                                                                                        <OnLoad>
                                                                                                getglobal(this:GetName().."Text"):SetText(CTA_ICON_TEXT.." - "..CTA_ADJUST_RADIUS);
                                                                                                getglobal(this:GetName().."High"):SetText("160");
                                                                                                getglobal(this:GetName().."Low"):SetText("0");
                                                                                                this:SetMinMaxValues(0,160);
                                                                                                this:SetValueStep(1);
                                                                                        </OnLoad>
                                                                                        <OnValueChanged>
                                                                                                CTA_SavedVariables.MinimapMsgRadiusOffset = this:GetValue();
                                                                                                CTA_UpdateMinimapIcon();
                                                                                                CTA_IconMsg( floor(this:GetValue() ));                                                          
                                                                                        </OnValueChanged>
                                                                                </Scripts>
                                                                        </Slider>       
                                                                        
                                                                        <Slider name="CTA_FrameTransparencySlider" inherits="OptionsSliderTemplate">
                                                                                <Size>
                                                                                        <AbsDimension x="552" y="16"/>
                                                                                </Size>
                                                                                <Anchors>
                                                                                        <Anchor point="TOP">
                                                                                                <Offset>
                                                                                                        <AbsDimension x="0" y="-88" />
                                                                                                </Offset>
                                                                                        </Anchor>
                                                                                </Anchors>
                                                                                <Scripts>
                                                                                        <OnLoad>
                                                                                                getglobal(this:GetName().."Text"):SetText( CTA_ADJUST_TRANSPARENCY );
                                                                                                getglobal(this:GetName().."High"):SetText("100");
                                                                                                getglobal(this:GetName().."Low"):SetText("0");
                                                                                                this:SetMinMaxValues(0.1,1);
                                                                                                this:SetValueStep(0.002);
                                                                                        </OnLoad>
                                                                                        <OnValueChanged>
                                                                                                CTA_SavedVariables.MainFrameTransparency = this:GetValue();
                                                                                                CTA_MainFrame:SetAlpha( this:GetValue() );
                                                                                                CTA_IconMsg( floor( 100 * this:GetValue() ));                                                           
                                                                                        </OnValueChanged>
                                                                                </Scripts>
                                                                        </Slider>                                                                               
                                                                </Frames>                       
                                                        </Frame>
                                                        
                                                        <Frame name="CTA_SettingsFrameLFxSettings" inherits="CTA_OptionFrameBoxTemplate">
                                                                <Size>
                                                                        <AbsDimension x="600" y="192"/>
                                                                </Size>
                                                                <Anchors>
                                                                        <Anchor point="TOP" relativeTo="CTA_SettingsFrameMinimapSettings" relativePoint="BOTTOM">
                                                                                <Offset>
                                                                                        <AbsDimension x="0" y="-24"/>
                                                                                </Offset>
                                                                        </Anchor>
                                                                </Anchors>
                                                                <Layers>
                                                                        <Layer level="ARTWORK">
                                                                                <FontString inherits="GameFontNormalSmall" nonspacewrap="false" text="CTA_CHANNEL_MONITORING_NOTE">
                                                                                        <Size>
                                                                                                <AbsDimension x="540" y="96"/>
                                                                                        </Size>
                                                                                        <Anchors>
                                                                                                <Anchor point="TOP">
                                                                                                        <Offset>
                                                                                                                <AbsDimension x="0" y="-80"/>
                                                                                                        </Offset>
                                                                                                </Anchor>
                                                                                        </Anchors>
                                                                                </FontString>
                                                                        </Layer>
                                                                </Layers>       
                                                                <Frames>
        
                                                                        <CheckButton name="CTA_MonitorChatCheckButton" inherits="CTA_AbstractLabelCheckButton">
                                                                                <Anchors>
                                                                                        <Anchor point="TOP">
                                                                                                <Offset>
                                                                                                        <AbsDimension x="-250" y="-16"/>
                                                                                                </Offset>
                                                                                        </Anchor>
                                                                                </Anchors>
                                                                                <Scripts>
                                                                                        <OnClick>                                                               
                                                                                        </OnClick>
                                                                                        <OnLoad>
                                                                                                getglobal( this:GetName().."TextLabel" ):SetWidth( 500 );
                                                                                                getglobal( this:GetName().."TextLabel" ):SetText( CTA_FORWARD_LFX );
                                                                                                this:SetChecked(1);
                                                                                        </OnLoad>
                                                                                </Scripts>                                                      
                                                                        </CheckButton>

                                                                        <EditBox name="CTA_SearchFrameLFGTriggerEditBox" inherits="CTA_AbstractLabelEditBox" letters="128">
                                                                                <Anchors>
                                                                                        <Anchor point="TOPLEFT">
                                                                                                <Offset>
                                                                                                        <AbsDimension x="300" y="-40"/>
                                                                                                </Offset>
                                                                                        </Anchor>
                                                                                </Anchors>
                                                                                <Scripts>
                                                                                        <OnLoad>
                                                                                                this:SetTextInsets(4,0,0,0);
                                                                                                this:SetWidth( 200 );
                                                                                                getglobal( this:GetName().."TextLabel" ):SetText( CTA_LFG_TRIGGER );
                                                                                        </OnLoad>
                                                                                </Scripts>                              
                                                                        </EditBox>                      
                
                                
                                                                        <EditBox name="CTA_SearchFrameLFMTriggerEditBox" inherits="CTA_AbstractLabelEditBox" letters="128">
                                                                                <Anchors>
                                                                                        <Anchor point="TOPLEFT">
                                                                                                <Offset>
                                                                                                        <AbsDimension x="300" y="-72"/>
                                                                                                </Offset>
                                                                                        </Anchor>
                                                                                </Anchors>
                                                                                <Scripts>
                                                                                        <OnLoad>
                                                                                                this:SetTextInsets(4,0,0,0);
                                                                                                this:SetWidth( 200 );
                                                                                                getglobal( this:GetName().."TextLabel" ):SetText( CTA_LFM_TRIGGER );
                                                                                        </OnLoad>
                                                                                </Scripts>                              
                                                                        </EditBox>      
                                                                                        
                                                                        <Button name="CTA_UpdateLFxButtonButton" inherits="CTA_AbstractButton" text="CTA_UPDATE_LFX">
                                                                                <Anchors>
                                                                                        <Anchor point="BOTTOM">
                                                                                                <Offset>
                                                                                                        <AbsDimension x="0" y="16"/>
                                                                                                </Offset>
                                                                                        </Anchor>
                                                                                </Anchors>
                                                                                <Scripts>
                                                                                    <OnLoad>    
                                                                                    </OnLoad>
                                                                                        <OnClick>
                                                                                                CTA_UpdateLFxButtonButton_OnClick();
                                                                                                CTA_SearchFrameLFGTriggerEditBox:SetText( CTA_SavedVariables.lfgTrigger );
                                                                                                CTA_SearchFrameLFMTriggerEditBox:SetText( CTA_SavedVariables.lfmTrigger );
                                                                                        </OnClick>
                                                                                </Scripts>
                                                                        </Button>
                                                        
                                                                </Frames>                       
                                                        </Frame>                                
                                                </Frames>                                           
                                                <Scripts>
                                                    <OnLoad>    
                                                                CTA_SettingsFrameMinimapSettingsTitle:SetText( CTA_MINIMAP_ICON_SETTINGS );
                                                                CTA_SettingsFrameLFxSettingsTitle:SetText( CTA_CHANNEL_MONITORING );
                                                                CTA_SettingsFrameTitleLabel:SetText( CTA_CALL_TO_ARMS.." - "..CTA_SETTINGS );
                                                    </OnLoad>
                                                </Scripts>                              
                                        </Frame>                        
                                        
                                </Frames>
                        </Frame>
                                
                                                                                                                                                                                                
                </Frames>       
            <Scripts>
                    <OnDragStart>
                      this:StartMoving();
                    </OnDragStart>
                    <OnDragStop>
                      this:StopMovingOrSizing();
                    </OnDragStop>
                    <OnLoad>                    
                      this:RegisterForDrag("LeftButton");
                      tinsert(UISpecialFrames,this:GetName());
                      this:SetAlpha( 0.85 );
                    </OnLoad>
                </Scripts>                              
        </Frame>


        <Frame name = "CTA_ErrorReportingFrame" inherits="CTA_AbstractWindow" toplevel="true" enableMouse="true" frameStrata="DIALOG" hidden="true">
                <Size>
                        <AbsDimension x="320" y="180"/>
                </Size>
                <Anchors>
                        <Anchor point="TOP">
                                <Offset>
                                        <AbsDimension x="0" y="-120"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Layers>
                        <Layer level="ARTWORK"> 
                                <FontString inherits="GameFontNormalSmall" name="$parentContentLabel" nonspacewrap="false" text="CTA_ERROR_REPORT">
                                        <Size>
                                                <AbsDimension x="300" y="32"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-8"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>                                                                                   
                        </Layer>
                </Layers>               
                <Frames>
                        <EditBox name="$parentEditBox" autoFocus="false" multiLine="true">              
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="16" y="-48"/>
                                                </Offset>
                                        </Anchor>
                                        <Anchor point="BOTTOMRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-16" y="48"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="ARTWORK"> 
                                                <Texture>
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="1" y="-1"/>
                                                                        </Offset>
                                                                </Anchor>
                                                                <Anchor point="BOTTOMRIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="-1" y="1"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>                                      
                                                        <Color r="0.0" g="0.0" b="0.0" a="0.5"/>
                                                </Texture>                                                                                      
                                        </Layer>
                                </Layers>       
                                <FontString inherits="CTA_ListItemFont" nonspacewrap="true"/>
                                <Scripts>
                                        <OnLoad>
                                                this:SetTextInsets(4,-4,-4,4);
                                        </OnLoad>
                                </Scripts>                                                              
                        </EditBox>      
                        <Button name="$parentCloseButton" inherits="CTA_AbstractButton" text="CTA_OK">
                                <Anchors>
                                        <Anchor point="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="16"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                this:GetParent():Hide();
                                        </OnClick>                              
                                </Scripts>
                        </Button>       
                </Frames>       
        </Frame>


        
        <!-- Sneaky Frame -->   
        <Frame name="CTA_SneakyFrame"  frameStrata="BACKGROUND" parent="UIParent">      
                <Size>
                        <AbsDimension x="1" y="1"/>
                </Size>
                <Anchors>
                        <Anchor point="TOPLEFT">
                                <Offset>
                                        <AbsDimension x="0" y="0"/>
                                </Offset>
                        </Anchor>
                </Anchors>      
                <Scripts>
                        <OnLoad>
                                this:Show();
                                CTA_OnLoad();                           
                        </OnLoad>
                        <OnEvent>
                                CTA_OnEvent(event);
                        </OnEvent>      
                        <OnUpdate>
                                CTA_OnUpdate(arg1);
                        </OnUpdate>     
                </Scripts>
        </Frame>

        <!--
                <Frame name="$parentInternalFrame" inherits="CTA_OptionFrameBoxTemplate">
                        <Size>
                                <AbsDimension x="600" y="400"/>
                        </Size>
                        <Anchors>
                                <Anchor point="TOP">
                                        <Offset>
                                                <AbsDimension x="0" y="-64"/>
                                        </Offset>
                                </Anchor>
                        </Anchors>      
                        <Frames>
                                
                        </Frames>
                        <Scripts>
                            <OnLoad>    
                                        getglobal( this:GetName().."Title" ):SetText( "InternalFrame" );
                            </OnLoad>
                        </Scripts>                                                              
                </Frame>
        -->
</Ui>