<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/..\FrameXML\UI.xsd">
<Script file="ErrorRedirectOptions.lua" />

<Button name="ErrorRedirectOptionsPrevButtonTemplate" virtual="true">
	<Size>
		<AbsDimension x="32" y="32"/>
	</Size>
	<Anchors>
		<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT">
			<Offset>
				<AbsDimension x="10" y="10"/>
			</Offset>
		</Anchor>
	</Anchors>
	<Layers>
		<Layer level="ARTWORK">
			<FontString inherits="GameFontNormal" justifyH="LEFT" text="PREV">
				<Anchors>
					<Anchor point="LEFT" relativePoint="RIGHT"/>
				</Anchors>
			</FontString>
		</Layer>
	</Layers>
	<Scripts>
		<OnLoad>
			self:SetID(1);
			self:Disable();
		</OnLoad>
		<OnEnter>
			GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
			GameTooltip:SetText(PREVIOUS);
		</OnEnter>
		<OnLeave>
			GameTooltip:Hide();
		</OnLeave>
	</Scripts>
	<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up"/>
	<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down"/>
	<DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Disabled"/>
	<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
</Button>

<Button name="ErrorRedirectOptionsNextButtonTemplate" virtual="true">
	<Size>
		<AbsDimension x="32" y="32"/>
	</Size>
	<Anchors>
		<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
			<Offset>
				<AbsDimension x="-10" y="10"/>
			</Offset>
		</Anchor>
	</Anchors>
	<Layers>
		<Layer level="ARTWORK">
			<FontString inherits="GameFontNormal" justifyH="RIGHT" text="NEXT">
				<Anchors>
					<Anchor point="RIGHT" relativePoint="LEFT"/>
				</Anchors>
			</FontString>
		</Layer>
	</Layers>
	<Scripts>
		<OnLoad>
			self:SetID(2);
			self:Disable();
		</OnLoad>
		<OnEnter>
			GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
			GameTooltip:SetText(NEXT);
		</OnEnter>
		<OnLeave>
			GameTooltip:Hide();
		</OnLeave>
	</Scripts>
	<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
	<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>
	<DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Disabled"/>
	<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
</Button>

<Frame name="ErrorRedirectOptionsSoundComboTemplate" inherits="UIDropDownMenuTemplate" enableMouse="true" hidden="true" virtual="true">
	<Scripts>
		<OnEnter>
			GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
			GameTooltip:SetText(ENABLE_SOUNDFX);
		</OnEnter>
		<OnLeave>
			GameTooltip:Hide();
		</OnLeave>
	</Scripts>
</Frame>

<Frame name="ErrorRedirectOptionsFontComboTemplate" inherits="UIDropDownMenuTemplate" enableMouse="true" hidden="true" virtual="true">
	<Scripts>
		<OnEnter>
			GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
			GameTooltip:SetText("Font");
		</OnEnter>
		<OnLeave>
			GameTooltip:Hide();
		</OnLeave>
	</Scripts>
</Frame>

<Frame name="ErrorRedirectOptionsFilterContainerTemplate" hidden="true" virtual="true">
	<Size>
		<AbsDimension x="330" y="90"/>
	</Size>
	<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
		<EdgeSize>
			<AbsValue val="16"/>
		</EdgeSize>
		<TileSize>
			<AbsValue val="16"/>
		</TileSize>
		<BackgroundInsets>
			<AbsInset left="5" right="5" top="5" bottom="5"/>
		</BackgroundInsets>
	</Backdrop>
	<Frames>
		<Frame name="$parentLabel">
			<Anchors>
				<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
					<Offset>
						<AbsDimension x="10" y="-8"/>
					</Offset>
				</Anchor>
				<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
					<Offset>
						<AbsDimension x="-10" y="-25"/>
					</Offset>
				</Anchor>
			</Anchors>
			<Layers>
				<Layer level="ARTWORK">
					<FontString name="$parentText" inherits="GameFontNormal" justifyH="LEFT" text="DanceDanceDance" setAllPoints="true" />
				</Layer>
			</Layers>
		</Frame>

		<CheckButton name="$parentActive" inherits="OptionsCheckButtonTemplate">
			<HitRectInsets>
				<AbsInset left="0" right="0" top="0" bottom="0"/>
			</HitRectInsets>
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parentLabel" relativePoint="TOPLEFT">
					<Offset>
						<AbsDimension x="-3" y="-19"/>
					</Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					self.tooltipText = ENABLE;
					self.option = "Enabled";
				</OnLoad>
				<OnClick>
					ErrorRedirectOptionsFilterOption_OnClick(self);
				</OnClick>
			</Scripts>
		</CheckButton>

		<CheckButton name="$parentSticky" inherits="OptionsCheckButtonTemplate">
			<HitRectInsets>
				<AbsInset left="0" right="0" top="0" bottom="0"/>
			</HitRectInsets>
			<Anchors>
				<Anchor point="TOPLEFT" relativeTo="$parentActive" relativePoint="TOPRIGHT">
					<Offset>
						<AbsDimension x="2" y="0" />
					</Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					self.tooltipText = "Sticky";
					self.option = "Stickied";
				</OnLoad>
				<OnClick>
					ErrorRedirectOptionsFilterOption_OnClick(self);
				</OnClick>
			</Scripts>
		</CheckButton>

		<Button name="$parentDelete" inherits="UIPanelButtonTemplate" text="DELETE">
			<Size>
				<AbsDimension x="67" y="21"/>
			</Size>
			<Anchors>
				<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT">
					<Offset>
						<AbsDimension x="10" y="10"/>
					</Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnClick>
					ErrorRedirectOptionsDelete_OnClick(self);
				</OnClick>
				<OnEnter>
					GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
					GameTooltip:SetText(DELETE);
				</OnEnter>
				<OnLeave>
					GameTooltip:Hide();
				</OnLeave>
			</Scripts>
		</Button>

		<Frame name="$parentRedirect" inherits="UIDropDownMenuTemplate" enableMouse="true">
			<Anchors>
				<Anchor point="TOPLEFT">
					<Offset>
						<AbsDimension x="65" y="-27"/>
					</Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnEnter>
					GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
					GameTooltip:SetText(MAIL_TO_LABEL);
				</OnEnter>
				<OnLeave>
					GameTooltip:Hide();
				</OnLeave>
			</Scripts>
		</Frame>

		<Frame name="$parentColor" inherits="UIDropDownMenuTemplate" enableMouse="true">
			<Anchors>
				<Anchor point="TOPLEFT">
					<Offset>
						<AbsDimension x="185" y="-27"/>
					</Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnLoad>
					ErrorRedirectOptionsFilterColor_OnLoad(self);
				</OnLoad>
				<OnEnter>
					GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
					GameTooltip:SetText(COLOR_PICKER);
				</OnEnter>
				<OnLeave>
					GameTooltip:Hide();
				</OnLeave>
			</Scripts>
		</Frame>

		<Frame name="$parentSound" inherits="ErrorRedirectOptionsSoundComboTemplate">
			<Anchors>
				<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentRedirect">
					<Offset>
						<AbsDimension x="0" y="2"/>
					</Offset>
				</Anchor>
			</Anchors>
		</Frame>

		<Frame name="$parentFont" inherits="ErrorRedirectOptionsFontComboTemplate">
			<Anchors>
				<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentColor">
					<Offset>
						<AbsDimension x="0" y="2"/>
					</Offset>
				</Anchor>
			</Anchors>
		</Frame>
	</Frames>
	<Scripts>
		<OnLoad>
			self:SetBackdropBorderColor(0.8, 0.8, 0.8, 1.0);
			self:SetBackdropColor(0.15, 0.15, 0.15, 0.0);
		</OnLoad>
	</Scripts>
</Frame>

<Frame name="ErrorRedirectOptionsPNEContainerTemplate" hidden="true" virtual="true">
	<Size>
		<AbsDimension x="330" y="40"/>
	</Size>
	<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
		<EdgeSize>
			<AbsValue val="16"/>
		</EdgeSize>
		<TileSize>
			<AbsValue val="16"/>
		</TileSize>
		<BackgroundInsets>
			<AbsInset left="5" right="5" top="5" bottom="5"/>
		</BackgroundInsets>
	</Backdrop>
	<Frames>
		<Button name="$parentAdd" inherits="UIPanelButtonTemplate" text="ADD">
			<Size>
				<AbsDimension x="80" y="21"/>
			</Size>
			<Anchors>
				<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
					<Offset>
						<AbsDimension x="-10" y="10"/>
					</Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnClick>
					ErrorRedirectOptionsPNEAdd_OnClick(self);
				</OnClick>
				<OnEnter>
					GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
					GameTooltip:SetText(ADD);
				</OnEnter>
				<OnLeave>
					GameTooltip:Hide();
				</OnLeave>
			</Scripts>
		</Button>

		<Frame name="$parentLabel">
			<Anchors>
				<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
					<Offset>
						<AbsDimension x="10" y="-10"/>
					</Offset>
				</Anchor>
				<Anchor point="BOTTOMRIGHT" relativeTo="$parentAdd" relativePoint="BOTTOMLEFT">
					<Offset>
						<AbsDimension x="-5" y="0"/>
					</Offset>
				</Anchor>
			</Anchors>
			<Layers>
				<Layer level="ARTWORK">
					<FontString name="$parentText" inherits="GameFontNormal" justifyH="LEFT" text="DanceAllNight" setAllPoints="true" />
				</Layer>
			</Layers>
		</Frame>
	</Frames>
	<Scripts>
		<OnLoad>
			self:SetBackdropBorderColor(0.8, 0.8, 0.8, 1.0);
			self:SetBackdropColor(0.15, 0.15, 0.15, 0.0);
		</OnLoad>
	</Scripts>
</Frame>

<Frame name="ErrorRedirectOptions" hidden="true" parent="UIParent">
	<Size>
		<AbsDimension x="770" y="600"/>
		<!-- Original <AbsDimension x="380" y="510"/> -->
	</Size>
	<Anchors>
		<Anchor point="CENTER" />
	</Anchors>
	<Layers>
		<Layer level="ARTWORK">
			<FontString name="$parentTitle" inherits="GameFontNormal">
				<Anchors>
					<Anchor point="BOTTOM" relativePoint="TOP">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</FontString>
		</Layer>
	</Layers>
	<Frames>
		<Frame name="$parentBasic" inherits="OptionsBoxTemplate" enableMouse="true">
			<Size>
				<AbsDimension x="720" y="100" />
			</Size>
			<Anchors>
				<Anchor point="TOPLEFT">
					<Offset>
						<AbsDimension x="25" y="-16"/>
					</Offset>
				</Anchor>
				<Anchor point="TOPRIGHT">
					<Offset>
						<AbsDimension x="-25" y="-16"/>
					</Offset>
				</Anchor>
			</Anchors>
			<Frames>
				<Frame name="$parentRed">
					<Size>
						<AbsDimension x="250" y="50" />
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
							<Offset>
								<AbsDimension x="70" y="-15"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Frames>
						<Frame name="$parentCombo" inherits="UIDropDownMenuTemplate" enableMouse="true">
							<Anchors>
								<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
									<Offset>
										<AbsDimension x="0" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
							<Layers>
								<Layer level="BACKGROUND">
									<FontString name="$parentCaption" inherits="GameFontNormal" text="RED_GEM" justifyH="LEFT">
										<Anchors>
											<Anchor point="TOPRIGHT" relativePoint="TOPLEFT">
												<Offset>
													<AbsDimension x="10" y="-8"/>
												</Offset>
											</Anchor>
										</Anchors>
									</FontString>
								</Layer>
							</Layers>
							<Scripts>
								<OnEnter>
									GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
									GameTooltip:SetText(RED_GEM);
								</OnEnter>
								<OnLeave>
									GameTooltip:Hide();
								</OnLeave>
							</Scripts>
						</Frame>

						<Frame name="$parentSound" inherits="ErrorRedirectOptionsSoundComboTemplate">
							<Anchors>
								<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentCombo">
									<Offset>
										<AbsDimension x="20" y="-2"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Frame>

						<Frame name="$parentFont" inherits="ErrorRedirectOptionsFontComboTemplate">
							<Anchors>
								<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentSound">
									<Offset>
										<AbsDimension x="5" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Frame>
					</Frames>
					<Scripts>
						<OnLoad>
							self.value = "Red";
						</OnLoad>
					</Scripts>
				</Frame>

				<Frame name="$parentSuppress">
					<Size>
						<AbsDimension x="250" y="50" />
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentRed">
							<Offset>
								<AbsDimension x="40" y="0" />
							</Offset>
						</Anchor>
					</Anchors>
					<Frames>
						<CheckButton name="$parentActive" inherits="OptionsCheckButtonTemplate">
							<Anchors>
								<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
									<Offset>
										<AbsDimension x="0" y="0" />
									</Offset>
								</Anchor>
							</Anchors>
							<Scripts>
								<OnClick>
									ErrorRedirectOptionsSuppressActive_OnClick(self);
								</OnClick>
								<OnEnter>
									GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
									GameTooltip:SetText(SHOW_LUA_ERRORS);
								</OnEnter>
								<OnLeave>
									GameTooltip:Hide();
								</OnLeave>
							</Scripts>
						</CheckButton>

						<Frame name="$parentCombo" inherits="UIDropDownMenuTemplate" enableMouse="true">
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="$parentActive" relativePoint="TOPRIGHT">
									<Offset>
										<AbsDimension x="170" y="-4"/>
									</Offset>
								</Anchor>
							</Anchors>
							<Scripts>
								<OnEnter>
									GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
									GameTooltip:SetText(SHOW_LUA_ERRORS);
								</OnEnter>
								<OnLeave>
									GameTooltip:Hide();
								</OnLeave>
							</Scripts>
						</Frame>
					</Frames>
					<Scripts>
						<OnLoad>
							self.value = "LuaErrors";
							local nm = self:GetName();
							nm = getglobal(nm.."ActiveText");
							nm:SetTextHeight(12);
							nm:SetText(MessageRedirectLocalization.SuppressErrors);
						</OnLoad>
					</Scripts>
				</Frame>

				<Frame name="$parentYellow">
					<Size>
						<AbsDimension x="250" y="50" />
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="LEFT">
							<Offset>
								<AbsDimension x="70" y="-5"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Frames>
						<Frame name="$parentCombo" inherits="UIDropDownMenuTemplate" enableMouse="true">
							<Anchors>
								<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
									<Offset>
										<AbsDimension x="0" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
							<Layers>
								<Layer level="BACKGROUND">
									<FontString name="$parentCaption" inherits="GameFontNormal" text="YELLOW_GEM" justifyH="LEFT">
										<Anchors>
											<Anchor point="TOPRIGHT" relativePoint="TOPLEFT">
												<Offset>
													<AbsDimension x="10" y="-8"/>
												</Offset>
											</Anchor>
										</Anchors>
									</FontString>
								</Layer>
							</Layers>
							<Scripts>
								<OnEnter>
									GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
									GameTooltip:SetText(YELLOW_GEM);
								</OnEnter>
								<OnLeave>
									GameTooltip:Hide();
								</OnLeave>
							</Scripts>
						</Frame>

						<Frame name="$parentSound" inherits="ErrorRedirectOptionsSoundComboTemplate">
							<Anchors>
								<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentCombo">
									<Offset>
										<AbsDimension x="20" y="-2"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Frame>

						<Frame name="$parentFont" inherits="ErrorRedirectOptionsFontComboTemplate">
							<Anchors>
								<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentSound">
									<Offset>
										<AbsDimension x="5" y="0"/>
									</Offset>
								</Anchor>
							</Anchors>
						</Frame>
					</Frames>
					<Scripts>
						<OnLoad>
							self.value = "Yellow";
						</OnLoad>
					</Scripts>
				</Frame>

				<Frame name="$parentOverflow">
					<Size>
						<AbsDimension x="250" y="50" />
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentYellow">
							<Offset>
								<AbsDimension x="40" y="0" />
							</Offset>
						</Anchor>
					</Anchors>
					<Frames>
						<CheckButton name="$parentActive" inherits="OptionsCheckButtonTemplate">
							<Anchors>
								<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
									<Offset>
										<AbsDimension x="0" y="0" />
									</Offset>
								</Anchor>
							</Anchors>
							<Scripts>
								<OnClick>
									ErrorRedirectOptionsOverflowActive_OnClick(self);
								</OnClick>
								<OnEnter>
									GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
									GameTooltip:SetText("Limit");
								</OnEnter>
								<OnLeave>
									GameTooltip:Hide();
								</OnLeave>
							</Scripts>
						</CheckButton>

						<Frame name="$parentBackground">
							<Size>
								<AbsDimension x="30" y="26"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentActive">
									<Offset>
										<AbsDimension x="188" y="-5" />
									</Offset>
								</Anchor>
							</Anchors>
							<Layers>
								<Layer level="BACKGROUND">
									<FontString name="$parentCaption" inherits="GameFontNormal" text="Seconds" justifyH="LEFT">
										<Anchors>
											<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
												<Offset>
													<AbsDimension x="30" y="-5"/>
												</Offset>
											</Anchor>
										</Anchors>
									</FontString>
								</Layer>
							</Layers>
							<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
								<EdgeSize>
									<AbsValue val="16"/>
								</EdgeSize>
								<TileSize>
									<AbsValue val="16"/>
								</TileSize>
								<BackgroundInsets>
									<AbsInset left="5" right="5" top="5" bottom="5"/>
								</BackgroundInsets>
							</Backdrop>
							<Scripts>
								<OnLoad>
									self:SetBackdropBorderColor(0.8, 0.8, 0.8, 1.0);
									self:SetBackdropColor(0.15, 0.5, 0.15, 0.0);
								</OnLoad>
							</Scripts>
						</Frame>

						<EditBox name="$parentNumber" ignoreArrows="true" letters="2" autoFocus="false">
							<Size>
								<AbsDimension x="25" y="25"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parentBackground">
									<Offset>
										<AbsDimension x="6" y="0" />
									</Offset>
								</Anchor>
							</Anchors>
							<Scripts>
								<OnEnterPressed>
									ErrorRedirectOptionsOverflow_ValueChanged(self);
									self:ClearFocus();
								</OnEnterPressed>
								<OnEscapePressed>
									self:ClearFocus();
								</OnEscapePressed>
							</Scripts>
							<FontString inherits="ChatFontNormal" />
						</EditBox>
					</Frames>
					<Scripts>
						<OnLoad>
							self.value = "Overflow";
							local nm = self:GetName();
							nm = getglobal(nm.."ActiveText");
							nm:SetTextHeight(12);
							nm:SetText(MessageRedirectLocalization.Overflow);
						</OnLoad>
					</Scripts>
				</Frame>
			</Frames>
			<Scripts>
				<OnLoad>
					self:SetBackdropBorderColor(0.8, 0.8, 0.8, 1.0);
					self:SetBackdropColor(0.15, 0.15, 0.15, 1.0);
					getglobal(self:GetName().."Title"):SetText("Basic Options");
				</OnLoad>
			</Scripts>
		</Frame>

		<Frame name="$parentMessage" inherits="OptionsBoxTemplate" enableMouse="true">
			<Size>
				<AbsDimension x="350" y="420" />
			</Size>
			<Anchors>
				<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentBasic">
					<Offset>
						<AbsDimension x="0" y="-16"/>
					</Offset>
				</Anchor>
			</Anchors>
			<Frames>
				<Frame name="$parentFilter1" inherits="ErrorRedirectOptionsFilterContainerTemplate">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="10" y="-10"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Frame>

				<Frame name="$parentFilter2" inherits="ErrorRedirectOptionsFilterContainerTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentFilter1" relativePoint="BOTTOMLEFT" />
					</Anchors>
				</Frame>

				<Frame name="$parentFilter3" inherits="ErrorRedirectOptionsFilterContainerTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentFilter2" relativePoint="BOTTOMLEFT" />
					</Anchors>
				</Frame>

				<Frame name="$parentFilter4" inherits="ErrorRedirectOptionsFilterContainerTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentFilter3" relativePoint="BOTTOMLEFT" />
					</Anchors>
				</Frame>
<!--
				<Frame name="$parentFilter5" inherits="ErrorRedirectOptionsFilterContainerTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentFilter4" relativePoint="BOTTOMLEFT" />
					</Anchors>
				</Frame>
//-->

				<Button name="$parentPrevButton" inherits="ErrorRedirectOptionsPrevButtonTemplate">
					<Scripts>
						<OnClick>
							ErrorRedirectOptionsFilterButton_OnClick(self);
						</OnClick>
					</Scripts>
				</Button>

				<Button name="$parentNextButton" inherits="ErrorRedirectOptionsNextButtonTemplate">
					<Scripts>
						<OnClick>
							ErrorRedirectOptionsFilterButton_OnClick(self);
						</OnClick>
					</Scripts>
				</Button>
			</Frames>
			<Scripts>
				<OnLoad>
					self:SetBackdropBorderColor(0.8, 0.8, 0.8, 1.0);
					self:SetBackdropColor(0.15, 0.15, 0.15, 1.0);
					getglobal(self:GetName().."Title"):SetText("Exceptions");
				</OnLoad>
			</Scripts>
		</Frame>

		<Frame name="$parentNew" inherits="OptionsBoxTemplate" enableMouse="true">
			<Size>
				<AbsDimension x="350" y="420" />
			</Size>
			<Anchors>
				<Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT" relativeTo="$parentBasic">
					<Offset>
						<AbsDimension x="0" y="-16"/>
					</Offset>
				</Anchor>
			</Anchors>
			<Frames>
				<Frame name="$parentMessage1" inherits="ErrorRedirectOptionsPNEContainerTemplate">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="10" y="-10"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Frame>

				<Frame name="$parentMessage2" inherits="ErrorRedirectOptionsPNEContainerTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentMessage1" relativePoint="BOTTOMLEFT" />
					</Anchors>
				</Frame>

				<Frame name="$parentMessage3" inherits="ErrorRedirectOptionsPNEContainerTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentMessage2" relativePoint="BOTTOMLEFT" />
					</Anchors>
				</Frame>

				<Frame name="$parentMessage4" inherits="ErrorRedirectOptionsPNEContainerTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentMessage3" relativePoint="BOTTOMLEFT" />
					</Anchors>
				</Frame>

				<Frame name="$parentMessage5" inherits="ErrorRedirectOptionsPNEContainerTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentMessage4" relativePoint="BOTTOMLEFT" />
					</Anchors>
				</Frame>

				<Frame name="$parentMessage6" inherits="ErrorRedirectOptionsPNEContainerTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentMessage5" relativePoint="BOTTOMLEFT" />
					</Anchors>
				</Frame>

				<Frame name="$parentMessage7" inherits="ErrorRedirectOptionsPNEContainerTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentMessage6" relativePoint="BOTTOMLEFT" />
					</Anchors>
				</Frame>

				<Frame name="$parentMessage8" inherits="ErrorRedirectOptionsPNEContainerTemplate">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentMessage7" relativePoint="BOTTOMLEFT" />
					</Anchors>
				</Frame>

				<Button name="$parentPrevButton" inherits="ErrorRedirectOptionsPrevButtonTemplate">
					<Scripts>
						<OnClick>
							ErrorRedirectOptionsPNEButton_OnClick(self);
						</OnClick>
					</Scripts>
				</Button>

				<Button name="$parentNextButton" inherits="ErrorRedirectOptionsNextButtonTemplate">
					<Scripts>
						<OnClick>
							ErrorRedirectOptionsPNEButton_OnClick(self);
						</OnClick>
					</Scripts>
				</Button>

				<Button name="$parentClear" inherits="OptionsButtonTemplate" text="KEY_NUMLOCK_MAC">
					<Anchors>
						<Anchor point="BOTTOM" relativePoint="BOTTOM">
							<Offset>
								<AbsDimension x="0" y="15"/>
							</Offset>
						</Anchor>
					</Anchors>
					<Scripts>
						<OnClick>
							ErrorRedirectOptionsPNEClear_OnClick(self);
						</OnClick>
						<OnEnter>
							GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
							GameTooltip:SetText(KEY_NUMLOCK_MAC);
						</OnEnter>
						<OnLeave>
							GameTooltip:Hide();
						</OnLeave>
					</Scripts>
				</Button>
			</Frames>
			<Scripts>
				<OnLoad>
					self:SetBackdropBorderColor(0.8, 0.8, 0.8, 1.0);
					self:SetBackdropColor(0.15, 0.15, 0.15, 1.0);
					getglobal(self:GetName().."Title"):SetText("New Messages");
				</OnLoad>
			</Scripts>
		</Frame>

		<Button name="$parentOkay" inherits="OptionsButtonTemplate" text="OKAY">
			<Anchors>
				<Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT" relativeTo="$parentNew">
					<Offset>
						<AbsDimension x="0" y="-5"/>
					</Offset>
				</Anchor>
			</Anchors>
			<Scripts>
				<OnClick>
					ErrorRedirectOptionsOkay_OnClick(self);
				</OnClick>
				<OnEnter>
					GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
					GameTooltip:SetText(OKAY);
				</OnEnter>
				<OnLeave>
					GameTooltip:Hide();
				</OnLeave>
			</Scripts>
		</Button>
	</Frames>
	<Scripts>
		<OnLoad>
			ErrorRedirectOptions_OnLoad(self);
		</OnLoad>
		<OnShow>
			ErrorRedirectOptions_OnShow(self);
		</OnShow>
		<OnHide>
			ErrorRedirectOptions_OnHide(self);
		</OnHide>
	</Scripts>
</Frame>

</Ui>