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

<script file="Localisation.lua"/>
<script file="Localisation.de.lua"/>
<Script file="NotesUNeed.lua"/>


<!-- Templates -->
        <Button name="NuNButtonTemplate" inherits="UIPanelButtonTemplate" virtual="true">
                <Size>
                        <AbsDimension x="88" y="21"/>
                </Size>
                <NormalText inherits="GameFontNormal"/>
                <DisabledText inherits="GameFontDisable"/>
                <HighlightText inherits="GameFontNormal"/>
        </Button>

        <Button name="NuNOptionsButtonTemplate" inherits="UIPanelButtonTemplate2" virtual="true">
                <Size>
                        <AbsDimension x="180" y="21"/>
                </Size>
                <NormalText inherits="GameFontNormal"/>
                <DisabledText inherits="GameFontDisable"/>
                <HighlightText inherits="GameFontNormal"/>
        </Button>

        <Button name="NuNDetailTitleButtonTemplate" virtual="true">
                <Size>
                        <AbsDimension x="159" y="14"/>
                </Size>
                <Frames>
                        <Frame name="$parentButtonText" setAllPoints="true">
                                <Layers>
                                        <Layer level="BORDER">
                                                <FontString name="$parentHeading" inherits="GameFontNormalSmall" justifyH="LEFT">
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                        </Frame>
                </Frames>
                <Scripts>
                        <OnClick>
                                NuNUserButton_OnClick(this);
                        </OnClick>
                        <OnEnter>
                                NuN_UserButtons_OnEnter(this);
                        </OnEnter>
                        <OnLeave>
                                NuN_TTButton_OnLeave();
                        </OnLeave>
                </Scripts>
                <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
        </Button>

        <Button name="NuNDetailInforButtonTemplate" virtual="true">
                <Size>
                        <AbsDimension x="155" y="12"/>
                </Size>
                <Frames>
                        <Frame name="$parentButtonText" setAllPoints="true">
                                <Layers>
                                        <Layer level="BORDER">
                                                <FontString name="$parentDetail" inherits="GameFontHighlightSmall" justifyH="LEFT">
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="4" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                        </Frame>
                </Frames>
                <Scripts>
                        <OnClick>
                                NuNUserButton_OnClick(this);
                        </OnClick>
                        <OnEnter>
                                NuN_UserButtons_OnEnter(this);
                        </OnEnter>
                        <OnLeave>
                                NuN_TTButton_OnLeave();
                        </OnLeave>
                </Scripts>
                <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
        </Button>

        <Button name="NuNSearchNoteTemplate" virtual="true">
                <Size>
                        <AbsDimension x="300" y="16"/>
                </Size>
                <Frames>
                        <Frame name="$parentFrame" setAllPoints="true">
                                <Layers>
                                        <Layer level="ARTWORK">
                                                <Texture name="$parentHFlag" file="Interface\AddOns\NotesUNeed\Artwork\tHorde" hidden="true">
                                                        <Size>
                                                                <AbsDimension x="18" y="18"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="RIGHT">
                                                                </Anchor>
                                                        </Anchors>
                                                </Texture>
                                                <Texture name="$parentAFlag" file="Interface\Addons\NotesUNeed\Artwork\tAlliance" hidden="true">
                                                        <Size>
                                                                <AbsDimension x="18" y="18"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="RIGHT">
                                                                </Anchor>
                                                        </Anchors>
                                                </Texture>
                                                <Texture name="$parentNFlag" file="Interface\Buttons\UI-GuildButton-PublicNote-Up" hidden="true">
                                                        <Size>
                                                                <AbsDimension x="12" y="12"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="-3" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Texture>
                                                <Texture name="$parentLFlag" file="Interface\Buttons\UI-CheckBox-Check" hidden="true">
                                                        <Size>
                                                                <AbsDimension x="16" y="16"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="-1"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Texture>
                                                <FontString name="$parentType" inherits="GameFontNormalSmall" text="   ">
                                                        <Anchors>
                                                                <Anchor point="RIGHT" relativeTo="$parentHFlag" relativePoint="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="-2" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                        </Frame>
                </Frames>
                <Scripts>
                        <OnLoad>
                                this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
                        </OnLoad>
                        <OnClick>
                                NuNSearchNote_OnClick(this);
                        </OnClick>
                        <OnEnter>
                                NuNSearchNote_OnEnter(this);
                        </OnEnter>
                        <OnLeave>
                                NuN_TTButton_OnLeave();
                        </OnLeave>
                </Scripts>
                <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
                <NormalText name="$parentText" inherits="GameFontNormal" justifyH="LEFT">
                        <Size>
                                <AbsDimension x="275" y="12"/>
                        </Size>
                        <Anchors>
                                <Anchor point="LEFT">
                                        <Offset>
                                                <AbsDimension x="20" y="0"/>
                                        </Offset>
                                </Anchor>
                        </Anchors>
                </NormalText>
        </Button>


        <Button name="NuN_NoteButtonTemplate" virtual="true" hidden="false">
                <Size>
                        <AbsDimension x="16" y="16"/>
                </Size>
                <Anchors>
                        <Anchor point="RIGHT" relativePoint="LEFT">
                                <Offset>
                                        <AbsDimension x="295" y="0"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Frames>
                        <Frame name="$parentFrame" setAllPoints="true">
                                <Layers>
                                        <Layer level="ARTWORK">
                                                <Texture name="$parentHFlag" file="Interface\AddOns\NotesUNeed\Artwork\tHorde" hidden="true">
                                                        <Size>
                                                                <AbsDimension x="18" y="18"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="2" y="-2"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Texture>
                                                <Texture name="$parentAFlag" file="Interface\Addons\NotesUNeed\Artwork\tAlliance" hidden="true">
                                                        <Size>
                                                                <AbsDimension x="18" y="18"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="2" y="-2"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Texture>
                                                <Texture name="$parentNFlag" file="Interface\Buttons\UI-GuildButton-PublicNote-Disabled" hidden="true">
                                                        <Size>
                                                                <AbsDimension x="12" y="12"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="-2" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Texture>
                                        </Layer>
                                </Layers>
                        </Frame>
                </Frames>
                <Scripts>
                        <OnClick>
                                NuN_NoteButton_OnInteract(this:GetID(), "Click");
                        </OnClick>
                        <OnEnter>
                                NuN_Tooltip:SetOwner(this, "ANCHOR_RIGHT");
                                NuN_NoteButton_OnInteract(this:GetID(), "MouseOver");
                        </OnEnter>
                        <OnLeave>
                                NuN_TTButton_OnLeave();
                        </OnLeave>
                </Scripts>
                <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
        </Button>

        <Button name="NuN_NoteButtonTemplate2" virtual="true" hidden="false">
                <Size>
                        <AbsDimension x="16" y="16"/>
                </Size>
                <Anchors>
                        <Anchor point="RIGHT" relativePoint="LEFT">
                                <Offset>
                                        <AbsDimension x="295" y="-2"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Frames>
                        <Frame name="$parentFrame" setAllPoints="true">
                                <Layers>
                                        <Layer level="ARTWORK">
                                                <Texture name="$parentHFlag" file="Interface\AddOns\NotesUNeed\Artwork\tHorde" hidden="true">
                                                        <Size>
                                                                <AbsDimension x="18" y="18"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="2" y="-2"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Texture>
                                                <Texture name="$parentAFlag" file="Interface\Addons\NotesUNeed\Artwork\tAlliance" hidden="true">
                                                        <Size>
                                                                <AbsDimension x="18" y="18"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="2" y="-2"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Texture>
                                                <Texture name="$parentNFlag" file="Interface\Buttons\UI-GuildButton-PublicNote-Disabled" hidden="true">
                                                        <Size>
                                                                <AbsDimension x="12" y="12"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="-2" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Texture>
                                        </Layer>
                                </Layers>
                        </Frame>
                </Frames>
                <Scripts>
                        <OnClick>
                                NuN_NoteButton_OnInteract(this:GetID(), "Click");
                        </OnClick>
                        <OnEnter>
                                NuN_Tooltip:SetOwner(this, "ANCHOR_RIGHT");
                                NuN_NoteButton_OnInteract(this:GetID(), "MouseOver");
                        </OnEnter>
                        <OnLeave>
                                NuN_TTButton_OnLeave();
                        </OnLeave>
                </Scripts>
                <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
        </Button>

        <Button name="NuN_NoteButtonTemplate3" virtual="true" hidden="false">
                <Size>
                        <AbsDimension x="16" y="16"/>
                </Size>
                <Anchors>
                        <Anchor point="RIGHT" relativePoint="LEFT">
                                <Offset>
                                        <AbsDimension x="305" y="-2"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Frames>
                        <Frame name="$parentFrame" setAllPoints="true">
                                <Layers>
                                        <Layer level="ARTWORK">
                                                <Texture name="$parentHFlag" file="Interface\AddOns\NotesUNeed\Artwork\tHorde" hidden="true">
                                                        <Size>
                                                                <AbsDimension x="18" y="18"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="2" y="-2"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Texture>
                                                <Texture name="$parentAFlag" file="Interface\Addons\NotesUNeed\Artwork\tAlliance" hidden="true">
                                                        <Size>
                                                                <AbsDimension x="18" y="18"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="2" y="-2"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Texture>
                                                <Texture name="$parentNFlag" file="Interface\Buttons\UI-GuildButton-PublicNote-Disabled" hidden="true">
                                                        <Size>
                                                                <AbsDimension x="12" y="12"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="-2" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Texture>
                                        </Layer>
                                </Layers>
                        </Frame>
                </Frames>
                <Scripts>
                        <OnClick>
                                NuN_NoteButton_OnInteract(this:GetID(), "Click");
                        </OnClick>
                        <OnEnter>
                                NuN_Tooltip:SetOwner(this, "ANCHOR_RIGHT");
                                NuN_NoteButton_OnInteract(this:GetID(), "MouseOver");
                        </OnEnter>
                        <OnLeave>
                                NuN_TTButton_OnLeave();
                        </OnLeave>
                </Scripts>
                <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
        </Button>

        <Button name="NuN_NoteButtonTemplate4" virtual="true" hidden="false">
                <Size>
                        <AbsDimension x="16" y="16"/>
                </Size>
                <Anchors>
                        <Anchor point="RIGHT" relativePoint="LEFT">
                                <Offset>
                                        <AbsDimension x="228" y="-1"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Frames>
                        <Frame name="$parentFrame" setAllPoints="true">
                                <Layers>
                                        <Layer level="ARTWORK">
                                                <Texture name="$parentNFlag" file="Interface\Buttons\UI-GuildButton-PublicNote-Disabled" hidden="true">
                                                        <Size>
                                                                <AbsDimension x="12" y="12"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="-2" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Texture>
                                                <Texture name="$parentQFlag" file="Interface\Buttons\UI-GuildButton-PublicNote-Up" hidden="true">
                                                        <Size>
                                                                <AbsDimension x="12" y="12"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="-2" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Texture>
                                        </Layer>
                                </Layers>
                        </Frame>
                </Frames>
                <Scripts>
                        <OnClick>
                                NuN_NoteButton_OnInteract(this:GetID(), "Click");
                        </OnClick>
                        <OnEnter>
                                NuN_Tooltip:SetOwner(this, "ANCHOR_RIGHT");
                                NuN_NoteButton_OnInteract(this:GetID(), "MouseOver");
                        </OnEnter>
                        <OnLeave>
                                NuN_TTButton_OnLeave();
                        </OnLeave>
                </Scripts>
                <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
        </Button>

        <Button name="NuNPopupButtonTemplate" virtual="true" hidden="true">
                <Size>
                        <AbsDimension x="64" y="12"/>
                </Size>
                <Scripts>
                        <OnLoad>
                                this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
                        </OnLoad>
                        <OnClick>
                                NuNPopup_OnClick(arg1, this:GetText());
                        </OnClick>
                        <OnEnter>
                                NuN_MapTooltipShow(this.note, "NuNPopup", NuNPopup.point, NuNPopup.relativePoint);
                        </OnEnter>
                        <OnLeave>
                                NuN_MapTooltip:Hide();
                        </OnLeave>
                </Scripts>
                <NormalText inherits="GameFontNormal"/>
                <HighlightText inherits="GameFontHighlight"/>
                <DisabledText inherits="GameFontDisable"/>
        </Button>

<!-- Main NuN Frame for displaying and editing note details -->
<!-- f1  -->
        <Frame name="NuNFrame" toplevel="true" enableMouse="true" movable="true" parent="UIParent" hidden="true">
                <TitleRegion setAllPoints="true"/>
                <Size>
                        <AbsDimension x="640" y="512"/>
                </Size>
                <Anchors>
                        <Anchor point="CENTER">
                                <Offset>
                                        <AbsDimension x="220" y="15"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <HitRectInsets>
                        <AbsInset left="0" right="44" top="0" bottom="13"/>
                </HitRectInsets>
                <Layers>
                        <Layer level="BACKGROUND">
                                <Texture file="Interface\HelpFrame\HelpFrame-TopLeft">
                                        <Size>
                                                <AbsDimension x="256" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT"/>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\HelpFrame\HelpFrame-Top">
                                        <Size>
                                                <AbsDimension x="256" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="256" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\HelpFrame\HelpFrame-TopRight">
                                        <Size>
                                                <AbsDimension x="128" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPRIGHT"/>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\HelpFrame\HelpFrame-BotLeft">
                                        <Size>
                                                <AbsDimension x="256" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="BOTTOMLEFT"/>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\HelpFrame\HelpFrame-Bottom">
                                        <Size>
                                                <AbsDimension x="256" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="BOTTOMLEFT">
                                                        <Offset>
                                                                <AbsDimension x="256" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\HelpFrame\HelpFrame-BotRight">
                                        <Size>
                                                <AbsDimension x="128" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="BOTTOMRIGHT"/>
                                        </Anchors>
                                </Texture>
                                <FontString name="NuNCTTCheckBoxLabel" inherits="GameFontNormalSmall" text="NUN_TT_PIN_TXT">
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="48" y="-14"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="NuNPartiedLabel" inherits="GameFontNormalSmall" text="NUN_PARTIED_WITH">
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="-80" y="-26"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="NuNPartiedNumberLabel" inherits="GameFontNormalSmall">
                                        <Anchors>
                                                <Anchor point="TOP" relativeTo="NuNPartiedLabel" relativePoint="BOTTOM">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-1"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                        <Layer level="ARTWORK">
                                <Texture name="NuNFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
                                        <Size>
                                                <AbsDimension x="436" y="64"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="-12" y="12"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <FontString name="NuNHeader" inherits="GameFontNormal" text="NUN_EDIT_NOTE">
                                        <Anchors>
                                                <Anchor point="TOP" relativeTo="NuNFrameHeader">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-14"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <Texture name="NuNHFlag" file="Interface\AddOns\NotesUNeed\Artwork\tHorde" hidden="true">
                                        <Size>
                                                <AbsDimension x="32" y="32"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="-5" y="5"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture name="NuNAFlag" file="Interface\Addons\NotesUNeed\Artwork\tAlliance" hidden="true">
                                        <Size>
                                                <AbsDimension x="32" y="32"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="-5" y="5"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                        </Layer>
                </Layers>

<!-- f1fs1 -->
                <Frames>
                <!-- Window Close -->
                        <Button name="NuNFrameCloseButton" inherits="UIPanelCloseButton">
                                <Anchors>
                                        <Anchor point="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-42" y="-3"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNFrameScaleButton" inherits="UIPanelButtonTemplate2">
                                <Size>
                                        <AbsDimension x="24" y="24"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="RIGHT" relativeTo="NuNFrameCloseButton" relativePoint="LEFT">
                                                <Offset>
                                                        <AbsDimension x="4" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="ARTWORK">
                                                <Texture name="NuNFrameScaleIcon" file="Interface\AddOns\NotesUNeed\Artwork\NuNScale">
                                                        <Size>
                                                                <AbsDimension x="16" y="16"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="CENTER"/>
                                                        </Anchors>
                                                </Texture>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnClick>
                                                NuNScaleFrameShow();
                                        </OnClick>
                                        <OnEnter>
                                                NuNScaleFrameButton_OnEnter();
                                        </OnEnter>
                                        <OnLeave>
                                                NuN_TTButton_OnLeave();
                                        </OnLeave>
                                </Scripts>
                        </Button>
                        <Button name="NuNFramePartyDownButton" inherits="UIPanelButtonTemplate2" text="-" hidden="true">
                                <Size>
                                        <AbsDimension x="24" y="24"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="NuNPartiedLabel" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="2" y="-8"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                NuN_PartyDownButton_OnClick();
                                        </OnClick>
                                        <OnEnter>
                                                NuN_PartyDownButton_OnEnter();
                                        </OnEnter>
                                        <OnLeave>
                                                NuN_TTButton_OnLeave();
                                        </OnLeave>
                                </Scripts>
                        </Button>
<!-- f1fs1f2 -->
                        <CheckButton name="NuN_CTTCheckBox" inherits="UICheckButtonTemplate">
                                <Size>
                                        <AbsDimension x="18" y="18"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="26" y="-12" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <HitRectInsets>
                                        <AbsInset left="0" right="-60" top="-10" bottom="0"/>
                                </HitRectInsets>
                                <Scripts>
                                        <OnClick>
                                                if ( this:GetChecked() ) then
                                                        PlaySound("igMainMenuOptionCheckBoxOff");
                                                else
                                                        PlaySound("igMainMenuOptionCheckBoxOn");
                                                end
                                                NuN_TTCheckBox_OnClick("Contact");
                                        </OnClick>
                                        <OnEnter>
                                                NuN_TTCheckBox_OnEnter();
                                        </OnEnter>
                                        <OnLeave>
                                                NuN_TTButton_OnLeave();
                                        </OnLeave>
                                </Scripts>
                        </CheckButton>
                        <Frame name="NuNInnerFrame" setAllPoints="true">
<!-- f1fs1f2fs2 -->
                                <Frames>
        <!-- User definable Buttons -->
                                        <Button name="NuNTitleButton1" inherits="NuNDetailTitleButtonTemplate">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="20" y="-55"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="NuNInforButton1" inherits="NuNDetailInforButtonTemplate">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="NuNTitleButton1" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="-1"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="NuNTitleButton2" inherits="NuNDetailTitleButtonTemplate">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="NuNInforButton1" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="-2"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="NuNInforButton2" inherits="NuNDetailInforButtonTemplate">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="NuNTitleButton2" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="-1"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="NuNTitleButton3" inherits="NuNDetailTitleButtonTemplate">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="NuNInforButton2" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="-2"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="NuNInforButton3" inherits="NuNDetailInforButtonTemplate">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="NuNTitleButton3" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="-1"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="NuNTitleButton4" inherits="NuNDetailTitleButtonTemplate">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="NuNInforButton3" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="-2"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="NuNInforButton4" inherits="NuNDetailInforButtonTemplate">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="NuNTitleButton4" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="-1"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="NuNTitleButton5" inherits="NuNDetailTitleButtonTemplate">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="NuNInforButton4" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="-2"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
                                        <Button name="NuNInforButton5" inherits="NuNDetailInforButtonTemplate">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="NuNTitleButton5" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="-1"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Button>
<!-- f1fs1f2fs2f3 -->
                                        <Frame name="NuNDivider" inherits="HelpFrameDividerTemplate">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="12" y="-196"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Frame>
<!-- f1fs1f2fs2/f3 -->
                                        <ScrollFrame name="NuNScrollFrame" inherits="UIPanelScrollFrameTemplate">
                                                <Size>
                                                        <AbsDimension x="540" y="255"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="NuNDivider" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="8" y="4"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Layers>
                                                        <Layer level="ARTWORK">
                                                                <Texture name="NuNScrollBarTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
                                                                        <Size>
                                                                                <AbsDimension x="31" y="156"/>
                                                                        </Size>
                                                                        <Anchors>
                                                                                <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="5"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                        <TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
                                                                </Texture>
                                                                <Texture name="NuNScrollBarBottom" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
                                                                        <Size>
                                                                                <AbsDimension x="31" y="106"/>
                                                                        </Size>
                                                                        <Anchors>
                                                                                <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="-2"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                        <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
                                                                </Texture>
                                                                <Texture name="NuNScrollBarMiddle" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
                                                                        <Size>
                                                                                <AbsDimension x="31" y="60"/>
                                                                        </Size>
                                                                        <Anchors>
                                                                                <Anchor point="TOP" relativeTo="NuNScrollBarTop" relativePoint="BOTTOM">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="0"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                                <Anchor point="BOTTOM" relativeTo="NuNScrollBarBottom" relativePoint="TOP">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="0"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                        <TexCoords left="0" right="0.484375" top=".75" bottom="1.0"/>
                                                                </Texture>
                                                                <FontString name="NuNTextLabel" inherits="GameFontNormalSmall" text="NUN_TXT_LABEL">
                                                                        <Anchors>
                                                                                <Anchor point="RIGHT" relativeTo="NuNScrollBarBottom" relativePoint="BOTTOMLEFT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="-18" y="2"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                </FontString>
                                                        </Layer>
                                                </Layers>
                                                <ScrollChild>
                                                        <EditBox name="NuNText" autofocus="false" multiLine="true" letters="5060" text="NUN_BOILERPLATE">
                                                                <Size>
                                                                        <AbsDimension x="541" y="234"/>
                                                                </Size>
                                                                <Scripts>
                                                                        <OnTextChanged>
                                                                                ScrollingEdit_OnTextChanged();
                                                                                NuN_TextWarning(this, "NuNTextLabel");
                                                                        </OnTextChanged>
                                                                        <OnCursorChanged>
                                                                                ScrollingEdit_OnCursorChanged(arg1, arg2, arg3, arg4);
                                                                        </OnCursorChanged>
                                                                        <OnUpdate>
                                                                                ScrollingEdit_OnUpdate();
                                                                        </OnUpdate>
                                                                        <OnEscapePressed>
                                                                                NuN_TextEscape(NuNFrame, NuNText);
                                                                        </OnEscapePressed>
                                                                </Scripts>
                                                                <FontString inherits="ChatFontNormal"/>
                                                        </EditBox>
                                                </ScrollChild>
                                        </ScrollFrame>
                                <!-- Buttons for Saving and Cancelling -->
                                        <Button name="NuNButtonSaveNote" inherits="NuNButtonTemplate" text="NUN_SAVE" enabled="false">
                                                <Anchors>
                                                        <Anchor point="CENTER" relativePoint="BOTTOMRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-198" y="32"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                PlaySound("igMainMenuOption");
                                                                NuN_WriteNote();
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="NuNButtonCancel" inherits="NuNButtonTemplate" text="NUN_CANCEL">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="NuNButtonSaveNote">
                                                                <Offset>
                                                                        <AbsDimension x="6" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                PlaySound("igMainMenuOption");
                                                                NuN_HideFrame();
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="NuNButtonDelete" inherits="NuNButtonTemplate" text="NUN_DELETE">
                                                <Anchors>
                                                        <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="NuNButtonSaveNote">
                                                                <Offset>
                                                                        <AbsDimension x="-6" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                PlaySound("igMainMenuOption");
                                                                NuN_DeleteNote("Contact");
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="NuNButtonOptions" inherits="NuNButtonTemplate" text="NUN_OPTIONS">
                                                <Anchors>
                                                        <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="NuNButtonDelete">
                                                                <Offset>
                                                                        <AbsDimension x="-6" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                PlaySound("igMainMenuOption");
                                                                NuN_Options();
                                                        </OnClick>
                                                </Scripts>
                                        </Button>

                                        <Button name="NuNButtonTarget" inherits="NuNButtonTemplate" text="NUN_TARGET" enabled="false">
                                                <Anchors>
                                                        <Anchor point="CENTER" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="64" y="32"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                PlaySound("igMainMenuOption");
                                                                NuN_Target();
                                                        </OnClick>
                                                        <OnEnter>
                                                                NuN_TargetButton_OnEnter();
                                                        </OnEnter>
                                                        <OnLeave>
                                                                NuN_TTButton_OnLeave();
                                                        </OnLeave>
                                                </Scripts>
                                        </Button>
                                        <Button name="NuNButtonWho" inherits="NuNButtonTemplate" text="NUN_WHO">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="NuNButtonTarget">
                                                                <Offset>
                                                                        <AbsDimension x="6" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                PlaySound("igMainMenuOption");
                                                                NuN_Who();
                                                        </OnClick>
                                                        <OnEnter>
                                                                NuN_WhoButton_OnEnter();
                                                        </OnEnter>
                                                        <OnLeave>
                                                                NuN_TTButton_OnLeave();
                                                        </OnLeave>
                                                </Scripts>
                                        </Button>
                                        <Button name="NuNButtonDateStamp" inherits="NuNButtonTemplate" text="NUN_STAMP">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="19" y="-28"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                PlaySound("igMainMenuOption");
                                                                NuN_DateStamp();
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="NuNButtonLoc" inherits="NuNButtonTemplate" text="NUN_LOC">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="NuNButtonDateStamp" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="6" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                PlaySound("igMainMenuOption");
                                                                NuN_Loc();
                                                        </OnClick>
                                                        <OnEnter>
                                                                NuN_LocButton_OnEnter();
                                                        </OnEnter>
                                                        <OnLeave>
                                                                NuN_TTButton_OnLeave();
                                                        </OnLeave>
                                                </Scripts>
                                        </Button>
                                        <Button name="NuNCOpenChatButton" inherits="UIPanelButtonTemplate2">
                                                <Size>
                                                        <AbsDimension x="24" y="24"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-68" y="-28"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                NuN_OpenChat("Contact");
                                                        </OnClick>
                                                        <OnEnter>
                                                                NuN_OpenChat_OnEnter();
                                                        </OnEnter>
                                                        <OnLeave>
                                                                NuN_TTButton_OnLeave();
                                                        </OnLeave>
                                                </Scripts>
                                                <NormalTexture file="Interface\ChatFrame\UI-ChatIcon-Chat-Up"/>
                                                <PushedTexture file="Interface\ChatFrame\UI-ChatIcon-Chat-Down"/>
                                                <DisabledTexture file="Interface\ChatFrame\UI-ChatIcon-Chat-Disabled"/>
                                                <HighlightTexture file="Interface\MainMenuBar\UI-MainMenu-ScrollUpButton-Highlight" alphaMode="ADD"/>
                                        </Button>

                                        <Button name="NuNFrameHyperButton" inherits="UIPanelButtonTemplate2" text="[]">
                                                <Size>
                                                        <AbsDimension x="24" y="24"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="NuNCOpenChatButton" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-2" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                NuN_HyperButton_OnClick("Contact");
                                                        </OnClick>
                                                        <OnEnter>
                                                                NuN_HyperButton_OnEnter();
                                                        </OnEnter>
                                                        <OnLeave>
                                                                NuN_TTButton_OnLeave();
                                                        </OnLeave>
                                                </Scripts>
                                        </Button>

                                        <Button name="NuNButtonClrDD" inherits="NuNButtonTemplate" text="NUN_CLRDD">
                                                <Size>
                                                        <AbsDimension x="122" y="21"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="NuNCOpenChatButton">
                                                                <Offset>
                                                                        <AbsDimension x="-5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                PlaySound("igMainMenuOption");
                                                                NuN_ClrDD();
                                                        </OnClick>
                                                        <OnEnter>
                                                                NuN_ClearDD_OnEnter();
                                                        </OnEnter>
                                                        <OnLeave>
                                                                NuN_TTButton_OnLeave();
                                                        </OnLeave>
                                                </Scripts>
                                        </Button>
<!-- f1fs1f2/fs2 -->
                                </Frames>
<!-- f1fs1/f2 -->
                        </Frame>
                <!-- Drop Down Menus Frame -->
<!-- f1fs1f2 -->
                        <Frame name="NuNDropDownFrame" parent="NuNInnerFrame" enableMouse="true">
                                <Size>
                                        <AbsDimension x="420" y="157"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPRIGHT" relativeTo="NuNInnerFrame" relativePoint="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-48" y="-48"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>

                                <Backdrop bgFile="Interface\AddOns\NotesUNeed\Artwork\Texture1" 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>
<!-- f1fs1f2fs2 -->
                                <Frames>
<!-- f1fs1f2fs2f3 -->
                                        <Frame name="NuNARaceDropDown" inherits="UIDropDownMenuTemplate">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="NuNInnerFrame">
                                                                <Offset>
                                                                        <AbsDimension x="174" y="-74"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Layers>
                                                        <Layer level="OVERLAY">
                                                                <FontString inherits="GameFontNormalSmall" text="NUN_RACE">
                                                                        <Anchors>
                                                                                <Anchor point="TOPLEFT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="20" y="10"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                </FontString>
                                                        </Layer>
                                                </Layers>
                                                <Scripts>
                                                        <OnLoad>
                                                                NuNARaceDropDown_OnLoad();
                                                        </OnLoad>
                                                </Scripts>
                                        </Frame>
                                        <Frame name="NuNHRaceDropDown" inherits="UIDropDownMenuTemplate">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="NuNInnerFrame">
                                                                <Offset>
                                                                        <AbsDimension x="174" y="-74"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Layers>
                                                        <Layer level="OVERLAY">
                                                                <FontString inherits="GameFontNormalSmall" text="NUN_RACE">
                                                                        <Anchors>
                                                                                <Anchor point="TOPLEFT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="20" y="10"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                </FontString>
                                                        </Layer>
                                                </Layers>
                                                <Scripts>
                                                        <OnLoad>
                                                                NuNHRaceDropDown_OnLoad();
                                                        </OnLoad>
                                                </Scripts>
                                        </Frame>
<!-- f1fs1f2fs2/f3 -->
<!-- f1fs1f2fs2f3 -->
                                        <Frame name="NuNAClassDropDown" inherits="UIDropDownMenuTemplate">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="NuNARaceDropDown" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="20" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Layers>
                                                        <Layer level="OVERLAY">
                                                                <FontString inherits="GameFontNormalSmall" text="NUN_CLASS">
                                                                        <Anchors>
                                                                                <Anchor point="TOPLEFT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="20" y="10"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                </FontString>
                                                        </Layer>
                                                </Layers>
                                                <Scripts>
                                                        <OnLoad>
                                                                NuNAClassDropDown_OnLoad();
                                                        </OnLoad>
                                                        <OnEvent>

                                                        </OnEvent>
                                                </Scripts>
                                        </Frame>
                                        <Frame name="NuNHClassDropDown" inherits="UIDropDownMenuTemplate">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="NuNHRaceDropDown" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="20" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Layers>
                                                        <Layer level="OVERLAY">
                                                                <FontString inherits="GameFontNormalSmall" text="NUN_CLASS">
                                                                        <Anchors>
                                                                                <Anchor point="TOPLEFT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="20" y="10"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                </FontString>
                                                        </Layer>
                                                </Layers>
                                                <Scripts>
                                                        <OnLoad>
                                                                NuNHClassDropDown_OnLoad();
                                                        </OnLoad>
                                                        <OnEvent>

                                                        </OnEvent>
                                                </Scripts>
                                        </Frame>
<!-- f1fs1f2fs2/f3 -->
<!-- f1fs1f2fs2f3 -->
                                        <Frame name="NuNSexDropDown" inherits="UIDropDownMenuTemplate">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="NuNAClassDropDown">
                                                                <Offset>
                                                                        <AbsDimension x="20" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Layers>
                                                        <Layer level="OVERLAY">
                                                                <FontString inherits="GameFontNormalSmall" text="NUN_SEX">
                                                                        <Anchors>
                                                                                <Anchor point="TOPLEFT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="20" y="10"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                </FontString>
                                                        </Layer>
                                                </Layers>
                                                <Scripts>
                                                        <OnLoad>
                                                                NuNSexDropDown_OnLoad();
                                                        </OnLoad>
                                                </Scripts>
                                        </Frame>
<!-- f1fs1f2fs2/f3 -->
<!-- f1fs1f2fs2f3 -->
                                        <Frame name="NuNProf1DropDown" inherits="UIDropDownMenuTemplate">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="NuNARaceDropDown" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="-10"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Layers>
                                                        <Layer level="OVERLAY">
                                                                <FontString inherits="GameFontNormalSmall" text="NUN_PROF1">
                                                                        <Anchors>
                                                                                <Anchor point="TOPLEFT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="20" y="10"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                </FontString>
                                                        </Layer>
                                                </Layers>
                                                <Scripts>
                                                        <OnLoad>
                                                                NuNProf1DropDown_OnLoad();
                                                        </OnLoad>
                                                </Scripts>
                                        </Frame>
<!-- f1fs1f2fs2/f3 -->
<!-- f1fs1f2fs2f3 -->
                                        <Frame name="NuNProf2DropDown" inherits="UIDropDownMenuTemplate">
                                                <Anchors>
                                                        <Anchor point="TOP" relativeTo="NuNProf1DropDown" relativePoint="BOTTOM">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="-11"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Layers>
                                                        <Layer level="OVERLAY">
                                                                <FontString inherits="GameFontNormalSmall" text="NUN_PROF2">
                                                                        <Anchors>
                                                                                <Anchor point="TOPLEFT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="20" y="10"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                </FontString>
                                                        </Layer>
                                                </Layers>
                                                <Scripts>
                                                        <OnLoad>
                                                                NuNProf2DropDown_OnLoad();
                                                        </OnLoad>
                                                </Scripts>
                                        </Frame>
<!-- f1fs1f2fs2/f3 -->
<!-- f1fs1f2fs2f3 -->
                                        <Frame name="NuNACRankDropDown" inherits="UIDropDownMenuTemplate">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="NuNProf1DropDown" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-20" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Layers>
                                                        <Layer level="OVERLAY">
                                                                <FontString inherits="GameFontNormalSmall" text="NUN_CURR_RANK">
                                                                        <Anchors>
                                                                                <Anchor point="TOPLEFT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="20" y="10"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                </FontString>
                                                        </Layer>
                                                </Layers>
                                                <Scripts>
                                                        <OnLoad>
                                                                NuNACRankDropDown_OnLoad();
                                                        </OnLoad>
                                                </Scripts>
                                        </Frame>
                                        <Frame name="NuNHCRankDropDown" inherits="UIDropDownMenuTemplate">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="NuNProf1DropDown" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-20" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Layers>
                                                        <Layer level="OVERLAY">
                                                                <FontString inherits="GameFontNormalSmall" text="NUN_CURR_RANK">
                                                                        <Anchors>
                                                                                <Anchor point="TOPLEFT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="20" y="10"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                </FontString>
                                                        </Layer>
                                                </Layers>
                                                <Scripts>
                                                        <OnLoad>
                                                                NuNHCRankDropDown_OnLoad();
                                                        </OnLoad>
                                                </Scripts>
                                        </Frame>
<!-- f1fs1f2fs2/f3 -->
<!-- f1fs1f2fs2f3 -->
                                        <Frame name="NuNAHRankDropDown" inherits="UIDropDownMenuTemplate">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="NuNProf2DropDown" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-20" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Layers>
                                                        <Layer level="OVERLAY">
                                                                <FontString inherits="GameFontNormalSmall" text="NUN_HIGH_RANK">
                                                                        <Anchors>
                                                                                <Anchor point="TOPLEFT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="20" y="10"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                </FontString>
                                                        </Layer>
                                                </Layers>
                                                <Scripts>
                                                        <OnLoad>
                                                                NuNAHRankDropDown_OnLoad();
                                                        </OnLoad>
                                                </Scripts>
                                        </Frame>
                                        <Frame name="NuNHHRankDropDown" inherits="UIDropDownMenuTemplate">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="NuNProf2DropDown" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-20" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Layers>
                                                        <Layer level="OVERLAY">
                                                                <FontString inherits="GameFontNormalSmall" text="NUN_HIGH_RANK">
                                                                        <Anchors>
                                                                                <Anchor point="TOPLEFT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="20" y="10"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                </FontString>
                                                        </Layer>
                                                </Layers>
                                                <Scripts>
                                                        <OnLoad>
                                                                NuNHHRankDropDown_OnLoad();
                                                        </OnLoad>
                                                </Scripts>
                                        </Frame>
<!-- f1fs1f2fs2/f3 -->
                                </Frames>
<!-- f1fs1f2/fs2 -->
                        </Frame>
<!-- f1fs1/f2 -->
                <!-- Frame for Detail Entry edit box -->
<!-- f1fs1f2 -->
                        <Frame name="NuNEditDetailsFrame" toplevel="true" enableMouse="true" movable="true" parent="NuNFrame" hidden="true">
                                <Size>
                                        <AbsDimension x="400" y="105"/>
                                </Size>

                                <Anchors>
                                        <Anchor point="CENTER">
                                                <Offset>
                                                        <AbsDimension x="-5" y="-20"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Backdrop bgFile="Interface\AddOns\NotesUNeed\Artwork\Texture1" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">

                                        <BackgroundInsets>
                                                <AbsInset left="11" right="12" top="12" bottom="11"/>
                                        </BackgroundInsets>
                                        <TileSize>
                                                <AbsValue val="32"/>
                                        </TileSize>
                                        <EdgeSize>
                                                <AbsValue val="32"/>
                                        </EdgeSize>
                                </Backdrop>
                                <Layers>
                                        <Layer level="ARTWORK">
                                                <Texture name="NuNEditDetailsHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
                                                        <Size>
                                                                <AbsDimension x="256" y="64"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOP">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="12"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Texture>
                                                <FontString inherits="GameFontNormal" text="NUN_EDIT_DETAIL">
                                                        <Anchors>
                                                                <Anchor point="TOP" relativeTo="NuNEditDetailsHeader">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="-14"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                        <Layer level="BACKGROUND">
                                                <FontString name="NuNCheckBoxLabel" inherits="GameFontNormalSmall" text="NUN_SAVE_AS_DEFAULT">
                                                        <Anchors>
                                                                <Anchor point="BOTTOM">
                                                                        <Offset>
                                                                                <AbsDimension x="-122" y="16"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
<!-- f1fs1f2fs2 -->
                                <Frames>
                                        <Button name="NuNEditDetailsCancelButton" inherits="UIPanelButtonTemplate" text="NUN_CANCEL_DETAIL">
                                                <Size>
                                                        <AbsDimension x="60" y="21"/>
                                                </Size>
                                                <NormalText inherits="GameFontHighlight"/>
                                                <DisabledText inherits="GameFontDisable"/>
                                                <HighlightText inherits="GameFontHighlight"/>
                                                <Anchors>
                                                        <Anchor point="TOPRIGHT" relativePoint="RIGHT" relativeTo="NuNEditDetailsFrame">
                                                                <Offset>
                                                                        <AbsDimension x="-14" y="-17"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                PlaySound("igMainMenuOption");
                                                                NuNEditDetails_HideFrame();
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="NuNEditDetailsSaveButton" inherits="UIPanelButtonTemplate" text="NUN_SAVE_DETAIL">
                                                <Size>
                                                        <AbsDimension x="60" y="21"/>
                                                </Size>
                                                <NormalText inherits="GameFontHighlight"/>
                                                <DisabledText inherits="GameFontDisable"/>
                                                <HighlightText inherits="GameFontHighlight"/>
                                                <Anchors>
                                                        <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="NuNEditDetailsCancelButton">
                                                                <Offset>
                                                                        <AbsDimension x="-5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                NuNEditDetails();
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="NuNEditDetailsRestoreButton" inherits="UIPanelButtonTemplate" text="NUN_RESTORE_DETAIL">
                                                <Size>
                                                        <AbsDimension x="120" y="21"/>
                                                </Size>
                                                <NormalText inherits="GameFontHighlight"/>
                                                <DisabledText inherits="GameFontDisable"/>
                                                <HighlightText inherits="GameFontHighlight"/>
                                                <Anchors>
                                                        <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="NuNEditDetailsSaveButton">
                                                                <Offset>
                                                                        <AbsDimension x="-12" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                NuNEditDetailsRestore();
                                                        </OnClick>
                                                        <OnEnter>
                                                                NuN_RestoreDefButton_OnEnter();
                                                        </OnEnter>
                                                        <OnLeave>
                                                                NuN_TTButton_OnLeave();
                                                        </OnLeave>
                                                </Scripts>
                                        </Button>
                                        <EditBox name="NuNEditDetailsBox" autofocus="false" historyLines="0" letters="32">
                                                <Size>
                                                        <AbsDimension x="350" y="64"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="CENTER" relativePoint="TOP">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="-42"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Layers>
                                                        <Layer level="BACKGROUND">
                                                                <Texture name="NuN_TitleBoxLeft" file="Interface\ChatFrame\UI-ChatInputBorder-Left">
                                                                        <Size>
                                                                                <AbsDimension x="256" y="32"/>
                                                                        </Size>
                                                                        <Anchors>
                                                                                <Anchor point="LEFT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="-10" y="0"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                        <TexCoords left="0" right="1.0" top="0" bottom="1.0"/>
                                                                </Texture>
                                                                <Texture name="NuN_TitleBoxRight" file="Interface\ChatFrame\UI-ChatInputBorder-Right">
                                                                        <Size>
                                                                                <AbsDimension x="75" y="32"/>
                                                                        </Size>
                                                                        <Anchors>
                                                                                <Anchor point="RIGHT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="10" y="0"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                        <TexCoords left="0.70703125" right="1.0" top="0" bottom="1.0"/>
                                                                </Texture>
                                                                <Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
                                                                        <Size>
                                                                                <AbsDimension x="2" y="32"/>
                                                                        </Size>
                                                                        <Anchors>
                                                                                <Anchor point="LEFT" relativeTo="NuN_TitleBoxLeft" relativePoint="RIGHT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="0"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                                <Anchor point="RIGHT" relativeTo="NuN_TitleBoxRight" relativePoint="LEFT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="0"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                        <TexCoords left="0.29296875" right="1.0" top="0" bottom="1.0"/>
                                                                </Texture>
                                                        </Layer>
                                                </Layers>
                                                <Scripts>
                                                        <OnLoad>
                                                        </OnLoad>
                                                        <OnTextChanged>
                                                        </OnTextChanged>
                                                        <OnEnterPressed>
                                                                NuNEditDetails();
                                                        </OnEnterPressed>
                                                        <OnEscapePressed>
                                                                NuNEditDetails_HideFrame();
                                                        </OnEscapePressed>
                                                </Scripts>
                                                <FontString inherits="ChatFontNormal"/>
                                        </EditBox>
                                        <CheckButton name="NuNEditDetail_CheckButton" inherits="UICheckButtonTemplate"  hidden="true">
                                                <Anchors>
                                                        <Anchor point="BOTTOMLEFT" relativeTo="NuNEditDetailsFrame" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="10" y="6" />
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <HitRectInsets>
                                                        <AbsInset left="0" right="-60" top="-10" bottom="0"/>
                                                </HitRectInsets>
                                                <Scripts>
                                                        <OnClick>
                                                                if ( this:GetChecked() ) then
                                                                        PlaySound("igMainMenuOptionCheckBoxOff");
                                                                else
                                                                        PlaySound("igMainMenuOptionCheckBoxOn");
                                                                end
                                                                NuN_EditDetailCheckButtonOnClick();
                                                        </OnClick>
                                                        <OnEnter>
                                                                NuN_SaveDefCheck_OnEnter();
                                                        </OnEnter>
                                                        <OnLeave>
                                                                NuN_TTButton_OnLeave();
                                                        </OnLeave>
                                                </Scripts>
                                        </CheckButton>
                                </Frames>
<!-- f1fs1f2/fs2 -->
                        </Frame>
<!-- f1fs1/f2 -->
                </Frames>
<!-- f1/fs1 -->
                <Scripts>
                        <OnLoad>
                                tinsert(UISpecialFrames,"NuNFrame");
                                NuN_OnLoad();
                        </OnLoad>
                        <OnEvent>
                                NuN_OnEvent();
                        </OnEvent>
                        <OnHide>
                                NuN_SaveLast("Contact");
                                if ( NuN_ChatFrame:IsVisible() ) then
                                        HideUIPanel(NuN_ChatFrame);
                                end
                                if ( NuN_ScaleFrame:IsVisible() ) then
                                        HideUIPanel(NuN_ScaleFrame);
                                end
                                if ( ( NuNcDeleteFrame:IsVisible() ) and ( NuNcDeleteFrame.type == "Contact" ) ) then
                                        HideUIPanel(NuNcDeleteFrame);
                                end
                        </OnHide>
                </Scripts>
        </Frame>
<!-- /f1 -->




<!-- NuN control menu, options, and search function -->
        <Frame name="NuNOptionsFrame" toplevel="true" hidden="true" parent="UIParent" movable="true" enableMouse="true">
                <Size>
                        <AbsDimension x="410" y="540"/>
                </Size>
                <Anchors>
                        <Anchor point="CENTER">
                                <Offset>
                                        <AbsDimension x="0" y="80"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Backdrop bgFile="Interface\AddOns\NotesUNeed\Artwork\Texture1" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
                        <BackgroundInsets>
                                <AbsInset left="11" right="12" top="12" bottom="11"/>
                        </BackgroundInsets>
                        <TileSize>
                                <AbsValue val="32"/>
                        </TileSize>
                        <EdgeSize>
                                <AbsValue val="32"/>
                        </EdgeSize>
                </Backdrop>
                <Layers>
                        <Layer level="ARTWORK">
                                <Texture name="NuNOptionsHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
                                        <Size>
                                                <AbsDimension x="330" y="60"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="12"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <FontString inherits="GameFontNormal" text="NUN_OPTIONS_HEADER">
                                        <Anchors>
                                                <Anchor point="TOP" relativeTo="NuNOptionsHeader">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-14"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="NuNOptionsVersionLabel" inherits="GameFontNormalSmall" text="v3.21.11000">
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="12" y="-12"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                        <Layer level="BACKGROUND">
                                <FontString name="NuNOptionsGuildCheckBoxLabel" inherits="GameFontHighlightSmall" text="NUN_AUTO_GUILD">
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="46" y="-56"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="NuNOptionsAddCheckBoxLabel" inherits="GameFontHighlightSmall" text="NUN_AUTO_ADD">
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="46" y="-108"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="NuNOptionsDeleteCheckBoxLabel" inherits="GameFontHighlightSmall" text="NUN_AUTO_DELETE">
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="46" y="-125"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="NuNOptionsDeleteCheckBoxLabel2" inherits="GameFontHighlightSmall" text="NUN_AUTO_DELETE2">
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="56" y="-135"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="NuNOptionsTTLengthTextBoxLabel" inherits="GameFontNormalSmall" text="NUN_TTLENGTH_TEXTBOX_LABEL">
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="28" y="-170"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="NuNOptionsTTLengthTextBoxLabel2" inherits="GameFontNormalSmall" text="NUN_TTTOTAL_LABEL">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="NuNOptionsTTLengthTextBoxLabel" relativePoint="BOTTOM">
                                                        <Offset>
                                                                <AbsDimension x="-63" y="-14"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="NuNOptionsTTLineLengthTextBoxLabel" inherits="GameFontNormalSmall" text="NUN_TTLINEL_LABEL">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="NuNOptionsTTLengthTextBoxLabel" relativePoint="BOTTOM">
                                                        <Offset>
                                                                <AbsDimension x="92" y="-14"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>
                <Frames>
                        <Button name="NuNOptionsScaleFrameButton" inherits="UIPanelButtonTemplate2">
                                <Size>
                                        <AbsDimension x="24" y="24"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-7" y="-7"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="ARTWORK">
                                                <Texture name="NuNScaleIcon" file="Interface\AddOns\NotesUNeed\Artwork\NuNScale">
                                                        <Size>
                                                                <AbsDimension x="16" y="16"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="CENTER"/>
                                                        </Anchors>
                                                </Texture>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnClick>
                                                NuNScaleFrameShow();
                                        </OnClick>
                                        <OnEnter>
                                                NuNScaleFrameButton_OnEnter();
                                        </OnEnter>
                                        <OnLeave>
                                                NuN_TTButton_OnLeave();
                                        </OnLeave>
                                </Scripts>
                        </Button>
                        <Button name="NuNOptionsImport" inherits="NuNOptionsButtonTemplate" text="NUN_IMPORT">
                                <Size>
                                        <AbsDimension x="370" y="21"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="CENTER" relativePoint="TOP">
                                                <Offset>
                                                        <AbsDimension x="0" y="-42"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                        </OnLoad>
                                        <OnClick>
                                                PlaySound("igMainMenuOption");
                                                NuNOptions_Import();
                                        </OnClick>
                                </Scripts>
                        </Button>
                        <CheckButton name="NuNOptionsGuildCheckButton" inherits="UICheckButtonTemplate">
                                <Size>
                                        <AbsDimension x="19" y="19"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="29" y="-53" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <HitRectInsets>
                                        <AbsInset left="0" right="-240" top="-10" bottom="0"/>
                                </HitRectInsets>
                                <Scripts>
                                        <OnClick>
                                                if ( this:GetChecked() ) then
                                                        PlaySound("igMainMenuOptionCheckBoxOff");
                                                else
                                                        PlaySound("igMainMenuOptionCheckBoxOn");
                                                end
                                                NuN_OptionsGuildCheckBox_OnClick();
                                        </OnClick>
                                        <OnEnter>
                                                if ( this.tooltipText ) then
                                                        GameTooltip_AddNewbieTip("Option Info.", 1.0, 1.0, 1.0, this.tooltipText);
                                                end
                                        </OnEnter>
                                        <OnLeave>
                                                GameTooltip:Hide();
                                        </OnLeave>
                                </Scripts>
                        </CheckButton>
                        <Button name="NuNOptionsExport" inherits="NuNOptionsButtonTemplate" text="NUN_EXPORT">
                                <Size>
                                        <AbsDimension x="370" y="21"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="CENTER" relativePoint="TOP" relativeTo="NuNOptionsImport">
                                                <Offset>
                                                        <AbsDimension x="0" y="-63"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                        </OnLoad>
                                        <OnClick>
                                                PlaySound("igMainMenuOption");
                                                NuNOptions_Export();
                                        </OnClick>
                                </Scripts>
                        </Button>
                        <CheckButton name="NuNOptionsAddCheckButton" inherits="UICheckButtonTemplate">
                                <Size>
                                        <AbsDimension x="19" y="19"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="29" y="-105" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <HitRectInsets>
                                        <AbsInset left="0" right="-240" top="-10" bottom="0"/>
                                </HitRectInsets>
                                <Scripts>
                                        <OnClick>
                                                if ( this:GetChecked() ) then
                                                        PlaySound("igMainMenuOptionCheckBoxOff");
                                                else
                                                        PlaySound("igMainMenuOptionCheckBoxOn");
                                                end
                                                NuN_OptionsAddCheckBox_OnClick();
                                        </OnClick>
                                        <OnEnter>
                                                if ( this.tooltipText ) then
                                                        GameTooltip_AddNewbieTip("Option Info.", 1.0, 1.0, 1.0, this.tooltipText);
                                                end
                                        </OnEnter>
                                        <OnLeave>
                                                GameTooltip:Hide();
                                        </OnLeave>
                                </Scripts>
                        </CheckButton>
                        <CheckButton name="NuNOptionsDeleteCheckButton" inherits="UICheckButtonTemplate">
                                <Size>
                                        <AbsDimension x="19" y="19"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="29" y="-122" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <HitRectInsets>
                                        <AbsInset left="0" right="-240" top="-10" bottom="0"/>
                                </HitRectInsets>
                                <Scripts>
                                        <OnClick>
                                                if ( this:GetChecked() ) then
                                                        PlaySound("igMainMenuOptionCheckBoxOff");
                                                else
                                                        PlaySound("igMainMenuOptionCheckBoxOn");
                                                end
                                                NuN_OptionsDeleteCheckBox_OnClick();
                                        </OnClick>
                                        <OnEnter>
                                                if ( this.tooltipText ) then
                                                        GameTooltip_AddNewbieTip("Option Info.", 1.0, 1.0, 1.0, this.tooltipText);
                                                end
                                        </OnEnter>
                                        <OnLeave>
                                                GameTooltip:Hide();
                                        </OnLeave>
                                </Scripts>
                        </CheckButton>

<!-- New Options as of Version 2.0 -->
                        <EditBox name="NuNOptionsTTLengthTextBox" numeric="true" autoFocus="false" historyLines="0" letters="4" hidden="false">
                                <Size>
                                        <AbsDimension x="80" y="54"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuNOptionsTTLengthTextBoxLabel" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="10" y="8"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="BACKGROUND">
                                                <Texture name="NuNOptionsTTLengthBoxLeft" file="Interface\ChatFrame\UI-ChatInputBorder-Left">
                                                        <Size>
                                                                <AbsDimension x="66" y="27"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="-10" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                        <TexCoords left="0" right="1.0" top="0" bottom="1.0"/>
                                                </Texture>
                                                <Texture name="NuNOptionsTTLengthBoxRight" file="Interface\ChatFrame\UI-ChatInputBorder-Right">
                                                        <Size>
                                                                <AbsDimension x="30" y="27"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="10" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                        <TexCoords left="0.70703125" right="1.0" top="0" bottom="1.0"/>
                                                </Texture>
                                                <Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
                                                        <Size>
                                                                <AbsDimension x="5" y="27"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativeTo="NuNOptionsTTLengthBoxLeft" relativePoint="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                                <Anchor point="RIGHT" relativeTo="NuNOptionsTTLengthBoxRight" relativePoint="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                        <TexCoords left="0.29296875" right="1.0" top="0" bottom="1.0"/>
                                                </Texture>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnTextChanged>
                                                NuN_OptionsTextLengthSet();
                                        </OnTextChanged>
                                        <OnEscapePressed>
                                                HideUIPanel(NuNOptionsFrame);
                                        </OnEscapePressed>
                                        <OnTabPressed>
                                                NuNOptionsTTLengthTextBox:ClearFocus();
                                                NuNOptionsTTLineLengthTextBox:SetFocus();
                                        </OnTabPressed>
                                </Scripts>
                                <FontString inherits="ChatFontNormal"/>
                        </EditBox>
                        <EditBox name="NuNOptionsTTLineLengthTextBox" numeric="true" autoFocus="false" historyLines="0" letters="3" hidden="false">
                                <Size>
                                        <AbsDimension x="50" y="54"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuNOptionsTTLengthTextBoxLabel" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="30" y="8"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="BACKGROUND">
                                                <Texture name="NuNOptionsTTLineLengthBoxLeft" file="Interface\ChatFrame\UI-ChatInputBorder-Left">
                                                        <Size>
                                                                <AbsDimension x="36" y="27"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="-10" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                        <TexCoords left="0" right="1.0" top="0" bottom="1.0"/>
                                                </Texture>
                                                <Texture name="NuNOptionsTTLineLengthBoxRight" file="Interface\ChatFrame\UI-ChatInputBorder-Right">
                                                        <Size>
                                                                <AbsDimension x="20" y="27"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="10" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                        <TexCoords left="0.70703125" right="1.0" top="0" bottom="1.0"/>
                                                </Texture>
                                                <Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
                                                        <Size>
                                                                <AbsDimension x="5" y="27"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativeTo="NuNOptionsTTLineLengthBoxLeft" relativePoint="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                                <Anchor point="RIGHT" relativeTo="NuNOptionsTTLineLengthBoxRight" relativePoint="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                        <TexCoords left="0.29296875" right="1.0" top="0" bottom="1.0"/>
                                                </Texture>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnTextChanged>
                                                NuN_OptionsTextLineLengthSet();
                                        </OnTextChanged>
                                        <OnEscapePressed>
                                                HideUIPanel(NuNOptionsFrame);
                                        </OnEscapePressed>
                                        <OnTabPressed>
                                                NuNOptionsTTLineLengthTextBox:ClearFocus();
                                                NuNOptionsTTLengthTextBox:SetFocus();
                                        </OnTabPressed>
                                </Scripts>
                                <FontString inherits="ChatFontNormal"/>
                        </EditBox>

                        <CheckButton name="NuN_DefaultLevelCheckBox" inherits="UICheckButtonTemplate">
                                <Size>
                                        <AbsDimension x="19" y="19"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuNOptionsTTLengthTextBox" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="-10" y="-8" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="OVERLAY">
                                                <FontString inherits="GameFontHighlightSmall" text="NUN_DEFAULTLEVEL_CHECKBOX_LABEL">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativeTo="NuN_DefaultLevelCheckBox" relativePoint="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <HitRectInsets>
                                        <AbsInset left="0" right="-240" top="-10" bottom="0"/>
                                </HitRectInsets>
                                <Scripts>
                                        <OnClick>
                                                if ( this:GetChecked() ) then
                                                        PlaySound("igMainMenuOptionCheckBoxOff");
                                                else
                                                        PlaySound("igMainMenuOptionCheckBoxOn");
                                                end
                                                NuN_DefaultLevelCheckBox_OnClick();
                                        </OnClick>
                                        <OnEnter>
                                        </OnEnter>
                                        <OnLeave>
                                        </OnLeave>
                                </Scripts>
                        </CheckButton>

                        <CheckButton name="NuN_HelpTTCheckBox" inherits="UICheckButtonTemplate">
                                <Size>
                                        <AbsDimension x="19" y="19"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuN_DefaultLevelCheckBox" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="-8" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="OVERLAY">
                                                <FontString inherits="GameFontHighlightSmall" text="NUN_SHOWHELPTT_CHECKBOX_LABEL">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativeTo="NuN_HelpTTCheckBox" relativePoint="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <HitRectInsets>
                                        <AbsInset left="0" right="-240" top="-10" bottom="0"/>
                                </HitRectInsets>
                                <Scripts>
                                        <OnClick>
                                                if ( this:GetChecked() ) then
                                                        PlaySound("igMainMenuOptionCheckBoxOff");
                                                else
                                                        PlaySound("igMainMenuOptionCheckBoxOn");
                                                end
                                                NuN_HelpTTCheckBox_OnClick();
                                        </OnClick>
                                        <OnEnter>
                                        </OnEnter>
                                        <OnLeave>
                                        </OnLeave>
                                </Scripts>
                        </CheckButton>

                        <CheckButton name="NuN_OverTTCheckBox" inherits="UICheckButtonTemplate">
                                <Size>
                                        <AbsDimension x="19" y="19"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuN_HelpTTCheckBox" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="-8" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="OVERLAY">
                                                <FontString inherits="GameFontHighlightSmall" text="NUN_MINOVERTT_CHECKBOX_LABEL">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativeTo="NuN_OverTTCheckBox" relativePoint="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <HitRectInsets>
                                        <AbsInset left="0" right="-240" top="-10" bottom="0"/>
                                </HitRectInsets>
                                <Scripts>
                                        <OnClick>
                                                if ( this:GetChecked() ) then
                                                        PlaySound("igMainMenuOptionCheckBoxOff");
                                                else
                                                        PlaySound("igMainMenuOptionCheckBoxOn");
                                                end
                                                NuN_OverTTCheckBox_OnClick();
                                        </OnClick>
                                        <OnEnter>
                                        </OnEnter>
                                        <OnLeave>
                                        </OnLeave>
                                </Scripts>
                        </CheckButton>

                        <CheckButton name="NuN_AutoQuestCheckBox" inherits="UICheckButtonTemplate">
                                <Size>
                                        <AbsDimension x="19" y="19"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuN_OverTTCheckBox" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="-8" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="OVERLAY">
                                                <FontString inherits="GameFontHighlightSmall" text="NUN_QUESTNOTE_CHECKBOX_LABEL">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativeTo="NuN_AutoQuestCheckBox" relativePoint="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <HitRectInsets>
                                        <AbsInset left="0" right="-240" top="-10" bottom="0"/>
                                </HitRectInsets>
                                <Scripts>
                                        <OnClick>
                                                if ( this:GetChecked() ) then
                                                        PlaySound("igMainMenuOptionCheckBoxOff");
                                                else
                                                        PlaySound("igMainMenuOptionCheckBoxOn");
                                                end
                                                NuN_AutoQuestCheckBox_OnClick();
                                        </OnClick>
                                        <OnEnter>
                                        </OnEnter>
                                        <OnLeave>
                                        </OnLeave>
                                </Scripts>
                        </CheckButton>

                        <CheckButton name="NuN_AutoNoteCheckBox" inherits="UICheckButtonTemplate">
                                <Size>
                                        <AbsDimension x="19" y="19"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuN_AutoQuestCheckBox" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="-8" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="OVERLAY">
                                                <FontString inherits="GameFontHighlightSmall" text="NUN_AUTONOTE_CHECKBOX_LABEL">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativeTo="NuN_AutoNoteCheckBox" relativePoint="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <HitRectInsets>
                                        <AbsInset left="0" right="-240" top="-10" bottom="0"/>
                                </HitRectInsets>
                                <Scripts>
                                        <OnClick>
                                                if ( this:GetChecked() ) then
                                                        PlaySound("igMainMenuOptionCheckBoxOff");
                                                else
                                                        PlaySound("igMainMenuOptionCheckBoxOn");
                                                end
                                                NuN_AutoNoteCheckBox_OnClick();
                                        </OnClick>
                                        <OnEnter>
                                        </OnEnter>
                                        <OnLeave>
                                        </OnLeave>
                                </Scripts>
                        </CheckButton>

                        <CheckButton name="NuN_AutoPartyCheckBox" inherits="UICheckButtonTemplate">
                                <Size>
                                        <AbsDimension x="19" y="19"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuN_AutoNoteCheckBox" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="-8" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="OVERLAY">
                                                <FontString inherits="GameFontHighlightSmall" text="NUN_AUTOPARTY_CHECKBOX_LABEL">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativeTo="NuN_AutoPartyCheckBox" relativePoint="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <HitRectInsets>
                                        <AbsInset left="0" right="-240" top="-10" bottom="0"/>
                                </HitRectInsets>
                                <Scripts>
                                        <OnClick>
                                                if ( this:GetChecked() ) then
                                                        PlaySound("igMainMenuOptionCheckBoxOff");
                                                else
                                                        PlaySound("igMainMenuOptionCheckBoxOn");
                                                end
                                                NuN_AutoPartyCheckBox_OnClick();
                                        </OnClick>
                                        <OnEnter>
                                        </OnEnter>
                                        <OnLeave>
                                        </OnLeave>
                                </Scripts>
                        </CheckButton>

                        <CheckButton name="NuN_BehaveCheckBox" inherits="UICheckButtonTemplate">
                                <Size>
                                        <AbsDimension x="19" y="19"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuN_AutoPartyCheckBox" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="-8" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="OVERLAY">
                                                <FontString inherits="GameFontHighlightSmall" text="NUN_BEHAVE_CHECKBOX_LABEL">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativeTo="NuN_BehaveCheckBox" relativePoint="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <HitRectInsets>
                                        <AbsInset left="0" right="-240" top="-10" bottom="0"/>
                                </HitRectInsets>
                                <Scripts>
                                        <OnClick>
                                                if ( this:GetChecked() ) then
                                                        PlaySound("igMainMenuOptionCheckBoxOff");
                                                else
                                                        PlaySound("igMainMenuOptionCheckBoxOn");
                                                end
                                                NuN_BehaveCheckBox_OnClick();
                                        </OnClick>
                                        <OnEnter>
                                                NuN_bHaveTTCheckBox_OnEnter();
                                        </OnEnter>
                                        <OnLeave>
                                                NuN_TTButton_OnLeave();
                                        </OnLeave>
                                </Scripts>
                        </CheckButton>

                        <CheckButton name="NuN_AutoMapCheckBox" inherits="UICheckButtonTemplate">
                                <Size>
                                        <AbsDimension x="19" y="19"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuN_BehaveCheckBox" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="-8" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="OVERLAY">
                                                <FontString name="NuN_AutoMapCheckBoxLabel" inherits="GameFontHighlightSmall" text="NUN_AUTOMAP_CHECKBOX_LABEL">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativeTo="NuN_AutoMapCheckBox" relativePoint="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <HitRectInsets>
                                        <AbsInset left="0" right="-240" top="-10" bottom="0"/>
                                </HitRectInsets>
                                <Scripts>
                                        <OnClick>
                                                if ( this:GetChecked() ) then
                                                        PlaySound("igMainMenuOptionCheckBoxOff");
                                                else
                                                        PlaySound("igMainMenuOptionCheckBoxOn");
                                                end
                                                NuN_AutoMapCheckBox_OnClick();
                                        </OnClick>
                                        <OnEnter>
                                                NuN_AutoMapCheckBox_OnEnter();
                                        </OnEnter>
                                        <OnLeave>
                                                NuN_TTButton_OnLeave();
                                        </OnLeave>
                                </Scripts>
                        </CheckButton>

<!-- New Options as of Version 2.0 -->

                        <Frame name="NuNOptionsSearchDropDown" inherits="UIDropDownMenuTemplate">
                                <Anchors>
                                        <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="5" y="14"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="OVERLAY">
                                                <FontString inherits="GameFontNormalSmall" text="NUN_SEARCH_CRITERIA">
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="20" y="10"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnLoad>
                                                NuNOptionsSearchDropDown_OnLoad();
                                        </OnLoad>
                                        <OnShow>
                                                NuNOptionsSearchDropDown_OnLoad();
                                        </OnShow>
                                        <OnEvent>
                                                </OnEvent>
                                </Scripts>
                        </Frame>
                        <Button name="NuNOptionsSearch" inherits="NuNOptionsButtonTemplate" text="NUN_SEARCH">
                                <Anchors>
                                        <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" relativeTo="NuNOptionsSearchDropDown">
                                                <Offset>
                                                        <AbsDimension x="18" y="15"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                        </OnLoad>
                                        <OnClick>
                                                PlaySound("igMainMenuOption");
                                                NuNOptions_Search();
                                        </OnClick>
                                </Scripts>
                        </Button>
                        <Button name="NuNOptionsClose" inherits="NuNOptionsButtonTemplate" text="NUN_CLOSE">
                                <Anchors>
                                        <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-18" y="22"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                        </OnLoad>
                                        <OnClick>
                                                PlaySound("igMainMenuOption");
                                                HideUIPanel(NuNOptionsFrame);
                                        </OnClick>
                                </Scripts>
                        </Button>
                        <Button name="NuNOptionsReset" inherits="NuNOptionsButtonTemplate" text="NUN_RESET">
                                <Anchors>
                                        <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" relativeTo="NuNOptionsClose">
                                                <Offset>
                                                        <AbsDimension x="0" y="18"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                        </OnLoad>
                                        <OnClick>
                                                PlaySound("igMainMenuOption");
                                                NuNOptions_ResetDefaults();
                                        </OnClick>
                                        <OnEnter>
                                                NuN_ResetButton_OnEnter();
                                        </OnEnter>
                                        <OnLeave>
                                                NuN_TTButton_OnLeave();
                                        </OnLeave>
                                </Scripts>
                        </Button>
                </Frames>
                <Scripts>
                        <OnLoad>
                                tinsert(UISpecialFrames,"NuNOptionsFrame");
                        </OnLoad>
                        <OnHide>
                                if ( NuN_ScaleFrame:IsVisible() ) then
                                        HideUIPanel(NuN_ScaleFrame);
                                end
                        </OnHide>
                </Scripts>
        </Frame>



        <Frame name="NuN_ChatFrame" toplevel="true" hidden="true" parent="UIParent" frameStrata="HIGH" movable="true" enableMouse="true">
                <TitleRegion setAllPoints="true"/>
                <Size>
                        <AbsDimension x="440" y="180"/>
                </Size>
                <Anchors>
                        <Anchor point="CENTER"/>
                </Anchors>
                <Backdrop bgFile="Interface\AddOns\NotesUNeed\Artwork\Texture1" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
                        <BackgroundInsets>
                                <AbsInset left="11" right="12" top="12" bottom="11"/>
                        </BackgroundInsets>
                        <TileSize>
                                <AbsValue val="32"/>
                        </TileSize>
                        <EdgeSize>
                                <AbsValue val="32"/>
                        </EdgeSize>
                </Backdrop>
                <Layers>
                        <Layer level="ARTWORK">
                                <Texture name="NuNChatHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
                                        <Size>
                                                <AbsDimension x="230" y="60"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="12"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <FontString inherits="GameFontNormal" text="NUN_CHAT_HEADER">
                                        <Anchors>
                                                <Anchor point="TOP" relativeTo="NuNChatHeader">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-14"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                        <Layer level="BACKGROUND">
                                <FontString name="NuNChatNoteTitleLabel" inherits="GameFontHighlight" text="NUN_CHAT_NOTETITLE_LABEL">
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="26" y="-36"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="NuNChatNoteTitle" inherits="GameFontNormal" text="NUN_PLACE_HOLDER">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="NuNChatNoteTitleLabel" relativePoint="BOTTOMLEFT">
                                                        <Offset>
                                                                <AbsDimension x="10" y="-6"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>
                <Frames>
                        <CheckButton name="NuN_ChatCheckBox" inherits="UICheckButtonTemplate">
                                <Size>
                                        <AbsDimension x="18" y="18"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="NuNChatNoteTitleLabel" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="26" y="-2" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="OVERLAY">
                                                <FontString inherits="GameFontNormalSmall" text="NUN_CHATCHECKBOX_LABEL">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativeTo="NuN_ChatCheckBox" relativePoint="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="10" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <HitRectInsets>
                                        <AbsInset left="0" right="-60" top="-10" bottom="0"/>
                                </HitRectInsets>
                                <Scripts>
                                        <OnClick>
                                                if ( this:GetChecked() ) then
                                                        PlaySound("igMainMenuOptionCheckBoxOff");
                                                else
                                                        PlaySound("igMainMenuOptionCheckBoxOn");
                                                end
                                        </OnClick>
                                        <OnEnter>
                                                NuN_ChatCheckBox_OnEnter();
                                        </OnEnter>
                                        <OnLeave>
                                                NuN_TTButton_OnLeave();
                                        </OnLeave>
                                </Scripts>
                        </CheckButton>
                        <Frame name="NuNChatDropDown" inherits="UIDropDownMenuTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="9" y="-92"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="OVERLAY">
                                                <FontString inherits="GameFontNormalSmall" text="NUN_CHAT_DROPDOWN_LABEL">
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="24" y="12"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnLoad>
                                                NuNChatDropDown_OnLoad();
                                        </OnLoad>
                                        <OnShow>
                                                NuNChatDropDown_OnLoad();
                                        </OnShow>
                                        <OnEvent>
                                                </OnEvent>
                                </Scripts>
                        </Frame>
                        <Button name="NuNTransmit" inherits="UIPanelButtonTemplate" text="NUN_CHAT_SEND">
                                <Size>
                                        <AbsDimension x="90" y="21"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="25" y="22"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                        </OnLoad>
                                        <OnClick>
                                                PlaySound("igMainMenuOption");
                                                NuN_Transmit();
                                        </OnClick>
                                </Scripts>
                        </Button>
                        <EditBox name="NuNChatTextBox" historyLines="0" letters="25" hidden="true">
                                <Size>
                                        <AbsDimension x="200" y="54"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="NuNChatDropDown" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="22" y="3"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="BACKGROUND">
                                                <Texture name="NuNChatBoxLeft" file="Interface\ChatFrame\UI-ChatInputBorder-Left">
                                                        <Size>
                                                                <AbsDimension x="106" y="27"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="-10" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                        <TexCoords left="0" right="1.0" top="0" bottom="1.0"/>
                                                </Texture>
                                                <Texture name="NuNChatBoxRight" file="Interface\ChatFrame\UI-ChatInputBorder-Right">
                                                        <Size>
                                                                <AbsDimension x="75" y="27"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="10" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                        <TexCoords left="0.70703125" right="1.0" top="0" bottom="1.0"/>
                                                </Texture>
                                                <Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
                                                        <Size>
                                                                <AbsDimension x="5" y="27"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativeTo="NuNChatBoxLeft" relativePoint="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                                <Anchor point="RIGHT" relativeTo="NuNChatBoxRight" relativePoint="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                        <TexCoords left="0.29296875" right="1.0" top="0" bottom="1.0"/>
                                                </Texture>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnTextChanged>
                                                if ( ( this:GetText() == nil ) or ( this:GetText() == "" ) ) then
                                                        NuNTransmit:Disable();
                                                else
                                                        NuNTransmit:Enable();
                                                end
                                        </OnTextChanged>
                                        <OnEscapePressed>
                                                HideUIPanel(NuN_ChatFrame);
                                        </OnEscapePressed>
                                </Scripts>
                                <FontString inherits="ChatFontNormal"/>
                        </EditBox>
                        <Button name="NuNChatClose" inherits="NuNOptionsButtonTemplate" text="NUN_CANCEL">
                                <Size>
                                        <AbsDimension x="90" y="21"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="BOTTOMRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-24" y="22"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                        </OnLoad>
                                        <OnClick>
                                                PlaySound("igMainMenuOption");
                                                HideUIPanel(NuN_ChatFrame);
                                        </OnClick>
                                </Scripts>
                        </Button>
                </Frames>
                <Scripts>
                        <OnLoad>
                                tinsert(UISpecialFrames,"NuN_ChatFrame");
                                this.type = "Empty";
                        </OnLoad>
                </Scripts>
        </Frame>


        <Frame name="NuN_ConfirmFrame" toplevel="true" hidden="true" parent="UIParent" frameStrata="HIGH" movable="true" enableMouse="true">
                <TitleRegion setAllPoints="true"/>
                <Size>
                        <AbsDimension x="440" y="180"/>
                </Size>
                <Anchors>
                        <Anchor point="CENTER"/>
                </Anchors>
                <Backdrop bgFile="Interface\AddOns\NotesUNeed\Artwork\Texture1" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
                        <BackgroundInsets>
                                <AbsInset left="11" right="12" top="12" bottom="11"/>
                        </BackgroundInsets>
                        <TileSize>
                                <AbsValue val="32"/>
                        </TileSize>
                        <EdgeSize>
                                <AbsValue val="32"/>
                        </EdgeSize>
                </Backdrop>
                <Layers>
                        <Layer level="ARTWORK">
                                <Texture name="NuNConfirmHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
                                        <Size>
                                                <AbsDimension x="230" y="60"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="12"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <FontString inherits="GameFontNormal" text="NUN_CONFIRM">
                                        <Anchors>
                                                <Anchor point="TOP" relativeTo="NuNChatHeader">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-14"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                        <Layer level="BACKGROUND">
                                <FontString name="NuNConflictLabel1" inherits="GameFontNormal" text="NUN_CONFLICT_LABEL1">
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="26" y="-36"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="NuNConflictLabel2" inherits="GameFontNormal" text="NUN_CONFLICT_LABEL2">
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="26" y="-56"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="NuNConflictedRealmsLabel" inherits="GameFontHighlight" text=" ">
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="26" y="-76"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>
                <Frames>
                        <Button name="NuNConfirmButton" inherits="UIPanelButtonTemplate" text="NUN_CONFIRM">
                                <Size>
                                        <AbsDimension x="90" y="21"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="25" y="22"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                        </OnLoad>
                                        <OnClick>
                                                PlaySound("igMainMenuOption");
                                                NuNGNoteFrame.confirmed = true;
                                                NuNGNote_WriteNote();
                                        </OnClick>
                                </Scripts>
                        </Button>
                        <Button name="NuNConfirmCancelButton" inherits="NuNOptionsButtonTemplate" text="NUN_CANCEL">
                                <Size>
                                        <AbsDimension x="90" y="21"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="BOTTOMRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-24" y="22"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                        </OnLoad>
                                        <OnClick>
                                                PlaySound("igMainMenuOption");
                                                HideUIPanel(NuN_ConfirmFrame);
                                        </OnClick>
                                </Scripts>
                        </Button>
                </Frames>
                <Scripts>
                        <OnLoad>
                        </OnLoad>
                </Scripts>
        </Frame>



<!--  Search Frame -->

        <Frame name="NuNSearchFrame" toplevel="true" enableMouse="true" movable="true" parent="UIParent" hidden="true">
                <TitleRegion setAllPoints="true"/>
                <Size>
                        <AbsDimension x="384" y="512"/>
                </Size>
                <Anchors>
                        <Anchor point="TOPLEFT">
                                <Offset>
                                        <AbsDimension x="60" y="-144"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <HitRectInsets>
                        <AbsInset left="0" right="35" top="0" bottom="75"/>
                </HitRectInsets>
                <Layers>
                        <Layer level="BACKGROUND">
                                <Texture name="NuNSearchFramePortrait" file="Interface\PetitionFrame\GuildCharter-Icon">
                                        <Size>
                                                <AbsDimension x="58" y="58"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="8" y="-9"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                        </Layer>
                        <Layer level="ARTWORK">
                                <Texture file="Interface\TaxiFrame\UI-TaxiFrame-TopLeft">
                                        <Size>
                                                <AbsDimension x="256" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT"/>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\TaxiFrame\UI-TaxiFrame-TopRight">
                                        <Size>
                                                <AbsDimension x="128" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="256" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\TaxiFrame\UI-TaxiFrame-BotLeft">
                                        <Size>
                                                <AbsDimension x="256" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-256"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\TaxiFrame\UI-TaxiFrame-BotRight">
                                        <Size>
                                                <AbsDimension x="128" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="256" y="-256"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <FontString name="NuNSearchTitleText" inherits="GameFontNormal" text="NUN_SEARCH">
                                        <Size>
                                                <AbsDimension x="300" y="14"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOP" relativeTo="NuNSearchFrame" relativePoint="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-15"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>
                <Frames>
                        <Button name="NuNSearchFrameCloseButton" inherits="UIPanelCloseButton">
                                <Anchors>
                                        <Anchor point="TOPRIGHT" relativeTo="NuNSearchFrame" relativePoint="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-29" y="-8"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNSearchFrameScaleButton" inherits="UIPanelButtonTemplate2">
                                <Size>
                                        <AbsDimension x="24" y="24"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="RIGHT" relativeTo="NuNSearchFrameCloseButton" relativePoint="LEFT">
                                                <Offset>
                                                        <AbsDimension x="4" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="ARTWORK">
                                                <Texture name="NuNSearchFrameScaleIcon" file="Interface\AddOns\NotesUNeed\Artwork\NuNScale">
                                                        <Size>
                                                                <AbsDimension x="16" y="16"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="CENTER"/>
                                                        </Anchors>
                                                </Texture>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnClick>
                                                NuNScaleFrameShow();
                                        </OnClick>
                                        <OnEnter>
                                                NuNScaleFrameButton_OnEnter();
                                        </OnEnter>
                                        <OnLeave>
                                                NuN_TTButton_OnLeave();
                                        </OnLeave>
                                </Scripts>
                        </Button>

        <!-- Drop Down Search Boxes / Free Text Search Box -->
                        <Button name="NuNSearchClassDropDown" inherits="UIDropDownMenuTemplate" hidden="true">
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="52" y="-40"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                NuNSearchClassDropDown_OnLoad();
                                        </OnLoad>
                                </Scripts>
                        </Button>
                        <Button name="NuNSearchProfDropDown" inherits="UIDropDownMenuTemplate" hidden="true">
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="52" y="-40"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                NuNSearchProfDropDown_OnLoad();
                                        </OnLoad>
                                </Scripts>
                        </Button>
<!-- -->
                        <EditBox name="NuNSearchTextBox" autofocus="false" historyLines="0" letters="50" hidden="true">
                                <Size>
                                        <AbsDimension x="200" y="54"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="81" y="-26"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="BACKGROUND">
                                                <Texture name="NuNSearchBoxLeft" file="Interface\ChatFrame\UI-ChatInputBorder-Left">
                                                        <Size>
                                                                <AbsDimension x="106" y="27"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="-10" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                        <TexCoords left="0" right="1.0" top="0" bottom="1.0"/>
                                                </Texture>
                                                <Texture name="NuNSearchBoxRight" file="Interface\ChatFrame\UI-ChatInputBorder-Right">
                                                        <Size>
                                                                <AbsDimension x="75" y="27"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="10" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                        <TexCoords left="0.70703125" right="1.0" top="0" bottom="1.0"/>
                                                </Texture>
                                                <Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
                                                        <Size>
                                                                <AbsDimension x="5" y="27"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativeTo="NuNSearchBoxLeft" relativePoint="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                                <Anchor point="RIGHT" relativeTo="NuNSearchBoxRight" relativePoint="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                        <TexCoords left="0.29296875" right="1.0" top="0" bottom="1.0"/>
                                                </Texture>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnTextChanged>
                                        </OnTextChanged>
                                        <OnEscapePressed>
                                                if ( NuNSearchFrame.backEnabled ) then
                                                        NuNSearch_Back();
                                                else
                                                        HideUIPanel(NuNSearchFrame);
                                                end
                                        </OnEscapePressed>
                                        <OnEnterPressed>
                                                NuNSearch_Search();
                                        </OnEnterPressed>
                                </Scripts>
                                <FontString inherits="ChatFontNormal"/>
                        </EditBox>
<!-- -->

                        <Button name="NuNSearchFrameSearchButton" inherits="UIPanelButtonTemplate" text="NUN_SEARCH">
                                <Size>
                                        <AbsDimension x="56" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-39" y="-33"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                NuNSearch_Search();
                                        </OnClick>
                                </Scripts>
                        </Button>
                        <Button name="NuNSearchFrameBackButton" inherits="UIPanelButtonTemplate" text="NUN_GOBACK">
                                <Size>
                                        <AbsDimension x="56" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-39" y="-50"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                NuNSearch_Back();
                                        </OnClick>
                                </Scripts>
                        </Button>


        <!-- Faux Scroll Buttons for holding found NuN -->

                        <Button name="NuNSearchNote1" inherits="NuNSearchNoteTemplate" id="1" hidden="true">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuNSearchFrame">
                                                <Offset>
                                                        <AbsDimension x="19" y="-75"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNSearchNote2" inherits="NuNSearchNoteTemplate" id="2" hidden="true">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuNSearchNote1" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="1"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNSearchNote3" inherits="NuNSearchNoteTemplate" id="3" hidden="true">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuNSearchNote2" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="1"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNSearchNote4" inherits="NuNSearchNoteTemplate" id="4" hidden="true">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuNSearchNote3" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="1"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNSearchNote5" inherits="NuNSearchNoteTemplate" id="5" hidden="true">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuNSearchNote4" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="1"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNSearchNote6" inherits="NuNSearchNoteTemplate" id="6" hidden="true">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuNSearchNote5" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="1"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNSearchNote7" inherits="NuNSearchNoteTemplate" id="7" hidden="true">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuNSearchNote6" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="1"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNSearchNote8" inherits="NuNSearchNoteTemplate" id="8" hidden="true">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuNSearchNote7" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="1"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNSearchNote9" inherits="NuNSearchNoteTemplate" id="9" hidden="true">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuNSearchNote8" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="1"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNSearchNote10" inherits="NuNSearchNoteTemplate" id="10" hidden="true">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuNSearchNote9" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="1"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNSearchNote11" inherits="NuNSearchNoteTemplate" id="11" hidden="true">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuNSearchNote10" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="1"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNSearchNote12" inherits="NuNSearchNoteTemplate" id="12" hidden="true">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuNSearchNote11" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="1"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNSearchNote13" inherits="NuNSearchNoteTemplate" id="13" hidden="true">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuNSearchNote12" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="1"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNSearchNote14" inherits="NuNSearchNoteTemplate" id="14" hidden="true">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuNSearchNote13" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="1"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNSearchNote15" inherits="NuNSearchNoteTemplate" id="15" hidden="true">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuNSearchNote14" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="1"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNSearchNote16" inherits="NuNSearchNoteTemplate" id="16" hidden="true">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuNSearchNote15" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="1"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNSearchNote17" inherits="NuNSearchNoteTemplate" id="17" hidden="true">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuNSearchNote16" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="1"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNSearchNote18" inherits="NuNSearchNoteTemplate" id="18" hidden="true">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuNSearchNote17" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="1"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNSearchNote19" inherits="NuNSearchNoteTemplate" id="19" hidden="true">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuNSearchNote18" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="1"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNSearchNote20" inherits="NuNSearchNoteTemplate" id="20" hidden="true">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuNSearchNote19" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="1"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNSearchNote21" inherits="NuNSearchNoteTemplate" id="21" hidden="true">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuNSearchNote20" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="1"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNSearchNote22" inherits="NuNSearchNoteTemplate" id="22" hidden="true">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuNSearchNote21" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="1"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNSearchNote23" inherits="NuNSearchNoteTemplate" id="23" hidden="true">
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuNSearchNote22" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="1"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <ScrollFrame name="NuNSearchListScrollFrame" inherits="FauxScrollFrameTemplate">
                                <Size>
                                        <AbsDimension x="296" y="354"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="NuNSearchFrame">
                                                <Offset>
                                                        <AbsDimension x="19" y="-75"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="ARTWORK">
                                                <Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
                                                        <Size>
                                                                <AbsDimension x="31" y="256"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="5"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                <TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
                                                </Texture>
                                                <Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
                                                        <Size>
                                                                <AbsDimension x="31" y="106"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="-2"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                        <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
                                                </Texture>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnVerticalScroll>
                                                FauxScrollFrame_OnVerticalScroll(NUN_NOTE_HEIGHT, NuNSearch_Update);
                                        </OnVerticalScroll>
                                </Scripts>
                        </ScrollFrame>
                </Frames>
                <Scripts>
                        <OnLoad>
                                tinsert(UISpecialFrames,"NuNSearchFrame");
                        </OnLoad>
                        <OnHide>
                                if ( NuN_ScaleFrame:IsVisible() ) then
                                        HideUIPanel(NuN_ScaleFrame);
                                end
                        </OnHide>
                </Scripts>
        </Frame>


<!-- Generic Note Frame -->
        <Frame name="NuNGNoteFrame" toplevel="true" enableMouse="true" movable="true" parent="UIParent" hidden="true">
                <TitleRegion setAllPoints="true"/>
                <Size>
                        <AbsDimension x="640" y="512"/>
                </Size>
                <Anchors>
                        <Anchor point="CENTER">
                                <Offset>
                                        <AbsDimension x="250" y="-15"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <HitRectInsets>
                        <AbsInset left="0" right="44" top="0" bottom="13"/>
                </HitRectInsets>
                <Layers>
                        <Layer level="BACKGROUND">
                                <Texture file="Interface\HelpFrame\HelpFrame-TopLeft">
                                        <Size>
                                                <AbsDimension x="256" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT"/>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\HelpFrame\HelpFrame-Top">
                                        <Size>
                                                <AbsDimension x="256" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="256" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\HelpFrame\HelpFrame-TopRight">
                                        <Size>
                                                <AbsDimension x="128" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPRIGHT"/>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\HelpFrame\HelpFrame-BotLeft">
                                        <Size>
                                                <AbsDimension x="256" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="BOTTOMLEFT"/>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\HelpFrame\HelpFrame-Bottom">
                                        <Size>
                                                <AbsDimension x="256" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="BOTTOMLEFT">
                                                        <Offset>
                                                                <AbsDimension x="256" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\HelpFrame\HelpFrame-BotRight">
                                        <Size>
                                                <AbsDimension x="128" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="BOTTOMRIGHT"/>
                                        </Anchors>
                                </Texture>
                                <FontString name="NuNGTTCheckBoxLabel" inherits="GameFontNormalSmall" text="NUN_TT_PIN_TXT">
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="48" y="-14"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="NuNGLevelCheckBoxLabel" inherits="GameFontNormalSmall" text="NUN_LEVEL_TXT">
                                        <Anchors>
                                                <Anchor point="TOPRIGHT">
                                                        <Offset>
                                                                <AbsDimension x="-114" y="-14"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                        <Layer level="ARTWORK">
                                <Texture name="NuNGNoteFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
                                        <Size>
                                                <AbsDimension x="436" y="64"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="-12" y="12"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <FontString name="NuNGNoteHeader" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOP" relativeTo="NuNGNoteFrameHeader">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-14"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>

<!-- f1fs1 -->
                <Frames>
                <!-- Window Close -->
                        <Button name="NuNGNoteFrameCloseButton" inherits="UIPanelCloseButton">
                                <Anchors>
                                        <Anchor point="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-42" y="-3"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNGNoteFrameScaleButton" inherits="UIPanelButtonTemplate2">
                                <Size>
                                        <AbsDimension x="24" y="24"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="RIGHT" relativeTo="NuNGNoteFrameCloseButton" relativePoint="LEFT">
                                                <Offset>
                                                        <AbsDimension x="4" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="ARTWORK">
                                                <Texture name="NuNGNoteFrameScaleIcon" file="Interface\AddOns\NotesUNeed\Artwork\NuNScale">
                                                        <Size>
                                                                <AbsDimension x="16" y="16"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="CENTER"/>
                                                        </Anchors>
                                                </Texture>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnClick>
                                                NuNScaleFrameShow();
                                        </OnClick>
                                        <OnEnter>
                                                NuNScaleFrameButton_OnEnter();
                                        </OnEnter>
                                        <OnLeave>
                                                NuN_TTButton_OnLeave();
                                        </OnLeave>
                                </Scripts>
                        </Button>
                        <Button name="NuNGNoteFrameRunButton" inherits="NuNButtonTemplate" text="NUN_RUN">
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="-69" y="-28"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                NuN_RunButton_OnClick();
                                        </OnClick>
                                        <OnEnter>
                                                NuN_RunButton_OnEnter();
                                        </OnEnter>
                                        <OnLeave>
                                                NuN_TTButton_OnLeave();
                                        </OnLeave>
                                </Scripts>
                        </Button>
<!-- f1fs1f2 -->

                        <CheckButton name="NuN_GTTCheckBox" inherits="UICheckButtonTemplate">
                                <Size>
                                        <AbsDimension x="18" y="18"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="26" y="-12" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <HitRectInsets>
                                        <AbsInset left="0" right="-60" top="-10" bottom="0"/>
                                </HitRectInsets>
                                <Scripts>
                                        <OnClick>
                                                if ( this:GetChecked() ) then
                                                        PlaySound("igMainMenuOptionCheckBoxOff");
                                                else
                                                        PlaySound("igMainMenuOptionCheckBoxOn");
                                                end
                                                NuN_TTCheckBox_OnClick("General");
                                        </OnClick>
                                        <OnEnter>
                                                NuN_TTCheckBox_OnEnter();
                                        </OnEnter>
                                        <OnLeave>
                                                NuN_TTButton_OnLeave();
                                        </OnLeave>
                                </Scripts>
                        </CheckButton>
                        <CheckButton name="NuN_GLevel_CheckBox" inherits="UICheckButtonTemplate">
                                <Size>
                                        <AbsDimension x="18" y="18"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-193" y="-12" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <HitRectInsets>
                                        <AbsInset left="0" right="-60" top="-10" bottom="0"/>
                                </HitRectInsets>
                                <Scripts>
                                        <OnClick>
                                                if ( this:GetChecked() ) then
                                                        PlaySound("igMainMenuOptionCheckBoxOff");
                                                else
                                                        PlaySound("igMainMenuOptionCheckBoxOn");
                                                end
                                        </OnClick>
                                        <OnEnter>
                                                NuN_Level_CheckBox_OnEnter();
                                        </OnEnter>
                                        <OnLeave>
                                                NuN_TTButton_OnLeave();
                                        </OnLeave>
                                </Scripts>
                        </CheckButton>
                        <Button name="NuNNPCTargetButton" inherits="NuNButtonTemplate" text="NUN_NPC_TARGET" enabled="true" hidden="true">
                                <Anchors>
                                        <Anchor point="CENTER" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="64" y="32"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                PlaySound("igMainMenuOption");
                                                NuN_NPCTarget();
                                        </OnClick>
                                        <OnEnter>
                                                NuN_NPCTargetButton_OnEnter();
                                        </OnEnter>
                                        <OnLeave>
                                                NuN_TTButton_OnLeave();
                                        </OnLeave>
                                </Scripts>
                        </Button>
                        <Frame name="NuNGTypeDropDown" inherits="UIDropDownMenuTemplate">
                                <Size>
                                        <AbsDimension x="70" y="16"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="98" y="14"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                NuNGTypeDropDown_OnLoad();
                                        </OnLoad>
                                        <OnShow>
                                                NuNGTypeDropDown_OnLoad();
                                        </OnShow>
                                        <OnEnter>
                                                NuNGTypeDropDown_OnEnter();
                                        </OnEnter>
                                        <OnLeave>
                                                NuN_TTButton_OnLeave();
                                        </OnLeave>
                                        <OnEvent>
                                        </OnEvent>
                                </Scripts>
                        </Frame>

                        <Frame name="NuNGNoteInnerFrame" setAllPoints="true">
<!-- f1fs1f2fs2 -->
                                <Frames>
<!-- f1fs1f2fs2f3 -->
                                        <Button name="NuNGNoteTitleButton">
                                                <Size>
                                                        <AbsDimension x="548" y="32"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="30" y="-50"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                NuN_GNoteTitle_OnClick();
                                                        </OnClick>
                                                </Scripts>
                                                <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
                                                <NormalText name="NuNGNoteTitleButtonText" inherits="GameFontNormal" justifyH="LEFT">
                                                        <Size>
                                                                <AbsDimension x="520" y="30"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="LEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="10" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </NormalText>
                                        </Button>

                                        <EditBox name="NuNGNoteTextBox" historyLines="0" letters="75">
                                                <Size>
                                                        <AbsDimension x="548" y="32"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="30" y="-50"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Layers>
                                                        <Layer level="BACKGROUND">
                                                                <Texture name="NuNGNoteBoxLeft" file="Interface\ChatFrame\UI-ChatInputBorder-Left">
                                                                        <Size>
                                                                                <AbsDimension x="106" y="32"/>
                                                                        </Size>
                                                                        <Anchors>
                                                                                <Anchor point="LEFT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="-10" y="0"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                        <TexCoords left="0" right="1.0" top="0" bottom="1.0"/>
                                                                </Texture>
                                                                <Texture name="NuNGNoteBoxRight" file="Interface\ChatFrame\UI-ChatInputBorder-Right">
                                                                        <Size>
                                                                                <AbsDimension x="75" y="32"/>
                                                                        </Size>
                                                                        <Anchors>
                                                                                <Anchor point="RIGHT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="10" y="0"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                        <TexCoords left="0.70703125" right="1.0" top="0" bottom="1.0"/>
                                                                </Texture>
                                                                <Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left">
                                                                        <Size>
                                                                                <AbsDimension x="5" y="32"/>
                                                                        </Size>
                                                                        <Anchors>
                                                                                <Anchor point="LEFT" relativeTo="NuNGNoteBoxLeft" relativePoint="RIGHT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="0"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                                <Anchor point="RIGHT" relativeTo="NuNGNoteBoxRight" relativePoint="LEFT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="0"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                        <TexCoords left="0.29296875" right="1.0" top="0" bottom="1.0"/>
                                                                </Texture>
                                                        </Layer>
                                                </Layers>
                                                <Scripts>
                                                        <OnTextChanged>
                                                                if ( ( this:GetText() == nil ) or ( this:GetText() == "" ) ) then
                                                                        NuNGNoteButtonSaveNote:Disable();
                                                                        NuNGNoteButtonDateStamp:Disable();
                                                                        NuNGNoteButtonLoc:Disable();
                                                                elseif ( not NuNGNoteFrame.fromQuest ) then
                                                                        NuNGNoteButtonSaveNote:Enable();
                                                                        NuNGNoteButtonDateStamp:Enable();
                                                                        NuNGNoteButtonLoc:Enable();
                                                                end
                                                        </OnTextChanged>
                                                        <OnEnterPressed>
                                                                if ( ( this:GetText() == nil ) or ( this:GetText() == "" ) or ( NuNGNoteFrame.fromQuest ) ) then
                                                                else
                                                                        this:ClearFocus();
                                                                        NuNGNoteTextBox:ClearFocus();
                                                                        NuNGNoteTextScroll:SetFocus();
                                                                        NuN_GNoteTitleSet();
                                                                end
                                                        </OnEnterPressed>
                                                        <OnTabPressed>
                                                                if ( ( this:GetText() == nil ) or ( this:GetText() == "" ) or ( NuNGNoteFrame.fromQuest ) ) then
                                                                else
                                                                        this:ClearFocus();
                                                                        NuNGNoteTextBox:ClearFocus();
                                                                        NuNGNoteTextScroll:SetFocus();
                                                                        NuN_GNoteTitleSet();
                                                                end
                                                        </OnTabPressed>
                                                        <OnEnter>
                                                                NuN_GNoteTitle_OnEnter();
                                                        </OnEnter>
                                                        <OnLeave>
                                                                NuN_TTButton_OnLeave();
                                                        </OnLeave>
                                                        <OnEscapePressed>
                                                                NuNGNote_HideFrame();
                                                        </OnEscapePressed>
                                                </Scripts>
                                                <FontString inherits="ChatFontNormal"/>
                                        </EditBox>

                                        <Button name="NuNGOpenChatButton" inherits="UIPanelButtonTemplate2">
                                                <Size>
                                                        <AbsDimension x="24" y="24"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-68" y="-28"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                NuN_OpenChat("General");
                                                        </OnClick>
                                                        <OnEnter>
                                                                NuN_OpenChat_OnEnter();
                                                        </OnEnter>
                                                        <OnLeave>
                                                                NuN_TTButton_OnLeave();
                                                        </OnLeave>
                                                </Scripts>
                                                <NormalTexture file="Interface\ChatFrame\UI-ChatIcon-Chat-Up"/>
                                                <PushedTexture file="Interface\ChatFrame\UI-ChatIcon-Chat-Down"/>
                                                <DisabledTexture file="Interface\ChatFrame\UI-ChatIcon-Chat-Disabled"/>
                                                <HighlightTexture file="Interface\MainMenuBar\UI-MainMenu-ScrollUpButton-Highlight" alphaMode="ADD"/>
                                        </Button>
                                        <Button name="NuNGFrameHyperButton" inherits="UIPanelButtonTemplate2" text="[]">
                                                <Size>
                                                        <AbsDimension x="24" y="24"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="NuNGOpenChatButton" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-2" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                NuN_HyperButton_OnClick("General");
                                                        </OnClick>
                                                        <OnEnter>
                                                                NuN_HyperButton_OnEnter();
                                                        </OnEnter>
                                                        <OnLeave>
                                                                NuN_TTButton_OnLeave();
                                                        </OnLeave>
                                                </Scripts>
                                        </Button>

                                        <Button name="NuNMapNoteButton" inherits="NuNButtonTemplate" text="NUN_MAPNOTES_TXT">
                                                <Size>
                                                        <AbsDimension x="122" y="21"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="NuNGOpenChatButton">
                                                                <Offset>
                                                                        <AbsDimension x="-5" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                PlaySound("igMainMenuOption");
                                                                NuN_MapNote("Note", "", "", nil);
                                                        </OnClick>
                                                        <OnEnter>
                                                                NuNMapNoteButton_OnEnter();
                                                        </OnEnter>
                                                        <OnLeave>
                                                                NuN_TTButton_OnLeave();
                                                        </OnLeave>
                                                </Scripts>
                                        </Button>

                                        <Frame name="NuNGNoteDivider" inherits="HelpFrameDividerTemplate">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="12" y="-75"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                        </Frame>

<!-- f1fs1f2fs2/f3 -->
                                        <ScrollFrame name="NuNGNoteScrollFrame" inherits="UIPanelScrollFrameTemplate">
                                                <Size>
                                                        <AbsDimension x="540" y="375"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPLEFT" relativeTo="NuNGNoteDivider" relativePoint="BOTTOMLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="8" y="4"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Layers>
                                                        <Layer level="ARTWORK">
                                                                <Texture name="NuNGNoteScrollBarTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
                                                                        <Size>
                                                                                <AbsDimension x="31" y="156"/>
                                                                        </Size>
                                                                        <Anchors>
                                                                                <Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="5"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                        <TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
                                                                </Texture>
                                                                <Texture name="NuNGNoteScrollBarBottom" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
                                                                        <Size>
                                                                                <AbsDimension x="31" y="106"/>
                                                                        </Size>
                                                                        <Anchors>
                                                                                <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="-2"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                        <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
                                                                </Texture>
                                                                <Texture name="NuNGNoteScrollBarMiddle" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
                                                                        <Size>
                                                                                <AbsDimension x="31" y="60"/>
                                                                        </Size>
                                                                        <Anchors>
                                                                                <Anchor point="TOP" relativeTo="NuNGNoteScrollBarTop" relativePoint="BOTTOM">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="0"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                                <Anchor point="BOTTOM" relativeTo="NuNGNoteScrollBarBottom" relativePoint="TOP">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="0"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                        <TexCoords left="0" right="0.484375" top=".75" bottom="1.0"/>
                                                                </Texture>
                                                                <FontString name="NuNGNoteTextLabel" inherits="GameFontNormalSmall" text="NUN_TXT_LABEL">
                                                                        <Anchors>
                                                                                <Anchor point="RIGHT" relativeTo="NuNGNoteScrollBarBottom" relativePoint="BOTTOMLEFT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="-18" y="2"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                </FontString>
                                                        </Layer>
                                                </Layers>
                                                <ScrollChild>
                                                        <EditBox name="NuNGNoteTextScroll" autoFocus="false" multiLine="true" letters="5060" text="NUN_BOILERPLATE">
                                                                <Size>
                                                                        <AbsDimension x="541" y="234"/>
                                                                </Size>
                                                                <Scripts>
                                                                        <OnTextChanged>
                                                                                ScrollingEdit_OnTextChanged();
                                                                                NuN_TextWarning(this, "NuNGNoteTextLabel");
                                                                        </OnTextChanged>
                                                                        <OnCursorChanged>
                                                                                ScrollingEdit_OnCursorChanged(arg1, arg2, arg3, arg4);
                                                                        </OnCursorChanged>
                                                                        <OnUpdate>
                                                                                ScrollingEdit_OnUpdate();
                                                                        </OnUpdate>
                                                                        <OnEscapePressed>
                                                                                NuN_TextEscape(NuNGNoteFrame, NuNGNoteTextScroll);
                                                                        </OnEscapePressed>
                                                                </Scripts>
                                                                <FontString inherits="ChatFontNormal"/>
                                                        </EditBox>
                                                </ScrollChild>
                                        </ScrollFrame>


                                <!-- Buttons for Saving and Cancelling -->
                                        <Button name="NuNGNoteButtonSaveNote" inherits="NuNButtonTemplate" text="NUN_SAVE" enabled="false">
                                                <Anchors>
                                                        <Anchor point="CENTER" relativePoint="BOTTOMRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-198" y="32"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                PlaySound("igMainMenuOption");
                                                                NuNGNoteFrame.confirmed = false;
                                                                NuNGNote_WriteNote();
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="NuNGNoteButtonCancel" inherits="NuNButtonTemplate" text="NUN_CANCEL">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="NuNGNoteButtonSaveNote">
                                                                <Offset>
                                                                        <AbsDimension x="6" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                PlaySound("igMainMenuOption");
                                                                NuNGNote_HideFrame();
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="NuNGNoteButtonDelete" inherits="NuNButtonTemplate" text="NUN_DELETE">
                                                <Anchors>
                                                        <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="NuNGNoteButtonSaveNote">
                                                                <Offset>
                                                                        <AbsDimension x="-6" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                PlaySound("igMainMenuOption");
                                                                NuN_DeleteNote("General");
                                                        </OnClick>
                                                        <OnEnter>
                                                                NuN_GNoteButtonDelete_OnEnter();
                                                        </OnEnter>
                                                        <OnLeave>
                                                                NuN_TTButton_OnLeave();
                                                        </OnLeave>
                                                </Scripts>
                                        </Button>
                                        <Button name="NuNGNoteButtonOptions" inherits="NuNButtonTemplate" text="NUN_OPTIONS">
                                                <Anchors>
                                                        <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="NuNGNoteButtonDelete">
                                                                <Offset>
                                                                        <AbsDimension x="-6" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                PlaySound("igMainMenuOption");
                                                                NuN_Options();
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="NuNGNoteButtonDateStamp" inherits="NuNButtonTemplate" text="NUN_STAMP">
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="19" y="-28"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                PlaySound("igMainMenuOption");
                                                                NuNGNote_DateStamp();
                                                        </OnClick>
                                                </Scripts>
                                        </Button>
                                        <Button name="NuNGNoteButtonLoc" inherits="NuNButtonTemplate" text="NUN_LOC">
                                                <Anchors>
                                                        <Anchor point="LEFT" relativeTo="NuNGNoteButtonDateStamp" relativePoint="RIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="6" y="0"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                PlaySound("igMainMenuOption");
                                                                NuNGNote_Loc();
                                                        </OnClick>
                                                        <OnEnter>
                                                                NuN_LocButton_OnEnter();
                                                        </OnEnter>
                                                        <OnLeave>
                                                                NuN_TTButton_OnLeave();
                                                        </OnLeave>
                                                </Scripts>
                                        </Button>

                                </Frames>
                        </Frame>
                </Frames>
                <Scripts>
                        <OnLoad>
                                tinsert(UISpecialFrames,"NuNGNoteFrame");
                                this.type = 1;
                                this.confirmed = false;
                                this.fromQuest = nil;
                                this.qText = nil;
                        </OnLoad>
                        <OnHide>
                                NuN_SaveLast("General");
                                if ( NuN_ChatFrame:IsVisible() ) then
                                        HideUIPanel(NuN_ChatFrame);
                                end
                                if ( NuN_ConfirmFrame:IsVisible() ) then
                                        HideUIPanel(NuN_ConfirmFrame);
                                end
                                if ( NuN_ScaleFrame:IsVisible() ) then
                                        HideUIPanel(NuN_ScaleFrame);
                                end
                                if ( ( NuNcDeleteFrame:IsVisible() ) and ( NuNcDeleteFrame.type == "General" ) ) then
                                        HideUIPanel(NuNcDeleteFrame);
                                end
                                this.fromQuest = nil;
                        </OnHide>
                </Scripts>
        </Frame>



        <Frame name="NuNMicroFrame" parent="UIParent" toplevel="true" frameStrata="LOW" enableMouse="true" movable="true" hidden="false">
                <TitleRegion setAllPoints="true"/>
                <Size>
                        <AbsDimension x="97" y="29"/>
                </Size>
                <Anchors>
                        <Anchor point="TOP" relativePoint="TOP">
                                <Offset>
                                        <AbsDimension x="0" y="-30"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Scripts>
                        <OnShow>
                                NuN_CheckTarget();
                        </OnShow>
                        <OnUpdate>
                                NuN_OnUpdate(arg1);
                        </OnUpdate>
                </Scripts>
                <Frames>
                        <Frame name="NuNMicroBorder" setAllPoints="true" frameStrata="BACKGROUND" hidden="true">
                                <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                                        <EdgeSize>
                                                <AbsValue val="6"/>
                                        </EdgeSize>
                                        <TileSize>
                                                <AbsValue val="8"/>
                                        </TileSize>
                                        <BackgroundInsets>
                                                <AbsInset left="6" right="6" top="6" bottom="6"/>
                                        </BackgroundInsets>
                                </Backdrop>
                                <Scripts>
                                        <OnLoad>
                                                this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
                                                this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
                                                this:SetFrameLevel(this:GetFrameLevel() - 1);
                                        </OnLoad>
                                </Scripts>
                        </Frame>
                        <Button name="NuNMicroOptionsButton" inherits="UIPanelButtonTemplate2">
                                <Size>
                                        <AbsDimension x="24" y="24"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="LEFT">
                                                <Offset>
                                                        <AbsDimension x="5" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="ARTWORK">
                                                <Texture name="NuNMicroOptionsIcon1" file="Interface\Buttons\UI-CheckBox-Up">
                                                        <Size>
                                                                <AbsDimension x="14" y="14"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="CENTER"/>
                                                        </Anchors>
                                                </Texture>
                                                <Texture name="NuNMicroOptionsIcon2" file="Interface\Buttons\UI-CheckBox-Check">
                                                        <Size>
                                                                <AbsDimension x="14" y="14"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="CENTER"/>
                                                        </Anchors>
                                                </Texture>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnClick>
                                                NuN_Options();
                                        </OnClick>
                                        <OnEnter>
                                                NuN_OptionsButton_OnEnter();
                                        </OnEnter>
                                        <OnLeave>
                                                NuN_TTButton_OnLeave();
                                        </OnLeave>
                                </Scripts>
                        </Button>
                        <Button name="NuNMicroBrowseButton" inherits="UIPanelButtonTemplate2">
                                <Size>
                                        <AbsDimension x="24" y="24"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="NuNMicroOptionsButton">
                                                <Offset>
                                                        <AbsDimension x="-3" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="ARTWORK">
                                                <Texture name="NuNMicroBrowseIcon" file="Interface\AddOns\NotesUNeed\Artwork\MagGlass">
                                                        <Size>
                                                                <AbsDimension x="12" y="12"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="CENTER"/>
                                                        </Anchors>
                                                </Texture>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnClick>
                                                NuN_DisplayAll();
                                        </OnClick>
                                        <OnEnter>
                                                NuN_BrowseButton_OnEnter();
                                        </OnEnter>
                                        <OnLeave>
                                                NuN_TTButton_OnLeave();
                                        </OnLeave>
                                </Scripts>
                        </Button>
                        <Button name="NuNMicroContactButton" inherits="UIPanelButtonTemplate2">
                                <Size>
                                        <AbsDimension x="24" y="24"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="NuNMicroBrowseButton">
                                                <Offset>
                                                        <AbsDimension x="-3" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="ARTWORK">
                                                <Texture name="NuNMicroContactDIcon" file="Interface\AddOns\NotesUNeed\Artwork\Disabled" hidden="true">
                                                        <Size>
                                                                <AbsDimension x="16" y="16"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="CENTER"/>
                                                        </Anchors>
                                                </Texture>
                                        </Layer>
                                        <Layer level="OVERLAY">
                                                <Texture name="NuNMicroContactIcon1" file="Interface\AddOns\NotesUNeed\Artwork\tAlliance">
                                                        <Size>
                                                                <AbsDimension x="14" y="14"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="CENTER">
                                                                        <Offset>
                                                                                <AbsDimension x="-2" y="2"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Texture>
                                                <Texture name="NuNMicroContactIcon2" file="Interface\AddOns\NotesUNeed\Artwork\tHorde">
                                                        <Size>
                                                                <AbsDimension x="14" y="14"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="CENTER">
                                                                        <Offset>
                                                                                <AbsDimension x="3" y="-4"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </Texture>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnClick>
                                                NuN_FromTarget(false);
                                        </OnClick>
                                        <OnEnter>
                                                NuN_ContactButton_OnEnter();
                                        </OnEnter>
                                        <OnLeave>
                                                NuN_TTButton_OnLeave();
                                        </OnLeave>
                                </Scripts>
                        </Button>
                        <Button name="NuNMicroGeneralButton" inherits="UIPanelButtonTemplate2">
                                <Size>
                                        <AbsDimension x="24" y="24"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="NuNMicroContactButton">
                                                <Offset>
                                                        <AbsDimension x="-3" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="ARTWORK">
                                                <Texture name="NuNMicroGeneralIcon" file="Interface\Buttons\UI-GuildButton-PublicNote-Up">
                                                        <Size>
                                                                <AbsDimension x="10" y="10"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="CENTER"/>
                                                        </Anchors>
                                                </Texture>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnClick>
                                                NuN_ShowNewGNote();
                                        </OnClick>
                                        <OnEnter>
                                                NuN_GNoteButton_OnEnter();
                                        </OnEnter>
                                        <OnLeave>
                                                NuN_TTButton_OnLeave();
                                        </OnLeave>
                                </Scripts>
                        </Button>
                </Frames>
        </Frame>

        <Frame name="NuN_TooltipControl" parent="GameTooltip" hidden="false">
                <Scripts>
                        <OnShow>
                                NuN_GameTooltip_OnShow();
                        </OnShow>
                        <OnHide>
                                NuN_GameTooltip_OnHide();
                        </OnHide>
                </Scripts>
        </Frame>

        <GameTooltip name="NuN_Tooltip" frameStrata="TOOLTIP" parent="UIParent" hidden="true" inherits="GameTooltipTemplate">
                <Scripts>
                        <OnLoad>
                                this.fadeStartTime = 0.0;
                                this.fadeHoldTime = 1.0;
                                this.fadeOutTime = 1.0;
                                this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
                                this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
                        </OnLoad>
                        <OnShow>
                                this.fadeStartTime = 0;
                        </OnShow>
                        <OnUpdate>
                                NuN_Tooltip_OnUpdate();
                        </OnUpdate>
                </Scripts>
        </GameTooltip>

        <Frame name="NuN_PinnedTooltipControl" parent="ItemRefTooltip" toplevel="true" frameStrata="HIGH" hidden="false">
                <Scripts>
                        <OnShow>
                                NuN_ItemRefTooltip_OnShow();
                        </OnShow>
                        <OnHide>
                                NuN_ItemRefTooltip_OnHide();
                        </OnHide>
                </Scripts>
        </Frame>

        <GameTooltip name="NuN_PinnedTooltip" inherits="GameTooltipTemplate" parent="UIParent" enableMouse="true" toplevel="true" movable="true" frameStrata="HIGH" hidden="true">
                <Size>
                        <AbsDimension x="128" y="64"/>
                </Size>
                <Anchors>
                        <Anchor point="TOP">
                                <Offset>
                                        <AbsDimension x="0" y="-90"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Frames>
                        <Button name="NuN_PinnedCloseButton">
                                <Size>
                                        <AbsDimension x="32" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="1" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                HideUIPanel(NuN_PinnedTooltip);
                                        </OnClick>
                                </Scripts>
                                <NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/>
                                <PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/>
                                <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
                        </Button>
                        <Button name="NuN_PinnedEditButton" inherits="UIPanelButtonTemplate2">
                                <Size>
                                        <AbsDimension x="24" y="24"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="NuN_PinnedCloseButton">
                                                <Offset>
                                                        <AbsDimension x="6" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="ARTWORK">
                                                <Texture name="NuN_PinnedTTEditIcon" file="Interface\Buttons\UI-GuildButton-PublicNote-Up">
                                                        <Size>
                                                                <AbsDimension x="10" y="10"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="CENTER"/>
                                                        </Anchors>
                                                </Texture>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnClick>
                                                NuN_PinnedTT_OnClick();
                                        </OnClick>
                                        <OnEnter>
                                                NuN_PinnedTT_OnEnter();
                                        </OnEnter>
                                        <OnLeave>
                                                NuN_TTButton_OnLeave();
                                        </OnLeave>
                                        <OnHide>
                                                NuN_PinnedTT_OnHide();
                                        </OnHide>
                                </Scripts>
                        </Button>
                </Frames>
                <Scripts>
                        <OnLoad>
                                this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
                                this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
                                this:RegisterForDrag("LeftButton");
                                this.type = "Empty";
                                this.subType = "Empty";
                        </OnLoad>
                        <OnDragStart>
                                this:StartMoving();
                        </OnDragStart>
                        <OnDragStop>
                                this:StopMovingOrSizing();
                                ValidateFramePosition(this);
                                NuN_FlagMoved();
                        </OnDragStop>
                        <OnShow>
                        </OnShow>
                </Scripts>
        </GameTooltip>

        <Frame name="NuN_MapTooltipControl" parent="WorldMapTooltip" hidden="false">
                <Scripts>
                        <OnShow>
                                NuN_WorldMapTooltip_OnShow();
                        </OnShow>
                        <OnHide>
                                NuN_WorldMapTooltip_OnHide();
                        </OnHide>
                </Scripts>
        </Frame>

        <GameTooltip name="NuN_MapTooltip" frameStrata="FULLSCREEN_DIALOG" parent="WorldMapFrame" hidden="true" inherits="GameTooltipTemplate">
                <Scripts>
                        <OnLoad>
                                this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
                                this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
                        </OnLoad>
                </Scripts>
        </GameTooltip>




<!-- Buttons integrated in to the Original Friends/Ignores/Guild Panels -->



        <Button name="NuN_FriendNotesButton1" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameFriendButton1" id="1" hidden="false"/>
        <Button name="NuN_FriendNotesButton2" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameFriendButton2" id="2" hidden="false"/>
        <Button name="NuN_FriendNotesButton3" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameFriendButton3" id="3" hidden="false"/>
        <Button name="NuN_FriendNotesButton4" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameFriendButton4" id="4" hidden="false"/>
        <Button name="NuN_FriendNotesButton5" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameFriendButton5" id="5" hidden="false"/>
        <Button name="NuN_FriendNotesButton6" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameFriendButton6" id="6" hidden="false"/>
        <Button name="NuN_FriendNotesButton7" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameFriendButton7" id="7" hidden="false"/>
        <Button name="NuN_FriendNotesButton8" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameFriendButton8" id="8" hidden="false"/>
        <Button name="NuN_FriendNotesButton9" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameFriendButton9" id="9" hidden="false"/>
        <Button name="NuN_FriendNotesButton10" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameFriendButton10" id="10" hidden="false"/>

        <Button name="NuN_IgnoreNotesButton1" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton1" id="1" hidden="false"/>
        <Button name="NuN_IgnoreNotesButton2" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton2" id="2" hidden="false"/>
        <Button name="NuN_IgnoreNotesButton3" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton3" id="3" hidden="false"/>
        <Button name="NuN_IgnoreNotesButton4" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton4" id="4" hidden="false"/>
        <Button name="NuN_IgnoreNotesButton5" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton5" id="5" hidden="false"/>
        <Button name="NuN_IgnoreNotesButton6" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton6" id="6" hidden="false"/>
        <Button name="NuN_IgnoreNotesButton7" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton7" id="7" hidden="false"/>
        <Button name="NuN_IgnoreNotesButton8" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton8" id="8" hidden="false"/>
        <Button name="NuN_IgnoreNotesButton9" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton9" id="9" hidden="false"/>
        <Button name="NuN_IgnoreNotesButton10" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton10" id="10" hidden="false"/>
        <Button name="NuN_IgnoreNotesButton11" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton11" id="11" hidden="false"/>
        <Button name="NuN_IgnoreNotesButton12" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton12" id="12" hidden="false"/>
        <Button name="NuN_IgnoreNotesButton13" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton13" id="13" hidden="false"/>
        <Button name="NuN_IgnoreNotesButton14" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton14" id="14" hidden="false"/>
        <Button name="NuN_IgnoreNotesButton15" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton15" id="15" hidden="false"/>
        <Button name="NuN_IgnoreNotesButton16" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton16" id="16" hidden="false"/>
        <Button name="NuN_IgnoreNotesButton17" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton17" id="17" hidden="false"/>
        <Button name="NuN_IgnoreNotesButton18" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton18" id="18" hidden="false"/>
        <Button name="NuN_IgnoreNotesButton19" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton19" id="19" hidden="false"/>
        <Button name="NuN_IgnoreNotesButton20" inherits="NuN_NoteButtonTemplate" parent="FriendsFrameIgnoreButton20" id="20" hidden="false"/>

        <Button name="NuN_WhoNotesButton1" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton1" id="1" hidden="false"/>
        <Button name="NuN_WhoNotesButton2" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton2" id="2" hidden="false"/>
        <Button name="NuN_WhoNotesButton3" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton3" id="3" hidden="false"/>
        <Button name="NuN_WhoNotesButton4" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton4" id="4" hidden="false"/>
        <Button name="NuN_WhoNotesButton5" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton5" id="5" hidden="false"/>
        <Button name="NuN_WhoNotesButton6" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton6" id="6" hidden="false"/>
        <Button name="NuN_WhoNotesButton7" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton7" id="7" hidden="false"/>
        <Button name="NuN_WhoNotesButton8" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton8" id="8" hidden="false"/>
        <Button name="NuN_WhoNotesButton9" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton9" id="9" hidden="false"/>
        <Button name="NuN_WhoNotesButton10" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton10" id="10" hidden="false"/>
        <Button name="NuN_WhoNotesButton11" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton11" id="11" hidden="false"/>
        <Button name="NuN_WhoNotesButton12" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton12" id="12" hidden="false"/>
        <Button name="NuN_WhoNotesButton13" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton13" id="13" hidden="false"/>
        <Button name="NuN_WhoNotesButton14" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton14" id="14" hidden="false"/>
        <Button name="NuN_WhoNotesButton15" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton15" id="15" hidden="false"/>
        <Button name="NuN_WhoNotesButton16" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton16" id="16" hidden="false"/>
        <Button name="NuN_WhoNotesButton17" inherits="NuN_NoteButtonTemplate2" parent="WhoFrameButton17" id="17" hidden="false"/>

        <Button name="NuN_GuildNotesButton1" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameButton1" id="1" hidden="false"/>
        <Button name="NuN_GuildNotesButton2" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameButton2" id="2" hidden="false"/>
        <Button name="NuN_GuildNotesButton3" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameButton3" id="3" hidden="false"/>
        <Button name="NuN_GuildNotesButton4" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameButton4" id="4" hidden="false"/>
        <Button name="NuN_GuildNotesButton5" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameButton5" id="5" hidden="false"/>
        <Button name="NuN_GuildNotesButton6" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameButton6" id="6" hidden="false"/>
        <Button name="NuN_GuildNotesButton7" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameButton7" id="7" hidden="false"/>
        <Button name="NuN_GuildNotesButton8" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameButton8" id="8" hidden="false"/>
        <Button name="NuN_GuildNotesButton9" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameButton9" id="9" hidden="false"/>
        <Button name="NuN_GuildNotesButton10" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameButton10" id="10" hidden="false"/>
        <Button name="NuN_GuildNotesButton11" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameButton11" id="11" hidden="false"/>
        <Button name="NuN_GuildNotesButton12" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameButton12" id="12" hidden="false"/>
        <Button name="NuN_GuildNotesButton13" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameButton13" id="13" hidden="false"/>

        <Button name="NuN_GuildSNotesButton1" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameGuildStatusButton1" id="1" hidden="false"/>
        <Button name="NuN_GuildSNotesButton2" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameGuildStatusButton2" id="2" hidden="false"/>
        <Button name="NuN_GuildSNotesButton3" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameGuildStatusButton3" id="3" hidden="false"/>
        <Button name="NuN_GuildSNotesButton4" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameGuildStatusButton4" id="4" hidden="false"/>
        <Button name="NuN_GuildSNotesButton5" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameGuildStatusButton5" id="5" hidden="false"/>
        <Button name="NuN_GuildSNotesButton6" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameGuildStatusButton6" id="6" hidden="false"/>
        <Button name="NuN_GuildSNotesButton7" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameGuildStatusButton7" id="7" hidden="false"/>
        <Button name="NuN_GuildSNotesButton8" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameGuildStatusButton8" id="8" hidden="false"/>
        <Button name="NuN_GuildSNotesButton9" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameGuildStatusButton9" id="9" hidden="false"/>
        <Button name="NuN_GuildSNotesButton10" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameGuildStatusButton10" id="10" hidden="false"/>
        <Button name="NuN_GuildSNotesButton11" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameGuildStatusButton11" id="11" hidden="false"/>
        <Button name="NuN_GuildSNotesButton12" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameGuildStatusButton12" id="12" hidden="false"/>
        <Button name="NuN_GuildSNotesButton13" inherits="NuN_NoteButtonTemplate3" parent="GuildFrameGuildStatusButton13" id="13" hidden="false"/>

        <Button name="NuN_QuestNotesButton1" inherits="NuN_NoteButtonTemplate4" parent="QuestLogTitle1" id="1" hidden="false"/>
        <Button name="NuN_QuestNotesButton2" inherits="NuN_NoteButtonTemplate4" parent="QuestLogTitle2" id="2" hidden="false"/>
        <Button name="NuN_QuestNotesButton3" inherits="NuN_NoteButtonTemplate4" parent="QuestLogTitle3" id="3" hidden="false"/>
        <Button name="NuN_QuestNotesButton4" inherits="NuN_NoteButtonTemplate4" parent="QuestLogTitle4" id="4" hidden="false"/>
        <Button name="NuN_QuestNotesButton5" inherits="NuN_NoteButtonTemplate4" parent="QuestLogTitle5" id="5" hidden="false"/>
        <Button name="NuN_QuestNotesButton6" inherits="NuN_NoteButtonTemplate4" parent="QuestLogTitle6" id="6" hidden="false"/>


        <Frame name="NuN_FFButton" parent="FriendsFrame" inherits="UIPanelButtonTemplate">
                <Size>
                        <AbsDimension x="32" y="32"/>
                </Size>
                <Anchors>
                        <Anchor point="TOPLEFT">
                                <Offset>
                                        <AbsDimension x="57" y="-9"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Frames>
                        <Frame name="NuN_FFButton_State" setAllPoints="true">
                                <Layers>
                                        <Layer level="BACKGROUND">
                                                <Texture name="NuN_FFButton_StateHUp" file="Interface\AddOns\NotesUNeed\Artwork\NuN-HButton-Up" hidden="true">
                                                        <Size>
                                                                <AbsDimension x="32" y="32"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="CENTER"/>
                                                        </Anchors>
                                                </Texture>
                                                <Texture name="NuN_FFButton_StateHDown" file="Interface\Addons\NotesUNeed\Artwork\NuN-HButton-Down" hidden="true">
                                                        <Size>
                                                                <AbsDimension x="32" y="32"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="CENTER"/>
                                                        </Anchors>
                                                </Texture>
                                                <Texture name="NuN_FFButton_StateAUp" file="Interface\AddOns\NotesUNeed\Artwork\NuN-AButton-Up" hidden="true">
                                                        <Size>
                                                                <AbsDimension x="32" y="32"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="CENTER"/>
                                                        </Anchors>
                                                </Texture>
                                                <Texture name="NuN_FFButton_StateADown" file="Interface\Addons\NotesUNeed\Artwork\NuN-AButton-Down" hidden="true">
                                                        <Size>
                                                                <AbsDimension x="32" y="32"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="CENTER"/>
                                                        </Anchors>
                                                </Texture>
                                        </Layer>
                                </Layers>
                        </Frame>
                        <Frame name="NuN_FFButton_Highlight" setAllPoints="true">
                                <Layers>
                                        <Layer level="ARTWORK">
                                                <Texture name="NuN_FFButton_StateLit" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight" alphaMode="ADD" hidden="true">
                                                        <Size>
                                                                <AbsDimension x="32" y="32"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="CENTER"/>
                                                        </Anchors>
                                                </Texture>
                                        </Layer>
                                </Layers>
                        </Frame>
                </Frames>
                <Scripts>
                        <OnShow>
                                NuN_FFButton_OnShow();
                        </OnShow>
                        <OnMouseDown>
                                NuN_FFButton_Down();
                        </OnMouseDown>
                        <OnMouseUp>
                                NuN_FFButton_Up();
                        </OnMouseUp>
                        <OnEnter>
                                NuN_FFButton_OnEnter();
                        </OnEnter>
                        <OnLeave>
                                NuN_FFButton_OnLeave();
                        </OnLeave>
                </Scripts>
        </Frame>

        <Frame name="NuN_ScaleFrame" parent="UIParent" toplevel="true" frameStrata="FULLSCREEN" hidden="true">
                <Size>
                        <AbsDimension x="240" y="170" />
                </Size>
                <Anchors>
                        <Anchor point="CENTER">
                                <Offset>
                                        <AbsDimension x="0" y="0"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                        <EdgeSize>
                                <AbsValue val="16"/>
                        </EdgeSize>
                        <TileSize>
                                <AbsValue val="16"/>
                        </TileSize>
                        <BackgroundInsets>
                                <AbsInset left="5" right="5" top="5" bottom="5"/>
                        </BackgroundInsets>
                </Backdrop>
                <Layers>
                        <Layer>
                                <FontString name="FrameScaleLabel" inherits="GameFontNormalSmall" text="NUN_FRAME_SCALE_TXT">
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="26" y="-10" />
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="FontScaleLabel" inherits="GameFontNormalSmall" text="NUN_FONT_SCALE_TXT">
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="92" y="-10" />
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="MapFontScaleLabel" inherits="GameFontNormalSmall" text="NUN_MAPNOTES_TXT">
                                        <Anchors>
                                                <Anchor point="TOPRIGHT">
                                                        <Offset>
                                                                <AbsDimension x="-17" y="-10" />
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>
                <Frames>
                        <Slider name="NuNFrameScaleSlider" orientation="VERTICAL" enableMouse="true">
                                <Size>
                                        <AbsDimension x="10" y="100"/>
                                </Size>
                                <HitRectInsets>
                                        <AbsInset left="-10" right="-10" top="0" bottom="0"/>
                                </HitRectInsets>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="40" y="-40"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Backdrop bgFile="Interface\Buttons\UI-SliderBar-Background" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true">
                                        <EdgeSize>
                                                <AbsValue val="8"/>
                                        </EdgeSize>
                                        <TileSize>
                                                <AbsValue val="8"/>
                                        </TileSize>
                                        <BackgroundInsets>
                                                <AbsInset left="6" right="6" top="3" bottom="3"/>
                                        </BackgroundInsets>
                                </Backdrop>
                                <Layers>
                                        <Layer level="ARTWORK">
                                                <FontString name="NuNFrameScaleSliderCurrent" inherits="GameFontGreenSmall">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativePoint="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="2" y="0" />
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString name="NuNFrameScaleSliderLow" inherits="GameFontHighlightSmall" text="NUN_FRAMESCALE_MAX_TXT">
                                                        <Anchors>
                                                                <Anchor point="BOTTOM" relativePoint="TOP">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="3"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString name="NuNFrameScaleSliderHigh" inherits="GameFontHighlightSmall" text="NUN_FRAMESCALE_MIN_TXT">
                                                        <Anchors>
                                                                <Anchor point="TOP" relativePoint="BOTTOM">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <ThumbTexture name="NuNFrameScaleSliderThumb" file="Interface\Buttons\UI-SliderBar-Button-Vertical">
                                        <Size>
                                                <AbsDimension x="32" y="32"/>
                                        </Size>
                                </ThumbTexture>
                                <Scripts>
                                        <OnShow>
                                                NuNFrameScaleSlider_OnShow();
                                        </OnShow>
                                        <OnValueChanged>
                                                NuNFrameScaleSlider_OnValueChanged();
                                        </OnValueChanged>
                                </Scripts>
                        </Slider>
                        <Slider name="NuNFontScaleSlider" orientation="VERTICAL" enableMouse="true">
                                <Size>
                                        <AbsDimension x="10" y="100"/>
                                </Size>
                                <HitRectInsets>
                                        <AbsInset left="-10" right="-10" top="0" bottom="0"/>
                                </HitRectInsets>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="110" y="-40"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Backdrop bgFile="Interface\Buttons\UI-SliderBar-Background" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true">
                                        <EdgeSize>
                                                <AbsValue val="8"/>
                                        </EdgeSize>
                                        <TileSize>
                                                <AbsValue val="8"/>
                                        </TileSize>
                                        <BackgroundInsets>
                                                <AbsInset left="6" right="6" top="3" bottom="3"/>
                                        </BackgroundInsets>
                                </Backdrop>
                                <Layers>
                                        <Layer level="ARTWORK">
                                                <FontString name="NuNFontScaleSliderCurrent" inherits="GameFontGreenSmall">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativePoint="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="2" y="0" />
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString name="NuNFontScaleSliderLow" inherits="GameFontHighlightSmall" text="NUN_TT_FONTSCALE_MAX_TXT">
                                                        <Anchors>
                                                                <Anchor point="BOTTOM" relativePoint="TOP">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="3"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString name="NuNFontScaleSliderHigh" inherits="GameFontHighlightSmall" text="NUN_TT_FONTSCALE_MIN_TXT">
                                                        <Anchors>
                                                                <Anchor point="TOP" relativePoint="BOTTOM">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <ThumbTexture name="NuNFontScaleSliderThumb" file="Interface\Buttons\UI-SliderBar-Button-Vertical">
                                        <Size>
                                                <AbsDimension x="32" y="32"/>
                                        </Size>
                                </ThumbTexture>
                                <Scripts>
                                        <OnShow>
                                                NuNFontScaleSlider_OnShow();
                                        </OnShow>
                                        <OnValueChanged>
                                                NuNFontScaleSlider_OnValueChanged();
                                        </OnValueChanged>
                                </Scripts>
                        </Slider>
                        <Slider name="NuNMapFontScaleSlider" orientation="VERTICAL" enableMouse="true">
                                <Size>
                                        <AbsDimension x="10" y="100"/>
                                </Size>
                                <HitRectInsets>
                                        <AbsInset left="-10" right="-10" top="0" bottom="0"/>
                                </HitRectInsets>
                                <Anchors>
                                        <Anchor point="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-40" y="-40"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Backdrop bgFile="Interface\Buttons\UI-SliderBar-Background" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true">
                                        <EdgeSize>
                                                <AbsValue val="8"/>
                                        </EdgeSize>
                                        <TileSize>
                                                <AbsValue val="8"/>
                                        </TileSize>
                                        <BackgroundInsets>
                                                <AbsInset left="6" right="6" top="3" bottom="3"/>
                                        </BackgroundInsets>
                                </Backdrop>
                                <Layers>
                                        <Layer level="ARTWORK">
                                                <FontString name="NuNMapFontScaleSliderCurrent" inherits="GameFontGreenSmall">
                                                        <Anchors>
                                                                <Anchor point="LEFT" relativePoint="RIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="2" y="0" />
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString name="NuNMapFontScaleSliderLow" inherits="GameFontHighlightSmall" text="NUN_TT_MAPFONTSCALE_MAX_TXT">
                                                        <Anchors>
                                                                <Anchor point="BOTTOM" relativePoint="TOP">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="3"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString name="NuNMapFontScaleSliderHigh" inherits="GameFontHighlightSmall" text="NUN_TT_MAPFONTSCALE_MIN_TXT">
                                                        <Anchors>
                                                                <Anchor point="TOP" relativePoint="BOTTOM">
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <ThumbTexture name="NuNMapFontScaleSliderThumb" file="Interface\Buttons\UI-SliderBar-Button-Vertical">
                                        <Size>
                                                <AbsDimension x="32" y="32"/>
                                        </Size>
                                </ThumbTexture>
                                <Scripts>
                                        <OnShow>
                                                NuNMapFontScaleSlider_OnShow();
                                        </OnShow>
                                        <OnValueChanged>
                                                NuNMapFontScaleSlider_OnValueChanged();
                                        </OnValueChanged>
                                </Scripts>
                        </Slider>
                </Frames>
                <Scripts>
                        <OnLoad>
                                this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
                                this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
                        </OnLoad>
                </Scripts>
        </Frame>

        <Frame name="NuNcDeleteFrame" toplevel="true" hidden="true" parent="UIParent" frameStrata="FULLSCREEN" enableMouse="true">
                <Size>
                        <AbsDimension x="400" y="125"/>
                </Size>
                <Anchors>
                        <Anchor point="CENTER"/>
                </Anchors>
                <Backdrop bgFile="Interface\AddOns\NotesUNeed\Artwork\Texture1" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
                        <BackgroundInsets>
                                <AbsInset left="11" right="12" top="12" bottom="11"/>
                        </BackgroundInsets>
                        <TileSize>
                                <AbsValue val="32"/>
                        </TileSize>
                        <EdgeSize>
                                <AbsValue val="32"/>
                        </EdgeSize>
                </Backdrop>
                <Layers>
                        <Layer level="ARTWORK">
                                <Texture name="NuNcDeleteHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
                                        <Size>
                                                <AbsDimension x="230" y="60"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="12"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <FontString inherits="GameFontNormal" text="NUN_DELETE">
                                        <Anchors>
                                                <Anchor point="CENTER" relativeTo="NuNcDeleteHeader">
                                                        <Offset>
                                                                <AbsDimension x="0" y="12"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                        <Layer level="BACKGROUND">
                                <FontString name="NuNcDeleteLabel" inherits="GameFontHighlight" text="(PLACE HOLDER)">
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-33"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>
                <Frames>
                        <EditBox name="NuNcDeleteGhostTextBox" autoFocus="true" historyLines="0" letters="0" hidden="false">
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnEnterPressed>
                                                NuNcDeleteButton_OnClick();
                                        </OnEnterPressed>
                                        <OnEscapePressed>
                                                HideUIPanel(NuNcDeleteFrame);
                                        </OnEscapePressed>
                                </Scripts>
                        </EditBox>

                        <Button name="NuNcDeleteButton" inherits="UIPanelButtonTemplate" text="NUN_DELETE">
                                <Size>
                                        <AbsDimension x="90" y="21"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="50" y="22"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                        </OnLoad>
                                        <OnClick>
                                                PlaySound("igMainMenuOption");
                                                NuNcDeleteButton_OnClick();
                                        </OnClick>
                                </Scripts>
                        </Button>

                        <Button name="NuNcDeleteCloseButton" inherits="NuNOptionsButtonTemplate" text="NUN_CANCEL">
                                <Size>
                                        <AbsDimension x="90" y="21"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="BOTTOMRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-49" y="22"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                        </OnLoad>
                                        <OnClick>
                                                PlaySound("igMainMenuOption");
                                                HideUIPanel(NuNcDeleteFrame);
                                        </OnClick>
                                </Scripts>
                        </Button>
                </Frames>
        </Frame>


        <Frame name="NuNPopup" frameStrata="FULLSCREEN_DIALOG" hidden="true" parent="WorldMapFrame">
                <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
                        <BackgroundInsets>
                                <AbsInset left="5" right="5" top="5" bottom="5"/>
                        </BackgroundInsets>
<!--    Interface\DialogFrame\UI-DialogBox-Background   -->
                        <TileSize>
                                <AbsValue val="16"/>
                        </TileSize>
                        <EdgeSize>
                                <AbsValue val="16"/>
                        </EdgeSize>
                </Backdrop>
                <Layers>
                        <Layer level="ARTWORK">
                                <FontString name="NuNPopupTitle" inherits="GameFontHighlight" text="NUN_POPUP_TITLE">
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-12"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>
                <Frames>
                        <Button name="NuNPopupButton1" inherits="NuNPopupButtonTemplate" id="1">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="NuNPopupTitle" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-6"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNPopupButton2" inherits="NuNPopupButtonTemplate" id="2">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="NuNPopupButton1" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-1"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNPopupButton3" inherits="NuNPopupButtonTemplate" id="3">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="NuNPopupButton2" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-1"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNPopupButton4" inherits="NuNPopupButtonTemplate" id="4">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="NuNPopupButton3" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-1"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="NuNPopupButton5" inherits="NuNPopupButtonTemplate" id="5">
                                <Anchors>
                                        <Anchor point="TOP" relativeTo="NuNPopupButton4" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="-1"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                </Frames>
                <Scripts>
                        <OnLoad>
                                this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
                                this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
                        </OnLoad>
                        <OnShow>
                                PlaySound("UChatScrollButton");
                                NuNPopup_OnShow();
                        </OnShow>
                        <OnHide>
                                WorldMapTooltip:Hide();
                        </OnHide>
                        <OnUpdate>
                                NuNPopup_OnUpdate(arg1);
                        </OnUpdate>
                </Scripts>
        </Frame>

</Ui>

Generated by GNU Enscript 1.6.5.90.