<Ui xmlns="http://www.blizzard.com/wow/ui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

	<Script file="WIM_Options.lua"/>

	<Frame name="WIM_Options" movable="true" alpha="1" enableMouse="true" frameStrata="DIALOG" parent="UIParent" hidden="true"  clampedToScreen="true">
		<Size>
			<AbsDimension x="645" y="580" />
		</Size>
		<Anchors>
			<Anchor point="CENTER" relativeTo="UIParent">
				<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>
				<Texture name="$parentTitleBorder" file="Interface\DialogFrame\UI-DialogBox-Header">
				<Size>
					<AbsDimension x="160" y="32" />
				</Size>
				<Anchors>
					<Anchor point="TOP">
					<Offset>
						<AbsDimension x="0" y="5" />
					</Offset>
					</Anchor>
				</Anchors>
				<TexCoords left="0.2" right="0.8" top="0" bottom="0.6" />
				</Texture>
				<FontString name="$parentTitleString" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_TITLE">
					<Size>
						<AbsDimension x="140" y="0" />
					</Size>
					<Anchors>
						<Anchor point="TOP">
							<Offset>
								<AbsDimension x="0" y="-4" />
							</Offset>
						</Anchor>
					</Anchors>
					<FontHeight>
						<AbsValue val="12" />
					</FontHeight>
					<Color r="1" g="0.8196079" b="0" />
					<Shadow>
						<Color r="0" g="0" b="0" />
						<Offset>
						<AbsDimension x="1" y="-1" />
						</Offset>
					</Shadow>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<CheckButton name="$parentEnableWIM">
				<Size>
					<AbsDimension x="25" y="25" />
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="15" y="-15" />
						</Offset>
					</Anchor>
				</Anchors>
				<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
				<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
				<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
				<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
				<Layers>
					<Layer level="OVERLAY">
						<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_ENABLE_WIM">
							<Anchors>
								<Anchor point="LEFT">
									<Offset>
										<AbsDimension x="30" y="1" />
									</Offset>
								</Anchor>
							</Anchors>
							<FontHeight>
								<AbsValue val="12" />
							</FontHeight>
							<Color r="1" g="0.8196079" b="0" />
							<Shadow>
								<Color r="0" g="0" b="0" />
								<Offset>
									<AbsDimension x="1" y="-1" />
								</Offset>
							</Shadow>
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							PlaySound("igMainMenuOptionCheckBoxOff");
						else
							PlaySound("igMainMenuOptionCheckBoxOn");
						end
						WIM_Options_EnableWIMClicked();
					</OnClick>
				</Scripts>
			</CheckButton>
			<!-- Display Settings Frame -->
			<Frame name="$parentDisplay" inherits="WIM_Options_PanelTemplate">
				<Size>
					<AbsDimension x="193" y="530" />
				</Size>
				<Anchors>
					<Anchor point="RIGHT">
						<Offset>
							<AbsDimension x="-16" y="0" />
						</Offset>
					</Anchor>
					<Anchor point="TOP">
						<Offset>
							<AbsDimension x="0" y="-40" />
						</Offset>
					</Anchor>
				</Anchors>
				<Frames>
					<!-- Title Frame -->
					<Frame name="$parentCaption" inherits="WIM_Options_TitlePanelTemplate">
						<Size>
							<AbsDimension x="193" y="30" />
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="0" y="-3" />
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="OVERLAY">
								<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_DISPLAY_TITLE">
									<Anchors>
										<Anchor point="TOP">
											<Offset>
												<AbsDimension x="0" y="-8" />
											</Offset>
										</Anchor>
									</Anchors>
									<FontHeight>
										<AbsValue val="12" />
									</FontHeight>
									<Color r="1" g="1" b="1" />
									<Shadow>
										<Color r="0" g="0" b="0" />
										<Offset>
											<AbsDimension x="1" y="-1" />
										</Offset>
									</Shadow>
								</FontString>
							</Layer>
						</Layers>
					</Frame>
					<!-- End Title Frame -->
					<!-- Color Swatches -->
					<Frame name="$parentIncomingWisp" inherits="WIM_Options_PickColorTemplate">
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="15" y="-40" />
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="OVERLAY">
								<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_DISPLAY_WISP_IN">
									<Anchors>
										<Anchor point="LEFT">
											<Offset>
												<AbsDimension x="30" y="1" />
											</Offset>
										</Anchor>
									</Anchors>
									<FontHeight>
										<AbsValue val="12" />
									</FontHeight>
									<Color r="1" g="0.8196079" b="0" />
									<Shadow>
										<Color r="0" g="0" b="0" />
										<Offset>
											<AbsDimension x="1" y="-1" />
										</Offset>
									</Shadow>
								</FontString>
							</Layer>
						</Layers>
					</Frame>
					<Frame name="$parentOutgoingWisp" inherits="WIM_Options_PickColorTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentIncomingWisp" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="-3" />
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="OVERLAY">
								<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_DISPLAY_WISP_OUT">
									<Anchors>
										<Anchor point="LEFT">
											<Offset>
												<AbsDimension x="30" y="1" />
											</Offset>
										</Anchor>
									</Anchors>
									<FontHeight>
										<AbsValue val="12" />
									</FontHeight>
									<Color r="1" g="0.8196079" b="0" />
									<Shadow>
										<Color r="0" g="0" b="0" />
										<Offset>
											<AbsDimension x="1" y="-1" />
										</Offset>
									</Shadow>
								</FontString>
							</Layer>
						</Layers>
					</Frame>
					<Frame name="$parentSystemMessage" inherits="WIM_Options_PickColorTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentOutgoingWisp" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="-15" />
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="OVERLAY">
								<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_DISPLAY_SYSTEM">
									<Anchors>
										<Anchor point="LEFT">
											<Offset>
												<AbsDimension x="30" y="1" />
											</Offset>
										</Anchor>
									</Anchors>
									<FontHeight>
										<AbsValue val="12" />
									</FontHeight>
									<Color r="1" g="0.8196079" b="0" />
									<Shadow>
										<Color r="0" g="0" b="0" />
										<Offset>
											<AbsDimension x="1" y="-1" />
										</Offset>
									</Shadow>
								</FontString>
							</Layer>
						</Layers>
					</Frame>
					<Frame name="$parentErrorMessage" inherits="WIM_Options_PickColorTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentSystemMessage" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="-3" />
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="OVERLAY">
								<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_DISPLAY_ERROR">
									<Anchors>
										<Anchor point="LEFT">
											<Offset>
												<AbsDimension x="30" y="1" />
											</Offset>
										</Anchor>
									</Anchors>
									<FontHeight>
										<AbsValue val="12" />
									</FontHeight>
									<Color r="1" g="0.8196079" b="0" />
									<Shadow>
										<Color r="0" g="0" b="0" />
										<Offset>
											<AbsDimension x="1" y="-1" />
										</Offset>
									</Shadow>
								</FontString>
							</Layer>
						</Layers>
					</Frame>
					<Frame name="$parentWebAddress" inherits="WIM_Options_PickColorTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentErrorMessage" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="-15" />
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="OVERLAY">
								<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_DISPLAY_URL">
									<Anchors>
										<Anchor point="LEFT">
											<Offset>
												<AbsDimension x="30" y="1" />
											</Offset>
										</Anchor>
									</Anchors>
									<FontHeight>
										<AbsValue val="12" />
									</FontHeight>
									<Color r="1" g="0.8196079" b="0" />
									<Shadow>
										<Color r="0" g="0" b="0" />
										<Offset>
											<AbsDimension x="1" y="-1" />
										</Offset>
									</Shadow>
								</FontString>
							</Layer>
						</Layers>
					</Frame>
					<!-- End Color Swatches -->
					<CheckButton name="$parentShowTimeStamps">
						<Size>
							<AbsDimension x="25" y="25" />
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentWebAddress" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="-3" y="-20" />
								</Offset>
							</Anchor>
						</Anchors>
						<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
						<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
						<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
						<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
						<Layers>
							<Layer level="OVERLAY">
								<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_DISPLAY_TIMESTAMPS">
									<Anchors>
										<Anchor point="LEFT">
											<Offset>
												<AbsDimension x="45" y="1" />
											</Offset>
										</Anchor>
									</Anchors>
									<FontHeight>
										<AbsValue val="12" />
									</FontHeight>
									<Color r="1" g="0.8196079" b="0" />
									<Shadow>
										<Color r="0" g="0" b="0" />
										<Offset>
											<AbsDimension x="1" y="-1" />
										</Offset>
									</Shadow>
								</FontString>
							</Layer>
						</Layers>
						<Frames>
							<Button name="$parentMenuButton">
								<Size>
									<AbsDimension x="24" y="24"/>
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT">
										<Offset>
											<AbsDimension x="20" y="0"/>
										</Offset>
									</Anchor>
								</Anchors>
								<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Up">
									<Size>
										<AbsDimension x="24" y="24"/>
									</Size>
									<Anchors>
										<Anchor point="RIGHT"/>
									</Anchors>
								</NormalTexture>
								<PushedTexture name="$parentPushedTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Down">
									<Size>
										<AbsDimension x="24" y="24"/>
									</Size>
									<Anchors>
										<Anchor point="RIGHT"/>
									</Anchors>
								</PushedTexture>
								<DisabledTexture name="$parentDisabledTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Disabled">
									<Size>
										<AbsDimension x="24" y="24"/>
									</Size>
									<Anchors>
										<Anchor point="RIGHT"/>
									</Anchors>
								</DisabledTexture>
								<HighlightTexture name="$parentHighlightTexture" file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD">
									<Size>
										<AbsDimension x="24" y="24"/>
									</Size>
									<Anchors>
										<Anchor point="RIGHT"/>
									</Anchors>
								</HighlightTexture>
								<Scripts>
									<OnClick>
										PlaySound("igChatScrollDown");
										ToggleDropDownMenu(1, nil, getglobal(this:GetParent():GetName().."DropDownFrame"), this:GetName(), 0, 0)
									</OnClick>
								</Scripts>
							</Button>
							<Frame name="$parentDropDownFrame" inherits="UIDropDownMenuTemplate" hidden="true">
								<Size>
									<AbsDimension x="125" y="15"/>
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="$parentMenuButton" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="0"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnLoad>
										UIDropDownMenu_Initialize(this, WIM_Options_TimeStampDropDown, "MENU");
										UIDropDownMenu_SetSelectedValue(this, WIM_Data.timeStampFormat);
									</OnLoad>
								</Scripts>
							</Frame>
						</Frames>
						<Scripts>
							<OnClick>
								if ( this:GetChecked() ) then
									PlaySound("igMainMenuOptionCheckBoxOff");
								else
									PlaySound("igMainMenuOptionCheckBoxOn");
								end
								WIM_Options_ShowTimeStampsClicked();
							</OnClick>
						</Scripts>
					</CheckButton>
					<CheckButton name="$parentShowShortcutBar">
						<Size>
							<AbsDimension x="25" y="25" />
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentShowTimeStamps" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
						<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
						<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
						<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
						<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
						<Layers>
							<Layer level="OVERLAY">
								<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_DISPLAY_SHORTCUTBAR">
									<Anchors>
										<Anchor point="LEFT">
											<Offset>
												<AbsDimension x="45" y="1" />
											</Offset>
										</Anchor>
									</Anchors>
									<FontHeight>
										<AbsValue val="12" />
									</FontHeight>
									<Color r="1" g="0.8196079" b="0" />
									<Shadow>
										<Color r="0" g="0" b="0" />
										<Offset>
											<AbsDimension x="1" y="-1" />
										</Offset>
									</Shadow>
								</FontString>
							</Layer>
						</Layers>
						<Frames>
							<Button name="$parentMenuButton">
								<Size>
									<AbsDimension x="24" y="24"/>
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT">
										<Offset>
											<AbsDimension x="20" y="0"/>
										</Offset>
									</Anchor>
								</Anchors>
								<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Up">
									<Size>
										<AbsDimension x="24" y="24"/>
									</Size>
									<Anchors>
										<Anchor point="RIGHT"/>
									</Anchors>
								</NormalTexture>
								<PushedTexture name="$parentPushedTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Down">
									<Size>
										<AbsDimension x="24" y="24"/>
									</Size>
									<Anchors>
										<Anchor point="RIGHT"/>
									</Anchors>
								</PushedTexture>
								<DisabledTexture name="$parentDisabledTexture" file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Disabled">
									<Size>
										<AbsDimension x="24" y="24"/>
									</Size>
									<Anchors>
										<Anchor point="RIGHT"/>
									</Anchors>
								</DisabledTexture>
								<HighlightTexture name="$parentHighlightTexture" file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD">
									<Size>
										<AbsDimension x="24" y="24"/>
									</Size>
									<Anchors>
										<Anchor point="RIGHT"/>
									</Anchors>
								</HighlightTexture>
								<Scripts>
									<OnClick>
										PlaySound("igChatScrollDown");
										ToggleDropDownMenu(1, nil, getglobal(this:GetParent():GetName().."DropDownFrame"), this:GetName(), 0, 0)
									</OnClick>
								</Scripts>
							</Button>
							<Frame name="$parentDropDownFrame" inherits="UIDropDownMenuTemplate" hidden="true">
								<Size>
									<AbsDimension x="125" y="15"/>
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="$parentMenuButton" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="0"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnLoad>
										UIDropDownMenu_Initialize(this, WIM_Options_ShortCutMenuDropDown, "MENU");
									</OnLoad>
								</Scripts>
							</Frame>
						</Frames>
						<Scripts>
							<OnClick>
								if ( this:GetChecked() ) then
									PlaySound("igMainMenuOptionCheckBoxOff");
								else
									PlaySound("igMainMenuOptionCheckBoxOn");
								end
								WIM_Options_ShowShortcutBarClicked();
							</OnClick>
							<OnEnter>
								GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
								GameTooltip:SetText(WIM_LOCALIZED_OPTIONS_DISPLAY_TOOLTIP_SCB);
							</OnEnter>
							<OnLeave>
								GameTooltip:Hide();
							</OnLeave>
						</Scripts>
					</CheckButton>
					<CheckButton name="$parentShowCharacterInfo">
						<Size>
							<AbsDimension x="25" y="25" />
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentShowShortcutBar" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
						<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
						<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
						<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
						<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
						<Layers>
							<Layer level="OVERLAY">
								<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_DISPLAY_CINFO">
									<Anchors>
										<Anchor point="LEFT">
											<Offset>
												<AbsDimension x="30" y="1" />
											</Offset>
										</Anchor>
									</Anchors>
									<FontHeight>
										<AbsValue val="12" />
									</FontHeight>
									<Color r="1" g="0.8196079" b="0" />
									<Shadow>
										<Color r="0" g="0" b="0" />
										<Offset>
											<AbsDimension x="1" y="-1" />
										</Offset>
									</Shadow>
								</FontString>
							</Layer>
						</Layers>
						<Scripts>
							<OnClick>
								if ( this:GetChecked() ) then
									PlaySound("igMainMenuOptionCheckBoxOff");
								else
									PlaySound("igMainMenuOptionCheckBoxOn");
								end
								WIM_Options_CharacerInfoClicked();
							</OnClick>
							<OnEnter>
								GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
								GameTooltip:SetText(WIM_LOCALIZED_OPTIONS_DISPLAY_TOOLTIP_CINFO);
							</OnEnter>
							<OnLeave>
								GameTooltip:Hide();
							</OnLeave>
						</Scripts>
					</CheckButton>
					<CheckButton name="$parentShowCharacterInfoClassIcon">
						<Size>
							<AbsDimension x="25" y="25" />
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentShowCharacterInfo" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="25" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
						<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
						<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
						<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
						<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" />
						<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
						<Layers>
							<Layer level="OVERLAY">
								<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_DISPLAY_CINFO_CLASS">
									<Anchors>
										<Anchor point="LEFT">
											<Offset>
												<AbsDimension x="30" y="1" />
											</Offset>
										</Anchor>
									</Anchors>
									<FontHeight>
										<AbsValue val="12" />
									</FontHeight>
									<Color r="1" g="0.8196079" b="0" />
									<Shadow>
										<Color r="0" g="0" b="0" />
										<Offset>
											<AbsDimension x="1" y="-1" />
										</Offset>
									</Shadow>
								</FontString>
							</Layer>
						</Layers>
						<Scripts>
							<OnClick>
								if ( this:GetChecked() ) then
									PlaySound("igMainMenuOptionCheckBoxOff");
								else
									PlaySound("igMainMenuOptionCheckBoxOn");
								end
								WIM_Options_CharacerInfoClassIconClicked();
							</OnClick>
							<OnEnter>
								GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
								GameTooltip:SetText(WIM_LOCALIZED_OPTIONS_DISPLAY_TOOLTOP_NEW);
							</OnEnter>
							<OnLeave>
								GameTooltip:Hide();
							</OnLeave>
						</Scripts>
					</CheckButton>					
					<CheckButton name="$parentShowCharacterInfoClassColor">
						<Size>
							<AbsDimension x="25" y="25" />
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentShowCharacterInfoClassIcon" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
						<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
						<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
						<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
						<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" />
						<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
						<Layers>
							<Layer level="OVERLAY">
								<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_DISPLAY_CINFO_COLOR">
									<Anchors>
										<Anchor point="LEFT">
											<Offset>
												<AbsDimension x="30" y="1" />
											</Offset>
										</Anchor>
									</Anchors>
									<FontHeight>
										<AbsValue val="12" />
									</FontHeight>
									<Color r="1" g="0.8196079" b="0" />
									<Shadow>
										<Color r="0" g="0" b="0" />
										<Offset>
											<AbsDimension x="1" y="-1" />
										</Offset>
									</Shadow>
								</FontString>
							</Layer>
						</Layers>
						<Scripts>
							<OnClick>
								if ( this:GetChecked() ) then
									PlaySound("igMainMenuOptionCheckBoxOff");
								else
									PlaySound("igMainMenuOptionCheckBoxOn");
								end
								WIM_Options_CharacerInfoClassColorClicked();
							</OnClick>
							<OnEnter>
								GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
								GameTooltip:SetText(WIM_LOCALIZED_OPTIONS_DISPLAY_TOOLTOP_NEW);
							</OnEnter>
							<OnLeave>
								GameTooltip:Hide();
							</OnLeave>
						</Scripts>
					</CheckButton>
					<CheckButton name="$parentShowCharacterInfoDetails">
						<Size>
							<AbsDimension x="25" y="25" />
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentShowCharacterInfoClassColor" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
						<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
						<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
						<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
						<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" />
						<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
						<Layers>
							<Layer level="OVERLAY">
								<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_DISPLAY_CINFO_DETAILS">
									<Anchors>
										<Anchor point="LEFT">
											<Offset>
												<AbsDimension x="30" y="1" />
											</Offset>
										</Anchor>
									</Anchors>
									<FontHeight>
										<AbsValue val="12" />
									</FontHeight>
									<Color r="1" g="0.8196079" b="0" />
									<Shadow>
										<Color r="0" g="0" b="0" />
										<Offset>
											<AbsDimension x="1" y="-1" />
										</Offset>
									</Shadow>
								</FontString>
							</Layer>
						</Layers>
						<Scripts>
							<OnClick>
								if ( this:GetChecked() ) then
									PlaySound("igMainMenuOptionCheckBoxOff");
								else
									PlaySound("igMainMenuOptionCheckBoxOn");
								end
								WIM_Options_CharacerInfoDetailsClicked();
							</OnClick>
							<OnEnter>
								GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
								GameTooltip:SetText(WIM_LOCALIZED_OPTIONS_DISPLAY_TOOLTOP_NEW);
							</OnEnter>
							<OnLeave>
								GameTooltip:Hide();
							</OnLeave>
						</Scripts>
					</CheckButton>
					<CheckButton name="$parentEnableFading">
						<Size>
							<AbsDimension x="25" y="25" />
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentShowCharacterInfoDetails" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="-25" y="-2" />
								</Offset>
							</Anchor>
						</Anchors>
						<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
						<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
						<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
						<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" />
						<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
						<Layers>
							<Layer level="OVERLAY">
								<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_DISPLAY_ENABLE_FADING">
									<Anchors>
										<Anchor point="LEFT">
											<Offset>
												<AbsDimension x="30" y="1" />
											</Offset>
										</Anchor>
									</Anchors>
									<FontHeight>
										<AbsValue val="12" />
									</FontHeight>
									<Color r="1" g="0.8196079" b="0" />
									<Shadow>
										<Color r="0" g="0" b="0" />
										<Offset>
											<AbsDimension x="1" y="-1" />
										</Offset>
									</Shadow>
								</FontString>
							</Layer>
						</Layers>
						<Scripts>
							<OnClick>
								if ( this:GetChecked() ) then
									PlaySound("igMainMenuOptionCheckBoxOff");
								else
									PlaySound("igMainMenuOptionCheckBoxOn");
								end
								WIM_Options_EnableFading();
							</OnClick>
							<OnEnter>
								--GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
								--GameTooltip:SetText(WIM_LOCALIZED_OPTIONS_DISPLAY_TOOLTOP_NEW);
							</OnEnter>
							<OnLeave>
								GameTooltip:Hide();
							</OnLeave>
						</Scripts>
					</CheckButton>
					
					
					<!-- Font Size Slider -->
					<Slider name="$parentFontSize" inherits="WIM_Options_SliderTemplate" minValue="10" maxValue="20" valueStep="1">
						<Size>
							<AbsDimension x="140" y="17"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="WIM_OptionsDisplay" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="15" y="135" />
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnValueChanged>
								WIM_Data.fontSize = this:GetValue();
								WIM_SetAllWindowProps();
								getglobal(this:GetName().."EditBox"):SetText(this:GetValue());
								local Path, _, Flags = WIM_HistoryFrameMessageListScrollingMessageFrame:GetFont();
								WIM_HistoryFrameMessageListScrollingMessageFrame:SetFont(Path,WIM_Data.fontSize+2, Flags);
							</OnValueChanged>
						</Scripts>
					</Slider>
					<Slider name="$parentWindowSize" inherits="WIM_Options_SliderTemplate" minValue="25" maxValue="200" valueStep="1">
						<Size>
							<AbsDimension x="140" y="17"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentFontSize" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="-30" />
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnValueChanged>
								WIM_Data.windowSize = (this:GetValue() / 100);
								WIM_SetAllWindowProps();
								getglobal(this:GetName().."EditBox"):SetText(this:GetValue());
							</OnValueChanged>
						</Scripts>
					</Slider>
					<Slider name="$parentWindowAlpha" inherits="WIM_Options_SliderTemplate" minValue="10" maxValue="100" valueStep="1">
						<Size>
							<AbsDimension x="140" y="17"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentWindowSize" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="-30" />
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnValueChanged>
								WIM_Data.windowAlpha = (this:GetValue() / 100);
								WIM_SetAllWindowProps();
								getglobal(this:GetName().."EditBox"):SetText(this:GetValue());
							</OnValueChanged>
						</Scripts>
					</Slider>
					<!-- End Size Slider -->
				</Frames>
			</Frame>
			<!-- end of Display Settings -->
			<!-- MiniMap Options Frame -->
			<Frame name="$parentMiniMap" inherits="WIM_Options_PanelTemplate">
				<Size>
					<AbsDimension x="350" y="125" />
				</Size>
				<Anchors>
					<Anchor point="LEFT">
						<Offset>
							<AbsDimension x="15" y="0" />
						</Offset>
					</Anchor>
					<Anchor point="TOP" relativeTo="$parentDisplay" relativePoint="TOP" />
					<Anchor point="RIGHT" relativeTo="$parentDisplay" relativePoint="LEFT">
						<Offset>
							<AbsDimension x="-2" y="0" />
						</Offset>
					</Anchor>
				</Anchors>
				<Frames>
					<!-- Title Frame -->
					<Frame name="$parentCaption" inherits="WIM_Options_TitlePanelTemplate">
						<Size>
							<AbsDimension x="350" y="30" />
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="0" y="-3" />
								</Offset>
							</Anchor>
							<Anchor point="RIGHT" relativeTo="$parent" RelativePoint="RIGHT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="OVERLAY">
								<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_MINIMAP_TITLE">
									<Anchors>
										<Anchor point="TOP">
											<Offset>
												<AbsDimension x="0" y="-8" />
											</Offset>
										</Anchor>
									</Anchors>
									<FontHeight>
										<AbsValue val="12" />
									</FontHeight>
									<Color r="1" g="1" b="1" />
									<Shadow>
										<Color r="0" g="0" b="0" />
										<Offset>
											<AbsDimension x="1" y="-1" />
										</Offset>
									</Shadow>
								</FontString>
							</Layer>
						</Layers>
					</Frame>
					<!-- End Title Frame -->
					<!-- CheckButton: Hide Minimap Icon -->
					<CheckButton name="$parentEnabled">
						<Size>
							<AbsDimension x="25" y="25" />
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="10" y="-35" />
								</Offset>
							</Anchor>
						</Anchors>
						<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
						<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
						<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
						<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
						<Layers>
							<Layer level="OVERLAY">
								<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_MINIMAP_ENABLE">
									<Anchors>
										<Anchor point="LEFT">
											<Offset>
												<AbsDimension x="30" y="1" />
											</Offset>
										</Anchor>
									</Anchors>
									<FontHeight>
										<AbsValue val="12" />
									</FontHeight>
									<Color r="1" g="0.8196079" b="0" />
									<Shadow>
										<Color r="0" g="0" b="0" />
										<Offset>
											<AbsDimension x="1" y="-1" />
										</Offset>
									</Shadow>
								</FontString>
							</Layer>
						</Layers>
						<Scripts>
							<OnClick>
								if ( this:GetChecked() ) then
									PlaySound("igMainMenuOptionCheckBoxOff");
								else
									PlaySound("igMainMenuOptionCheckBoxOn");
								end
								WIM_Options_ShowMiniMapClick();
							</OnClick>
						</Scripts>
					</CheckButton>
					<CheckButton name="$parentFreeMoving">
						<Size>
							<AbsDimension x="25" y="25" />
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentEnabled" relativePoint="TOPRIGHT">
								<Offset>
									<AbsDimension x="230" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
						<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
						<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
						<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
						<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
						<Layers>
							<Layer level="OVERLAY">
								<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_MINIMAP_FREEMOVING">
									<Anchors>
										<Anchor point="LEFT">
											<Offset>
												<AbsDimension x="30" y="1" />
											</Offset>
										</Anchor>
									</Anchors>
									<FontHeight>
										<AbsValue val="12" />
									</FontHeight>
									<Color r="1" g="0.8196079" b="0" />
									<Shadow>
										<Color r="0" g="0" b="0" />
										<Offset>
											<AbsDimension x="1" y="-1" />
										</Offset>
									</Shadow>
								</FontString>
							</Layer>
						</Layers>
						<Scripts>
							<OnClick>
								if ( this:GetChecked() ) then
									PlaySound("igMainMenuOptionCheckBoxOff");
								else
									PlaySound("igMainMenuOptionCheckBoxOn");
								end
								WIM_Options_FreeMoving_Clicked();
							</OnClick>
							<OnEnter>
								GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
								GameTooltip:SetText(WIM_LOCALIZED_OPTIONS_MINIMAP_TOOLTIP_FM);
							</OnEnter>
							<OnLeave>
								GameTooltip:Hide();
							</OnLeave>
						</Scripts>
					</CheckButton>
					<Slider name="$parentIconPosition" inherits="WIM_Options_SliderTemplate" minValue="0" maxValue="360" valueStep="1">
						<Size>
							<AbsDimension x="315" y="17"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="WIM_OptionsMiniMap" relativePoint="TOPLEFT">
								<Offset>
									<AbsDimension x="40" y="-80" />
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnValueChanged>
								WIM_Icon_Move(this:GetValue());
								getglobal(this:GetName().."EditBox"):SetText(this:GetValue());
							</OnValueChanged>
						</Scripts>
					</Slider>
			
			<!-- next minimap child -->
				</Frames>
			</Frame>
			
			
			<!-- Option Tabs -->
			<Button name="$parentOptionTab1" inherits="TabButtonTemplate" text="WIM_LOCALIZED_OPTIONS_TAB_GENERAL" alpha=".8">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentMiniMap" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="10" y="8" />
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						PlaySound("igMainMenuOptionCheckBoxOn");
						WIM_Options_General_Click();
					</OnClick>
					<OnLoad>
						<!-- Size it properly -->
						PanelTemplates_TabResize(0, this);
						getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth()+10);
					</OnLoad>
				</Scripts>
			</Button>
			<Button name="$parentOptionTab2" inherits="TabButtonTemplate" text="WIM_LOCALIZED_OPTIONS_TAB_WINDOWS" alpha=".8">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentOptionTab1" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="0" y="0" />
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						PlaySound("igMainMenuOptionCheckBoxOn");
						WIM_Options_Windows_Click();
					</OnClick>
					<OnLoad>
						<!-- Size it properly -->
						PanelTemplates_TabResize(0, this);
						getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth()+10);
					</OnLoad>
				</Scripts>
			</Button>
			<Button name="$parentOptionTab3" inherits="TabButtonTemplate" text="WIM_LOCALIZED_OPTIONS_TAB_FILTERS" alpha=".8">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentOptionTab2" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="0" y="0" />
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						PlaySound("igMainMenuOptionCheckBoxOn");
						WIM_Options_Filter_Click();
					</OnClick>
					<OnLoad>
						<!-- Size it properly -->
						PanelTemplates_TabResize(0, this);
						getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth()+10);
					</OnLoad>
				</Scripts>
			</Button>
			<Button name="$parentOptionTab4" inherits="TabButtonTemplate" text="WIM_LOCALIZED_OPTIONS_TAB_HISTORY" alpha=".8">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentOptionTab3" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="0" y="0" />
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						PlaySound("igMainMenuOptionCheckBoxOn");
						WIM_Options_History_Click();
					</OnClick>
					<OnLoad>
						<!-- Size it properly -->
						PanelTemplates_TabResize(0, this);
						getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth()+10);
					</OnLoad>
				</Scripts>
			</Button>
			<Button name="$parentOptionTab5" inherits="TabButtonTemplate" text="WIM_LOCALIZED_OPTIONS_TAB_PLUGINS" alpha=".8">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentOptionTab4" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="0" y="0" />
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						PlaySound("igMainMenuOptionCheckBoxOn");
						WIM_Options_Plugins_Click();
					</OnClick>
					<OnLoad>
						<!-- Size it properly -->
						PanelTemplates_TabResize(0, this);
						getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth()+10);
					</OnLoad>
				</Scripts>
			</Button>
			<!-- End Option Tabs -->
			<!-- Tabbed Frame -->
			<Frame name="$parentTabbedFrame" inherits="WIM_Options_PanelTemplate">
				<Size>
					<AbsDimension x="350" y="250"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="$parentOptionTab1" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="2" />
						</Offset>
					</Anchor>
					<Anchor point="BOTTOM" relativeTo="$parentDisplay" relativePoint="BOTTOM"/>
					<Anchor point="LEFT" relativeTo="$parentMiniMap" relativePoint="LEFT"/>
					<Anchor point="RIGHT" relativeTo="$parentDisplay" relativePoint="LEFT">
						<Offset>
							<AbsDimension x="-2" y="0" />
						</Offset>
					</Anchor>
				</Anchors>
				<Frames>
					<!-- General Frame -->
					<ScrollFrame name="WIM_Options_GeneralScroll" inherits="UIPanelScrollFrameTemplate">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="WIM_OptionsTabbedFrame" relativePoint="TOPLEFT">
								<Offset>
									<AbsDimension x="0" y="-15" />
								</Offset>
							</Anchor>
							<Anchor point="BOTTOMRIGHT" relativeTo="WIM_OptionsTabbedFrame" relativePoint="BOTTOMRIGHT">
								<Offset>
									<AbsDimension x="-30" y="20" />
								</Offset>
							</Anchor>
						</Anchors>
						<ScrollChild>
							<Frame name="WIM_OptionsTabbedFrameGeneral" hidden="true">
								<Size>
									<AbsDimension x="350" y="200" />
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT">
										<Offset>
											<AbsDimension x="35" y="10" />
										</Offset>
									</Anchor>
								</Anchors>
								<Frames>
									<!-- General Options -->
									<CheckButton name="$parentAutoFocus">
										<Size>
											<AbsDimension x="25" y="25" />
										</Size>
										<Anchors>
											<Anchor point="TOPLEFT">
												<Offset>
													<AbsDimension x="10" y="0" />
												</Offset>
											</Anchor>
										</Anchors>
										<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
										<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
										<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
										<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
										<Layers>
											<Layer level="OVERLAY">
												<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_GENERAL_AUTO_FOCUS">
													<Anchors>
														<Anchor point="LEFT">
															<Offset>
																<AbsDimension x="30" y="1" />
															</Offset>
														</Anchor>
													</Anchors>
													<FontHeight>
														<AbsValue val="12" />
													</FontHeight>
													<Color r="1" g="0.8196079" b="0" />
													<Shadow>
														<Color r="0" g="0" b="0" />
														<Offset>
															<AbsDimension x="1" y="-1" />
														</Offset>
													</Shadow>
												</FontString>
											</Layer>
										</Layers>
										<Scripts>
											<OnClick>
												if ( this:GetChecked() ) then
													PlaySound("igMainMenuOptionCheckBoxOff");
												else
													PlaySound("igMainMenuOptionCheckBoxOn");
												end
												WIM_Options_AutoFocusClicked();
											</OnClick>
										</Scripts>
									</CheckButton>
									<CheckButton name="$parentKeepFocus">
										<Size>
											<AbsDimension x="25" y="25" />
										</Size>
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentAutoFocus" relativePoint="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="0" y="-2" />
												</Offset>
											</Anchor>
										</Anchors>
										<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
										<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
										<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
										<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
										<Layers>
											<Layer level="OVERLAY">
												<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_GENERAL_KEEP_FOCUS">
													<Anchors>
														<Anchor point="LEFT">
															<Offset>
																<AbsDimension x="30" y="1" />
															</Offset>
														</Anchor>
													</Anchors>
													<FontHeight>
														<AbsValue val="12" />
													</FontHeight>
													<Color r="1" g="0.8196079" b="0" />
													<Shadow>
														<Color r="0" g="0" b="0" />
														<Offset>
															<AbsDimension x="1" y="-1" />
														</Offset>
													</Shadow>
												</FontString>
											</Layer>
										</Layers>
										<Scripts>
											<OnClick>
												if ( this:GetChecked() ) then
													PlaySound("igMainMenuOptionCheckBoxOff");
												else
													PlaySound("igMainMenuOptionCheckBoxOn");
												end
												WIM_Options_KeepFocusClicked();
											</OnClick>
										</Scripts>
									</CheckButton>
									<CheckButton name="$parentKeepFocusRested">
										<Size>
											<AbsDimension x="25" y="25" />
										</Size>
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentKeepFocus" relativePoint="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="25" y="-2" />
												</Offset>
											</Anchor>
										</Anchors>
										<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
										<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
										<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
										<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
										<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" />
										<Layers>
											<Layer level="OVERLAY">
												<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_GENERAL_FOCUS_RESTED">
													<Anchors>
														<Anchor point="LEFT">
															<Offset>
																<AbsDimension x="30" y="1" />
															</Offset>
														</Anchor>
													</Anchors>
													<FontHeight>
														<AbsValue val="12" />
													</FontHeight>
													<Color r="1" g="0.8196079" b="0" />
													<Shadow>
														<Color r="0" g="0" b="0" />
														<Offset>
															<AbsDimension x="1" y="-1" />
														</Offset>
													</Shadow>
												</FontString>
											</Layer>
										</Layers>
										<Scripts>
											<OnClick>
												if ( this:GetChecked() ) then
													PlaySound("igMainMenuOptionCheckBoxOff");
												else
													PlaySound("igMainMenuOptionCheckBoxOn");
												end
												WIM_Options_KeepFocusRestedClicked();
											</OnClick>
										</Scripts>
									</CheckButton>
									<CheckButton name="$parentShowToolTips">
										<Size>
											<AbsDimension x="25" y="25" />
										</Size>
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentKeepFocusRested" relativePoint="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="-25" y="-2" />
												</Offset>
											</Anchor>
										</Anchors>
										<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
										<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
										<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
										<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
										<Layers>
											<Layer level="OVERLAY">
												<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_GENERAL_SHOW_TOOLTIPS">
													<Anchors>
														<Anchor point="LEFT">
															<Offset>
																<AbsDimension x="30" y="1" />
															</Offset>
														</Anchor>
													</Anchors>
													<FontHeight>
														<AbsValue val="12" />
													</FontHeight>
													<Color r="1" g="0.8196079" b="0" />
													<Shadow>
														<Color r="0" g="0" b="0" />
														<Offset>
															<AbsDimension x="1" y="-1" />
														</Offset>
													</Shadow>
												</FontString>
											</Layer>
										</Layers>
										<Scripts>
											<OnClick>
												if ( this:GetChecked() ) then
													PlaySound("igMainMenuOptionCheckBoxOff");
												else
													PlaySound("igMainMenuOptionCheckBoxOn");
												end
												WIM_Options_ShowToolTipsClicked();
											</OnClick>
										</Scripts>
									</CheckButton>
									<CheckButton name="$parentPopOnSend">
										<Size>
											<AbsDimension x="25" y="25" />
										</Size>
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentShowToolTips" relativePoint="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="0" y="-2" />
												</Offset>
											</Anchor>
										</Anchors>
										<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
										<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
										<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
										<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
										<Layers>
											<Layer level="OVERLAY">
												<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_GENERAL_POP_SEND">
													<Anchors>
														<Anchor point="LEFT">
															<Offset>
																<AbsDimension x="30" y="1" />
															</Offset>
														</Anchor>
													</Anchors>
													<FontHeight>
														<AbsValue val="12" />
													</FontHeight>
													<Color r="1" g="0.8196079" b="0" />
													<Shadow>
														<Color r="0" g="0" b="0" />
														<Offset>
															<AbsDimension x="1" y="-1" />
														</Offset>
													</Shadow>
												</FontString>
											</Layer>
										</Layers>
										<Scripts>
											<OnClick>
												if ( this:GetChecked() ) then
													PlaySound("igMainMenuOptionCheckBoxOff");
												else
													PlaySound("igMainMenuOptionCheckBoxOn");
												end
												WIM_Options_PopOnSendClicked();
											</OnClick>
										</Scripts>
									</CheckButton>
									<CheckButton name="$parentInterceptSlashWisp">
										<Size>
											<AbsDimension x="25" y="25" />
										</Size>
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentPopOnSend" relativePoint="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="25" y="-2" />
												</Offset>
											</Anchor>
										</Anchors>
										<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
										<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
										<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
										<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
										<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" />
										<Layers>
											<Layer level="OVERLAY">
												<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_GENERAL_INTERCEPT">
													<Anchors>
														<Anchor point="LEFT">
															<Offset>
																<AbsDimension x="30" y="1" />
															</Offset>
														</Anchor>
													</Anchors>
													<FontHeight>
														<AbsValue val="12" />
													</FontHeight>
													<Color r="1" g="0.8196079" b="0" />
													<Shadow>
														<Color r="0" g="0" b="0" />
														<Offset>
															<AbsDimension x="1" y="-1" />
														</Offset>
													</Shadow>
												</FontString>
											</Layer>
										</Layers>
										<Scripts>
											<OnClick>
												if ( this:GetChecked() ) then
													PlaySound("igMainMenuOptionCheckBoxOff");
												else
													PlaySound("igMainMenuOptionCheckBoxOn");
												end
												WIM_Options_InterceptSlashWispClicked();
											</OnClick>
											<OnEnter>
												GameTooltip:SetOwner(this, "ANCHOR_TOPRIGHT");
												GameTooltip:SetText(WIM_LOCALIZED_OPTIONS_GENERAL_TOOLTIP_INTCP, nil, nil, nil, nil, 1);
											</OnEnter>
											<OnLeave>
												GameTooltip:Hide();
											</OnLeave>
										</Scripts>
									</CheckButton>
									<CheckButton name="$parentPopNew">
										<Size>
											<AbsDimension x="25" y="25" />
										</Size>
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentPopOnSend" relativePoint="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="0" y="-30" />
												</Offset>
											</Anchor>
										</Anchors>
										<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
										<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
										<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
										<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
										<Layers>
											<Layer level="OVERLAY">
												<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_GENERAL_POP_IN">
													<Anchors>
														<Anchor point="LEFT">
															<Offset>
																<AbsDimension x="30" y="1" />
															</Offset>
														</Anchor>
													</Anchors>
													<FontHeight>
														<AbsValue val="12" />
													</FontHeight>
													<Color r="1" g="0.8196079" b="0" />
													<Shadow>
														<Color r="0" g="0" b="0" />
														<Offset>
															<AbsDimension x="1" y="-1" />
														</Offset>
													</Shadow>
												</FontString>
											</Layer>
										</Layers>
										<Scripts>
											<OnClick>
												if ( this:GetChecked() ) then
													PlaySound("igMainMenuOptionCheckBoxOff");
												else
													PlaySound("igMainMenuOptionCheckBoxOn");
												end
												WIM_Options_PopNewClicked();
											</OnClick>
										</Scripts>
									</CheckButton>
									<CheckButton name="$parentPopUpdate">
										<Size>
											<AbsDimension x="25" y="25" />
										</Size>
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentPopNew" relativePoint="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="25" y="-2" />
												</Offset>
											</Anchor>
										</Anchors>
										<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
										<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
										<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
										<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
										<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" />
										<Layers>
											<Layer level="OVERLAY">
												<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_GENERAL_POP_REPLY">
													<Anchors>
														<Anchor point="LEFT">
															<Offset>
																<AbsDimension x="30" y="1" />
															</Offset>
														</Anchor>
													</Anchors>
													<FontHeight>
														<AbsValue val="12" />
													</FontHeight>
													<Color r="1" g="0.8196079" b="0" />
													<Shadow>
														<Color r="0" g="0" b="0" />
														<Offset>
															<AbsDimension x="1" y="-1" />
														</Offset>
													</Shadow>
												</FontString>
											</Layer>
										</Layers>
										<Scripts>
											<OnClick>
												if ( this:GetChecked() ) then
													PlaySound("igMainMenuOptionCheckBoxOff");
												else
													PlaySound("igMainMenuOptionCheckBoxOn");
												end
												WIM_Options_PopUpdateClicked();
											</OnClick>
										</Scripts>
									</CheckButton>
									<CheckButton name="$parentPopCombat">
										<Size>
											<AbsDimension x="25" y="25" />
										</Size>
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentPopUpdate" relativePoint="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="0" y="0" />
												</Offset>
											</Anchor>
										</Anchors>
										<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
										<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
										<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
										<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
										<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" />
										<Layers>
											<Layer level="OVERLAY">
												<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_GENERAL_POP_COMBAT">
													<Anchors>
														<Anchor point="LEFT">
															<Offset>
																<AbsDimension x="30" y="1" />
															</Offset>
														</Anchor>
													</Anchors>
													<FontHeight>
														<AbsValue val="12" />
													</FontHeight>
													<Color r="1" g="0.8196079" b="0" />
													<Shadow>
														<Color r="0" g="0" b="0" />
														<Offset>
															<AbsDimension x="1" y="-1" />
														</Offset>
													</Shadow>
												</FontString>
											</Layer>
										</Layers>
										<Scripts>
											<OnClick>
												if ( this:GetChecked() ) then
													PlaySound("igMainMenuOptionCheckBoxOff");
												else
													PlaySound("igMainMenuOptionCheckBoxOn");
												end
												WIM_Options_PopCombatClicked();
											</OnClick>
										</Scripts>
									</CheckButton>
									<CheckButton name="$parentSupress">
										<Size>
											<AbsDimension x="25" y="25" />
										</Size>
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentPopNew" relativePoint="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="0" y="-55" />
												</Offset>
											</Anchor>
										</Anchors>
										<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
										<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
										<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
										<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
										<Layers>
											<Layer level="OVERLAY">
												<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_GENERAL_SUPRESS">
													<Anchors>
														<Anchor point="LEFT">
															<Offset>
																<AbsDimension x="30" y="1" />
															</Offset>
														</Anchor>
													</Anchors>
													<FontHeight>
														<AbsValue val="12" />
													</FontHeight>
													<Color r="1" g="0.8196079" b="0" />
													<Shadow>
														<Color r="0" g="0" b="0" />
														<Offset>
															<AbsDimension x="1" y="-1" />
														</Offset>
													</Shadow>
												</FontString>
											</Layer>
										</Layers>
										<Scripts>
											<OnClick>
												if ( this:GetChecked() ) then
													PlaySound("igMainMenuOptionCheckBoxOff");
												else
													PlaySound("igMainMenuOptionCheckBoxOn");
												end
												WIM_Options_SupressWispsClicked();
											</OnClick>
										</Scripts>
									</CheckButton>
									<CheckButton name="$parentSupressCombat">
										<Size>
											<AbsDimension x="25" y="25" />
										</Size>
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentSupress" relativePoint="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="30" y="-2" />
												</Offset>
											</Anchor>
										</Anchors>
										<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
										<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
										<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
										<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
										<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" />
										<Layers>
											<Layer level="OVERLAY">
												<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_GENERAL_SUPRESS_COMBAT">
													<Anchors>
														<Anchor point="LEFT">
															<Offset>
																<AbsDimension x="30" y="1" />
															</Offset>
														</Anchor>
													</Anchors>
													<FontHeight>
														<AbsValue val="12" />
													</FontHeight>
													<Color r="1" g="0.8196079" b="0" />
													<Shadow>
														<Color r="0" g="0" b="0" />
														<Offset>
															<AbsDimension x="1" y="-1" />
														</Offset>
													</Shadow>
												</FontString>
											</Layer>
										</Layers>
										<Scripts>
											<OnClick>
												if ( this:GetChecked() ) then
													PlaySound("igMainMenuOptionCheckBoxOff");
												else
													PlaySound("igMainMenuOptionCheckBoxOn");
												end
												WIM_Options_SupressWispsCombatClicked();
											</OnClick>
										</Scripts>
									</CheckButton>
									<CheckButton name="$parentPlaySoundWisp">
										<Size>
											<AbsDimension x="25" y="25" />
										</Size>
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentSupressCombat" relativePoint="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="-30" y="-2" />
												</Offset>
											</Anchor>
										</Anchors>
										<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
										<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
										<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
										<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
										<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" />
										<Layers>
											<Layer level="OVERLAY">
												<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_GENERAL_SOUND_IN">
													<Anchors>
														<Anchor point="LEFT">
															<Offset>
																<AbsDimension x="30" y="1" />
															</Offset>
														</Anchor>
													</Anchors>
													<FontHeight>
														<AbsValue val="12" />
													</FontHeight>
													<Color r="1" g="0.8196079" b="0" />
													<Shadow>
														<Color r="0" g="0" b="0" />
														<Offset>
															<AbsDimension x="1" y="-1" />
														</Offset>
													</Shadow>
												</FontString>
											</Layer>
										</Layers>
										<Scripts>
											<OnClick>
												if ( this:GetChecked() ) then
													PlaySound("igMainMenuOptionCheckBoxOff");
												else
													PlaySound("igMainMenuOptionCheckBoxOn");
												end
												WIM_Options_PlaySoundWispClicked();
											</OnClick>
										</Scripts>
									</CheckButton>
									<CheckButton name="$parentSortOrderAlpha">
										<Size>
											<AbsDimension x="25" y="25" />
										</Size>
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentPlaySoundWisp" relativePoint="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="0" y="-2" />
												</Offset>
											</Anchor>
										</Anchors>
										<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
										<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
										<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
										<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
										<Layers>
											<Layer level="OVERLAY">
												<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_GENERAL_SORT_ALPHA">
													<Anchors>
														<Anchor point="LEFT">
															<Offset>
																<AbsDimension x="30" y="1" />
															</Offset>
														</Anchor>
													</Anchors>
													<FontHeight>
														<AbsValue val="12" />
													</FontHeight>
													<Color r="1" g="0.8196079" b="0" />
													<Shadow>
														<Color r="0" g="0" b="0" />
														<Offset>
															<AbsDimension x="1" y="-1" />
														</Offset>
													</Shadow>
												</FontString>
											</Layer>
										</Layers>
										<Scripts>
											<OnClick>
												if ( this:GetChecked() ) then
													PlaySound("igMainMenuOptionCheckBoxOff");
												else
													PlaySound("igMainMenuOptionCheckBoxOn");
												end
												WIM_Options_SortOrderAlphaClicked();
											</OnClick>
										</Scripts>
									</CheckButton>
									<CheckButton name="$parentShowAFK">
										<Size>
											<AbsDimension x="25" y="25" />
										</Size>
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentSortOrderAlpha" relativePoint="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="0" y="-2" />
												</Offset>
											</Anchor>
										</Anchors>
										<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
										<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
										<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
										<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
										<Layers>
											<Layer level="OVERLAY">
												<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_GENERAL_AFK_DND">
													<Anchors>
														<Anchor point="LEFT">
															<Offset>
																<AbsDimension x="30" y="1" />
															</Offset>
														</Anchor>
													</Anchors>
													<FontHeight>
														<AbsValue val="12" />
													</FontHeight>
													<Color r="1" g="0.8196079" b="0" />
													<Shadow>
														<Color r="0" g="0" b="0" />
														<Offset>
															<AbsDimension x="1" y="-1" />
														</Offset>
													</Shadow>
												</FontString>
											</Layer>
										</Layers>
										<Scripts>
											<OnClick>
												if ( this:GetChecked() ) then
													PlaySound("igMainMenuOptionCheckBoxOff");
												else
													PlaySound("igMainMenuOptionCheckBoxOn");
												end
												WIM_Options_ShowAFKClicked();
											</OnClick>
										</Scripts>
									</CheckButton>
									<CheckButton name="$parentUseEscape">
										<Size>
											<AbsDimension x="25" y="25" />
										</Size>
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentShowAFK" relativePoint="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="0" y="-2" />
												</Offset>
											</Anchor>
										</Anchors>
										<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
										<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
										<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
										<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
										<Layers>
											<Layer level="OVERLAY">
												<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_GENERAL_ESCAPE">
													<Anchors>
														<Anchor point="LEFT">
															<Offset>
																<AbsDimension x="30" y="1" />
															</Offset>
														</Anchor>
													</Anchors>
													<FontHeight>
														<AbsValue val="12" />
													</FontHeight>
													<Color r="1" g="0.8196079" b="0" />
													<Shadow>
														<Color r="0" g="0" b="0" />
														<Offset>
															<AbsDimension x="1" y="-1" />
														</Offset>
													</Shadow>
												</FontString>
											</Layer>
										</Layers>
										<Scripts>
											<OnClick>
												if ( this:GetChecked() ) then
													PlaySound("igMainMenuOptionCheckBoxOff");
												else
													PlaySound("igMainMenuOptionCheckBoxOn");
												end
												WIM_Options_UseEscapeClicked();
											</OnClick>
											<OnEnter>
												GameTooltip:SetOwner(this, "ANCHOR_TOPRIGHT");
												GameTooltip:SetText(WIM_LOCALIZED_OPTIONS_GENERAL_TOOLTIP_ESC, nil, nil, nil, nil, 1);
											</OnEnter>
											<OnLeave>
												GameTooltip:Hide();
											</OnLeave>
										</Scripts>
									</CheckButton>
									
									<CheckButton name="$parentIgnoreArrows">
										<Size>
											<AbsDimension x="25" y="25" />
										</Size>
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentUseEscape" relativePoint="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="0" y="-2" />
												</Offset>
											</Anchor>
										</Anchors>
										<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
										<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
										<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
										<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
										<Layers>
											<Layer level="OVERLAY">
												<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_GENERAL_IGNOREARROW">
													<Anchors>
														<Anchor point="LEFT">
															<Offset>
																<AbsDimension x="30" y="1" />
															</Offset>
														</Anchor>
													</Anchors>
													<FontHeight>
														<AbsValue val="12" />
													</FontHeight>
													<Color r="1" g="0.8196079" b="0" />
													<Shadow>
														<Color r="0" g="0" b="0" />
														<Offset>
															<AbsDimension x="1" y="-1" />
														</Offset>
													</Shadow>
												</FontString>
											</Layer>
										</Layers>
										<Scripts>
											<OnClick>
												if ( this:GetChecked() ) then
													PlaySound("igMainMenuOptionCheckBoxOff");
												else
													PlaySound("igMainMenuOptionCheckBoxOn");
												end
												WIM_Options_IgnoreArrowsClicked();
											</OnClick>
										</Scripts>
									</CheckButton>
							
									<CheckButton name="$parentMenuRightClick">
										<Size>
											<AbsDimension x="25" y="25" />
										</Size>
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentIgnoreArrows" relativePoint="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="0" y="-2" />
												</Offset>
											</Anchor>
										</Anchors>
										<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
										<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
										<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
										<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
										<Layers>
											<Layer level="OVERLAY">
												<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_GENERAL_MENURCLICK">
													<Anchors>
														<Anchor point="LEFT">
															<Offset>
																<AbsDimension x="30" y="1" />
															</Offset>
														</Anchor>
													</Anchors>
													<FontHeight>
														<AbsValue val="12" />
													</FontHeight>
													<Color r="1" g="0.8196079" b="0" />
													<Shadow>
														<Color r="0" g="0" b="0" />
														<Offset>
															<AbsDimension x="1" y="-1" />
														</Offset>
													</Shadow>
												</FontString>
											</Layer>
										</Layers>
										<Scripts>
											<OnClick>
												if ( this:GetChecked() ) then
													PlaySound("igMainMenuOptionCheckBoxOff");
												else
													PlaySound("igMainMenuOptionCheckBoxOn");
												end
												WIM_Options_MenuRightClickClicked();
											</OnClick>
										</Scripts>
									</CheckButton>
									
									<CheckButton name="$parentEmoticons">
										<Size>
											<AbsDimension x="25" y="25" />
										</Size>
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentMenuRightClick" relativePoint="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="0" y="-2" />
												</Offset>
											</Anchor>
										</Anchors>
										<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
										<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
										<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
										<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
										<Layers>
											<Layer level="OVERLAY">
												<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_GENERAL_EMOTICONS">
													<Anchors>
														<Anchor point="LEFT">
															<Offset>
																<AbsDimension x="30" y="1" />
															</Offset>
														</Anchor>
													</Anchors>
													<FontHeight>
														<AbsValue val="12" />
													</FontHeight>
													<Color r="1" g="0.8196079" b="0" />
													<Shadow>
														<Color r="0" g="0" b="0" />
														<Offset>
															<AbsDimension x="1" y="-1" />
														</Offset>
													</Shadow>
												</FontString>
											</Layer>
										</Layers>
										<Scripts>
											<OnClick>
												if ( this:GetChecked() ) then
													PlaySound("igMainMenuOptionCheckBoxOff");
												else
													PlaySound("igMainMenuOptionCheckBoxOn");
												end
												WIM_Options_EmoticonsClicked();
											</OnClick>
										</Scripts>
									</CheckButton>
									<CheckButton name="$parentHoverLinks">
										<Size>
											<AbsDimension x="25" y="25" />
										</Size>
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentEmoticons" relativePoint="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="0" y="-2" />
												</Offset>
											</Anchor>
										</Anchors>
										<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
										<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
										<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
										<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
										<Layers>
											<Layer level="OVERLAY">
												<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_GENERAL_HOVERLINKS">
													<Anchors>
														<Anchor point="LEFT">
															<Offset>
																<AbsDimension x="30" y="1" />
															</Offset>
														</Anchor>
													</Anchors>
													<FontHeight>
														<AbsValue val="12" />
													</FontHeight>
													<Color r="1" g="0.8196079" b="0" />
													<Shadow>
														<Color r="0" g="0" b="0" />
														<Offset>
															<AbsDimension x="1" y="-1" />
														</Offset>
													</Shadow>
												</FontString>
											</Layer>
										</Layers>
										<Scripts>
											<OnClick>
												if ( this:GetChecked() ) then
													PlaySound("igMainMenuOptionCheckBoxOff");
												else
													PlaySound("igMainMenuOptionCheckBoxOn");
												end
												WIM_Options_HoverLinksClicked();
											</OnClick>
										</Scripts>
									</CheckButton>
									<!-- End General Options -->
								</Frames>
							</Frame>
						</ScrollChild>
					</ScrollFrame>
					<!-- End General Frame -->
					<!-- Whisper Frame -->
					<Frame name="$parentWindow" hidden="true">
						<Size>
							<AbsDimension x="350" y="200" />
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="10" y="10" />
								</Offset>
							</Anchor>
						</Anchors>
						<Frames>
							<!-- Window Options -->
							
							<Frame name="$parentWindowMode" inherits="UIDropDownMenuTemplate" enableMouse="true">
								<Anchors>
									<Anchor point="TOPLEFT">
										<Offset>
											<AbsDimension x="-5" y="-35"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<!-- Ensure that the correct information is displayed
									Also setup the different options and function for selecting options-->
									<OnShow>
										WIM_Options_WindowMode_OnShow();
									</OnShow>
									<OnLeave>
										GameTooltip:Hide();
									</OnLeave>
								</Scripts>
							</Frame>
							
							<CheckButton name="$parentWindowCascade">
								<Size>
									<AbsDimension x="25" y="25" />
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT">
										<Offset>
											<AbsDimension x="10" y="-75" />
										</Offset>
									</Anchor>
								</Anchors>
								<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
								<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
								<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
								<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
								<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" />
								<Layers>
									<Layer level="OVERLAY">
										<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_WINDOWS_CASCADE_DIR">
											<Anchors>
												<Anchor point="LEFT">
													<Offset>
														<AbsDimension x="30" y="1" />
													</Offset>
												</Anchor>
											</Anchors>
											<FontHeight>
												<AbsValue val="12" />
											</FontHeight>
											<Color r="1" g="0.8196079" b="0" />
											<Shadow>
												<Color r="0" g="0" b="0" />
												<Offset>
													<AbsDimension x="1" y="-1" />
												</Offset>
											</Shadow>
										</FontString>
									</Layer>
								</Layers>
								<Scripts>
									<OnClick>
										if ( this:GetChecked() ) then
											PlaySound("igMainMenuOptionCheckBoxOff");
										else
											PlaySound("igMainMenuOptionCheckBoxOn");
										end
										WIM_Options_WindowCascadeClicked();
									</OnClick>
								</Scripts>
							</CheckButton>
							
							<Frame name="$parentTabSortOrder" inherits="UIDropDownMenuTemplate" enableMouse="true">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="$parentWindowCascade" relativePoint="TOPLEFT">
										<Offset>
											<AbsDimension x="150" y="-30"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Layers>
									<Layer level="OVERLAY">
										<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_WINDOWS_SORT">
											<Anchors>
												<Anchor point="LEFT">
													<Offset>
														<AbsDimension x="-140" y="1" />
													</Offset>
												</Anchor>
											</Anchors>
											<FontHeight>
												<AbsValue val="12" />
											</FontHeight>
											<Color r="1" g="0.8196079" b="0" />
											<Shadow>
												<Color r="0" g="0" b="0" />
												<Offset>
													<AbsDimension x="1" y="-1" />
												</Offset>
											</Shadow>
										</FontString>
									</Layer>
								</Layers>
								<Scripts>
									<!-- Ensure that the correct information is displayed
									Also setup the different options and function for selecting options-->
									<OnShow>
										WIM_Options_TabSortOrder_OnShow();
									</OnShow>
									<OnEnter>
										--GameTooltip:SetOwner(this, "ANCHOR_TOPRIGHT");
										--GameTooltip:SetText(this.tooltip, nil, nil, nil, nil, 1);
									</OnEnter>
									<OnLeave>
										GameTooltip:Hide();
									</OnLeave>
								</Scripts>
							</Frame>
							
							
							
							
							<Button name="$parentWindowAnchor" inherits="UIPanelButtonTemplate" text="WIM_LOCALIZED_OPTIONS_WINDOWS_SET_LOCATION">
								<Size>
									<AbsDimension x="120" y="28"/>
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="$parentWindowCascade" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-60"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnClick>
										WIM_Options_WindowAnchorToggle_Click();
									</OnClick>
								</Scripts>
							</Button>
							
							<CheckButton name="$parentWindowOnTop">
								<Size>
									<AbsDimension x="25" y="25" />
								</Size>
								<Anchors>
									<Anchor point="BOTTOMLEFT" relativeTo="$parentWindowAnchor" relativePoint="BOTTOMRIGHT">
										<Offset>
											<AbsDimension x="15" y="0" />
										</Offset>
									</Anchor>
								</Anchors>
								<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
								<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
								<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
								<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
								<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" />
								<Layers>
									<Layer level="OVERLAY">
										<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_WINDOWS_ONTOP">
											<Anchors>
												<Anchor point="LEFT">
													<Offset>
														<AbsDimension x="30" y="1" />
													</Offset>
												</Anchor>
											</Anchors>
											<FontHeight>
												<AbsValue val="12" />
											</FontHeight>
											<Color r="1" g="0.8196079" b="0" />
											<Shadow>
												<Color r="0" g="0" b="0" />
												<Offset>
													<AbsDimension x="1" y="-1" />
												</Offset>
											</Shadow>
										</FontString>
									</Layer>
								</Layers>
								<Scripts>
									<OnClick>
										if ( this:GetChecked() ) then
											PlaySound("igMainMenuOptionCheckBoxOff");
										else
											PlaySound("igMainMenuOptionCheckBoxOn");
										end
										WIM_Options_WindowOnTopClicked();
									</OnClick>
								</Scripts>
							</CheckButton>
							
							
							
							<Frame name="$parentCascadeDirection" inherits="UIDropDownMenuTemplate" enableMouse="true">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="$parentWindowCascade" relativePoint="TOPLEFT">
										<Offset>
											<AbsDimension x="200" y="2"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<!-- Ensure that the correct information is displayed
									Also setup the different options and function for selecting options-->
									<OnShow>
										WIM_Options_CascadeDirection_OnShow();
									</OnShow>
									<OnEnter>
										--GameTooltip:SetOwner(this, "ANCHOR_TOPRIGHT");
										--GameTooltip:SetText(this.tooltip, nil, nil, nil, nil, 1);
									</OnEnter>
									<OnLeave>
										GameTooltip:Hide();
									</OnLeave>
								</Scripts>
							</Frame>
							<Slider name="$parentWindowWidth" inherits="WIM_Options_SliderTemplate" minValue="250" maxValue="800" valueStep="1">
								<Size>
									<AbsDimension x="325" y="17"/>
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="$parentWindowAnchor" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-30" />
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnValueChanged>
										WIM_Data.winSize.width = this:GetValue();
										getglobal(this:GetName().."EditBox"):SetText(this:GetValue());
										WIM_SetAllWindowProps();
									</OnValueChanged>
								</Scripts>
							</Slider>
							<Slider name="$parentWindowHeight" inherits="WIM_Options_SliderTemplate" minValue="130" maxValue="600" valueStep="1">
								<Size>
									<AbsDimension x="325" y="17"/>
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="$parentWindowWidth" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-30" />
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnValueChanged>
										WIM_Data.winSize.height = this:GetValue();
										getglobal(this:GetName().."EditBox"):SetText(this:GetValue());
										WIM_SetAllWindowProps();
									</OnValueChanged>
								</Scripts>
							</Slider>
							
							<CheckButton name="$parentTimeOutFriend">
								<Size>
									<AbsDimension x="25" y="25" />
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT">
										<Offset>
											<AbsDimension x="10" y="-320" />
										</Offset>
									</Anchor>
								</Anchors>
								<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
								<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
								<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
								<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
								<Layers>
									<Layer level="OVERLAY">
										<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_TIMEOUT_FRIENDS">
											<Anchors>
												<Anchor point="LEFT">
													<Offset>
														<AbsDimension x="30" y="1" />
													</Offset>
												</Anchor>
											</Anchors>
											<FontHeight>
												<AbsValue val="12" />
											</FontHeight>
											<Color r="1" g="0.8196079" b="0" />
											<Shadow>
												<Color r="0" g="0" b="0" />
												<Offset>
													<AbsDimension x="1" y="-1" />
												</Offset>
											</Shadow>
										</FontString>
									</Layer>
								</Layers>
								<Scripts>
									<OnClick>
										if ( this:GetChecked() ) then
											PlaySound("igMainMenuOptionCheckBoxOff");
										else
											PlaySound("igMainMenuOptionCheckBoxOn");
										end
										WIM_Options_WindowTimeOutFriendsClicked();
									</OnClick>
								</Scripts>
							</CheckButton>
							<Frame name="$parentTimeOutFriendMenu" inherits="UIDropDownMenuTemplate" enableMouse="true">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="$parentTimeOutFriend" relativePoint="TOPLEFT">
										<Offset>
											<AbsDimension x="190" y="2"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<!-- Ensure that the correct information is displayed
									Also setup the different options and function for selecting options-->
									<OnShow>
										WIM_Options_TimeOutFriends_OnShow();
									</OnShow>
									<OnLeave>
										GameTooltip:Hide();
									</OnLeave>
								</Scripts>
							</Frame>
							
							<CheckButton name="$parentTimeOutNonFriend">
								<Size>
									<AbsDimension x="25" y="25" />
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="$parentTimeOutFriend" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-2" />
										</Offset>
									</Anchor>
								</Anchors>
								<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
								<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
								<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
								<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
								<Layers>
									<Layer level="OVERLAY">
										<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_TIMEOUT_OTHER">
											<Anchors>
												<Anchor point="LEFT">
													<Offset>
														<AbsDimension x="30" y="1" />
													</Offset>
												</Anchor>
											</Anchors>
											<FontHeight>
												<AbsValue val="12" />
											</FontHeight>
											<Color r="1" g="0.8196079" b="0" />
											<Shadow>
												<Color r="0" g="0" b="0" />
												<Offset>
													<AbsDimension x="1" y="-1" />
												</Offset>
											</Shadow>
										</FontString>
									</Layer>
								</Layers>
								<Scripts>
									<OnClick>
										if ( this:GetChecked() ) then
											PlaySound("igMainMenuOptionCheckBoxOff");
										else
											PlaySound("igMainMenuOptionCheckBoxOn");
										end
										WIM_Options_WindowTimeOutNonFriendsClicked();
									</OnClick>
								</Scripts>
							</CheckButton>
							<Frame name="$parentTimeOutNonFriendMenu" inherits="UIDropDownMenuTemplate" enableMouse="true">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="$parentTimeOutNonFriend" relativePoint="TOPLEFT">
										<Offset>
											<AbsDimension x="220" y="2"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<!-- Ensure that the correct information is displayed
									Also setup the different options and function for selecting options-->
									<OnShow>
										WIM_Options_TimeOutNonFriends_OnShow();
									</OnShow>
									<OnLeave>
										GameTooltip:Hide();
									</OnLeave>
								</Scripts>
							</Frame>
							
							<!-- End Window Options -->
						</Frames>
					</Frame>
					<!-- Filter Frame -->
					<Frame name="$parentFilter" hidden="true">
						<Size>
							<AbsDimension x="350" y="200" />
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="10" y="10" />
								</Offset>
							</Anchor>
						</Anchors>
						<Frames>
							<!-- Alias Frame -->
							<Frame name="$parentAlias">
								<Size>
									<AbsDimension x="100" y="175" />
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT">
										<AbsDimension x="0" y="0" />
									</Anchor>
								</Anchors>
								<Frames>
									<CheckButton name="$parentEnabled">
										<Size>
											<AbsDimension x="25" y="25" />
										</Size>
										<Anchors>
											<Anchor point="TOPLEFT">
												<Offset>
													<AbsDimension x="10" y="-25" />
												</Offset>
											</Anchor>
										</Anchors>
										<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
										<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
										<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
										<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
										<Layers>
											<Layer level="OVERLAY">
												<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_FILTERS_ENABLE">
													<Anchors>
														<Anchor point="LEFT">
															<Offset>
																<AbsDimension x="30" y="1" />
															</Offset>
														</Anchor>
													</Anchors>
													<FontHeight>
														<AbsValue val="12" />
													</FontHeight>
													<Color r="1" g="0.8196079" b="0" />
													<Shadow>
														<Color r="0" g="0" b="0" />
														<Offset>
															<AbsDimension x="1" y="-1" />
														</Offset>
													</Shadow>
												</FontString>
											</Layer>
										</Layers>
										<Scripts>
											<OnClick>
												if ( this:GetChecked() ) then
													PlaySound("igMainMenuOptionCheckBoxOff");
												else
													PlaySound("igMainMenuOptionCheckBoxOn");
												end
												WIM_Options_AliasEnabledClicked();
											</OnClick>
										</Scripts>
									</CheckButton>
									<CheckButton name="$parentShowAsComment">
										<Size>
											<AbsDimension x="25" y="25" />
										</Size>
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentEnabled" relativePoint="TOPLEFT">
												<Offset>
													<AbsDimension x="180" y="0" />
												</Offset>
											</Anchor>
										</Anchors>
										<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
										<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
										<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
										<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
										<Layers>
											<Layer level="OVERLAY">
												<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_FILTERS_COMMENT">
													<Anchors>
														<Anchor point="LEFT">
															<Offset>
																<AbsDimension x="30" y="1" />
															</Offset>
														</Anchor>
													</Anchors>
													<FontHeight>
														<AbsValue val="12" />
													</FontHeight>
													<Color r="1" g="0.8196079" b="0" />
													<Shadow>
														<Color r="0" g="0" b="0" />
														<Offset>
															<AbsDimension x="1" y="-1" />
														</Offset>
													</Shadow>
												</FontString>
											</Layer>
										</Layers>
										<Scripts>
											<OnClick>
												if ( this:GetChecked() ) then
													PlaySound("igMainMenuOptionCheckBoxOff");
												else
													PlaySound("igMainMenuOptionCheckBoxOn");
												end
												WIM_Options_AliasShowAsCommentClicked();
											</OnClick>
										</Scripts>
									</CheckButton>
									<Button name="$parentColumnHeader1" inherits="WhoFrameColumnHeaderTemplate" text="WIM_LOCALIZED_OPTIONS_FILTERS_NAME">
										<Anchors>
											<Anchor point="TOPLEFT">
												<Offset>
													<AbsDimension x="10" y="-50"/>
												</Offset>
											</Anchor>
										</Anchors>
										<Scripts>
											<OnLoad>
												WhoFrameColumn_SetWidth(175);
												this.sortType = "name";
											</OnLoad>
											<OnClick>
											
											</OnClick>
										</Scripts>
									</Button>
									<Button name="$parentColumnHeader2" inherits="WhoFrameColumnHeaderTemplate" text="WIM_LOCALIZED_OPTIONS_FILTERS_ALIAS">
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentColumnHeader1" relativePoint="TOPRIGHT">
												<Offset>
													<AbsDimension x="0" y="0"/>
												</Offset>
											</Anchor>
										</Anchors>
										<Scripts>
											<OnLoad>
												WhoFrameColumn_SetWidth(175);
												this.sortType = "alias";
											</OnLoad>
											<OnClick>
											
											</OnClick>
										</Scripts>
									</Button>
									<Frame name="$parentPanel" inherits="WIM_Options_PanelTemplate">
										<Size>
											<AbsDimension x="380" y="100" />
										</Size>
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentColumnHeader1" relativePoint="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="-2" y="4" />
												</Offset>
											</Anchor>
										</Anchors>
										<Frames>
											<ScrollFrame name="$parentScrollBar" inherits="FauxScrollFrameTemplate">
												<Anchors>
													<Anchor point="TOPLEFT">
														<Offset>
															<AbsDimension x="0" y="-8"/>
														</Offset>
													</Anchor>
													<Anchor point="BOTTOMRIGHT">
														<Offset>
															<AbsDimension x="-30" y="8"/>
														</Offset>
													</Anchor>
												</Anchors>

												<Scripts>
													<OnVerticalScroll>
														FauxScrollFrame_OnVerticalScroll(16, WIM_AliasScrollBar_Update); 
													</OnVerticalScroll>
													<OnShow>
														WIM_AliasScrollBar_Update();
													</OnShow>
												</Scripts>
											</ScrollFrame>
											<Button name="$parentButton1" inherits="WIM_AliasButtonTemplate">
												<Anchors>
													<Anchor point="TOPLEFT" relativeTo="$parentScrollBar" relativePoint="TOPLEFT">
														<Offset>
															<AbsDimension x="0" y="0" />
														</Offset>
													</Anchor>
												</Anchors>
											</Button>
											<Button name="$parentButton2" inherits="WIM_AliasButtonTemplate">
												<Anchors>
													<Anchor point="TOPLEFT" relativeTo="$parentButton1" relativePoint="BOTTOMLEFT">
														<Offset>
															<AbsDimension x="0" y="0" />
														</Offset>
													</Anchor>
												</Anchors>
											</Button>
											<Button name="$parentButton3" inherits="WIM_AliasButtonTemplate">
												<Anchors>
													<Anchor point="TOPLEFT" relativeTo="$parentButton2" relativePoint="BOTTOMLEFT">
														<Offset>
															<AbsDimension x="0" y="0" />
														</Offset>
													</Anchor>
												</Anchors>
											</Button>
											<Button name="$parentButton4" inherits="WIM_AliasButtonTemplate">
												<Anchors>
													<Anchor point="TOPLEFT" relativeTo="$parentButton3" relativePoint="BOTTOMLEFT">
														<Offset>
															<AbsDimension x="0" y="0" />
														</Offset>
													</Anchor>
												</Anchors>
											</Button>
											<Button name="$parentButton5" inherits="WIM_AliasButtonTemplate">
												<Anchors>
													<Anchor point="TOPLEFT" relativeTo="$parentButton4" relativePoint="BOTTOMLEFT">
														<Offset>
															<AbsDimension x="0" y="0" />
														</Offset>
													</Anchor>
												</Anchors>
											</Button>
											<Button name="$parentAdd" inherits="UIPanelButtonTemplate" text="WIM_LOCALIZED_OPTIONS_FILTERS_ADD">
												<Size>
													<AbsDimension x="85" y="22"/>
												</Size>
												<Anchors>
													<Anchor point="BOTTOMLEFT">
														<Offset>
															<AbsDimension x="0" y="-20"/>
														</Offset>
													</Anchor>
												</Anchors>
												<Scripts>
													<OnClick>
														PlaySound("igMainMenuClose");
														WIM_Options_AliasWindowTitleString:SetText(WIM_LOCALIZED_OPTIONS_FILTERS_ALIAS_ADD);
														WIM_Options_AliasWindow_Name:SetText("");
														WIM_Options_AliasWindow_Alias:SetText("");
														WIM_Options_AliasWindow.prevName = "";
														WIM_Options_AliasWindow.theMode = "add";
														WIM_Options_AliasWindow:Show();
														WIM_Options_AliasWindow_Name:SetFocus();
													</OnClick>
												</Scripts>
											</Button>
											<Button name="$parentRemove" inherits="UIPanelButtonTemplate" text="WIM_LOCALIZED_OPTIONS_FILTERS_REMOVE">
												<Size>
													<AbsDimension x="85" y="22"/>
												</Size>
												<Anchors>
													<Anchor point="BOTTOMLEFT">
														<Offset>
															<AbsDimension x="90" y="-20"/>
														</Offset>
													</Anchor>
												</Anchors>
												<Scripts>
													<OnClick>
														PlaySound("igMainMenuClose");
														if(WIM_Alias_Selected ~= "") then
															WIM_Alias[WIM_Alias_Selected] = nil;
															WIM_Alias_Selected = "";
															WIM_AliasScrollBar_Update();
														end
													</OnClick>
												</Scripts>
											</Button>
											<Button name="$parentEdit" inherits="UIPanelButtonTemplate" text="WIM_LOCALIZED_OPTIONS_FILTERS_EDIT">
												<Size>
													<AbsDimension x="85" y="22"/>
												</Size>
												<Anchors>
													<Anchor point="BOTTOMRIGHT">
														<Offset>
															<AbsDimension x="0" y="-20"/>
														</Offset>
													</Anchor>
												</Anchors>
												<Scripts>
													<OnClick>
														PlaySound("igMainMenuClose");
														if(WIM_Alias_Selected ~= "") then
															WIM_Options_AliasWindowTitleString:SetText(WIM_LOCALIZED_OPTIONS_FILTERS_ALIAS_EDIT);
															WIM_Options_AliasWindow.theMode = "edit";
															WIM_Options_AliasWindow.prevName = WIM_Alias_Selected;
															WIM_Options_AliasWindow_Name:SetText(WIM_Alias_Selected);
															WIM_Options_AliasWindow_Alias:SetText(WIM_Alias[WIM_Alias_Selected]);
															WIM_Options_AliasWindow_Alias:HighlightText(0);
															WIM_Options_AliasWindow:Show();
															WIM_Options_AliasWindow_Alias:SetFocus();
														end
													</OnClick>
												</Scripts>
											</Button>
											
											
											
										</Frames>
									</Frame>
								</Frames>
							</Frame>
							<!-- End Alias Frame -->
							<!-- Filtering Frame -->
							<Frame name="$parentFiltering">
								<Size>
									<AbsDimension x="100" y="100" />
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="$parentAlias" relativePoint="BOTTOMLEFT">
										<AbsDimension x="0" y="0" />
									</Anchor>
								</Anchors>
								<Frames>
									<CheckButton name="$parentEnabled">
										<Size>
											<AbsDimension x="25" y="25" />
										</Size>
										<Anchors>
											<Anchor point="TOPLEFT">
												<Offset>
													<AbsDimension x="10" y="-35" />
												</Offset>
											</Anchor>
										</Anchors>
										<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
										<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
										<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
										<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
										<Layers>
											<Layer level="OVERLAY">
												<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_FILTERS_FILTER_ENABLE">
													<Anchors>
														<Anchor point="LEFT">
															<Offset>
																<AbsDimension x="30" y="1" />
															</Offset>
														</Anchor>
													</Anchors>
													<FontHeight>
														<AbsValue val="12" />
													</FontHeight>
													<Color r="1" g="0.8196079" b="0" />
													<Shadow>
														<Color r="0" g="0" b="0" />
														<Offset>
															<AbsDimension x="1" y="-1" />
														</Offset>
													</Shadow>
												</FontString>
											</Layer>
										</Layers>
										<Scripts>
											<OnClick>
												if ( this:GetChecked() ) then
													PlaySound("igMainMenuOptionCheckBoxOff");
												else
													PlaySound("igMainMenuOptionCheckBoxOn");
												end
												WIM_Options_FilteringEnabledClicked();
											</OnClick>
										</Scripts>
									</CheckButton>
									<Button name="$parentColumnHeader1" inherits="WhoFrameColumnHeaderTemplate" text="WIM_LOCALIZED_OPTIONS_FILTERS_KEY_PHRASE">
										<Anchors>
											<Anchor point="TOPLEFT">
												<Offset>
													<AbsDimension x="10" y="-60"/>
												</Offset>
											</Anchor>
										</Anchors>
										<Scripts>
											<OnLoad>
												WhoFrameColumn_SetWidth(270);
												this.sortType = "name";
											</OnLoad>
											<OnClick>
											
											</OnClick>
										</Scripts>
									</Button>
									<Button name="$parentColumnHeader2" inherits="WhoFrameColumnHeaderTemplate" text="WIM_LOCALIZED_OPTIONS_FILTERS_ACTION">
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentColumnHeader1" relativePoint="TOPRIGHT">
												<Offset>
													<AbsDimension x="0" y="0"/>
												</Offset>
											</Anchor>
										</Anchors>
										<Scripts>
											<OnLoad>
												WhoFrameColumn_SetWidth(80);
												this.sortType = "action";
											</OnLoad>
											<OnClick>
											
											</OnClick>
										</Scripts>
									</Button>
									<Frame name="$parentPanel" inherits="WIM_Options_PanelTemplate">
										<Size>
											<AbsDimension x="380" y="100" />
										</Size>
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentColumnHeader1" relativePoint="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="-2" y="4" />
												</Offset>
											</Anchor>
										</Anchors>
										<Frames>
											<ScrollFrame name="$parentScrollBar" inherits="FauxScrollFrameTemplate">
												<Anchors>
													<Anchor point="TOPLEFT">
														<Offset>
															<AbsDimension x="0" y="-8"/>
														</Offset>
													</Anchor>
													<Anchor point="BOTTOMRIGHT">
														<Offset>
															<AbsDimension x="-30" y="8"/>
														</Offset>
													</Anchor>
												</Anchors>

												<Scripts>
													<OnVerticalScroll>
														FauxScrollFrame_OnVerticalScroll(16, WIM_FilteringScrollBar_Update); 
													</OnVerticalScroll>
													<OnShow>
														WIM_FilteringScrollBar_Update();
													</OnShow>
												</Scripts>
											</ScrollFrame>
											<Button name="$parentButton1" inherits="WIM_FilterButtonTemplate">
												<Anchors>
													<Anchor point="TOPLEFT" relativeTo="$parentScrollBar" relativePoint="TOPLEFT">
														<Offset>
															<AbsDimension x="0" y="0" />
														</Offset>
													</Anchor>
												</Anchors>
											</Button>
											<Button name="$parentButton2" inherits="WIM_FilterButtonTemplate">
												<Anchors>
													<Anchor point="TOPLEFT" relativeTo="$parentButton1" relativePoint="BOTTOMLEFT">
														<Offset>
															<AbsDimension x="0" y="0" />
														</Offset>
													</Anchor>
												</Anchors>
											</Button>
											<Button name="$parentButton3" inherits="WIM_FilterButtonTemplate">
												<Anchors>
													<Anchor point="TOPLEFT" relativeTo="$parentButton2" relativePoint="BOTTOMLEFT">
														<Offset>
															<AbsDimension x="0" y="0" />
														</Offset>
													</Anchor>
												</Anchors>
											</Button>
											<Button name="$parentButton4" inherits="WIM_FilterButtonTemplate">
												<Anchors>
													<Anchor point="TOPLEFT" relativeTo="$parentButton3" relativePoint="BOTTOMLEFT">
														<Offset>
															<AbsDimension x="0" y="0" />
														</Offset>
													</Anchor>
												</Anchors>
											</Button>
											<Button name="$parentButton5" inherits="WIM_FilterButtonTemplate">
												<Anchors>
													<Anchor point="TOPLEFT" relativeTo="$parentButton4" relativePoint="BOTTOMLEFT">
														<Offset>
															<AbsDimension x="0" y="0" />
														</Offset>
													</Anchor>
												</Anchors>
											</Button>
											<Button name="$parentAdd" inherits="UIPanelButtonTemplate" text="WIM_LOCALIZED_OPTIONS_FILTERS_ADD">
												<Size>
													<AbsDimension x="85" y="22"/>
												</Size>
												<Anchors>
													<Anchor point="BOTTOMLEFT">
														<Offset>
															<AbsDimension x="0" y="-20"/>
														</Offset>
													</Anchor>
												</Anchors>
												<Scripts>
													<OnClick>
														PlaySound("igMainMenuClose");
														WIM_Options_FilterWindowTitleString:SetText(WIM_LOCALIZED_OPTIONS_FILTERS_FILTER_ADD);
														WIM_Options_FilterWindow_Name:SetText("");
														WIM_Options_FilterWindow.prevName = "";
														WIM_Options_FilterWindow.theMode = "add";
														WIM_Options_FilterWindow_ActionIgnore:SetChecked(true);
														WIM_Options_FilterWindow:Show();
														WIM_Options_FilterWindow_Name:SetFocus();
													</OnClick>
												</Scripts>
											</Button>
											<Button name="$parentRemove" inherits="UIPanelButtonTemplate" text="WIM_LOCALIZED_OPTIONS_FILTERS_REMOVE">
												<Size>
													<AbsDimension x="85" y="22"/>
												</Size>
												<Anchors>
													<Anchor point="BOTTOMLEFT">
														<Offset>
															<AbsDimension x="90" y="-20"/>
														</Offset>
													</Anchor>
												</Anchors>
												<Scripts>
													<OnClick>
														PlaySound("igMainMenuClose");
														if(WIM_Filter_Selected ~= "") then
															WIM_Filters[WIM_Filter_Selected] = nil;
															WIM_Filter_Selected = "";
															WIM_FilteringScrollBar_Update();
														end
													</OnClick>
												</Scripts>
											</Button>
											<Button name="$parentEdit" inherits="UIPanelButtonTemplate" text="WIM_LOCALIZED_OPTIONS_FILTERS_EDIT">
												<Size>
													<AbsDimension x="85" y="22"/>
												</Size>
												<Anchors>
													<Anchor point="BOTTOMRIGHT">
														<Offset>
															<AbsDimension x="0" y="-20"/>
														</Offset>
													</Anchor>
												</Anchors>
												<Scripts>
													<OnClick>
														PlaySound("igMainMenuClose");
														if(WIM_Filter_Selected ~= "") then
															WIM_Options_FilterWindowTitleString:SetText(WIM_LOCALIZED_OPTIONS_FILTERS_FILTER_EDIT);
															WIM_Options_FilterWindow.theMode = "edit";
															WIM_Options_FilterWindow.prevName = WIM_Filter_Selected;
															WIM_Options_FilterWindow_Name:SetText(WIM_Filter_Selected);
															if(WIM_Filters[WIM_Filter_Selected] == "Ignore") then
																WIM_Options_FilterWindow_ActionIgnore:SetChecked(true);
															else
																WIM_Options_FilterWindow_ActionBlock:SetChecked(true);
															end
															WIM_Options_FilterWindow:Show();
														end
													</OnClick>
												</Scripts>
											</Button>
											
											
											
										</Frames>
									</Frame>
								</Frames>
							</Frame>
							<!-- End Filtering Frame -->
						</Frames>
					</Frame>
					<!-- End Filter Frame -->
					<!-- History Frame -->
					<Frame name="$parentHistory" hidden="true">
						<Size>
							<AbsDimension x="350" y="200" />
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="10" y="10" />
								</Offset>
							</Anchor>
						</Anchors>
						<Frames>
							<!-- History Options -->
							<CheckButton name="$parentEnabled">
								<Size>
									<AbsDimension x="25" y="25" />
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT">
										<Offset>
											<AbsDimension x="10" y="-25" />
										</Offset>
									</Anchor>
								</Anchors>
								<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
								<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
								<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
								<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
								<Layers>
									<Layer level="OVERLAY">
										<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_HISTORY_ENABLE">
											<Anchors>
												<Anchor point="LEFT">
													<Offset>
														<AbsDimension x="30" y="1" />
													</Offset>
												</Anchor>
											</Anchors>
											<FontHeight>
												<AbsValue val="12" />
											</FontHeight>
											<Color r="1" g="0.8196079" b="0" />
											<Shadow>
												<Color r="0" g="0" b="0" />
												<Offset>
													<AbsDimension x="1" y="-1" />
												</Offset>
											</Shadow>
										</FontString>
									</Layer>
								</Layers>
								<Scripts>
									<OnClick>
										if ( this:GetChecked() ) then
											PlaySound("igMainMenuOptionCheckBoxOff");
										else
											PlaySound("igMainMenuOptionCheckBoxOn");
										end
										WIM_Options_HistoryEnabledClicked();
									</OnClick>
								</Scripts>
							</CheckButton>
							<CheckButton name="$parentRecordEveryone">
								<Size>
									<AbsDimension x="25" y="25" />
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="$parentEnabled" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-10" />
										</Offset>
									</Anchor>
								</Anchors>
								<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
								<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
								<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
								<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
								<Layers>
									<Layer level="OVERLAY">
										<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_HISTORY_RECORD_ALL">
											<Anchors>
												<Anchor point="LEFT">
													<Offset>
														<AbsDimension x="30" y="1" />
													</Offset>
												</Anchor>
											</Anchors>
											<FontHeight>
												<AbsValue val="12" />
											</FontHeight>
											<Color r="1" g="0.8196079" b="0" />
											<Shadow>
												<Color r="0" g="0" b="0" />
												<Offset>
													<AbsDimension x="1" y="-1" />
												</Offset>
											</Shadow>
										</FontString>
									</Layer>
								</Layers>
								<Scripts>
									<OnClick>
										if ( this:GetChecked() ) then
											PlaySound("igMainMenuOptionCheckBoxOff");
										else
											PlaySound("igMainMenuOptionCheckBoxOn");
										end
										WIM_Options_HistoryRecordEveryoneClicked();
									</OnClick>
								</Scripts>
							</CheckButton>
							<CheckButton name="$parentRecordFriends">
								<Size>
									<AbsDimension x="25" y="25" />
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="$parentRecordEveryone" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="25" y="0" />
										</Offset>
									</Anchor>
								</Anchors>
								<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
								<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
								<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
								<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
								<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" />
								<Layers>
									<Layer level="OVERLAY">
										<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_HISTORY_RECORD_FRIENDS">
											<Anchors>
												<Anchor point="LEFT">
													<Offset>
														<AbsDimension x="30" y="1" />
													</Offset>
												</Anchor>
											</Anchors>
											<FontHeight>
												<AbsValue val="12" />
											</FontHeight>
											<Color r="1" g="0.8196079" b="0" />
											<Shadow>
												<Color r="0" g="0" b="0" />
												<Offset>
													<AbsDimension x="1" y="-1" />
												</Offset>
											</Shadow>
										</FontString>
									</Layer>
								</Layers>
								<Scripts>
									<OnClick>
										if ( this:GetChecked() ) then
											PlaySound("igMainMenuOptionCheckBoxOff");
										else
											PlaySound("igMainMenuOptionCheckBoxOn");
										end
										WIM_Options_HistoryRecordFriendsClicked();
									</OnClick>
								</Scripts>
							</CheckButton>
							<CheckButton name="$parentRecordGuild">
								<Size>
									<AbsDimension x="25" y="25" />
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="$parentRecordFriends" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="0" />
										</Offset>
									</Anchor>
								</Anchors>
								<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
								<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
								<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
								<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
								<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" />
								<Layers>
									<Layer level="OVERLAY">
										<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_HISTORY_RECORD_GUILD">
											<Anchors>
												<Anchor point="LEFT">
													<Offset>
														<AbsDimension x="30" y="1" />
													</Offset>
												</Anchor>
											</Anchors>
											<FontHeight>
												<AbsValue val="12" />
											</FontHeight>
											<Color r="1" g="0.8196079" b="0" />
											<Shadow>
												<Color r="0" g="0" b="0" />
												<Offset>
													<AbsDimension x="1" y="-1" />
												</Offset>
											</Shadow>
										</FontString>
									</Layer>
								</Layers>
								<Scripts>
									<OnClick>
										if ( this:GetChecked() ) then
											PlaySound("igMainMenuOptionCheckBoxOff");
										else
											PlaySound("igMainMenuOptionCheckBoxOn");
										end
										WIM_Options_HistoryRecordGuildClicked();
									</OnClick>
								</Scripts>
							</CheckButton>
							<Frame name="$parentColorIn" inherits="WIM_Options_PickColorTemplate">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="$parentRecordEveryone" relativePoint="TOPLEFT">
										<Offset>
											<AbsDimension x="180" y="-3" />
										</Offset>
									</Anchor>
								</Anchors>
								<Layers>
									<Layer level="OVERLAY">
										<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_HISTORY_MESSAGES_IN">
											<Anchors>
												<Anchor point="LEFT">
													<Offset>
														<AbsDimension x="30" y="1" />
													</Offset>
												</Anchor>
											</Anchors>
											<FontHeight>
												<AbsValue val="12" />
											</FontHeight>
											<Color r="1" g="0.8196079" b="0" />
											<Shadow>
												<Color r="0" g="0" b="0" />
												<Offset>
													<AbsDimension x="1" y="-1" />
												</Offset>
											</Shadow>
										</FontString>
									</Layer>
								</Layers>
							</Frame>
							<Frame name="$parentColorOut" inherits="WIM_Options_PickColorTemplate">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="$parentColorIn" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-5" />
										</Offset>
									</Anchor>
								</Anchors>
								<Layers>
									<Layer level="OVERLAY">
										<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_HISTORY_MESSAGES_OUT">
											<Anchors>
												<Anchor point="LEFT">
													<Offset>
														<AbsDimension x="30" y="1" />
													</Offset>
												</Anchor>
											</Anchors>
											<FontHeight>
												<AbsValue val="12" />
											</FontHeight>
											<Color r="1" g="0.8196079" b="0" />
											<Shadow>
												<Color r="0" g="0" b="0" />
												<Offset>
													<AbsDimension x="1" y="-1" />
												</Offset>
											</Shadow>
										</FontString>
									</Layer>
								</Layers>
							</Frame>
							<CheckButton name="$parentShowInMessage">
								<Size>
									<AbsDimension x="25" y="25" />
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="$parentRecordEveryone" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-50" />
										</Offset>
									</Anchor>
								</Anchors>
								<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
								<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
								<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
								<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
								<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" />
								<Layers>
									<Layer level="OVERLAY">
										<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_HISTORY_SHOW">
											<Anchors>
												<Anchor point="LEFT">
													<Offset>
														<AbsDimension x="30" y="1" />
													</Offset>
												</Anchor>
											</Anchors>
											<FontHeight>
												<AbsValue val="12" />
											</FontHeight>
											<Color r="1" g="0.8196079" b="0" />
											<Shadow>
												<Color r="0" g="0" b="0" />
												<Offset>
													<AbsDimension x="1" y="-1" />
												</Offset>
											</Shadow>
										</FontString>
									</Layer>
								</Layers>
								<Scripts>
									<OnClick>
										if ( this:GetChecked() ) then
											PlaySound("igMainMenuOptionCheckBoxOff");
										else
											PlaySound("igMainMenuOptionCheckBoxOn");
										end
										WIM_Options_HistoryShowInMessageClicked();
									</OnClick>
								</Scripts>
							</CheckButton>
							<CheckButton name="$parentSetMaxToStore">
								<Size>
									<AbsDimension x="25" y="25" />
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="$parentShowInMessage" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-5" />
										</Offset>
									</Anchor>
								</Anchors>
								<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
								<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
								<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
								<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
								<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" />
								<Layers>
									<Layer level="OVERLAY">
										<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_HISTORY_MAX">
											<Anchors>
												<Anchor point="LEFT">
													<Offset>
														<AbsDimension x="30" y="1" />
													</Offset>
												</Anchor>
											</Anchors>
											<FontHeight>
												<AbsValue val="12" />
											</FontHeight>
											<Color r="1" g="0.8196079" b="0" />
											<Shadow>
												<Color r="0" g="0" b="0" />
												<Offset>
													<AbsDimension x="1" y="-1" />
												</Offset>
											</Shadow>
										</FontString>
									</Layer>
								</Layers>
								<Scripts>
									<OnClick>
										if ( this:GetChecked() ) then
											PlaySound("igMainMenuOptionCheckBoxOff");
										else
											PlaySound("igMainMenuOptionCheckBoxOn");
										end
										WIM_Options_HistorySetMaxToStoreClicked();
									</OnClick>
								</Scripts>
							</CheckButton>
							<CheckButton name="$parentSetAutoDelete">
								<Size>
									<AbsDimension x="25" y="25" />
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="$parentSetMaxToStore" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-5" />
										</Offset>
									</Anchor>
								</Anchors>
								<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
								<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
								<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
								<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
								<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" />
								<Layers>
									<Layer level="OVERLAY">
										<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_HISTORY_DELETE">
											<Anchors>
												<Anchor point="LEFT">
													<Offset>
														<AbsDimension x="30" y="1" />
													</Offset>
												</Anchor>
											</Anchors>
											<FontHeight>
												<AbsValue val="12" />
											</FontHeight>
											<Color r="1" g="0.8196079" b="0" />
											<Shadow>
												<Color r="0" g="0" b="0" />
												<Offset>
													<AbsDimension x="1" y="-1" />
												</Offset>
											</Shadow>
										</FontString>
									</Layer>
								</Layers>
								<Scripts>
									<OnClick>
										if ( this:GetChecked() ) then
											PlaySound("igMainMenuOptionCheckBoxOff");
										else
											PlaySound("igMainMenuOptionCheckBoxOn");
										end
										WIM_Options_HistorySetAutoDeleteClicked();
									</OnClick>
								</Scripts>
							</CheckButton>
							<Frame name="$parentMessageCount" inherits="UIDropDownMenuTemplate" enableMouse="true">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="$parentShowInMessage" relativePoint="TOPLEFT">
										<Offset>
											<AbsDimension x="300" y="2"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<!-- Ensure that the correct information is displayed
									Also setup the different options and function for selecting options-->
									<OnShow>
										WIM_Options_HistoryMessageCount_OnShow();
									</OnShow>
									<OnEnter>
										--GameTooltip:SetOwner(this, "ANCHOR_TOPRIGHT");
										--GameTooltip:SetText(this.tooltip, nil, nil, nil, nil, 1);
									</OnEnter>
									<OnLeave>
										GameTooltip:Hide();
									</OnLeave>
								</Scripts>
							</Frame>
							<Frame name="$parentMaxCount" inherits="UIDropDownMenuTemplate" enableMouse="true">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="$parentSetMaxToStore" relativePoint="TOPLEFT">
										<Offset>
											<AbsDimension x="350" y="2"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<!-- Ensure that the correct information is displayed
									Also setup the different options and function for selecting options-->
									<OnShow>
										WIM_Options_HistoryMaxCount_OnShow();
									</OnShow>
									<OnEnter>
										--GameTooltip:SetOwner(this, "ANCHOR_TOPRIGHT");
										--GameTooltip:SetText(this.tooltip, nil, nil, nil, nil, 1);
									</OnEnter>
									<OnLeave>
										GameTooltip:Hide();
									</OnLeave>
								</Scripts>
							</Frame>
							<Frame name="$parentAutoDeleteTime" inherits="UIDropDownMenuTemplate" enableMouse="true">
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="$parentSetAutoDelete" relativePoint="TOPLEFT">
										<Offset>
											<AbsDimension x="342" y="2"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<!-- Ensure that the correct information is displayed
									Also setup the different options and function for selecting options-->
									<OnShow>
										WIM_Options_HistoryAutoDeleteTime_OnShow();
									</OnShow>
									<OnEnter>
										--GameTooltip:SetOwner(this, "ANCHOR_TOPRIGHT");
										--GameTooltip:SetText(this.tooltip, nil, nil, nil, nil, 1);
									</OnEnter>
									<OnLeave>
										GameTooltip:Hide();
									</OnLeave>
								</Scripts>
							</Frame>
							<Button name="$parentColumnHeader1" inherits="WhoFrameColumnHeaderTemplate" text="WIM_LOCALIZED_OPTIONS_HISTORY_TAB_USERS">
								<Anchors>
									<Anchor point="TOPLEFT">
										<Offset>
											<AbsDimension x="10" y="-235"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnLoad>
										WhoFrameColumn_SetWidth(240);
										this.sortType = "name";
									</OnLoad>
									<OnClick>
									
									</OnClick>
								</Scripts>
							</Button>
							<Button name="$parentColumnHeader2" inherits="WhoFrameColumnHeaderTemplate" text="WIM_LOCALIZED_OPTIONS_HISTORY_TAB_MESSAGES">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="$parentColumnHeader1" relativePoint="TOPRIGHT">
										<Offset>
											<AbsDimension x="0" y="0"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnLoad>
										WhoFrameColumn_SetWidth(110);
										this.sortType = "messages";
									</OnLoad>
									<OnClick>
									
									</OnClick>
								</Scripts>
							</Button>
							<Frame name="$parentPanel" inherits="WIM_Options_PanelTemplate">
								<Size>
									<AbsDimension x="380" y="100" />
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="$parentColumnHeader1" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="-2" y="4" />
										</Offset>
									</Anchor>
								</Anchors>
								<Frames>
									<ScrollFrame name="$parentScrollBar" inherits="FauxScrollFrameTemplate">
										<Anchors>
											<Anchor point="TOPLEFT">
												<Offset>
													<AbsDimension x="0" y="-8"/>
												</Offset>
											</Anchor>
											<Anchor point="BOTTOMRIGHT">
												<Offset>
													<AbsDimension x="-30" y="8"/>
												</Offset>
											</Anchor>
										</Anchors>
											<Scripts>
											<OnVerticalScroll>
												FauxScrollFrame_OnVerticalScroll(16, WIM_HistoryScrollBar_Update); 
											</OnVerticalScroll>
											<OnShow>
												WIM_HistoryScrollBar_Update();
											</OnShow>
										</Scripts>
									</ScrollFrame>
									<Button name="$parentButton1" inherits="WIM_HistoryButtonTemplate">
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentScrollBar" relativePoint="TOPLEFT">
												<Offset>
													<AbsDimension x="0" y="0" />
												</Offset>
											</Anchor>
										</Anchors>
									</Button>
									<Button name="$parentButton2" inherits="WIM_HistoryButtonTemplate">
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentButton1" relativePoint="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="0" y="0" />
												</Offset>
											</Anchor>
										</Anchors>
									</Button>
									<Button name="$parentButton3" inherits="WIM_HistoryButtonTemplate">
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentButton2" relativePoint="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="0" y="0" />
												</Offset>
											</Anchor>
										</Anchors>
									</Button>
									<Button name="$parentButton4" inherits="WIM_HistoryButtonTemplate">
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentButton3" relativePoint="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="0" y="0" />
												</Offset>
											</Anchor>
										</Anchors>
									</Button>
									<Button name="$parentButton5" inherits="WIM_HistoryButtonTemplate">
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentButton4" relativePoint="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="0" y="0" />
												</Offset>
											</Anchor>
										</Anchors>
									</Button>
									<Button name="$parentDeleteUser" inherits="UIPanelButtonTemplate" text="WIM_LOCALIZED_OPTIONS_HISTORY_DELETE_USER">
										<Size>
											<AbsDimension x="90" y="22"/>
										</Size>
										<Anchors>
											<Anchor point="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="0" y="-20"/>
												</Offset>
											</Anchor>
										</Anchors>
										<Scripts>
											<OnClick>
												PlaySound("igMainMenuClose");
												if(WIM_History_Selected ~= "") then
													WIM_History[WIM_History_Selected] = nil;
													WIM_History_Selected = "";
													WIM_HistoryScrollBar_Update();
												end
											</OnClick>
										</Scripts>
									</Button>
									<Button name="$parentViewHistory" inherits="UIPanelButtonTemplate" text="WIM_LOCALIZED_OPTIONS_HISTORY_VIEW_USER">
										<Size>
											<AbsDimension x="100" y="22"/>
										</Size>
										<Anchors>
											<Anchor point="BOTTOMRIGHT">
												<Offset>
													<AbsDimension x="0" y="-20"/>
												</Offset>
											</Anchor>
										</Anchors>
										<Scripts>
											<OnClick>
												PlaySound("igMainMenuClose");
												WIM_HistoryView_Name_Selected = WIM_History_Selected;
												WIM_HistoryView_Filter_Selected = "";
												if(WIM_HistoryFrame:IsVisible()) then
													WIM_HistoryViewNameScrollBar_Update();
													WIM_HistoryViewFiltersScrollBar_Update();
												else
													WIM_HistoryFrame:Show();
												end
											</OnClick>
										</Scripts>
									</Button>
								</Frames>
							</Frame>
							<!-- End History Options -->
						</Frames>
					</Frame>
					<!-- End History Frame -->
					<!-- Plugin Frame -->
					<Frame name="$parentPlugin" hidden="true">
						<Size>
							<AbsDimension x="350" y="200" />
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="10" y="10" />
								</Offset>
							</Anchor>
						</Anchors>
						<Frames>
							<Frame name="$parentPanel" inherits="WIM_Options_PanelTemplate">
								<Size>
									<AbsDimension x="380" y="100" />
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT">
										<Offset>
											<AbsDimension x="8" y="-25" />
										</Offset>
									</Anchor>
								</Anchors>
								<Layers>
									<Layer>
										<FontString name="$parentNoPlugin" inherits="GameFontNormal" justifyH="CENTER" text="WIM_LOCALIZED_OPTIONS_PLUGINS_NOPLUGIN">
											<Size>
												<AbsDimension x="300" y="14"/>
											</Size>
											<Anchors>
												<Anchor point="CENTER">
													<Offset>
														<AbsDimension x="0" y="10"/>
													</Offset>
												</Anchor>
											</Anchors>
											<Color r="0.8" g="0.8" b="0.8" />
										</FontString>
									</Layer>
								</Layers>
								<Frames>
									<ScrollFrame name="$parentScrollBar" inherits="FauxScrollFrameTemplate">
										<Anchors>
											<Anchor point="TOPLEFT">
												<Offset>
													<AbsDimension x="0" y="-8"/>
												</Offset>
											</Anchor>
											<Anchor point="BOTTOMRIGHT">
												<Offset>
													<AbsDimension x="-30" y="8"/>
												</Offset>
											</Anchor>
										</Anchors>
											<Scripts>
											<OnVerticalScroll>
												FauxScrollFrame_OnVerticalScroll(16, WIM_PluginScrollBar_Update); 
											</OnVerticalScroll>
											<OnShow>
												WIM_PluginScrollBar_Update();
											</OnShow>
										</Scripts>
									</ScrollFrame>
									<Button name="$parentButton1" inherits="WIM_PluginButtonTemplate">
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentScrollBar" relativePoint="TOPLEFT">
												<Offset>
													<AbsDimension x="0" y="0" />
												</Offset>
											</Anchor>
										</Anchors>
									</Button>
									<Button name="$parentButton2" inherits="WIM_PluginButtonTemplate">
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentButton1" relativePoint="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="0" y="0" />
												</Offset>
											</Anchor>
										</Anchors>
									</Button>
									<Button name="$parentButton3" inherits="WIM_PluginButtonTemplate">
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentButton2" relativePoint="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="0" y="0" />
												</Offset>
											</Anchor>
										</Anchors>
									</Button>
									<Button name="$parentButton4" inherits="WIM_PluginButtonTemplate">
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentButton3" relativePoint="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="0" y="0" />
												</Offset>
											</Anchor>
										</Anchors>
									</Button>
									<Button name="$parentButton5" inherits="WIM_PluginButtonTemplate">
										<Anchors>
											<Anchor point="TOPLEFT" relativeTo="$parentButton4" relativePoint="BOTTOMLEFT">
												<Offset>
													<AbsDimension x="0" y="0" />
												</Offset>
											</Anchor>
										</Anchors>
									</Button>
								</Frames>
							</Frame>
						
							<ScrollFrame name="WIM_Options_PluginScroll" inherits="UIPanelScrollFrameTemplate">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="WIM_OptionsTabbedFramePluginPanel" relativePoint="BOTTOMLEFT">
										<Offset>
											<AbsDimension x="0" y="-15" />
										</Offset>
									</Anchor>
									<Anchor point="BOTTOMRIGHT" relativeTo="WIM_OptionsTabbedFrame" relativePoint="BOTTOMRIGHT">
										<Offset>
											<AbsDimension x="-30" y="20" />
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnLoad>
										this.initLevel = this:GetFrameLevel();
									</OnLoad>
									<OnShow>
										ScrollFrame_OnScrollRangeChanged();
									</OnShow>
								</Scripts>
							</ScrollFrame>
						
						
						
						
						
						
						
						
						
						
						
						
						
						
						
						
						
						
						
						
						
						
						
						
						</Frames>
						<Scripts>
							<OnHide>
								WIM_Options_Plugins_HideAllOptionFrames();
							</OnHide>
							<OnShow>
								WIM_PluginScrollBar_Update();
							</OnShow>
						</Scripts>
					</Frame>
					<!-- End Plugin Frame -->
				</Frames>
				<!-- End Whisper Frame -->
			</Frame>
			<!-- End Tabbed Frame -->
			
			
			
			
			
			<Button name="$parentExitButton">
				<Size>
					<AbsDimension x="32" y="32"/>
				</Size>
				<Anchors>
					<Anchor point="TOPRIGHT">
						<Offset>
							<AbsDimension x="-10" y="-10"/>
						</Offset>
					</Anchor>
				</Anchors>
				<NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/>
				<PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/>
				<HighlightTexture alphaMode="ADD" file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight"/>
				<Scripts>
					<OnLoad>
						this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
					</OnLoad>
					<OnClick>
						this:GetParent():Hide();
					</OnClick>
				</Scripts>
			</Button>
			
			<Button name="$parentHelpButton">
				<Size>
					<AbsDimension x="16" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOPRIGHT" relativeTo="$parentExitButton" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="-2" y="-7"/>
						</Offset>
					</Anchor>
				</Anchors>
				<NormalTexture file="Interface\GossipFrame\ActiveQuestIcon"/>
				<HighlightTexture alphaMode="ADD" file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight"/>
				<Scripts>
					<OnLoad>
						this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
					</OnLoad>
					<OnClick>
						WIM_Help:Show();
					</OnClick>
				</Scripts>
			</Button>
			
		</Frames>
		<Scripts>
			<OnLoad>
				tinsert(UISpecialFrames,this:GetName());
				this:RegisterForDrag("LeftButton");
			</OnLoad>
			<OnShow>
				PlaySound("igMainMenuOpen");
				WIM_Help:Hide();
				WIM_Options_OnShow();
			</OnShow>
			<OnHide>
				PlaySound("igMainMenuClose");
				GameTooltip:Hide();
				WIM_WindowAnchor:Hide();
				DropDownList1:Hide();
			</OnHide>
			<OnDragStart>
				this:StartMoving();
				this.isMoving = true;
			</OnDragStart>
			<OnDragStop>
				this:StopMovingOrSizing();
				this.isMoving = false;
			</OnDragStop>
		</Scripts>
	</Frame>
	
	
	<Frame name="WIM_Options_AliasWindow" movable="false" alpha="1" enableMouse="true" toplevel="true" frameStrata="TOOLTIP" parent="UIParent" hidden="true"  clampedToScreen="true">
		<Size>
			<AbsDimension x="250" y="220" />
		</Size>
		<Anchors>
			<Anchor point="CENTER" relativeTo="WIM_Options">
				<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>
				<Texture name="$parentTitleBorder" file="Interface\DialogFrame\UI-DialogBox-Header">
				<Size>
					<AbsDimension x="160" y="32" />
				</Size>
				<Anchors>
					<Anchor point="TOP">
					<Offset>
						<AbsDimension x="0" y="5" />
					</Offset>
					</Anchor>
				</Anchors>
				<TexCoords left="0.2" right="0.8" top="0" bottom="0.6" />
				</Texture>
				<FontString name="$parentTitleString" inherits="GameFontNormal" text="Add New Alias">
					<Size>
						<AbsDimension x="140" y="0" />
					</Size>
					<Anchors>
						<Anchor point="TOP">
							<Offset>
								<AbsDimension x="0" y="-4" />
							</Offset>
						</Anchor>
					</Anchors>
					<FontHeight>
						<AbsValue val="12" />
					</FontHeight>
					<Color r="1" g="0.8196079" b="0" />
					<Shadow>
						<Color r="0" g="0" b="0" />
						<Offset>
						<AbsDimension x="1" y="-1" />
						</Offset>
					</Shadow>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Frame name="$parentPanel1" inherits="WIM_Options_PanelTemplate">
				<Size>
					<AbsDimension x="200" y="40" />
				</Size>
				<Anchors>
					<Anchor point="TOP">
						<Offset>
							<AbsDimension x="0" y="-50" />
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="OVERLAY">
						<FontString inherits="GameFontNormal" text="WIM_LOCALIZED_ALIAS_WINDOW_LABEL1">
							<Anchors>
								<Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
									<Offset>
										<AbsDimension x="0" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
							<FontHeight>
								<AbsValue val="12" />
							</FontHeight>
							<Color r="1" g="0.8196079" b="0" />
							<Shadow>
								<Color r="0" g="0" b="0" />
								<Offset>
									<AbsDimension x="1" y="-1" />
								</Offset>
							</Shadow>
						</FontString>
					</Layer>
				</Layers>
				<Frames>
					<EditBox name="WIM_Options_AliasWindow_Name" enableMouse="true" ignoreArrows="false" frameStrata="TOOLTIP" toplevel="true" letters="16" autoFocus="false">
						<Size>
							<AbsDimension x="190" y="35" />
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="10" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
						<FontString inherits="ChatFontNormal">
							<FontHeight>
								<AbsValue val="16" />
							</FontHeight>
							<Color r="1" g="1" b="1" />
							<Shadow>
								<Color r="0" g="0" b="0" />
								<Offset>
									<AbsDimension x="1" y="-1" />
								</Offset>
							</Shadow>
						</FontString>
						<Scripts>
							<OnEscapePressed>
								this:Hide();
								this:Show();
							</OnEscapePressed>
						</Scripts>
					</EditBox>
				</Frames>
			</Frame>
			<Frame name="$parentPanel2" inherits="WIM_Options_PanelTemplate">
				<Size>
					<AbsDimension x="200" y="40" />
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentPanel1" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="-20" />
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="OVERLAY">
						<FontString inherits="GameFontNormal" text="WIM_LOCALIZED_ALIAS_WINDOW_LABEL2">
							<Anchors>
								<Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
									<Offset>
										<AbsDimension x="0" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
							<FontHeight>
								<AbsValue val="12" />
							</FontHeight>
							<Color r="1" g="0.8196079" b="0" />
							<Shadow>
								<Color r="0" g="0" b="0" />
								<Offset>
									<AbsDimension x="1" y="-1" />
								</Offset>
							</Shadow>
						</FontString>
						<FontString name="WIM_Options_AliasWindow_Error" inherits="GameFontNormal" text="">
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT">
									<Offset>
										<AbsDimension x="0" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
							<FontHeight>
								<AbsValue val="12" />
							</FontHeight>
							<Color r="1" g="0" b="0" />
							<Shadow>
								<Color r="0" g="0" b="0" />
								<Offset>
									<AbsDimension x="1" y="-1" />
								</Offset>
							</Shadow>
						</FontString>
					</Layer>
				</Layers>
				<Frames>
					<EditBox name="WIM_Options_AliasWindow_Alias" enableMouse="true" ignoreArrows="false" frameStrata="TOOLTIP" toplevel="true" letters="16" autoFocus="false">
						<Size>
							<AbsDimension x="190" y="35" />
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="10" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
						<FontString inherits="ChatFontNormal">
							<FontHeight>
								<AbsValue val="16" />
							</FontHeight>
							<Color r="1" g="1" b="1" />
							<Shadow>
								<Color r="0" g="0" b="0" />
								<Offset>
									<AbsDimension x="1" y="-1" />
								</Offset>
							</Shadow>
						</FontString>
						<Scripts>
							<OnEscapePressed>
								this:Hide();
								this:Show();
							</OnEscapePressed>
						</Scripts>
					</EditBox>
				</Frames>
			</Frame>
		
		
		
		
		
			<Button name="$parentCancel" inherits="UIPanelButtonTemplate" text="WIM_LOCALIZED_CANCEL">
				<Size>
					<AbsDimension x="85" y="28"/>
				</Size>
				<Anchors>
					<Anchor point="BOTTOMRIGHT">
						<Offset>
							<AbsDimension x="-25" y="15"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						PlaySound("igMainMenuClose");
						WIM_Options_AliasWindow:Hide();
					</OnClick>
				</Scripts>
			</Button>
			<Button name="$parentOK" inherits="UIPanelButtonTemplate" text="WIM_LOCALIZED_OK">
				<Size>
					<AbsDimension x="85" y="28"/>
				</Size>
				<Anchors>
					<Anchor point="RIGHT" relativeTo="$parentCancel" relativePoint="LEFT">
						<Offset>
							<AbsDimension x="-5" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						WIM_Options_AliasWindow_Click();
					</OnClick>
				</Scripts>
			</Button>
		</Frames>
		<Scripts>
			<OnLoad>
				tinsert(UISpecialFrames,this:GetName());
			</OnLoad>
			<OnShow>
				WIM_Options_AliasWindow_Error:SetText("");
				WIM_Options:SetAlpha(.35);
				WIM_Options:EnableMouse(false);
				PlaySound("igMainMenuOpen");
			</OnShow>
			<OnHide>
				WIM_Options:SetAlpha(1);
				WIM_Options:EnableMouse(true);
				WIM_Options_AliasWindow.prevName = "";
				PlaySound("igMainMenuClose");
			</OnHide>
		</Scripts>
	</Frame>
	
	
	<Frame name="WIM_Options_FilterWindow" movable="false" alpha="1" enableMouse="true" toplevel="true" frameStrata="TOOLTIP" parent="UIParent" hidden="true"  clampedToScreen="true">
		<Size>
			<AbsDimension x="400" y="220" />
		</Size>
		<Anchors>
			<Anchor point="CENTER" relativeTo="WIM_Options">
				<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>
				<Texture name="$parentTitleBorder" file="Interface\DialogFrame\UI-DialogBox-Header">
				<Size>
					<AbsDimension x="160" y="32" />
				</Size>
				<Anchors>
					<Anchor point="TOP">
					<Offset>
						<AbsDimension x="0" y="5" />
					</Offset>
					</Anchor>
				</Anchors>
				<TexCoords left="0.2" right="0.8" top="0" bottom="0.6" />
				</Texture>
				<FontString name="$parentTitleString" inherits="GameFontNormal" text="Add New Filter">
					<Size>
						<AbsDimension x="140" y="0" />
					</Size>
					<Anchors>
						<Anchor point="TOP">
							<Offset>
								<AbsDimension x="0" y="-4" />
							</Offset>
						</Anchor>
					</Anchors>
					<FontHeight>
						<AbsValue val="12" />
					</FontHeight>
					<Color r="1" g="0.8196079" b="0" />
					<Shadow>
						<Color r="0" g="0" b="0" />
						<Offset>
						<AbsDimension x="1" y="-1" />
						</Offset>
					</Shadow>
				</FontString>
				<FontString name="$parentActionString" inherits="GameFontNormal" text="WIM_LOCALIZED_FILTER_WINDOW_LABEL2">
					<Size>
						<AbsDimension x="200" y="0" />
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="13" y="-110" />
							</Offset>
						</Anchor>
					</Anchors>
					<FontHeight>
						<AbsValue val="12" />
					</FontHeight>
					<Color r="1" g="0.8196079" b="0" />
					<Shadow>
						<Color r="0" g="0" b="0" />
						<Offset>
						<AbsDimension x="1" y="-1" />
						</Offset>
					</Shadow>
				</FontString>
				<FontString name="WIM_Options_FilterWindow_Error" inherits="GameFontNormal" text="ERROR: Example Error Message" justifyH="LEFT">
					<Size>
						<AbsDimension x="300" y="0" />
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="25" y="-90" />
							</Offset>
						</Anchor>
					</Anchors>
					<FontHeight>
						<AbsValue val="12" />
					</FontHeight>
					<Color r="1" g="0" b="0" />
					<Shadow>
						<Color r="0" g="0" b="0" />
						<Offset>
						<AbsDimension x="1" y="-1" />
						</Offset>
					</Shadow>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Frame name="$parentPanel1" inherits="WIM_Options_PanelTemplate">
				<Size>
					<AbsDimension x="350" y="40" />
				</Size>
				<Anchors>
					<Anchor point="TOP">
						<Offset>
							<AbsDimension x="0" y="-50" />
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="OVERLAY">
						<FontString inherits="GameFontNormal" text="WIM_LOCALIZED_FILTER_WINDOW_LABEL1">
							<Anchors>
								<Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
									<Offset>
										<AbsDimension x="0" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
							<FontHeight>
								<AbsValue val="12" />
							</FontHeight>
							<Color r="1" g="0.8196079" b="0" />
							<Shadow>
								<Color r="0" g="0" b="0" />
								<Offset>
									<AbsDimension x="1" y="-1" />
								</Offset>
							</Shadow>
						</FontString>
					</Layer>
				</Layers>
				<Frames>
					<EditBox name="WIM_Options_FilterWindow_Name" enableMouse="true" ignoreArrows="false" frameStrata="TOOLTIP" toplevel="true" letters="150" autoFocus="false">
						<Size>
							<AbsDimension x="325" y="35" />
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="10" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
						<FontString inherits="ChatFontNormal">
							<FontHeight>
								<AbsValue val="16" />
							</FontHeight>
							<Color r="1" g="1" b="1" />
							<Shadow>
								<Color r="0" g="0" b="0" />
								<Offset>
									<AbsDimension x="1" y="-1" />
								</Offset>
							</Shadow>
						</FontString>
						<Scripts>
							<OnEscapePressed>
								this:Hide();
								this:Show();
							</OnEscapePressed>
						</Scripts>
					</EditBox>
				</Frames>
			</Frame>
		
			<CheckButton name="WIM_Options_FilterWindow_ActionIgnore">
				<Size>
					<AbsDimension x="25" y="25" />
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="220" y="-105" />
						</Offset>
					</Anchor>
				</Anchors>
				<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
				<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
				<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
				<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
				<Layers>
					<Layer level="OVERLAY">
						<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_FILTER_IGNORE">
							<Anchors>
								<Anchor point="LEFT">
									<Offset>
										<AbsDimension x="30" y="1" />
									</Offset>
								</Anchor>
							</Anchors>
							<FontHeight>
								<AbsValue val="12" />
							</FontHeight>
							<Color r="1" g="0.8196079" b="0" />
							<Shadow>
							<Color r="0" g="0" b="0" />
								<Offset>
									<AbsDimension x="1" y="-1" />
								</Offset>
							</Shadow>
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							PlaySound("igMainMenuOptionCheckBoxOff");
						else
							PlaySound("igMainMenuOptionCheckBoxOn");
						end
						WIM_Options_FilteringIgnoreClicked();
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="WIM_Options_FilterWindow_ActionBlock">
				<Size>
					<AbsDimension x="25" y="25" />
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="WIM_Options_FilterWindow_ActionIgnore" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0" />
						</Offset>
					</Anchor>
				</Anchors>
				<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
				<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
				<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
				<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
				<Layers>
					<Layer level="OVERLAY">
						<FontString name="$parentText" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_FILTER_BLOCK">
							<Anchors>
								<Anchor point="LEFT">
									<Offset>
										<AbsDimension x="30" y="1" />
									</Offset>
								</Anchor>
							</Anchors>
							<FontHeight>
								<AbsValue val="12" />
							</FontHeight>
							<Color r="1" g="0.8196079" b="0" />
							<Shadow>
							<Color r="0" g="0" b="0" />
								<Offset>
									<AbsDimension x="1" y="-1" />
								</Offset>
							</Shadow>
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							PlaySound("igMainMenuOptionCheckBoxOff");
						else
							PlaySound("igMainMenuOptionCheckBoxOn");
						end
						WIM_Options_FilteringBlockClicked();
					</OnClick>
				</Scripts>
			</CheckButton>
		
		
		
			<Button name="$parentCancel" inherits="UIPanelButtonTemplate" text="WIM_LOCALIZED_CANCEL">
				<Size>
					<AbsDimension x="85" y="28"/>
				</Size>
				<Anchors>
					<Anchor point="BOTTOMRIGHT">
						<Offset>
							<AbsDimension x="-25" y="15"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						PlaySound("igMainMenuClose");
						WIM_Options_FilterWindow:Hide();
					</OnClick>
				</Scripts>
			</Button>
			<Button name="$parentOK" inherits="UIPanelButtonTemplate" text="WIM_LOCALIZED_OK">
				<Size>
					<AbsDimension x="85" y="28"/>
				</Size>
				<Anchors>
					<Anchor point="RIGHT" relativeTo="$parentCancel" relativePoint="LEFT">
						<Offset>
							<AbsDimension x="-5" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						WIM_Options_FilterWindow_Click();
					</OnClick>
				</Scripts>
			</Button>
		</Frames>
		<Scripts>
			<OnLoad>
				tinsert(UISpecialFrames,this:GetName());
			</OnLoad>
			<OnShow>
				WIM_Options_FilterWindow_Error:SetText("");
				WIM_Options:SetAlpha(.35);
				WIM_Options:EnableMouse(false);
				PlaySound("igMainMenuOpen");
				WIM_Options_FilteringIgnoreClicked();
				WIM_Options_FilteringBlockClicked();
			</OnShow>
			<OnHide>
				WIM_Options_FilterWindow.prevName = "";
				WIM_Options:SetAlpha(1);
				WIM_Options:EnableMouse(true);
				PlaySound("igMainMenuClose");
			</OnHide>
		</Scripts>
	</Frame>
	
	
	<Frame name="WIM_WindowAnchor" movable="true" enableMouse="true" toplevel="true" frameStrata="TOOLTIP" parent="UIParent" hidden="true">
		<Size>
			<AbsDimension x="16" y="16"/> 
		</Size>
		<Anchors>
			<Anchor point="TOPLEFT">
				<Offset>
					<AbsDimension x="100" y="-125"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture file="Interface\AddOns\WIM\Images\DragButton">
					<Size>
						<AbsDimension x="16" y="16"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<Scripts>
			<OnLoad>
				this:RegisterForDrag("LeftButton");
				WIM_OptionsIsLoaded = true;
				WIM_Options:Show();
			</OnLoad>
			<OnShow>
				PlaySound("igMainMenuOptionCheckBoxOn");
			</OnShow>
			<OnHide>
				PlaySound("igMainMenuOptionCheckBoxOff");
			</OnHide>
			<OnDragStart>
				this:StartMoving();
				this.isMoving = true;
			</OnDragStart>
			<OnDragStop>
				this:StopMovingOrSizing();
				this.isMoving = false;
				WIM_Data.winLoc.left = this:GetLeft();
				WIM_Data.winLoc.top = this:GetTop();
				WIM_CascadeStep = 0;
			</OnDragStop>
			<OnEnter>
				GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
				GameTooltip:SetText(WIM_LOCALIZED_OPTIONS_TOOLTIP_MSG_SPAWN);
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide();
			</OnLeave>
		</Scripts>
	</Frame>
	
	
	
	
	<Frame name="WIM_Options_Pluins_NoPluginInfo" inherits="WIM_PluginOptionFrame">
		<Layers>
			<Layer>
				<FontString name="$parentText" inherits="GameFontNormal" justifyH="LEFT" text="WIM_LOCALIZED_OPTIONS_FILTER_BLOCK">
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="0" y="0" />
								</Offset>
							</Anchor>
						</Anchors>
						<FontHeight>
							<AbsValue val="12" />
					</FontHeight>
					<Color r="1" g="0.8196079" b="0" />
					<Shadow>
						<Color r="0" g="0" b="0" />
						<Offset>
							<AbsDimension x="1" y="-1" />
						</Offset>
					</Shadow>
				</FontString>
			</Layer>
		</Layers>
	</Frame>
	
	
	
	
	
	<Frame name="WIM_PluginNote" movable="true" alpha="1" enableMouse="true" toplevel="true" frameStrata="DIALOG" parent="UIParent" hidden="true"  clampedToScreen="true">
		<Size>
			<AbsDimension x="450" y="205" />
		</Size>
		<Anchors>
			<Anchor point="CENTER" relativeTo="UIParent">
				<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>
				<Texture name="$parentTitleBorder" file="Interface\DialogFrame\UI-DialogBox-Header">
				<Size>
					<AbsDimension x="160" y="32" />
				</Size>
				<Anchors>
					<Anchor point="TOP">
					<Offset>
						<AbsDimension x="0" y="5" />
					</Offset>
					</Anchor>
				</Anchors>
				<TexCoords left="0.2" right="0.8" top="0" bottom="0.6" />
				</Texture>
				<FontString name="$parentTitleString" inherits="GameFontNormal" text="WIM_LOCALIZED_OPTIONS_PLUGININFO">
					<Size>
						<AbsDimension x="140" y="0" />
					</Size>
					<Anchors>
						<Anchor point="TOP">
							<Offset>
								<AbsDimension x="0" y="-4" />
							</Offset>
						</Anchor>
					</Anchors>
					<FontHeight>
						<AbsValue val="12" />
					</FontHeight>
					<Color r="1" g="0.8196079" b="0" />
					<Shadow>
						<Color r="0" g="0" b="0" />
						<Offset>
						<AbsDimension x="1" y="-1" />
						</Offset>
					</Shadow>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Button name="$parentExitButton">
				<Size>
					<AbsDimension x="32" y="32"/>
				</Size>
				<Anchors>
					<Anchor point="TOPRIGHT">
						<Offset>
							<AbsDimension x="-10" y="-10"/>
						</Offset>
					</Anchor>
				</Anchors>
				<NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/>
				<PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/>
				<HighlightTexture alphaMode="ADD" file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight"/>
				<Scripts>
					<OnLoad>
						this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
					</OnLoad>
					<OnClick>
						this:GetParent():Hide();
					</OnClick>
				</Scripts>
			</Button>

			<ScrollFrame name="WIM_PluginNoteText" inherits="UIPanelScrollFrameTemplate">
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="15" y="-43" />
						</Offset>
					</Anchor>
					<Anchor point="BOTTOMRIGHT">
						<Offset>
							<AbsDimension x="-38" y="18" />
						</Offset>
					</Anchor>
				</Anchors>
				<ScrollChild>
					<Frame name="$parentScrollChild" frameStrata="HIGH">
						<Size>
							<AbsDimension x="10" y="10"/>
						</Size>
						<Frames>
							<SimpleHTML name="$parentText">
								<Size>
									<AbsDimension x="500" y="304"/>
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT">
										<Offset>
											<AbsDimension x="0" y="0"/>
										</Offset>
									</Anchor>
									<Anchor point="BOTTOMRIGHT">
										<Offset>
											<AbsDimension x="0" y="0"/>
										</Offset>
									</Anchor>
								</Anchors>
								<FontString inherits="GameFontNormal" justifyH="LEFT">
									<FontHeight>
										<AbsValue val="12" />
									</FontHeight>
									<Color r="1" g="0.8196079" b="0" />
									<Shadow>
										<Color r="0" g="0" b="0" />
										<Offset>
											<AbsDimension x="1" y="-1" />
										</Offset>
									</Shadow>
								</FontString>
							</SimpleHTML>
						</Frames>
					</Frame>
				</ScrollChild>
			</ScrollFrame>
		
		
		
		
		</Frames>
		<Scripts>
			<OnLoad>
				tinsert(UISpecialFrames,this:GetName());
				this:RegisterForDrag("LeftButton");
			</OnLoad>
			<OnShow>
				WIM_Options:SetAlpha(.35);
				PlaySound("igMainMenuOpen");
			</OnShow>
			<OnHide>
				WIM_Options:SetAlpha(1);
				PlaySound("igMainMenuClose");
			</OnHide>
			<OnDragStart>
				this:StartMoving();
				this.isMoving = true;
			</OnDragStart>
			<OnDragStop>
				this:StopMovingOrSizing();
				this.isMoving = false;
			</OnDragStop>
		</Scripts>
	</Frame>
	
	
	
	
	<Button name="WIM_Options_FontSelectionButton" virtual="true">
		<Size>
			<AbsDimension x="150" y="25"/>
		</Size>
		<Layers>
			<Layer level="BORDER">
				<FontString name="$parentName" inherits="GameFontNormal" justifyH="LEFT" text="Test Font Name">
					<Size>
						<AbsDimension x="140" y="14"/>
					</Size>
					<Anchors>
						<Anchor point="LEFT">
							<Offset>
								<AbsDimension x="10" y="-3"/>
							</Offset>
						</Anchor>
					</Anchors>
					<FontHeight>
						<AbsValue val="20" />
					</FontHeight>
				</FontString>
			</Layer>
		</Layers>
		<Scripts>
			<OnLoad>
				this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
			</OnLoad>
			<OnClick>
				WIM_OPTIONS_SELECTED_FONT = this.theFont;
				WIM_FontList_Preview(WIM_OPTIONS_SELECTED_FONT);
				WIM_FontList_Update();
				PlaySound("igMainMenuOptionCheckBoxOn");
			</OnClick>
		</Scripts>
		<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD">
			<Size>
				<AbsDimension x="150" y="25"/>
			</Size>
			<Anchors>
				<Anchor point="TOP">
					<Offset>
						<AbsDimension x="5" y="-2"/>
					</Offset>
				</Anchor>
			</Anchors>
		</HighlightTexture>
	</Button>
	
	
	
	<Frame name="WIM_Options_FontSelector" movable="true" alpha="1" enableMouse="true" toplevel="true" frameStrata="DIALOG" parent="UIParent" hidden="true"  clampedToScreen="true">
		<Size>
			<AbsDimension x="475" y="280" />
		</Size>
		<Anchors>
			<Anchor point="CENTER" relativeTo="WIM_Options">
				<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>
				<Texture name="$parentTitleBorder" file="Interface\DialogFrame\UI-DialogBox-Header">
				<Size>
					<AbsDimension x="160" y="32" />
				</Size>
				<Anchors>
					<Anchor point="TOP">
					<Offset>
						<AbsDimension x="0" y="5" />
					</Offset>
					</Anchor>
				</Anchors>
				<TexCoords left="0.2" right="0.8" top="0" bottom="0.6" />
				</Texture>
				<FontString name="$parentTitleString" inherits="GameFontNormal" text="WIM_SKINNER_LOCALIZED_OPTIONS_FONT_DIALOG">
					<Size>
						<AbsDimension x="140" y="0" />
					</Size>
					<Anchors>
						<Anchor point="TOP">
							<Offset>
								<AbsDimension x="0" y="-4" />
							</Offset>
						</Anchor>
					</Anchors>
					<FontHeight>
						<AbsValue val="12" />
					</FontHeight>
					<Color r="1" g="0.8196079" b="0" />
					<Shadow>
						<Color r="0" g="0" b="0" />
						<Offset>
						<AbsDimension x="1" y="-1" />
						</Offset>
					</Shadow>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Frame name="$parentListFrame" inherits="WIM_Options_PanelTemplate">
				<Size>
					<AbsDimension x="180" y="0" />
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="15" y="-30" />
						</Offset>
					</Anchor>
					<Anchor point="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="15" y="10" />
						</Offset>
					</Anchor>
				</Anchors>
				<Frames>
					<ScrollFrame name="$parentScrollBar" inherits="FauxScrollFrameTemplate">
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="0" y="-8"/>
								</Offset>
							</Anchor>
							<Anchor point="BOTTOMRIGHT">
								<Offset>
									<AbsDimension x="-30" y="8"/>
								</Offset>
							</Anchor>
						</Anchors>
							<Scripts>
							<OnVerticalScroll>
								FauxScrollFrame_OnVerticalScroll(25, WIM_FontList_Update); 
							</OnVerticalScroll>
							<OnShow>
								WIM_OPTIONS_SELECTED_FONT = WIM_Data.skin.font;
								WIM_OPTIONS_FONT_OUTLINE = WIM_Data.skin.font_outline;
								WIM_FontList_Preview(WIM_OPTIONS_SELECTED_FONT);
								WIM_FontList_Update();
							</OnShow>
						</Scripts>
					</ScrollFrame>
					<Button name="$parentButton1" inherits="WIM_Options_FontSelectionButton" hidden="false">
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="0" y="-5"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="$parentButton2" inherits="WIM_Options_FontSelectionButton" hidden="false">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton1" relativePoint="BOTTOMLEFT" />
						</Anchors>
					</Button>
					<Button name="$parentButton3" inherits="WIM_Options_FontSelectionButton" hidden="false">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton2" relativePoint="BOTTOMLEFT" />
						</Anchors>
					</Button>
					<Button name="$parentButton4" inherits="WIM_Options_FontSelectionButton" hidden="false">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton3" relativePoint="BOTTOMLEFT" />
						</Anchors>
					</Button>
					<Button name="$parentButton5" inherits="WIM_Options_FontSelectionButton" hidden="false">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton4" relativePoint="BOTTOMLEFT" />
						</Anchors>
					</Button>
					<Button name="$parentButton6" inherits="WIM_Options_FontSelectionButton" hidden="false">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton5" relativePoint="BOTTOMLEFT" />
						</Anchors>
					</Button>
					<Button name="$parentButton7" inherits="WIM_Options_FontSelectionButton" hidden="false">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton6" relativePoint="BOTTOMLEFT" />
						</Anchors>
					</Button>
					<Button name="$parentButton8" inherits="WIM_Options_FontSelectionButton" hidden="false">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton7" relativePoint="BOTTOMLEFT" />
						</Anchors>
					</Button>
					<Button name="$parentButton9" inherits="WIM_Options_FontSelectionButton" hidden="false">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton8" relativePoint="BOTTOMLEFT" />
						</Anchors>
					</Button>
				</Frames>
			</Frame>
			<Frame name="$parentPreviewFrame">
				<Size>
					<AbsDimension x="250" y="50" />
				</Size>
				<Anchors>
					<Anchor point="TOPRIGHT">
						<Offset>
							<AbsDimension x="-20" y="-30" />
						</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>
						<FontString name="$parentText" inherits="GameFontNormal" text="Test Font String">
							<Anchors>
								<Anchor point="CENTER">
									<Offset>
										<AbsDimension x="0" y="0" />
									</Offset>
								</Anchor>
							</Anchors>
							<FontHeight>
								<AbsValue val="12" />
							</FontHeight>
							<Color r="1" g="1" b="1" />
							<Shadow>
								<Color r="0" g="0" b="0" />
								<Offset>
								<AbsDimension x="1" y="-1" />
								</Offset>
							</Shadow>
						</FontString>
						<FontString inherits="GameFontNormal" text="WIM_SKINNER_LOCALIZED_OPTIONS_FONT_OUTLINE">
							<Anchors>
								<Anchor point="TOPLEFT">
									<Offset>
										<AbsDimension x="10" y="-70" />
									</Offset>
								</Anchor>
							</Anchors>
							<FontHeight>
								<AbsValue val="12" />
							</FontHeight>
							<Color r="1" g="0.8196079" b="0" />
							<Shadow>
								<Color r="0" g="0" b="0" />
								<Offset>
									<AbsDimension x="1" y="-1" />
								</Offset>
							</Shadow>
						</FontString>
					</Layer>
				</Layers>
			</Frame>
			<CheckButton name="$parentBorderNone">
				<Size>
					<AbsDimension x="25" y="25" />
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="250" y="-120" />
						</Offset>
					</Anchor>
				</Anchors>
				<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
				<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
				<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
				<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
				<Layers>
					<Layer level="OVERLAY">
						<FontString name="$parentText" inherits="GameFontNormal" text="WIM_SKINNER_LOCALIZED_OPTIONS_FONT_OUTLINE1">
							<Anchors>
								<Anchor point="LEFT">
									<Offset>
										<AbsDimension x="30" y="1" />
									</Offset>
								</Anchor>
							</Anchors>
							<FontHeight>
								<AbsValue val="12" />
							</FontHeight>
							<Color r="1" g="0.8196079" b="0" />
							<Shadow>
							<Color r="0" g="0" b="0" />
								<Offset>
									<AbsDimension x="1" y="-1" />
								</Offset>
							</Shadow>
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnShow>
						if(WIM_OPTIONS_FONT_OUTLINE == "") then
							this:SetChecked(true);
						end
					</OnShow>
					<OnClick>
						WIM_OPTIONS_FONT_OUTLINE = "";
						this:SetChecked(true);
						getglobal(this:GetParent():GetName().."BorderThin"):SetChecked(false);
						getglobal(this:GetParent():GetName().."BorderThick"):SetChecked(false);
						WIM_FontList_Preview(WIM_OPTIONS_SELECTED_FONT);
						PlaySound("igMainMenuOptionCheckBoxOn");
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="$parentBorderThin">
				<Size>
					<AbsDimension x="25" y="25" />
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentBorderNone" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="-2" />
						</Offset>
					</Anchor>
				</Anchors>
				<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
				<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
				<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
				<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
				<Layers>
					<Layer level="OVERLAY">
						<FontString name="$parentText" inherits="GameFontNormal" text="WIM_SKINNER_LOCALIZED_OPTIONS_FONT_OUTLINE2">
							<Anchors>
								<Anchor point="LEFT">
									<Offset>
										<AbsDimension x="30" y="1" />
									</Offset>
								</Anchor>
							</Anchors>
							<FontHeight>
								<AbsValue val="12" />
							</FontHeight>
							<Color r="1" g="0.8196079" b="0" />
							<Shadow>
							<Color r="0" g="0" b="0" />
								<Offset>
									<AbsDimension x="1" y="-1" />
								</Offset>
							</Shadow>
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnShow>
						if(WIM_OPTIONS_FONT_OUTLINE == "OUTLINE") then
							this:SetChecked(true);
						end
					</OnShow>
					<OnClick>
						WIM_OPTIONS_FONT_OUTLINE = "OUTLINE";
						this:SetChecked(true);
						getglobal(this:GetParent():GetName().."BorderNone"):SetChecked(false);
						getglobal(this:GetParent():GetName().."BorderThick"):SetChecked(false);
						WIM_FontList_Preview(WIM_OPTIONS_SELECTED_FONT);
						PlaySound("igMainMenuOptionCheckBoxOn");
					</OnClick>
				</Scripts>
			</CheckButton>
			<CheckButton name="$parentBorderThick">
				<Size>
					<AbsDimension x="25" y="25" />
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentBorderThin" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="-2" />
						</Offset>
					</Anchor>
				</Anchors>
				<NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
				<PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
				<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
				<CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
				<Layers>
					<Layer level="OVERLAY">
						<FontString name="$parentText" inherits="GameFontNormal" text="WIM_SKINNER_LOCALIZED_OPTIONS_FONT_OUTLINE3">
							<Anchors>
								<Anchor point="LEFT">
									<Offset>
										<AbsDimension x="30" y="1" />
									</Offset>
								</Anchor>
							</Anchors>
							<FontHeight>
								<AbsValue val="12" />
							</FontHeight>
							<Color r="1" g="0.8196079" b="0" />
							<Shadow>
							<Color r="0" g="0" b="0" />
								<Offset>
									<AbsDimension x="1" y="-1" />
								</Offset>
							</Shadow>
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnShow>
						if(WIM_OPTIONS_FONT_OUTLINE == "THICKOUTLINE") then
							this:SetChecked(true);
						end
					</OnShow>
					<OnClick>
						WIM_OPTIONS_FONT_OUTLINE = "THICKOUTLINE";
						this:SetChecked(true);
						getglobal(this:GetParent():GetName().."BorderThin"):SetChecked(false);
						getglobal(this:GetParent():GetName().."BorderNone"):SetChecked(false);
						WIM_FontList_Preview(WIM_OPTIONS_SELECTED_FONT);
						PlaySound("igMainMenuOptionCheckBoxOn");
					</OnClick>
				</Scripts>
			</CheckButton>
			<Button name="$parentCancel" inherits="UIPanelButtonTemplate" text="WIM_LOCALIZED_CANCEL">
				<Size>
					<AbsDimension x="85" y="28"/>
				</Size>
				<Anchors>
					<Anchor point="BOTTOMRIGHT">
						<Offset>
							<AbsDimension x="-50" y="15"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						PlaySound("igMainMenuClose");
						this:GetParent():Hide();
					</OnClick>
				</Scripts>
			</Button>
			<Button name="$parentOK" inherits="UIPanelButtonTemplate" text="WIM_LOCALIZED_OK">
				<Size>
					<AbsDimension x="85" y="28"/>
				</Size>
				<Anchors>
					<Anchor point="RIGHT" relativeTo="$parentCancel" relativePoint="LEFT">
						<Offset>
							<AbsDimension x="-15" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						WIM_Data.skin.font = WIM_OPTIONS_SELECTED_FONT;
						WIM_Data.skin.font_outline = WIM_OPTIONS_FONT_OUTLINE;
						WIM_LoadSkin(WIM_Data.skin.selected, WIM_Data.skin.style);
						UIDropDownMenu_SetSelectedValue(WIM_SkinnerOptionsFonts, WIM_Data.skin.font);
						PlaySound("igMainMenuClose");
						this:GetParent():Hide();
					</OnClick>
				</Scripts>
			</Button>
		</Frames>
		<Scripts>
			<OnLoad>
				tinsert(UISpecialFrames,this:GetName());
				this:RegisterForDrag("LeftButton");
			</OnLoad>
			<OnShow>
				if (IsAddOnLoaded("WIM_Options")) then WIM_Options:SetAlpha(.35); end
				PlaySound("igMainMenuOpen");
			</OnShow>
			<OnHide>
				if (IsAddOnLoaded("WIM_Options")) then WIM_Options:SetAlpha(1); end
				PlaySound("igMainMenuClose");
			</OnHide>
		</Scripts>
	</Frame>
	
</Ui>