<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/
	..\FrameXML\UI.xsd">

	
	<Frame name="FAS_HandlerFrame"> 
		<Scripts> 
			<OnLoad>
				FAS_OnLoad();
			</OnLoad> 
			<OnEvent>
				FAS_OnEvent(event, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
			</OnEvent>
		</Scripts> 
	</Frame> 

	<CheckButton name="FAS_OptionsButtonTemplate" inherits="OptionsCheckButtonTemplate" virtual="true">
		<Size>
			<AbsDimension x="26" y="26"/>
		</Size>
		<Scripts>
			<OnClick>
				FAS_OptionsClick();
			</OnClick>
		</Scripts>
	</CheckButton>
	<Frame name="FAS_OptionsFrame"  toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" parent="UIParent">
		<Size>
			<AbsDimension x="360" y="292"/>
		</Size>
		<Anchors>
			<Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER">
				<Offset>
					<AbsDimension x="0" y="0"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
			<BackgroundInsets>
				<AbsInset left="11" right="12" top="12" bottom="11"/>
			</BackgroundInsets>
			<TileSize>
				<AbsValue val="32"/>
			</TileSize>
			<EdgeSize>
				<AbsValue val="32"/>
			</EdgeSize>
		</Backdrop>
		
		<Layers>
			<Layer level="ARTWORK">
				<Texture name="FAS_OptionsFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
					<Size>
						<AbsDimension x="310" y="64"/>
					</Size>
					<Anchors>
						<Anchor point="TOP">
							<Offset>
								<AbsDimension x="0" y="12"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<FontString inherits="GameFontNormal" text="FAS_OPTIONS">
				<Anchors>
					<Anchor point="TOP"> 
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				</FontString>
				<FontString name="FAS_VersionText" inherits="GameFontDisableSmall">
					<Anchors>
						<Anchor point="TOPLEFT"> 
							<Offset>
								<AbsDimension x="15" y="-15"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
			<Layer level="OVERLAY">
				<Texture name="$parentCorner" file="Interface\DialogFrame\UI-DialogBox-Corner">
					<Size>
						<AbsDimension x="32" y="32"/>
					</Size>
					<Anchors>
						<Anchor point="TOPRIGHT">
							<Offset>
								<AbsDimension x="-6" y="-7"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		
		<Frames>
			
			<Frame name="FAS_Options_General" inherits="OptionFrameBoxTemplate">
				<Size>
					<AbsDimension x="335" y="112"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="13" y="-40"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Frames>
					<CheckButton name="FAS_OptionsButton_Recipes" inherits="FAS_OptionsButtonTemplate">
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="5" y="-5"/>
								</Offset>
							</Anchor>
						</Anchors>
					</CheckButton>
					<CheckButton name="FAS_OptionsButton_ShowCost" inherits="FAS_OptionsButtonTemplate">
						<Anchors>
							<Anchor point="TOP" relativeTo="FAS_OptionsButton_Recipes" relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</CheckButton>
					<CheckButton name="FAS_OptionsButton_Librams" inherits="FAS_OptionsButtonTemplate">
						<Anchors>
							<Anchor point="TOP" relativeTo="FAS_OptionsButton_ShowCost" relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</CheckButton>
					<CheckButton name="FAS_OptionsButton_Darkmoon" inherits="FAS_OptionsButtonTemplate">
						<Anchors>
							<Anchor point="TOP" relativeTo="FAS_OptionsButton_Librams" relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</CheckButton>
				</Frames>
				<Scripts>
					<OnLoad>
						this:SetBackdropBorderColor(0.4, 0.4, 0.4);
						this:SetBackdropColor(0.15, 0.15, 0.15);
						getglobal(this:GetName().."Title"):SetText(FAS_OPTIONS_GENERAL);
					</OnLoad>
				</Scripts>
			</Frame>
			
			<Frame name="FAS_Options_Raid" inherits="OptionFrameBoxTemplate">
				<Size>
					<AbsDimension x="335" y="112"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="FAS_Options_General" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="-15"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Frames>
					<CheckButton name="FAS_OptionsButton_ZG" inherits="FAS_OptionsButtonTemplate" id="1">
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="5" y="-5"/>
								</Offset>
							</Anchor>
						</Anchors>
					</CheckButton>
					<CheckButton name="FAS_OptionsButton_AQ20" inherits="FAS_OptionsButtonTemplate" id="3">
						<Anchors>
							<Anchor point="TOP" relativeTo="FAS_OptionsButton_ZG" relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</CheckButton>
					<CheckButton name="FAS_OptionsButton_AQ40" inherits="FAS_OptionsButtonTemplate" id="4">
						<Anchors>
							<Anchor point="TOP" relativeTo="FAS_OptionsButton_AQ20" relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</CheckButton>
					<CheckButton name="FAS_OptionsButton_PostToRaid" inherits="FAS_OptionsButtonTemplate" id="5">
						<Anchors>
							<Anchor point="TOP" relativeTo="FAS_OptionsButton_AQ40" relativePoint="BOTTOM">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</CheckButton>
				</Frames>
				<Scripts>
					<OnLoad>
						this:SetBackdropBorderColor(0.4, 0.4, 0.4);
						this:SetBackdropColor(0.15, 0.15, 0.15);
						getglobal(this:GetName().."Title"):SetText(FAS_OPTIONS_RAID);
					</OnLoad>
				</Scripts>
			</Frame>
			
			<Button inherits="UIPanelCloseButton">
				<Anchors>
					<Anchor point="TOPRIGHT" relativeTo="$parentCorner" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="5" y="5"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>

		</Frames>

		<Scripts>
			<OnShow>
				FAS_OptionsShow();
			</OnShow>
		</Scripts>

	</Frame>

</Ui>
