<Ui xmlns="http://www.blizzard.com/wow/ui/"   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"   xsi:schemaLocation="http://www.blizzard.com/wow/ui/"> 
	<Script file="ShaderMod.lua"/>
	<Script file="localization.lua"/> 

	<!--
	Templates
	-->
	<CheckButton name="SMCheckBoxTemplate" inherits="UICheckButtonTemplate" virtual="true">
		<HitRectInsets>
			<AbsInset left="0" right="0" top="0" bottom="0"/>
		</HitRectInsets>

		<Scripts>
			<OnClick>
				if ( this:GetChecked() ) then
					PlaySound("igMainMenuOptionCheckBoxOff");
				else
					PlaySound("igMainMenuOptionCheckBoxOn");
				end
			</OnClick>
			<OnLeave>
				GameTooltip:Hide();
			</OnLeave>
		</Scripts>
	</CheckButton>

	<Button	name="SM_TabButtonTemplate" inherits="TabButtonTemplate" virtual="true">
		<Scripts>
		</Scripts>
	</Button>

	<!-- ================================================================== -->
	<!-- MiniMap button -->
	<Frame name="SMMiniMapButtonFrame" frameStrata="LOW" parent="Minimap" enableMouse="true" movable="true" toplevel="true" hidden="false">
		<Frames>
			<Button name="SMMiniMapButton" movable="true" enableMouse="true">
				<Size>
					<AbsDimension x="32" y="32"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="Minimap" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="-13" y="5"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						this:RegisterForClicks("LeftButtonUp","RightButtonUp")
						this:RegisterForDrag("LeftButton")
					</OnLoad>
					<OnClick>
						SMMiniMap()
					</OnClick>
					<OnMouseDown>
					if ((arg1 == "LeftButton") and (not SMMiniMapButton.Locked)) then
					this:StartMoving();
						end
					</OnMouseDown>
					<OnMouseUp>
						if (arg1 == "LeftButton") then
							this:StopMovingOrSizing();
						end
					</OnMouseUp>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_LEFT");
						SMOnTooltip()
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide();
					</OnLeave>
				</Scripts>
				<Layers>
					<Layer level="ARTWORK">
						<Texture name="$parentTexture" file="Interface\AddOns\ShaderMod\Images\SMMiniMapButton"/>
					</Layer>
				</Layers>
				<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
			</Button>
		</Frames>
	</Frame>

	<!-- ================================================================== -->
   <!--
   Message Frame used to display when records are broken
   -->
	<MessageFrame name="SMMessageFrame" insertMode="TOP" movable="true" parent="UIParent" enablemouse="true" frameStrata="BACKGROUND" toplevel="true">

		<Size>
			<AbsDimension x="700" y="300"/>
		</Size>

		<Anchors>
			<Anchor point="LEFT">
				<Offset>
					<AbsDimension x="0" y="0"/>
				</Offset>
			</Anchor>
		</Anchors>
        <Layers>
    		<Layer level="BACKGROUND">
    			<Texture name="$parentBackground" setAllPoints="true">
    				<Color r="0.3" g="0.3" b="0.3" a="0.3" />
    			</Texture>
    		</Layer>
        </Layers>
		<Scripts>
			<OnLoad>
				SMOnLoad();
				this:EnableMouse(0);
			</OnLoad>
			<OnEvent>
				SMOnEvent(event, arg1);
			</OnEvent>
			<OnMouseDown>
				if ((arg1 == "LeftButton") and (not SMMessageFrame.Locked)) then
					this:StartMoving();
				end
			</OnMouseDown>
			<OnMouseUp>
				if (arg1 == "LeftButton") then
					this:StopMovingOrSizing();
				end
			</OnMouseUp>
			<OnHide>
				this:StopMovingOrSizing();
			</OnHide>
		</Scripts>
		
		<FontString name="NumberFontNormalHuge" font="Fonts\skurri.ttf" outline="THICK" virtual="true" justifyH="LEFT">
			<FontHeight>
				<AbsValue val="30"/>
			</FontHeight>
			<Color r="1" g="1" b="1" />
		</FontString>

	</MessageFrame>

	<!--
	Frame used for Options menu
	-->   
	<Frame name="ShaderModOptionsFrame" toplevel="true" frameStrata="LOW" movable="true" enableMouse="true" hidden="true" parent="UIParent">
		<Size>
			<AbsDimension x="615" y="530"/>
		</Size>
		<Anchors>
			<Anchor point="CENTER"/>
		</Anchors>
		
		<Backdrop name="$parentBackdrop" bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border"	tile="true">
			<BackgroundInsets>
				<AbsInset left="11" right="12" top="12" bottom="11"/>
				<Size>
					<AbsDimension x="128" y="17"/>
				</Size>
			</BackgroundInsets>
			<TileSize>
				<AbsValue val="32"/>
			</TileSize>
			<EdgeSize>
				<AbsValue val="32"/>
			</EdgeSize>
		</Backdrop>
		
		<Layers>
		
			<Layer level="ARTWORK">
				<Texture name="SMFrameTitle" file="Interface\DialogFrame\UI-DialogBox-Header">
					<Size>
						<AbsDimension x="288" y="64"/>
					</Size>
					<Anchors>
						<Anchor point="TOP">
							<Offset>
								<AbsDimension x="0" y="12"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<FontString name="SMFrameTitleText" inherits="GameFontNormal" text="ShaderMod 3.30">
					<Anchors>
						<Anchor point="TOP" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="0" y="-3"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>

		
			<Layer level="BACKGROUND">
				
				<FontString name="SMOptionsText1" inherits="GameFontNormalSmall" text="OPTION1">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="65" y="-65"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText2" inherits="GameFontNormalSmall" text="OPTION2">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="355" y="-415"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText3" inherits="GameFontNormalSmall" text="OPTION3">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="55" y="-365"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText4" inherits="GameFontNormalSmall" text="- Yeah! (x1) -">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="390" y="-65"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText5" inherits="GameFontNormalSmall" text="- Oh Yeah! (x2) -">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="390" y="-90"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText6" inherits="GameFontNormalSmall" text="- Unstoppable! (x3) -">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="390" y="-115"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText7" inherits="GameFontNormalSmall" text="- Killing Spree! (x4) -">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="390" y="-140"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText8" inherits="GameFontNormalSmall" text="- Dominating! (x5) -">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="390" y="-165"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText9" inherits="GameFontNormalSmall" text="- Ultra Kill! (x6) -">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="390" y="-190"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText10" inherits="GameFontNormalSmall" text="- Wicked Sick! (x7) -">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="390" y="-215"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText11" inherits="GameFontNormalSmall" text="- God Like! (x8-x9) -">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="390" y="-240"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText12" inherits="GameFontNormalSmall" text="- Holy Shit! (x10-x14) -">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="390" y="-265"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText12" inherits="GameFontNormalSmall" text="- Monster Kill! (x15-x19) -">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="390" y="-290"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText13" inherits="GameFontNormalSmall" text="- Ludicrous Kill! (x20-x21) -">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="390" y="-315"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText14" inherits="GameFontNormalSmall" text="- Ownage! (x22) -">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="390" y="-340"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText16" inherits="GameFontNormalSmall" text="OPTION4">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="65" y="-90"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText17" inherits="GameFontNormalSmall" text="OPTION5">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="55" y="-165"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText15" inherits="GameFontNormalSmall" text="OPTION6">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="390" y="-365"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText18" inherits="GameFontNormalSmall" text="OPTION7">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="55" y="-40"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText19" inherits="GameFontNormalSmall" text="OPTION8">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="55" y="-115"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText20" inherits="GameFontNormalSmall" text="OPTION9">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="390" y="-390"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText23" inherits="GameFontNormalSmall" text="OPTION10">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="55" y="-190"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText24" inherits="GameFontNormalSmall" text="OPTION11">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="55" y="-240"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText25" inherits="GameFontNormalSmall" text="OPTION12">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="55" y="-315"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText25" inherits="GameFontNormalSmall" text="OPTION13">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="55" y="-340"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText26" inherits="GameFontNormalSmall" text="OPTION14">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="55" y="-265"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText27" inherits="GameFontNormalSmall" text="OPTION15">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="320" y="-40"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText28" inherits="GameFontNormalSmall" text="OPTION16">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="55" y="-390"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText29" inherits="GameFontNormalSmall" text="OPTION17">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="25" y="-415"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText30" inherits="GameFontNormalSmall" text="OPTION18">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="325" y="-440"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				
				<FontString name="SMOptionsText31" inherits="GameFontNormalSmall" text="OPTION19">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="275" y="-415"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>

				<FontString name="SMOptionsText32" inherits="GameFontNormalSmall" text="OPTION20">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="510" y="-440"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
								
			</Layer>
			
		</Layers>
		<Frames>
						
			<CheckButton name="SMCheckBoxRunning_Combat_Log_Display" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-30"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMCheckBoxRunning_Old_School_Display:SetChecked(0);
							SMData[SMPlayerRealm][SMPlayerName].Running_Old_School_Display = false;
							SMData[SMPlayerRealm][SMPlayerName].Running_Combat_Log_Display = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Running_Combat_Log_Display = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION21);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxRunning_Crit_Display" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="30" y="-55"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Running_Crit_Display = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Running_Crit_Display = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION22);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxRunning_Hit_Display" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="30" y="-80"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Running_Hit_Display = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Running_Hit_Display = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION23);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxRunning_Old_School_Display" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-105"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMCheckBoxRunning_Combat_Log_Display:SetChecked(0);
							SMData[SMPlayerRealm][SMPlayerName].Running_Combat_Log_Display = false;
							SMData[SMPlayerRealm][SMPlayerName].Running_Old_School_Display = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Running_Old_School_Display = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION24);
					</OnEnter>
				</Scripts>
			</CheckButton>
			
			<CheckButton name="SMCheckBoxRunning_Reset_Combo" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-155"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Reset_Combo = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Reset_Combo = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION25);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxRunning_Only_Count_Crits" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-180"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Only_Count_Crits = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Only_Count_Crits = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION26);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxAnnounce_Display" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="320" y="-405"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Announce_Display = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Announce_Display = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION27);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Sound_Yeah" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="320" y="-55"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Enable_Sound_Yeah = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Enable_Sound_Yeah = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION28);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Sound_Oh_Yeah" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="320" y="-80"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Enable_Sound_Oh_Yeah = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Enable_Sound_Oh_Yeah = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION29);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Sound_Unstoppable" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="320" y="-105"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Enable_Sound_Unstoppable = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Enable_Sound_Unstoppable = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION30);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Sound_Killing_Spree" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="320" y="-130"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Enable_Sound_Killing_Spree = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Enable_Sound_Killing_Spree = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION31);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Sound_Dominating" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="320" y="-155"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Enable_Sound_Dominating = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Enable_Sound_Dominating = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION32);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Sound_Ultra_Kill" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="320" y="-180"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Enable_Sound_Ultra_Kill = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Enable_Sound_Ultra_Kill = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION33);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Sound_Wicked_Sick" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="320" y="-205"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Enable_Sound_Wicked_Sick = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Enable_Sound_Wicked_Sick = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION34);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Sound_God_Like" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="320" y="-230"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Enable_Sound_God_Like = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Enable_Sound_God_Like = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION35);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Sound_Holy_Shit" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="320" y="-255"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Enable_Sound_Holy_Shit = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Enable_Sound_Holy_Shit = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION36);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Sound_Monster_Kill" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="320" y="-280"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Enable_Sound_Monster_Kill = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Enable_Sound_Monster_Kill = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION51);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Sound_Ludicrous_Kill" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="320" y="-305"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Enable_Sound_Ludicrous_Kill = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Enable_Sound_Ludicrous_Kill = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION37);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Sound_Ownage" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="320" y="-330"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Enable_Sound_Ownage = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Enable_Sound_Ownage = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION38);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Log_Yeah" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="355" y="-55"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Enable_Log_Yeah = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Enable_Log_Yeah = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION39);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Log_Oh_Yeah" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="355" y="-80"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Enable_Log_Oh_Yeah = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Enable_Log_Oh_Yeah = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION40);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Log_Unstoppable" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="355" y="-105"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Enable_Log_Unstoppable = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Enable_Log_Unstoppable = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION41);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Log_Killing_Spree" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="355" y="-130"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Enable_Log_Killing_Spree = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Enable_Log_Killing_Spree = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION42);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Log_Dominating" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="355" y="-155"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Enable_Log_Dominating = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Enable_Log_Dominating = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION43);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Log_Ultra_Kill" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="355" y="-180"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Enable_Log_Ultra_Kill = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Enable_Log_Ultra_Kill = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION44);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Log_Wicked_Sick" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="355" y="-205"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Enable_Log_Wicked_Sick = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Enable_Log_Wicked_Sick = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION45);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Log_God_Like" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="355" y="-230"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Enable_Log_God_Like = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Enable_Log_God_Like = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION46);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Log_Holy_Shit" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="355" y="-255"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Enable_Log_Holy_Shit = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Enable_Log_Holy_Shit = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION47);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Log_Monster_Kill" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="355" y="-280"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Enable_Log_Monster_Kill = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Enable_Log_Monster_Kill = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION48);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Log_Ludicrous_Kill" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="355" y="-305"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Enable_Log_Ludicrous_Kill = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Enable_Log_Ludicrous_Kill = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION49);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Log_Ownage" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="355" y="-330"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Enable_Log_Ownage = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Enable_Log_Ownage = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION50);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Sound_Finish_Him_Rogue" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="320" y="-355"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Enable_Sound_Finish_Him_Rogue = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Enable_Sound_Finish_Him_Rogue = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION52);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Log_Finish_Him_Rogue" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="355" y="-355"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Enable_Log_Finish_Him_Rogue = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Enable_Log_Finish_Him_Rogue = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION53);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Sound_Finish_Him_Execute" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="320" y="-380"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Enable_Sound_Finish_Him_Execute = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Enable_Sound_Finish_Him_Execute = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION54);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Log_Finish_Him_Execute" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="355" y="-380"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Enable_Log_Finish_Him_Execute = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Enable_Log_Finish_Him_Execute = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION55);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Old_Combo_Display" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-355"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Old_Combo_Display = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Old_Combo_Display = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION56);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Old_Combo_Sound" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-380"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Old_Combo_Sound = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Old_Combo_Sound = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION57);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_White_Crits" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-230"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].White_Crits = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].White_Crits = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION58);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_No_White_Normal" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-255"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].No_White_Normal = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].No_White_Normal = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION59);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Heal" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-305"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Heal = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Heal = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION60);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<CheckButton name="SMCheckBoxEnable_Merge_Heal_And_Damage_Combos" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-330"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Merge_Heal_And_Damage_Combos = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Merge_Heal_And_Damage_Combos = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION61);
					</OnEnter>
				</Scripts>
			</CheckButton>

			<Slider name="SMSlider" inherits="OptionsSliderTemplate" minValue="8" maxValue="32" valueStep="1">
				<Size>
					<AbsDimension x="220" y="17"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="55" y="-450"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnValueChanged>
						SMFontSize_OnValueChanged();
					</OnValueChanged>
					<OnShow>
						SMFontSize_OnShow();
					</OnShow>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION62);
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide();
					</OnLeave>
				</Scripts>
			</Slider>

			<Button name="SMButtonRight" inherits="OptionsButtonTemplate" text="Right">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="225" y="-488"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						PlaySound("igMainMenuOptionCheckBoxOn");
						SMMessageFrame:SetJustifyH("Right");
						SMData[SMPlayerRealm][SMPlayerName].JustifyH_Left = false;													
						SMData[SMPlayerRealm][SMPlayerName].JustifyH_Center = false;
						SMData[SMPlayerRealm][SMPlayerName].JustifyH_Right = true;
						DEFAULT_CHAT_FRAME:AddMessage("[ShaderMod] Text Justify = Right.",.1,.7,.75);
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION63);
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide();
					</OnLeave>
				</Scripts>
			</Button>

			<Button name="SMButtonCenter" inherits="OptionsButtonTemplate" text="Center">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="125" y="-488"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						PlaySound("igMainMenuOptionCheckBoxOn");
						SMMessageFrame:SetJustifyH("Center");
						SMData[SMPlayerRealm][SMPlayerName].JustifyH_Left = false;													
						SMData[SMPlayerRealm][SMPlayerName].JustifyH_Center = true;
						SMData[SMPlayerRealm][SMPlayerName].JustifyH_Right = false;
						DEFAULT_CHAT_FRAME:AddMessage("[ShaderMod] Text Justify = Center.",.1,.7,.75);
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION64);
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide();
					</OnLeave>
				</Scripts>
			</Button>

			<Button name="SMButtonLeft" inherits="OptionsButtonTemplate" text="Left">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="25" y="-488"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						PlaySound("igMainMenuOptionCheckBoxOn");
						SMMessageFrame:SetJustifyH("Left");
						SMData[SMPlayerRealm][SMPlayerName].JustifyH_Left = true;													
						SMData[SMPlayerRealm][SMPlayerName].JustifyH_Center = false;
						SMData[SMPlayerRealm][SMPlayerName].JustifyH_Right = false;
						DEFAULT_CHAT_FRAME:AddMessage("[ShaderMod] Text Justify = Left.",.1,.7,.75);
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION65);
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide();
					</OnLeave>
				</Scripts>
			</Button>



			<Button name="SMButtonReset" inherits="OptionsButtonTemplate" text="Reset Records">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="340" y="-463"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						PlaySound("igMainMenuOptionCheckBoxOn");
						SMSetCurrentPlayerToZeros();
						DEFAULT_CHAT_FRAME:AddMessage("[ShaderMod] Records for this character reset.",.1,.7,.75);
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION66);
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide();
					</OnLeave>
				</Scripts>
			</Button>
			
			<Button name="SMButtonResetAll" inherits="OptionsButtonTemplate" text="Reset All">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="460" y="-463"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						PlaySound("igMainMenuOptionCheckBoxOn");
						SMResetAll();
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION67);
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide();
					</OnLeave>
				</Scripts>
			</Button>
			
			<Button name="SMButtonOptions2" inherits="OptionsButtonTemplate" text="More Options">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="510" y="-15"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						PlaySound("igMainMenuOpen");
						ShowUIPanel(ShaderModOptionsFrame2);
						HideUIPanel(ShaderModOptionsFrame);
					</OnClick>
				</Scripts>
			</Button>
		
			<Button name="SMButtonClose" inherits="OptionsButtonTemplate" text="Close">
				<Anchors>
					<Anchor point="BOTTOMRIGHT">
						<Offset>
							<AbsDimension x="-15" y="15"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						PlaySound("igMainMenuClose");
						HideUIPanel(ShaderModOptionsFrame);
						
						<!-- MyAddons Support for Options window -->
						if (MYADDONS_ACTIVE_OPTIONSFRAME == ShaderModOptionsFrame) then
							ShowUIPanel(myAddOnsFrame);
						end
					</OnClick>
				</Scripts>
			</Button>

			<EditBox name="ChannelBox" inherits="InputBoxTemplate" historyLines="0" autoFocus="false" letters="20" id="30">
				<Size>
					<AbsDimension x="105" y="32"/>
				</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="485" y="-403"/>
							</Offset>
						</Anchor>
					</Anchors>
				<Scripts>
					<OnShow>
						--???this:SetTextInsets(4,0,0,0);
						this:SetText(SMData[SMPlayerRealm][SMPlayerName]["Channel"]);
					</OnShow>
					<OnEnterPressed>
						SM_SetChannel();
						this:ClearFocus();
					</OnEnterPressed>
					<OnEditFocusLost>
						SM_SetChannel();
					</OnEditFocusLost>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION68);
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide();
					</OnLeave>
				</Scripts>
			</EditBox>

			<EditBox name="AnnounceBox" inherits="InputBoxTemplate" historyLines="0" autoFocus="false" letters="2" id="31">
				<Size>
					<AbsDimension x="32" y="32"/>
				</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="475" y="-430"/>
							</Offset>
						</Anchor>
					</Anchors>
				<Scripts>
					<OnShow>
						--???this:SetTextInsets(4,0,0,0);
						this:SetText(SMData[SMPlayerRealm][SMPlayerName]["AnnounceBox"]);
					</OnShow>
					<OnEnterPressed>
						SM_SetAnnounceBox();
						this:ClearFocus();
					</OnEnterPressed>
					<OnEditFocusLost>
						SM_SetAnnounceBox();
					</OnEditFocusLost>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION69);
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide();
					</OnLeave>
				</Scripts>
			</EditBox>

			<EditBox name="SplashBox" inherits="InputBoxTemplate" historyLines="0" autoFocus="false" letters="2" id="32">
				<Size>
					<AbsDimension x="32" y="32"/>
				</Size>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame">
							<Offset>
								<AbsDimension x="242" y="-405"/>
							</Offset>
						</Anchor>
					</Anchors>
				<Scripts>
					<OnShow>
						--???this:SetTextInsets(4,0,0,0);
						this:SetText(SMData[SMPlayerRealm][SMPlayerName]["Splash"]);
					</OnShow>
					<OnEnterPressed>
						SM_SetSplashBox();
						this:ClearFocus();
					</OnEnterPressed>
					<OnEditFocusLost>
						SM_SetSplashBox();
					</OnEditFocusLost>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION70);
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide();
					</OnLeave>
				</Scripts>
			</EditBox>
			
		</Frames>
		
		<Scripts>
			<OnShow>
				SMOptionsFrame_OnShow();
			</OnShow>
			<OnMouseDown>
				this:StartMoving();
			</OnMouseDown>
    	 <OnMouseUp>
      	this:StopMovingOrSizing();
	    </OnMouseUp>
		</Scripts>

	</Frame>

		<Frame name="ShaderModOptionsFrame2" toplevel="true" frameStrata="LOW" movable="true" enableMouse="true" hidden="true" parent="UIParent">
		<Size>
			<AbsDimension x="615" y="530"/>
		</Size>
		<Anchors>
			<Anchor point="CENTER"/>
		</Anchors>
		
		<Backdrop name="$parentBackdrop" bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border"	tile="true">
			<BackgroundInsets>
				<AbsInset left="11" right="12" top="12" bottom="11"/>
				<Size>
					<AbsDimension x="128" y="17"/>
				</Size>
			</BackgroundInsets>
			<TileSize>
				<AbsValue val="32"/>
			</TileSize>
			<EdgeSize>
				<AbsValue val="32"/>
			</EdgeSize>
		</Backdrop>
		
		<Layers>
		
			<Layer level="ARTWORK">
				<Texture name="SMFrameTitle" file="Interface\DialogFrame\UI-DialogBox-Header">
					<Size>
						<AbsDimension x="288" y="64"/>
					</Size>
					<Anchors>
						<Anchor point="TOP">
							<Offset>
								<AbsDimension x="0" y="12"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<FontString name="SMFrameTitleText" inherits="GameFontNormal" text="ShaderMod 3.30">
					<Anchors>
						<Anchor point="TOP" relativeTo="ShaderModOptionsFrame2">
							<Offset>
								<AbsDimension x="0" y="-3"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>

		
			<Layer level="BACKGROUND">
				
				<FontString name="SMOptionsText71" inherits="GameFontNormalSmall" text="OPTION71">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame2">
							<Offset>
								<AbsDimension x="390" y="-40"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				
				<FontString name="SMOptionsText73" inherits="GameFontNormalSmall" text="OPTION73">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame2">
							<Offset>
								<AbsDimension x="400" y="-65"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				
				<FontString name="SMOptionsText75" inherits="GameFontNormalSmall" text="OPTION75">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame2">
							<Offset>
								<AbsDimension x="55" y="-40"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				
				<FontString name="SMOptionsText77" inherits="GameFontNormalSmall" text="OPTION77">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame2">
							<Offset>
								<AbsDimension x="65" y="-65"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				
				<FontString name="SMOptionsText87" inherits="GameFontNormalSmall" text="OPTION87">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame2">
							<Offset>
								<AbsDimension x="65" y="-90"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				
				<FontString name="SMOptionsText79" inherits="GameFontNormalSmall" text="OPTION79">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame2">
							<Offset>
								<AbsDimension x="55" y="-215"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				
				<FontString name="SMOptionsText81" inherits="GameFontNormalSmall" text="OPTION81">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame2">
							<Offset>
								<AbsDimension x="65" y="-240"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				
				<FontString name="SMOptionsText83" inherits="GameFontNormalSmall" text="OPTION83">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame2">
							<Offset>
								<AbsDimension x="65" y="-265"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				
				<FontString name="SMOptionsText85" inherits="GameFontNormalSmall" text="OPTION85">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame2">
							<Offset>
								<AbsDimension x="65" y="-290"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				
				<FontString name="SMOptionsText90" inherits="GameFontNormalSmall" text="OPTION90">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame2">
							<Offset>
								<AbsDimension x="65" y="-315"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				
				<FontString name="SMOptionsText91" inherits="GameFontNormalSmall" text="OPTION91">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame2">
							<Offset>
								<AbsDimension x="65" y="-340"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				
				<FontString name="SMOptionsTextHint" inherits="GameFontNormalSmall" text="HINT">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame2">
							<Offset>
								<AbsDimension x="35" y="-450"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
	
			</Layer>
			
		</Layers>
		<Frames>
						
			<CheckButton name="SMCheckBoxDuel_Enhancer" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame2" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="355" y="-30"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Duel = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Duel = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION72);
					</OnEnter>
				</Scripts>
			</CheckButton>
			
			<CheckButton name="SMCheckBoxDuel_Enhancer_Sound" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame2" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="365" y="-55"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Duel_Sound = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Duel_Sound = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION74);
					</OnEnter>
				</Scripts>
			</CheckButton>
			
			<CheckButton name="SMCheckBoxBg_Enhancer" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame2" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-30"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Bg = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Bg = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION76);
					</OnEnter>
				</Scripts>
			</CheckButton>
			
			<CheckButton name="SMCheckBoxBg_Enhancer_Sound" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame2" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="30" y="-55"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Bg_Sound = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Bg_Sound = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION78);
					</OnEnter>
				</Scripts>
			</CheckButton>
			
			<CheckButton name="SMCheckBoxBg_Enhancer_Text" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame2" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="30" y="-80"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Bg_Text = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Bg_Text = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION88);
					</OnEnter>
				</Scripts>
			</CheckButton>
			
			<Slider name="SMSliderDuel" inherits="OptionsSliderTemplate" minValue="8" maxValue="32" valueStep="1">
				<Size>
					<AbsDimension x="220" y="17"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame2" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="55" y="-150"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnValueChanged>
						SMDuelFontSize_OnValueChanged();
					</OnValueChanged>
					<OnShow>
						SMDuelFontSize_OnShow();
					</OnShow>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION62);
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide();
					</OnLeave>
				</Scripts>
			</Slider>
			
			<CheckButton name="SMCheckBoxKilling_Blow_Enhancer" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame2" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="20" y="-205"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Display_Killing_Blow = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Display_Killing_Blow = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION80);
					</OnEnter>
				</Scripts>
			</CheckButton>
			
			<CheckButton name="SMCheckBoxKilling_Blow_Enhancer_Sound" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame2" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="30" y="-230"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Display_Killing_Blow_Sound = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Display_Killing_Blow_Sound = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION82);
					</OnEnter>
				</Scripts>
			</CheckButton>
			
			<CheckButton name="SMCheckBoxKilling_Blow_Enhancer_Reset_Bg" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame2" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="30" y="-255"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Display_Killing_Blow_Reset_Bg = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Display_Killing_Blow_Reset_Bg = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION84);
					</OnEnter>
				</Scripts>
			</CheckButton>
			
			<CheckButton name="SMCheckBoxKilling_Blow_Enhancer_Reset_Death" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame2" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="30" y="-280"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Display_Killing_Blow_Reset_Death = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Display_Killing_Blow_Reset_Death = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION86);
					</OnEnter>
				</Scripts>
			</CheckButton>
			
			<CheckButton name="SMCheckBoxKilling_Blow_Enhancer_Players_Only" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame2" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="30" y="-305"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Display_Killing_Blow_Players_Only = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Display_Killing_Blow_Players_Only = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION89);
					</OnEnter>
				</Scripts>
			</CheckButton>
			
			<CheckButton name="SMCheckBoxKilling_Blow_Enhancer_Repeat" inherits="SMCheckBoxTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame2" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="30" y="-330"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						if ( this:GetChecked() ) then
							SMData[SMPlayerRealm][SMPlayerName].Display_Killing_Blow_Repeat = true;
						else
							SMData[SMPlayerRealm][SMPlayerName].Display_Killing_Blow_Repeat = false;
						end
					</OnClick>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION92);
					</OnEnter>
				</Scripts>
			</CheckButton>
			
			<Slider name="SMSliderKillingBlow" inherits="OptionsSliderTemplate" minValue="8" maxValue="32" valueStep="1">
				<Size>
					<AbsDimension x="220" y="17"/>
				</Size>
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame2" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="55" y="-375"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnValueChanged>
						SMKillingBlowFontSize_OnValueChanged();
					</OnValueChanged>
					<OnShow>
						SMKillingBlowFontSize_OnShow();
					</OnShow>
					<OnEnter>
						GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
						GameTooltip:SetText(OPTION62);
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide();
					</OnLeave>
				</Scripts>
			</Slider>
			
			<Button name="SMButtonOptions" inherits="OptionsButtonTemplate" text="Back">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="ShaderModOptionsFrame2" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="510" y="-15"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						PlaySound("igMainMenuOpen");
						ShowUIPanel(ShaderModOptionsFrame);
						HideUIPanel(ShaderModOptionsFrame2);
					</OnClick>
				</Scripts>
			</Button>
		
			<Button name="SMButtonClose" inherits="OptionsButtonTemplate" text="Close">
				<Anchors>
					<Anchor point="BOTTOMRIGHT">
						<Offset>
							<AbsDimension x="-15" y="15"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						PlaySound("igMainMenuClose");
						HideUIPanel(ShaderModOptionsFrame2);
						<!-- MyAddons Support for Options window -->
						if (MYADDONS_ACTIVE_OPTIONSFRAME == ShaderModOptionsFrame2) then
							ShowUIPanel(myAddOnsFrame);
						end
					</OnClick>
				</Scripts>
			</Button>

		</Frames>
		
		<Scripts>
			<OnMouseDown>
				this:StartMoving();
			</OnMouseDown>
    	 <OnMouseUp>
      	this:StopMovingOrSizing();
	    </OnMouseUp>
		</Scripts>

	</Frame>
</Ui>