<!--

	AtlasQuest, a World of Warcraft addon.
	Email me at mystery8@gmail.com

	This file is part of AtlasQuest.

	AtlasQuest is free software; you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation; either version 2 of the License, or
	(at your option) any later version.

	AtlasQuest is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with AtlasQuest; if not, write to the Free Software
	Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

-->


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

<Script file="AtlasQuest_Instanzen.lua" />
<Script file="AtlasQuest_Buttons.lua" />
<Script file="AtlasQuest_OptionUI.lua" />
<Script file="localization.en.lua" />
<Script file="localization.de.lua" />
<Script file="localization.cn.lua" />
<Script file="localization.tw.lua" />
<Script file="localization.ru.lua" />
<Script file="AtlasQuest_Items.lua" />
<Script file="AtlasQuest_QuestIDs.lua" />
<Script file="AtlasQuest.lua" />

-- Tooltip
<GameTooltip name="AtlasQuestTooltip" inherits="GameTooltipTemplate" parent="UIParent" hidden="true"/>

<!-- Option panel -->
<Frame name="AtlasQuestOptionFrame" enableMouse="true" movable="true" hidden="true" parent="UIParent" toplevel="true" frameStrata="DIALOG" enableKeyboard="true">
 <Size>
   <AbsDimension x="300" y="350"/>
 </Size>
 <Anchors>
   <Anchor point="TOP">
      <Offset><AbsDimension x="0" y="-240"/></Offset>>
   </Anchor>
 </Anchors>
 <Backdrop name="$parentBackdrop" bgFile="Interface\ChatFrame\ChatFrameBackground" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
  <EdgeSize>
   <AbsValue val="16"/>
  </EdgeSize>
  <Color r="0" g="0" b="0" a="1"/>
  <TileSize>
    <AbsValue val="32"/>
  </TileSize>
  <BackgroundInsets>
    <AbsInset left="5" right="5" top="5" bottom="5"/>
  </BackgroundInsets>
 </Backdrop>
 <Frames>
  <Button name="AQOptionCloseButton" inherits="OptionsButtonTemplate">
   <Size>
     <AbsDimension x="35" y="30"/>
   </Size>
	<Anchors>
		<Anchor point="BOTTOM">
			<Offset>
				<AbsDimension x="0" y="15"/>
			</Offset>
		</Anchor>
	</Anchors>
	<Scripts>
		<OnClick>
		  HideUIPanel(AtlasQuestOptionFrame);
	    </OnClick>
	    <OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
  </Button>
  <CheckButton name="AQAutoshowOption" inherits="OptionsCheckButtonTemplate" checked="true">
    <Size>
      <AbsDimension x="30" y="30"/>
    </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="10" y="-50"></AbsDimension>
			</Offset>
		</Anchor>
		<HitRectInsets>
          <AbsInset left="0" right="0" top="0" bottom="0"/>
        </HitRectInsets>
	</Anchors>
	<Scripts>
		<OnClick>
		  AQAutoshowOption_OnClick();
	    </OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
   </CheckButton>
   <CheckButton name="AQLEFTOption" inherits="OptionsCheckButtonTemplate" checked="true">
    <Size>
      <AbsDimension x="30" y="30"/>
    </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="10" y="-80"></AbsDimension>
			</Offset>
		</Anchor>
		<HitRectInsets>
          <AbsInset left="0" right="0" top="0" bottom="0"/>
        </HitRectInsets>
	</Anchors>
	<Scripts>
		<OnClick>
		  AQLEFTOption_OnClick();
	    </OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
   </CheckButton>
   <CheckButton name="AQRIGHTOption" inherits="OptionsCheckButtonTemplate" checked="true">
    <Size>
      <AbsDimension x="30" y="30"/>
    </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="10" y="-110"></AbsDimension>
			</Offset>
		</Anchor>
		<HitRectInsets>
          <AbsInset left="0" right="0" top="0" bottom="0"/>
        </HitRectInsets>
	</Anchors>
	<Scripts>
		<OnClick>
		  AQRIGHTOption_OnClick();
	    </OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
   </CheckButton>
   <CheckButton name="AQColourOption" inherits="OptionsCheckButtonTemplate" checked="true">
    <Size>
      <AbsDimension x="30" y="30"/>
    </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="10" y="-140"></AbsDimension>
			</Offset>
		</Anchor>
		<HitRectInsets>
          <AbsInset left="0" right="0" top="0" bottom="0"/>
        </HitRectInsets>
	</Anchors>
	<Scripts>
		<OnClick>
		  AQColourOption_OnClick();
	    </OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
   </CheckButton>
   <CheckButton name="AQCheckQuestlogButton" inherits="OptionsCheckButtonTemplate" checked="true">
    <Size>
      <AbsDimension x="30" y="30"/>
    </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="10" y="-170"></AbsDimension>
			</Offset>
		</Anchor>
		<HitRectInsets>
          <AbsInset left="0" right="0" top="0" bottom="0"/>
        </HitRectInsets>
	</Anchors>
	<Scripts>
		<OnClick>
		  AQCheckQuestlogButton_OnClick();
	    </OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
   </CheckButton>
   <CheckButton name="AQAutoQueryOption" inherits="OptionsCheckButtonTemplate" checked="true">
    <Size>
      <AbsDimension x="30" y="30"/>
    </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="10" y="-200"></AbsDimension>
			</Offset>
		</Anchor>
		<HitRectInsets>
          <AbsInset left="0" right="0" top="0" bottom="0"/>
        </HitRectInsets>
	</Anchors>
	<Scripts>
		<OnClick>
		  AQAutoQueryOption_OnClick();
	    </OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
   </CheckButton>

   <CheckButton name="AQNoQuerySpamOption" inherits="OptionsCheckButtonTemplate" checked="true">
    <Size>
      <AbsDimension x="30" y="30"/>
    </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="10" y="-230"></AbsDimension>
			</Offset>
		</Anchor>
		<HitRectInsets>
          <AbsInset left="0" right="0" top="0" bottom="0"/>
        </HitRectInsets>
	</Anchors>
	<Scripts>
		<OnClick>
		  AQNoQuerySpamOption_OnClick();
	    </OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
   </CheckButton>

   <CheckButton name="AQCompareTooltipOption" inherits="OptionsCheckButtonTemplate" checked="true">
    <Size>
      <AbsDimension x="30" y="30"/>
    </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="10" y="-260"></AbsDimension>
			</Offset>
		</Anchor>
		<HitRectInsets>
          <AbsInset left="0" right="0" top="0" bottom="0"/>
        </HitRectInsets>
	</Anchors>
	<Scripts>
		<OnClick>
		  AQCompareTooltipOption_OnClick();
	    </OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
   </CheckButton>
   </Frames>
   <Layers>
    <Layer level="ARTWORK">
     <FontString name="AQCaptionOptionTEXT" inherits="GameFontNormalLarge">
       <Size>
         <AbsDimension x="300" y="25"/>
       </Size>
       <Anchors>
         <Anchor point="TOPLEFT">
           <Offset>
              <AbsDimension x="0" y="-10"/>
           </Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AQAutoshowOptionTEXT" inherits="GameFontNormalSmall" justifyH = "LEFT">
       <Size>
         <AbsDimension x="240" y="25"/>
       </Size>
       <Anchors>
         <Anchor point="TOPLEFT">
           <Offset>
              <AbsDimension x="45" y="-50"/>
           </Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AQLEFTOptionTEXT" inherits="GameFontNormalSmall" justifyH = "LEFT">
       <Size>
         <AbsDimension x="240" y="25"/>
       </Size>
       <Anchors>
         <Anchor point="TOPLEFT">
           <Offset>
              <AbsDimension x="45" y="-80"/>
           </Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AQRIGHTOptionTEXT" inherits="GameFontNormalSmall" justifyH = "LEFT">
       <Size>
         <AbsDimension x="240" y="25"/>
       </Size>
       <Anchors>
         <Anchor point="TOPLEFT">
           <Offset>
              <AbsDimension x="45" y="-110"/>
           </Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AQColourOptionTEXT" inherits="GameFontNormalSmall" justifyH = "LEFT">
       <Size>
         <AbsDimension x="240" y="25"/>
       </Size>
       <Anchors>
         <Anchor point="TOPLEFT">
           <Offset>
              <AbsDimension x="45" y="-140"/>
           </Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AQCheckQuestlogTEXT" inherits="GameFontNormalSmall" justifyH = "LEFT">
       <Size>
         <AbsDimension x="240" y="25"/>
       </Size>
       <Anchors>
         <Anchor point="TOPLEFT">
           <Offset>
              <AbsDimension x="45" y="-170"/>
           </Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AQAutoQueryTEXT" inherits="GameFontNormalSmall" justifyH = "LEFT" >
       <Size>
         <AbsDimension x="240" y="35"/>
       </Size>
       <Anchors>
         <Anchor point="TOPLEFT">
           <Offset>
              <AbsDimension x="45" y="-200"/>
           </Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AQNoQuerySpamTEXT" inherits="GameFontNormalSmall" justifyH = "LEFT" >
       <Size>
         <AbsDimension x="240" y="35"/>
       </Size>
       <Anchors>
         <Anchor point="TOPLEFT">
           <Offset>
              <AbsDimension x="45" y="-230"/>
           </Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AQCompareTooltipTEXT" inherits="GameFontNormalSmall" justifyH = "LEFT" >
       <Size>
         <AbsDimension x="240" y="35"/>
       </Size>
       <Anchors>
         <Anchor point="TOPLEFT">
           <Offset>
              <AbsDimension x="45" y="-260"/>
           </Offset>
         </Anchor>
       </Anchors>
     </FontString>
    </Layer>
   </Layers>
   <Scripts>
    <OnShow>
      AtlasQuestOptionFrame_OnShow();
    </OnShow>
   </Scripts>

</Frame>

<!-- AtlasQuest Panel-->
<Frame name="AtlasQuestFrame" toplevel="false" enableMouse="true" movable="false" parent="AtlasFrame">
 <Size>
   <AbsDimension x="198" y="520"/>
 </Size>
 <Anchors>
   <Anchor point="TOP" relativeTo="AtlasFrame">
      <Offset><AbsDimension x="-545" y="-80"/></Offset>>
   </Anchor>
 </Anchors>
 <Backdrop name="$parentBackdrop" bgFile="Interface\Minimap\TooltipBackdrop-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
  <EdgeSize>
   <AbsValue val="16"/>
  </EdgeSize>
  <TileSize>
    <AbsValue val="32"/>
  </TileSize>
  <BackgroundInsets>
    <AbsInset left="5" right="5" top="5" bottom="5"/>
  </BackgroundInsets>
 </Backdrop>
 <Frames>
 <Button name="CLOSEbutton" inherits="UIPanelCloseButton" text="X">
   <Size>
     <AbsDimension x="27" y="27"/>
   </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="4" y="-4"/>
			</Offset>
		</Anchor>
	</Anchors>
	<Scripts>
		<OnClick>
		  AQCLOSE1_OnClick();
	    </OnClick>
	    <OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
 </Button>
 <Button name="OPTIONbutton" inherits="OptionsButtonTemplate" text="Options">
   <Size>
     <AbsDimension x="65" y="23"/>
   </Size>
	<Anchors>
		<Anchor point="BOTTOMRIGHT">
			<Offset>
				<AbsDimension x="-25" y="11"/>
			</Offset>
		</Anchor>
	</Anchors>
	<Scripts>
		<OnClick>
		  AQOPTION1_OnClick();
	    </OnClick>
	    <OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
 </Button>
 <Button name="STORYbutton" inherits="OptionsButtonTemplate" text="Story">
   <Size>
     <AbsDimension x="75" y="23"/>
   </Size>
	<Anchors>
		<Anchor point="BOTTOMLEFT">
			<Offset>
				<AbsDimension x="23" y="11"/>
			</Offset>
		</Anchor>
	</Anchors>
	<Scripts>
		<OnClick>
		  AQSTORY1_OnClick();
	    </OnClick>
	    <OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
 </Button>
  <CheckButton name="AQACB" inherits="OptionsCheckButtonTemplate" checked="true" text="AQACB">
    <Size>
      <AbsDimension x="30" y="30"/>
    </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="7" y="-52"></AbsDimension>
			</Offset>
		</Anchor>
	</Anchors>
	<HitRectInsets>
          <AbsInset left="0" right="0" top="0" bottom="0"/>
        </HitRectInsets>
	<Scripts>
		<OnClick> Alliance_OnClick(); </OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
</CheckButton>
 <CheckButton name="AQHCB" inherits="OptionsCheckButtonTemplate" checked="false" text="AQHCB">
    <Size>
      <AbsDimension x="30" y="30"/>
    </Size>
	<Anchors>
		<Anchor point="TOPRIGHT">
			<Offset>
				<AbsDimension x="-7" y="-52"></AbsDimension>
			</Offset>
		</Anchor>
	</Anchors>
	<HitRectInsets>
          <AbsInset left="0" right="0" top="0" bottom="0"/>
        </HitRectInsets>
	<Scripts>
		<OnClick> Horde_OnClick(); </OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
</CheckButton>
 <Button name="AQGeneralButton" inherits="" text="G">
   <Size>
     <AbsDimension x="165" y="20"/>
   </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="15" y="-30"/>
			</Offset>
		</Anchor>
	</Anchors>
	<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
	<Scripts>
		<OnClick>
		  AQGeneral_OnClick(arg1);
		</OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
 </Button>
 <Button name="AQQuestbutton1" inherits="" text="1">
   <Size>
     <AbsDimension x="165" y="20"/>
   </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="15" y="-85"/>
			</Offset>
		</Anchor>
	</Anchors>
	<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
	<Scripts>
		<OnClick>
		  AQSHOWNQUEST = 1;
		  Quest_OnClick(arg1);
		</OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
 </Button>
 <Button name="AQQuestbutton2" inherits="" text="2">
   <Size>
     <AbsDimension x="165" y="20"/>
   </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="15" y="-105"/>
			</Offset>
		</Anchor>
	</Anchors>
	<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
	<Scripts>
		<OnClick>
		  AQSHOWNQUEST = 2;
		  Quest_OnClick(arg1);
	    </OnClick>
	    <OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
 </Button>
 <Button name="AQQuestbutton3" inherits="" text="3">
   <Size>
     <AbsDimension x="165" y="20"/>
   </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="15" y="-125"/>
			</Offset>
		</Anchor>
	</Anchors>
	<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
	<Scripts>
		<OnClick> AQSHOWNQUEST = 3; Quest_OnClick(arg1); </OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
 </Button>
 <Button name="AQQuestbutton4" inherits="" text="4">
   <Size>
     <AbsDimension x="165" y="20"/>
   </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="15" y="-145"/>
			</Offset>
		</Anchor>
	</Anchors>
	<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
	<Scripts>
		<OnClick> AQSHOWNQUEST = 4; Quest_OnClick(arg1); </OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
 </Button>
 <Button name="AQQuestbutton5" inherits="" text="5">
   <Size>
     <AbsDimension x="165" y="20"/>
   </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="15" y="-165"/>
			</Offset>
		</Anchor>
	</Anchors>
	<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
	<Scripts>
		<OnClick> AQSHOWNQUEST = 5;  Quest_OnClick(arg1); </OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
 </Button>
 <Button name="AQQuestbutton6" inherits="" text="6">
   <Size>
     <AbsDimension x="165" y="20"/>
   </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="15" y="-185"/>
			</Offset>
		</Anchor>
	</Anchors>
	<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
	<Scripts>
		<OnClick> AQSHOWNQUEST = 6; Quest_OnClick(arg1); </OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
 </Button>
 <Button name="AQQuestbutton7" inherits="" text="7">
   <Size>
     <AbsDimension x="165" y="20"/>
   </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="15" y="-205"/>
			</Offset>
		</Anchor>
	</Anchors>
	<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
	<Scripts>
		<OnClick> AQSHOWNQUEST = 7; Quest_OnClick(arg1); </OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
 </Button>
 <Button name="AQQuestbutton8" inherits="" text="8">
   <Size>
     <AbsDimension x="165" y="20"/>
   </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="15" y="-225"/>
			</Offset>
		</Anchor>
	</Anchors>
	<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
	<Scripts>
		<OnClick> AQSHOWNQUEST = 8; Quest_OnClick(arg1); </OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
 </Button>
 <Button name="AQQuestbutton9" inherits="" text="9">
   <Size>
     <AbsDimension x="165" y="20"/>
   </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="15" y="-245"/>
			</Offset>
		</Anchor>
	</Anchors>
	<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
	<Scripts>
		<OnClick> AQSHOWNQUEST = 9; Quest_OnClick(arg1); </OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
 </Button>
 <Button name="AQQuestbutton10" inherits="" text="10">
   <Size>
     <AbsDimension x="165" y="20"/>
   </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="15" y="-265"/>
			</Offset>
		</Anchor>
	</Anchors>
	<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
	<Scripts>
		<OnClick> AQSHOWNQUEST = 10; Quest_OnClick(arg1); </OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
 </Button>
 <Button name="AQQuestbutton11" inherits="" text="11">
   <Size>
     <AbsDimension x="165" y="20"/>
   </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="15" y="-285"/>
			</Offset>
		</Anchor>
	</Anchors>
	<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
	<Scripts>
		<OnClick> AQSHOWNQUEST = 11; Quest_OnClick(arg1); </OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
 </Button>
 <Button name="AQQuestbutton12" inherits="" text="12">
   <Size>
     <AbsDimension x="165" y="20"/>
   </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="15" y="-305"/>
			</Offset>
		</Anchor>
	</Anchors>
	<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
	<Scripts>
		<OnClick> AQSHOWNQUEST = 12; Quest_OnClick(arg1); </OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
 </Button>
 <Button name="AQQuestbutton13" inherits="" text="13">
   <Size>
     <AbsDimension x="165" y="20"/>
   </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="15" y="-325"/>
			</Offset>
		</Anchor>
	</Anchors>
	<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
	<Scripts>
		<OnClick> AQSHOWNQUEST = 13; Quest_OnClick(arg1); </OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
 </Button>
 <Button name="AQQuestbutton14" inherits="" text="14">
   <Size>
     <AbsDimension x="165" y="20"/>
   </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="15" y="-345"/>
			</Offset>
		</Anchor>
	</Anchors>
	<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
	<Scripts>
		<OnClick> AQSHOWNQUEST = 14; Quest_OnClick(arg1); </OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
 </Button>
 <Button name="AQQuestbutton15" inherits="" text="15">
   <Size>
     <AbsDimension x="165" y="20"/>
   </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="15" y="-365"/>
			</Offset>
		</Anchor>
	</Anchors>
	<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
	<Scripts>
		<OnClick> AQSHOWNQUEST = 15; Quest_OnClick(arg1); </OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
 </Button>
 <Button name="AQQuestbutton16" inherits="" text="16">
   <Size>
     <AbsDimension x="165" y="20"/>
   </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="15" y="-385"/>
			</Offset>
		</Anchor>
	</Anchors>
	<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
	<Scripts>
		<OnClick> AQSHOWNQUEST = 16; Quest_OnClick(arg1); </OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
 </Button>
 <Button name="AQQuestbutton17" inherits="" text="17">
   <Size>
     <AbsDimension x="165" y="20"/>
   </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="15" y="-405"/>
			</Offset>
		</Anchor>
	</Anchors>
	<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
	<Scripts>
		<OnClick> AQSHOWNQUEST = 17; Quest_OnClick(arg1); </OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
 </Button>
 <Button name="AQQuestbutton18" inherits="" text="18">
   <Size>
     <AbsDimension x="165" y="20"/>
   </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="15" y="-425"/>
			</Offset>
		</Anchor>
	</Anchors>
	<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
	<Scripts>
		<OnClick> AQSHOWNQUEST = 18; Quest_OnClick(arg1); </OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
 </Button>
 <Button name="AQQuestbutton19" inherits="" text="18">
   <Size>
     <AbsDimension x="165" y="20"/>
   </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="15" y="-445"/>
			</Offset>
		</Anchor>
	</Anchors>
	<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
	<Scripts>
		<OnClick> AQSHOWNQUEST = 19; Quest_OnClick(arg1); </OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
 </Button>
 <Button name="AQQuestbutton20" inherits="" text="18">
   <Size>
     <AbsDimension x="165" y="20"/>
   </Size>
	<Anchors>
		<Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="15" y="-465"/>
			</Offset>
		</Anchor>
	</Anchors>
	<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD"/>
	<Scripts>
		<OnClick> AQSHOWNQUEST = 20; Quest_OnClick(arg1); </OnClick>
		<OnShow>
	    	this:SetFrameLevel( this:GetParent():GetFrameLevel() + 1 );
	    </OnShow>
	</Scripts>
 </Button>
 </Frames>
 <Layers>
   <Layer level="ARTWORK">
     <FontString name="Ueberschriftborder" inherits="GameFontNormal">
       <Size>
         <AbsDimension x="220" y="12"/>
       </Size>
       <Anchors>
         <Anchor point="TOP">
           <Offset>
              <AbsDimension x="0" y="-32"/>
           </Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AtlasQuestTitle" inherits="GameFontNormal">
       <Size>
         <AbsDimension x="200" y="12"/>
       </Size>
       <Anchors>
         <Anchor point="TOP">
           <Offset>
              <AbsDimension x="6" y="-12"/>
           </Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AtlasQuestAnzahl" inherits="GameFontNormal">
       <Size>
         <AbsDimension x="60" y="40"/>
       </Size>
       <Anchors>
         <Anchor point="TOP">
           <Offset>
              <AbsDimension x="0" y="-45"/>
           </Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <Texture name="AQBACKGROUNDTEXTUR" file="Interface\AddOns\AtlasQuest\Images\AtlasQuestPanelFrame">
         <Size><AbsDimension x="187" y="508"/></Size>
           <Anchors>
             <Anchor point="TOPRIGHT" >
               <Offset>
				  <AbsDimension x="-5" y="-5"/>
			   </Offset>
             </Anchor>
           </Anchors>
           <TexCoords left="0.2" right="0.6" top="0.4" bottom="0.9" />
      </Texture>
   </Layer>
   <Layer level="OVERLAY">
     <Texture name="AQQuestlineArrow_1" file="Interface\Glues\Login\UI-BackArrow">
         <Size><AbsDimension x="13" y="15"/></Size>
           <Anchors>
             <Anchor point="TOPLEFT" >
               <Offset>
				  <AbsDimension x="8" y="-90"/>
			   </Offset>
             </Anchor>
           </Anchors>
      </Texture>
      <Texture name="AQQuestlineArrow_2" file="Interface\Glues\Login\UI-BackArrow">
          <Size><AbsDimension x="13" y="15"/></Size>
           <Anchors>
             <Anchor point="TOPLEFT" relativeTo="AQQuestlineArrow_1" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
             </Anchor>
           </Anchors>
      </Texture>
      <Texture name="AQQuestlineArrow_3" file="Interface\Glues\Login\UI-BackArrow">
          <Size><AbsDimension x="13" y="15"/></Size>
           <Anchors>
             <Anchor point="TOPLEFT" relativeTo="AQQuestlineArrow_2" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
             </Anchor>
           </Anchors>
      </Texture>
      <Texture name="AQQuestlineArrow_4" file="Interface\Glues\Login\UI-BackArrow">
          <Size><AbsDimension x="13" y="15"/></Size>
           <Anchors>
             <Anchor point="TOPLEFT" relativeTo="AQQuestlineArrow_3" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
             </Anchor>
           </Anchors>
      </Texture>
      <Texture name="AQQuestlineArrow_5" file="Interface\Glues\Login\UI-BackArrow">
          <Size><AbsDimension x="13" y="15"/></Size>
           <Anchors>
             <Anchor point="TOPLEFT" relativeTo="AQQuestlineArrow_4" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
             </Anchor>
           </Anchors>
      </Texture>
      <Texture name="AQQuestlineArrow_6" file="Interface\Glues\Login\UI-BackArrow">
          <Size><AbsDimension x="13" y="15"/></Size>
           <Anchors>
             <Anchor point="TOPLEFT" relativeTo="AQQuestlineArrow_5" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
             </Anchor>
           </Anchors>
      </Texture>
      <Texture name="AQQuestlineArrow_7" file="Interface\Glues\Login\UI-BackArrow">
          <Size><AbsDimension x="13" y="15"/></Size>
           <Anchors>
             <Anchor point="TOPLEFT" relativeTo="AQQuestlineArrow_6" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
             </Anchor>
           </Anchors>
      </Texture>
      <Texture name="AQQuestlineArrow_8" file="Interface\Glues\Login\UI-BackArrow">
          <Size><AbsDimension x="13" y="15"/></Size>
           <Anchors>
             <Anchor point="TOPLEFT" relativeTo="AQQuestlineArrow_7" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
             </Anchor>
           </Anchors>
      </Texture>
      <Texture name="AQQuestlineArrow_9" file="Interface\Glues\Login\UI-BackArrow">
          <Size><AbsDimension x="13" y="15"/></Size>
           <Anchors>
             <Anchor point="TOPLEFT" relativeTo="AQQuestlineArrow_8" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
             </Anchor>
           </Anchors>
      </Texture>
      <Texture name="AQQuestlineArrow_10" file="Interface\Glues\Login\UI-BackArrow">
          <Size><AbsDimension x="13" y="15"/></Size>
           <Anchors>
             <Anchor point="TOPLEFT" relativeTo="AQQuestlineArrow_9" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
             </Anchor>
           </Anchors>
      </Texture>
      <Texture name="AQQuestlineArrow_11" file="Interface\Glues\Login\UI-BackArrow">
          <Size><AbsDimension x="13" y="15"/></Size>
           <Anchors>
             <Anchor point="TOPLEFT" relativeTo="AQQuestlineArrow_10" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
             </Anchor>
           </Anchors>
      </Texture>
      <Texture name="AQQuestlineArrow_12" file="Interface\Glues\Login\UI-BackArrow">
          <Size><AbsDimension x="13" y="15"/></Size>
           <Anchors>
             <Anchor point="TOPLEFT" relativeTo="AQQuestlineArrow_11" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
             </Anchor>
           </Anchors>
      </Texture>
      <Texture name="AQQuestlineArrow_13" file="Interface\Glues\Login\UI-BackArrow">
          <Size><AbsDimension x="13" y="15"/></Size>
           <Anchors>
             <Anchor point="TOPLEFT" relativeTo="AQQuestlineArrow_12" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
             </Anchor>
           </Anchors>
      </Texture>
      <Texture name="AQQuestlineArrow_14" file="Interface\Glues\Login\UI-BackArrow">
          <Size><AbsDimension x="13" y="15"/></Size>
           <Anchors>
             <Anchor point="TOPLEFT" relativeTo="AQQuestlineArrow_13" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
             </Anchor>
           </Anchors>
      </Texture>
      <Texture name="AQQuestlineArrow_15" file="Interface\Glues\Login\UI-BackArrow">
          <Size><AbsDimension x="13" y="15"/></Size>
           <Anchors>
             <Anchor point="TOPLEFT" relativeTo="AQQuestlineArrow_14" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
             </Anchor>
           </Anchors>
      </Texture>
      <Texture name="AQQuestlineArrow_16" file="Interface\Glues\Login\UI-BackArrow">
          <Size><AbsDimension x="13" y="15"/></Size>
           <Anchors>
             <Anchor point="TOPLEFT" relativeTo="AQQuestlineArrow_15" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
             </Anchor>
           </Anchors>
      </Texture>
      <Texture name="AQQuestlineArrow_17" file="Interface\Glues\Login\UI-BackArrow">
          <Size><AbsDimension x="13" y="15"/></Size>
           <Anchors>
             <Anchor point="TOPLEFT" relativeTo="AQQuestlineArrow_16" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
             </Anchor>
           </Anchors>
      </Texture>
      <Texture name="AQQuestlineArrow_18" file="Interface\Glues\Login\UI-BackArrow">
          <Size><AbsDimension x="13" y="15"/></Size>
           <Anchors>
             <Anchor point="TOPLEFT" relativeTo="AQQuestlineArrow_17" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
             </Anchor>
           </Anchors>
      </Texture>
      <Texture name="AQQuestlineArrow_19" file="Interface\Glues\Login\UI-BackArrow">
          <Size><AbsDimension x="13" y="15"/></Size>
           <Anchors>
             <Anchor point="TOPLEFT" relativeTo="AQQuestlineArrow_18" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
             </Anchor>
           </Anchors>
      </Texture>
      <Texture name="AQQuestlineArrow_20" file="Interface\Glues\Login\UI-BackArrow">
          <Size><AbsDimension x="13" y="15"/></Size>
           <Anchors>
             <Anchor point="TOPLEFT" relativeTo="AQQuestlineArrow_19" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
             </Anchor>
           </Anchors>
      </Texture>
     <FontString name="AQBUTTONTEXT1" inherits="GameFontNormalSmall" text="1" justifyH = "LEFT">
       <Size><AbsDimension x="165" y="20"/></Size>
       <Anchors>
         <Anchor point="TOPLEFT">
			<Offset>
				<AbsDimension x="22" y="-85"/>
			</Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AQBUTTONTEXT2" inherits="GameFontNormalSmall" text="2" justifyH = "LEFT">
       <Size><AbsDimension x="165" y="20"/></Size>
       <Anchors>
         <Anchor point="TOPLEFT" relativeTo="AQBUTTONTEXT1" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AQBUTTONTEXT3" inherits="GameFontNormalSmall" text="3" justifyH = "LEFT">
       <Size><AbsDimension x="165" y="20"/></Size>
       <Anchors>
         <Anchor point="TOPLEFT" relativeTo="AQBUTTONTEXT2" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AQBUTTONTEXT4" inherits="GameFontNormalSmall" text="4" justifyH = "LEFT">
       <Size><AbsDimension x="165" y="20"/></Size>
       <Anchors>
         <Anchor point="TOPLEFT" relativeTo="AQBUTTONTEXT3" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AQBUTTONTEXT5" inherits="GameFontNormalSmall" text="5" justifyH = "LEFT">
       <Size><AbsDimension x="165" y="20"/></Size>
       <Anchors>
         <Anchor point="TOPLEFT" relativeTo="AQBUTTONTEXT4" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AQBUTTONTEXT6" inherits="GameFontNormalSmall" text="6" justifyH = "LEFT">
       <Size><AbsDimension x="165" y="20"/></Size>
       <Anchors>
         <Anchor point="TOPLEFT" relativeTo="AQBUTTONTEXT5" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AQBUTTONTEXT7" inherits="GameFontNormalSmall" text="7" justifyH = "LEFT">
       <Size><AbsDimension x="165" y="20"/></Size>
       <Anchors>
         <Anchor point="TOPLEFT" relativeTo="AQBUTTONTEXT6" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AQBUTTONTEXT8" inherits="GameFontNormalSmall" text="8" justifyH = "LEFT">
       <Size><AbsDimension x="165" y="20"/></Size>
       <Anchors>
         <Anchor point="TOPLEFT" relativeTo="AQBUTTONTEXT7" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AQBUTTONTEXT9" inherits="GameFontNormalSmall" text="9" justifyH = "LEFT">
       <Size><AbsDimension x="165" y="20"/></Size>
       <Anchors>
         <Anchor point="TOPLEFT" relativeTo="AQBUTTONTEXT8" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AQBUTTONTEXT10" inherits="GameFontNormalSmall" text="10" justifyH = "LEFT">
       <Size><AbsDimension x="165" y="20"/></Size>
       <Anchors>
         <Anchor point="TOPLEFT" relativeTo="AQBUTTONTEXT9" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AQBUTTONTEXT11" inherits="GameFontNormalSmall" text="11" justifyH = "LEFT">
       <Size><AbsDimension x="165" y="20"/></Size>
       <Anchors>
         <Anchor point="TOPLEFT" relativeTo="AQBUTTONTEXT10" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AQBUTTONTEXT12" inherits="GameFontNormalSmall" text="12" justifyH = "LEFT">
       <Size><AbsDimension x="165" y="20"/></Size>
       <Anchors>
         <Anchor point="TOPLEFT" relativeTo="AQBUTTONTEXT11" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AQBUTTONTEXT13" inherits="GameFontNormalSmall" text="13" justifyH = "LEFT">
       <Size><AbsDimension x="165" y="20"/></Size>
       <Anchors>
         <Anchor point="TOPLEFT" relativeTo="AQBUTTONTEXT12" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AQBUTTONTEXT14" inherits="GameFontNormalSmall" text="14" justifyH = "LEFT">
       <Size><AbsDimension x="165" y="20"/></Size>
       <Anchors>
         <Anchor point="TOPLEFT" relativeTo="AQBUTTONTEXT13" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AQBUTTONTEXT15" inherits="GameFontNormalSmall" text="15" justifyH = "LEFT">
       <Size><AbsDimension x="165" y="20"/></Size>
       <Anchors>
         <Anchor point="TOPLEFT" relativeTo="AQBUTTONTEXT14" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AQBUTTONTEXT16" inherits="GameFontNormalSmall" text="16" justifyH = "LEFT">
       <Size><AbsDimension x="165" y="20"/></Size>
       <Anchors>
         <Anchor point="TOPLEFT" relativeTo="AQBUTTONTEXT15" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AQBUTTONTEXT17" inherits="GameFontNormalSmall" text="17" justifyH = "LEFT">
       <Size><AbsDimension x="165" y="20"/></Size>
       <Anchors>
         <Anchor point="TOPLEFT" relativeTo="AQBUTTONTEXT16" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AQBUTTONTEXT18" inherits="GameFontNormalSmall" text="18" justifyH = "LEFT">
       <Size><AbsDimension x="165" y="20"/></Size>
       <Anchors>
         <Anchor point="TOPLEFT" relativeTo="AQBUTTONTEXT17" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AQBUTTONTEXT19" inherits="GameFontNormalSmall" text="18" justifyH = "LEFT">
       <Size><AbsDimension x="165" y="20"/></Size>
       <Anchors>
         <Anchor point="TOPLEFT" relativeTo="AQBUTTONTEXT18" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
         </Anchor>
       </Anchors>
     </FontString>
     <FontString name="AQBUTTONTEXT20" inherits="GameFontNormalSmall" text="18" justifyH = "LEFT">
       <Size><AbsDimension x="165" y="20"/></Size>
       <Anchors>
         <Anchor point="TOPLEFT" relativeTo="AQBUTTONTEXT19" relativePoint="TOPLEFT">
			<Offset><AbsDimension x="0" y="-20"/></Offset>
         </Anchor>
       </Anchors>
     </FontString>
      <Texture name="AQ_HordeTexture" file="Interface\TargetingFrame\UI-PVP-HORDE">
         <Size><AbsDimension x="50" y="50"/></Size>
           <Anchors>
             <Anchor point="TOPRIGHT" >
        	      <Offset><AbsDimension x="-22" y="-50"/></Offset>
        	  </Anchor>
           </Anchors>
      </Texture>
      <Texture name="AQ_AllianceTexture" file="Interface\TargetingFrame\UI-PVP-ALLIANCE">
         <Size><AbsDimension x="50" y="50"/></Size>
           <Anchors>
              <Anchor point="TOPLEFT">
        	      <Offset><AbsDimension x="38" y="-50"/></Offset>
       	  </Anchor>
           </Anchors>
      </Texture>
   </Layer>
  </Layers>
  <Scripts>
     <OnLoad>
        AQ_OnLoad();
     </OnLoad>
     <OnUpdate>
        AQ_OnUpdate(arg1);
     </OnUpdate>
     <OnShow>
       AQ_OnShow();
     </OnShow>
     <OnEvent>
        AtlasQuest_OnEvent();
     </OnEvent>
  </Scripts>
</Frame>

<!-- Added for AlphaMap Compatibility -->

	<Button name="AQ_AMCloseButton" inherits="OptionsButtonTemplate" text="AQ" parent="AlphaMapAlphaMapFrame">
		<Size>
			<AbsDimension x="45" y="35"/>
		</Size>
		<Anchors>
			<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" relativeTo="AlphaMapAlphaMapFrame">
				<Offset>
					<AbsDimension x="0" y="5"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Scripts>
			<OnClick>
				AQCLOSE_OnClick();
			</OnClick>
		</Scripts>
	</Button>

</Ui>