<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="RepHelper.lua"/>								
									
<!--> ============================================================================================================== <-->									
	<Frame name="RepHelper">								
		<Scripts>							
			<OnLoad>RPH_OnLoad(self)</OnLoad>						
			<OnEvent>RPH_OnEvent(self, event, ...)</OnEvent>						
			<OnUpdate>RPH_OnUpdate(self)</OnUpdate>						
		</Scripts>							
	</Frame>								
									
<!--> ============================================================================================================== <-->									
	<Font name="DetailFontWhite" inherits="GameFontNormalSmall" virtual="true">								
		<Color r="1.0" g="1.0" b="1.0"/>							
	</Font>								
	<Font name="DetailFontGrey" inherits="GameFontNormalSmall" virtual="true">								
		<Color r="0.5" g="0.5" b="0.5"/>							
	</Font>								
	<Button name="RPH_UpdateEntryTemplate" hidden="true" virtual="true">								
		<Size x="430" y="16"/>							
		<Layers>							
			<Layer level="OVERLAY">						
				<!-->Expand/Collaps button<-->					
				<Texture name="$parentTexture" file="Interface\Addons\RepHelper\Textures\UI-MinusButton-UP-Green.tga">					
					<Size x="16" y="16"/><Anchors><Anchor point="LEFT"><Offset x="3" y="0"/></Anchor></Anchors>				
				</Texture>					
				<!-->Label text [X]<-->					
				<FontString name="$parentLabel" inherits="DetailFontWhite" justifyH="LEFT">					
					<Size x="20" y="16"/><Anchors><Anchor point="LEFT" relativeTo="$parent" relativePoint="LEFT"><Offset x="20" y="0"/></Anchor></Anchors>				
				</FontString>					
				<!-->Common parts for entries<-->					
				<FontString name="$parentTimes" inherits="DetailFontWhite" justifyH="RIGHT">					
					<Size x="40" y="16"/><Anchors><Anchor point="LEFT" relativeTo="$parent" relativePoint="LEFT"><Offset x="40" y="0"/></Anchor></Anchors>				
				</FontString>					
				<FontString name="$parentName" inherits="DetailFontWhite" justifyH="LEFT">					
					<Size x="320" y="16"/>				
					<Anchors><Anchor point="LEFT" relativeTo="$parent" relativePoint="LEFT"><Offset x="80" y="0"/></Anchor></Anchors>				
				</FontString>					
				<FontString name="$parentRep" inherits="DetailFontWhite" justifyH="RIGHT">					
					<Size x="30" y="16"/>				
					<Anchors><Anchor point="LEFT" relativeTo="$parent" relativePoint="LEFT"><Offset x="400" y="0"/></Anchor></Anchors>				
				</FontString>					
				<!-->Common parts for item entries<-->					
				<FontString name="$parentItemTimes" inherits="DetailFontGrey" justifyH="RIGHT">					
					<Size x="40" y="16"/>				
					<Anchors><Anchor point="LEFT" relativeTo="$parent" relativePoint="LEFT"><Offset x="40" y="0"/></Anchor></Anchors>				
				</FontString>					
				<FontString name="$parentItemName" inherits="DetailFontGrey" justifyH="LEFT">					
					<Size x="280" y="16"/>				
					<Anchors><Anchor point="LEFT" relativeTo="$parent" relativePoint="LEFT"><Offset x="80" y="0"/></Anchor></Anchors>				
				</FontString>					
				<FontString name="$parentTotalTimes" inherits="DetailFontGrey" justifyH="RIGHT">					
					<Size x="80" y="16"/>				
					<Anchors><Anchor point="LEFT" relativeTo="$parent" relativePoint="LEFT"><Offset x="280" y="0"/></Anchor></Anchors>				
				</FontString>					
			</Layer>						
		</Layers>							
		<Scripts>							
			<OnLoad>self:RegisterForClicks("LeftButtonUp", "RightButtonUp")</OnLoad>						
			<OnEnter>
				RPH_ShowLineToolTip(self)
			</OnEnter>						
			<OnLeave>GameTooltip:Hide()</OnLeave>						
			<!--<OnClick>RPH_UpdateEntryClick(self)</OnClick>-->						
			<OnMouseUp>RPH_MouseButtonUp(self, button)</OnMouseUp>						
		</Scripts>							
	</Button>
	<!-- Hidden tooltip to get quest information instead of using GameTooltip, prevents tooltip closing when rep frame updates -->
	<GameTooltip name="RPH_HiddenQuestTooltip" inherits="GameTooltipTemplate">
		<Scripts>
			<OnLoad>
				self:SetOwner(WorldFrame, "ANCHOR_NONE");
			</OnLoad>
		</Scripts>
	</GameTooltip>								
									
<!--> ============================================================================================================== <-->									
	<Button name="SmallFontButton" inherits="UIPanelButtonTemplate" virtual="true">								
		<NormalFont inherits="GameFontNormalSmall"/>							
		<HighlightFont inherits="GameFontHighlightSmall"/>							
		<DisabledFont inherits="GameFontDisableSmall"/>							
	</Button>								
									
<!--v set 1-->									
	<Frame name="RPH_ReputationDetailFrame" parent="ReputationFrame" enableMouse="true" hidden="true">								
		<Size x="482" y="520"/>							
		<Anchors><Anchor point="TOPLEFT" relativeTo="ReputationFrame" relativePoint="TOPRIGHT"><Offset x="0" y="0"/></Anchor></Anchors>							
		<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">							
			<BackgroundInsets><AbsInset left="11" right="12" top="12" bottom="11"/></BackgroundInsets>						
			<TileSize><AbsValue val="32"/></TileSize>						
			<EdgeSize><AbsValue val="32"/></EdgeSize>						
		</Backdrop>							
		<Layers>							
			<Layer level="ARTWORK">						
				<FontString name="RPH_ReputationDetailFactionName" inherits="GameFontNormal" justifyH="LEFT">					
					<Size x="0" y="12"/>				
					<Anchors><Anchor point="TOPLEFT"><Offset x="20" y="-21"/></Anchor></Anchors>				
				</FontString>					
				<FontString name="RPH_ReputationDetailFactionDescription" inherits="GameFontHighlightSmall" justifyH="LEFT">					
					<Size x="170" y="0"/><Anchors>				
					<Anchor point="TOPLEFT" relativeTo="RPH_ReputationDetailFactionName" relativePoint="BOTTOMLEFT">				
					<Offset x="0" y="-2"/></Anchor></Anchors>				
				</FontString>					
				<Texture name="RPH_DetailBg" file="Interface\PaperDollInfoFrame\UI-Character-Reputation-DetailBackground">					
					<Size x="256" y="128"/>				
					<Anchors><Anchor point="TOPLEFT"><Offset x="11" y="-12"/></Anchor></Anchors>				
				</Texture>					
<!--^ set 1-->									
				<Texture name="RPH_DetailBg2" file="Interface\PaperDollInfoFrame\UI-Character-Reputation-DetailBackground">					
					<Size x="375" y="128"/>				
					<Anchors><Anchor point="TOPLEFT" relativeTo="RPH_DetailBg" relativePoint="TOPRIGHT"><Offset x="-70" y="0"/></Anchor></Anchors>				
				</Texture>					
				<FontString name="RPH_ReputationDetailStandingName" inherits="GameFontNormalSmall" justifyH="LEFT">					
					<Size x="0" y="10"/>				
					<Anchors><Anchor point="TOPLEFT" relativeTo="RPH_DetailBg2" relativePoint="TOPLEFT"><Offset x="10" y="-10"/></Anchor></Anchors>				
				</FontString>					
				<FontString name="RPH_ReputationDetailStandingNeeded" inherits="GameFontHighlightSmall" justifyH="LEFT">					
					<Size x="0" y="10"/><Anchors>				
						<Anchor point="TOPLEFT" relativeTo="RPH_ReputationDetailStandingName" relativePoint="BOTTOMLEFT">			
					<Offset x="0" y="-2"/></Anchor></Anchors>				
				</FontString>					
				<FontString name="RPH_ReputationDetailStandingCurrent" inherits="GameFontHighlightSmall" justifyH="LEFT">					
					<Size x="0" y="10"/><Anchors>				
						<Anchor point="TOPLEFT" relativeTo="RPH_ReputationDetailStandingNeeded" relativePoint="BOTTOMLEFT">			
					<Offset x="0" y="-2"/></Anchor></Anchors>				
				</FontString>					
				<FontString name="RPH_ReputationDetailStandingMissing" inherits="GameFontHighlightSmall" justifyH="LEFT">					
					<Size x="0" y="10"/><Anchors>				
						<Anchor point="TOPLEFT" relativeTo="RPH_ReputationDetailStandingCurrent" relativePoint="BOTTOMLEFT">			
					<Offset x="0" y="-7"/></Anchor></Anchors>				
				</FontString>					
				<FontString name="RPH_ReputationDetailStandingBag" inherits="GameFontHighlightSmall" justifyH="LEFT">					
					<Size x="0" y="10"/><Anchors>				
						<Anchor point="TOPLEFT" relativeTo="RPH_ReputationDetailStandingMissing" relativePoint="BOTTOMLEFT">			
					<Offset x="0" y="-2"/></Anchor></Anchors>				
				</FontString>					
				<FontString name="RPH_ReputationDetailStandingBagBank" inherits="GameFontHighlightSmall" justifyH="LEFT">					
					<Size x="0" y="10"/><Anchors>				
						<Anchor point="TOPLEFT" relativeTo="RPH_ReputationDetailStandingBag" relativePoint="BOTTOMLEFT">			
					<Offset x="0" y="-2"/></Anchor></Anchors>				
				</FontString>					
				<FontString name="RPH_ReputationDetailStandingQuests" inherits="GameFontHighlightSmall" justifyH="LEFT">					
					<Size x="0" y="10"/><Anchors>				
						<Anchor point="TOPLEFT" relativeTo="RPH_ReputationDetailStandingBagBank" relativePoint="BOTTOMLEFT">			
					<Offset x="0" y="-2"/></Anchor></Anchors>				
				</FontString>					
				<FontString name="RPH_ReputationDetailStandingGained" inherits="GameFontHighlightSmall" justifyH="LEFT">					
					<Size x="0" y="10"/><Anchors>				
						<Anchor point="TOPLEFT" relativeTo="RPH_ReputationDetailStandingQuests" relativePoint="BOTTOMLEFT">			
					<Offset x="0" y="-5"/></Anchor></Anchors>				
				</FontString>					
				<FontString name="RPH_ReputationDetailStandingToExaltedHeader" inherits="GameFontHighlightSmall" justifyH="LEFT">					
					<Size x="0" y="10"/><Anchors>				
						<Anchor point="TOPLEFT" relativeTo="RPH_ReputationDetailStandingGained" relativePoint="BOTTOMLEFT">			
					<Offset x="0" y="-2"/></Anchor></Anchors>				
				</FontString>					
									
				<FontString name="RPH_ReputationDetailStandingNextValue" inherits="GameFontHighlightSmall" justifyH="RIGHT">					
					<Size x="0" y="10"/><Anchors>				
						<Anchor point="TOP" relativeTo="RPH_ReputationDetailStandingName" relativePoint="TOP"><Offset x="0" y="0"/></Anchor>			
						<Anchor point="RIGHT" relativeTo="RPH_ReputationDetailFrame" relativePoint="RIGHT"><Offset x="-40" y="0"/></Anchor>			
					</Anchors>				
				</FontString>					
				<FontString name="RPH_ReputationDetailStandingNeededValue" inherits="GameFontHighlightSmall" justifyH="RIGHT">					
					<Size x="0" y="10"/><Anchors>				
						<Anchor point="TOP" relativeTo="RPH_ReputationDetailStandingNeeded" relativePoint="TOP"><Offset x="0" y="0"/></Anchor>			
						<Anchor point="RIGHT" relativeTo="RPH_ReputationDetailFrame" relativePoint="RIGHT"><Offset x="-15" y="0"/></Anchor>			
					</Anchors>				
				</FontString>					
				<FontString name="RPH_ReputationDetailStandingCurrentValue" inherits="GameFontHighlightSmall" justifyH="RIGHT">					
					<Size x="0" y="10"/><Anchors>				
						<Anchor point="TOPRIGHT" relativeTo="RPH_ReputationDetailStandingNeededValue" relativePoint="BOTTOMRIGHT">			
					<Offset x="0" y="-2"/></Anchor></Anchors>				
				</FontString>					
				<FontString name="RPH_ReputationDetailStandingMissingValue" inherits="GameFontHighlightSmall" justifyH="RIGHT">					
					<Size x="0" y="10"/><Anchors>				
						<Anchor point="TOPRIGHT" relativeTo="RPH_ReputationDetailStandingCurrentValue" relativePoint="BOTTOMRIGHT">			
					<Offset x="0" y="-7"/></Anchor></Anchors>				
				</FontString>					
				<FontString name="RPH_ReputationDetailStandingBagValue" inherits="GameFontHighlightSmall" justifyH="RIGHT">					
					<Size x="0" y="10"/><Anchors>				
						<Anchor point="TOPRIGHT" relativeTo="RPH_ReputationDetailStandingMissingValue" relativePoint="BOTTOMRIGHT">			
					<Offset x="0" y="-2"/></Anchor></Anchors>				
				</FontString>					
				<FontString name="RPH_ReputationDetailStandingBagBankValue" inherits="GameFontHighlightSmall" justifyH="RIGHT">					
					<Size x="0" y="10"/><Anchors>				
							<Anchor point="TOPRIGHT" relativeTo="RPH_ReputationDetailStandingBagValue" relativePoint="BOTTOMRIGHT">		
					<Offset x="0" y="-2"/></Anchor></Anchors>				
				</FontString>					
				<FontString name="RPH_ReputationDetailStandingQuestsValue" inherits="GameFontHighlightSmall" justifyH="RIGHT">					
					<Size x="0" y="10"/><Anchors>				
						<Anchor point="TOPRIGHT" relativeTo="RPH_ReputationDetailStandingBagBankValue" relativePoint="BOTTOMRIGHT">			
					<Offset x="0" y="-2"/></Anchor></Anchors>				
				</FontString>					
				<FontString name="RPH_ReputationDetailStandingGainedValue" inherits="GameFontHighlightSmall" justifyH="RIGHT">					
					<Size x="0" y="10"/><Anchors>				
						<Anchor point="TOPRIGHT" relativeTo="RPH_ReputationDetailStandingQuestsValue" relativePoint="BOTTOMRIGHT">			
					<Offset x="0" y="-5"/></Anchor></Anchors>				
				</FontString>					
				<FontString name="RPH_ReputationDetailStandingToExaltedValue" inherits="GameFontHighlightSmall" justifyH="RIGHT">					
					<Size x="0" y="10"/><Anchors>				
						<Anchor point="TOPRIGHT" relativeTo="RPH_ReputationDetailStandingGainedValue" relativePoint="BOTTOMRIGHT">			
					<Offset x="0" y="-2"/></Anchor></Anchors>				
				</FontString>					
									
				<FontString name="RPH_ReputationDetailFactionName" inherits="GameFontNormal" justifyH="LEFT">					
					<Size x="0" y="12"/><Anchors><Anchor point="TOPLEFT"><Offset x="20" y="-21"/></Anchor></Anchors>				
				</FontString>					
<!--v set 2-->									
			</Layer>						
			<Layer level="OVERLAY">						
				<Texture name="RPH_ReputationDetailCorner" file="Interface\DialogFrame\UI-DialogBox-Corner">					
					<Size x="32" y="32"/><Anchors><Anchor point="TOPRIGHT"><Offset x="-6" y="-7"/></Anchor></Anchors>				
				</Texture>					
				<Texture name="RPH_ReputationDetailDivider" file="Interface\DialogFrame\UI-DialogBox-Divider">					
					<Size x="615" y="32"/><Anchors><Anchor point="TOPLEFT"><Offset x="9" y="-131"/></Anchor></Anchors>				
				</Texture>					
<!--^ set 2-->									
				<Texture name="RPH_ReputationDetailDivider2" file="Interface\DialogFrame\UI-DialogBox-Divider">					
					<Size x="615" y="32"/><Anchors>				
						<Anchor point="TOPLEFT" relativeTo="RPH_ReputationDetailDivider" relativePoint="BOTTOMLEFT">			
					<Offset x="0" y="0"/></Anchor></Anchors>				
				</Texture>					
				<Texture name="RPH_ReputationDetailDivider3" file="Interface\DialogFrame\UI-DialogBox-Divider">					
					<Size x="615" y="32"/><Anchors>				
						<Anchor point="TOPLEFT" relativeTo="RPH_ReputationDetailDivider2" relativePoint="BOTTOMLEFT">			
					<Offset x="0" y="-193"/></Anchor></Anchors>				
				</Texture>					
									
				<FontString name="RPH_NoInformationText" inherits="GameFontHighlight" justifyH="LEFT">					
					<Size x="360" y="20"/><Anchors>				
						<Anchor point="TOPLEFT" relativeTo="RPH_ReputationDetailDivider2" relativePoint="BOTTOMLEFT">			
					<Offset x="15" y="15"/></Anchor></Anchors>				
				</FontString>					
									
				<!--					
				<Texture name="RPH_ReputationDetailVDivider" file="Interface\DialogFrame\UI-DialogBox-Divider">					
					<Size x="16" y="128"/><Anchors>				
						<Anchor point="BOTTOMLEFT" relativeTo="RPH_ReputationDetailDivider" relativePoint="BOTTOMRIGHT">			
					<Offset x="-75" y="0"/></Anchor></Anchors>				
				</Texture>					
				-->					
				<FontString name="RPH_ReputationDetailSuppressHint" inherits="GameFontHighlightSmall" justifyH="LEFT">					
					<Size x="210" y="0"/><Anchors>				
						<Anchor point="TOPLEFT" relativeTo="RPH_ReputationDetailDivider3" relativePoint="BOTTOMLEFT">			
					<Offset x="10" y="-40"/></Anchor></Anchors>				
				</FontString>					
<!--v set 3-->									
			</Layer>						
		</Layers>							
		<Frames>							
			<Button name="RPH_ReputationDetailCloseButton" inherits="UIPanelCloseButton">						
				<Anchors><Anchor point="TOPRIGHT"><Offset x="-3" y="-3"/></Anchor></Anchors>					
<!--^ set 3-->									
				<Scripts>					
					<OnClick>				
						PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON);			
						HideParentPanel(self);			
					</OnClick>				
				</Scripts>					
<!--v set 4-->									
			</Button>						
			<CheckButton name="RPH_ReputationDetailAtWarCheckBox">						
				<Size x="26" y="26"/><Anchors>					
					<Anchor point="TOPLEFT" relativeTo="RPH_ReputationDetailDivider" relativePoint="BOTTOMLEFT">				
					<Offset x="10" y="20"/></Anchor></Anchors>				
				<Layers>					
					<Layer level="ARTWORK">				
						<FontString name="$parentText" inherits="GameFontNormalSmall">			
							<Anchors><Anchor point="LEFT" relativePoint="RIGHT"><Offset x="-2" y="0"/></Anchor></Anchors>		
						</FontString>			
					</Layer>				
				</Layers>					
				<Scripts>					
					<OnLoad>				
						_G[self:GetName().."Text"]:SetText(AT_WAR);			
						_G[self:GetName().."Text"]:SetVertexColor(RED_FONT_COLOR.r, RED_FONT_COLOR.g, RED_FONT_COLOR.b);			
					</OnLoad>				
					<OnClick>				
						FactionToggleAtWar(GetSelectedFaction());			
						if ( self:GetChecked() ) then			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON);		
						else			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_OFF);		
						end			
						ReputationFrame_Update();			
					</OnClick>				
					<OnEnter>				
						GameTooltip:SetOwner(self, "ANCHOR_RIGHT");			
						GameTooltip:SetText(REPUTATION_AT_WAR_DESCRIPTION, nil, nil, nil, nil, 1);			
					</OnEnter>				
							<OnLeave function="GameTooltip_Hide"/>		
				</Scripts>					
				<NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>					
				<PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>					
				<HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>					
				<CheckedTexture file="Interface\Buttons\UI-CheckBox-SwordCheck">					
					<Size x="32" y="32"/><Anchors><Anchor point="TOPLEFT"><Offset x="3" y="-5"/></Anchor></Anchors>				
				</CheckedTexture>					
				<DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>					
			</CheckButton>						
			<CheckButton name="RPH_ReputationDetailInactiveCheckBox" inherits="OptionsCheckButtonTemplate">						
				<Size x="26" y="26"/><Anchors>					
					<Anchor point="LEFT" relativeTo="RPH_ReputationDetailAtWarCheckBoxText" relativePoint="RIGHT">				
					<Offset x="3" y="0"/></Anchor></Anchors>				
				<HitRectInsets>					
					<AbsInset left="0" right="0" top="0" bottom="0"/>				
				</HitRectInsets>					
				<Scripts>					
					<OnLoad>				
						_G[self:GetName().."Text"]:SetText(MOVE_TO_INACTIVE);			
					</OnLoad>				
					<OnClick>				
						if ( self:GetChecked() ) then			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON);		
							SetFactionInactive(GetSelectedFaction());		
						else			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_OFF);		
							SetFactionActive(GetSelectedFaction());		
						end			
					</OnClick>				
					<OnEnter>				
						GameTooltip:SetOwner(self, "ANCHOR_RIGHT");			
						GameTooltip:SetOwner(self, "ANCHOR_RIGHT");			
					</OnEnter>				
					<OnLeave function="GameTooltip_Hide"/>				
				</Scripts>					
			</CheckButton>						
			<CheckButton name="RPH_ReputationDetailMainScreenCheckBox" inherits="OptionsCheckButtonTemplate">						
				<Size x="26" y="26"/><Anchors>					
					<Anchor point="LEFT" relativeTo="RPH_ReputationDetailInactiveCheckBoxText" relativePoint="RIGHT">				
					<Offset x="3" y="0"/></Anchor></Anchors>				
				<HitRectInsets>					
					<AbsInset left="0" right="0" top="0" bottom="0"/>				
				</HitRectInsets>					
				<Scripts>					
					<OnLoad>				
						_G[self:GetName().."Text"]:SetText(SHOW_FACTION_ON_MAINSCREEN);			
					</OnLoad>				
					<OnClick>				
						if ( self:GetChecked() ) then			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON);		
							SetWatchedFactionIndex(GetSelectedFaction());
						else			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_OFF);		
							SetWatchedFactionIndex(0);
						end
						ReputationFrame_Update();			
					</OnClick>				
					<OnEnter>				
						GameTooltip:SetOwner(self, "ANCHOR_RIGHT");			
						GameTooltip:SetText(REPUTATION_SHOW_AS_XP, nil, nil, nil, nil, 1);			
					</OnEnter>				
					<OnLeave function="GameTooltip_Hide"/>				
				</Scripts>					
			</CheckButton>
			<CheckButton name="RPH_ShowDarkmoonFaireButton" inherits="OptionsCheckButtonTemplate">						
				<Size x="26" y="26"/><Anchors>					
					<Anchor point="LEFT" relativeTo="RPH_ReputationDetailMainScreenCheckBoxText" relativePoint="RIGHT">				
					<Offset x="3" y="0"/></Anchor></Anchors>				
				<HitRectInsets>					
					<AbsInset left="0" right="0" top="0" bottom="0"/>				
				</HitRectInsets>									
				<Scripts>					
					<OnClick>				
						RPH_Data.ShowDarkmoonFaire = self:GetChecked()			
						if ( RPH_Data.ShowDarkmoonFaire ) then			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON);		
						else			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_OFF);		
						end			
						RPH:ToggleDarkmoonFaireBuff()
					</OnClick>				
					<OnEnter>				
						RPH_ShowHelpToolTip(self, self:GetName())			
					</OnEnter>				
					<OnLeave>				
						GameTooltip:Hide();			
					</OnLeave>				
				</Scripts>					
			</CheckButton>							
<!--^ set 4-->									
<!--v set 5-->									
			<ScrollFrame name="RPH_UpdateListScrollFrame" inherits="FauxScrollFrameTemplate">						
				<Size x="430" y="208"/><Anchors>					
					<Anchor point="TOPLEFT" relativeTo="RPH_ReputationDetailDivider2" relativePoint="BOTTOMLEFT">				
					<Offset x="5" y="15"/></Anchor></Anchors>				
				<Scripts>					
					<OnVerticalScroll>				
						FauxScrollFrame_OnVerticalScroll(self, offset, 16, RPH_UpdateList_Update);			
					</OnVerticalScroll>				
				</Scripts>					
			</ScrollFrame>						
			<Button name="RPH_UpdateEntry1" inherits="RPH_UpdateEntryTemplate">						
				<Anchors><Anchor point="TOPLEFT" relativeTo="RPH_UpdateListScrollFrame" relativePoint="TOPLEFT"><Offset x="0" y="0"/></Anchor></Anchors>					
			</Button>						
			<Button name="RPH_UpdateEntry2" inherits="RPH_UpdateEntryTemplate">						
				<Anchors><Anchor point="TOPLEFT" relativeTo="RPH_UpdateEntry1" relativePoint="BOTTOMLEFT"/></Anchors>					
			</Button>						
			<Button name="RPH_UpdateEntry3" inherits="RPH_UpdateEntryTemplate">						
				<Anchors><Anchor point="TOPLEFT" relativeTo="RPH_UpdateEntry2" relativePoint="BOTTOMLEFT"/></Anchors>					
			</Button>						
			<Button name="RPH_UpdateEntry4" inherits="RPH_UpdateEntryTemplate">						
				<Anchors><Anchor point="TOPLEFT" relativeTo="RPH_UpdateEntry3" relativePoint="BOTTOMLEFT"/></Anchors>					
			</Button>						
			<Button name="RPH_UpdateEntry5" inherits="RPH_UpdateEntryTemplate">						
				<Anchors><Anchor point="TOPLEFT" relativeTo="RPH_UpdateEntry4" relativePoint="BOTTOMLEFT"/></Anchors>					
			</Button>						
			<Button name="RPH_UpdateEntry6" inherits="RPH_UpdateEntryTemplate">						
				<Anchors><Anchor point="TOPLEFT" relativeTo="RPH_UpdateEntry5" relativePoint="BOTTOMLEFT"/></Anchors>					
			</Button>						
			<Button name="RPH_UpdateEntry7" inherits="RPH_UpdateEntryTemplate">						
				<Anchors>					
				<Anchor point="TOPLEFT" relativeTo="RPH_UpdateEntry6" relativePoint="BOTTOMLEFT"/>					
				</Anchors>					
			</Button>						
			<Button name="RPH_UpdateEntry8" inherits="RPH_UpdateEntryTemplate">						
				<Anchors>					
				<Anchor point="TOPLEFT" relativeTo="RPH_UpdateEntry7" relativePoint="BOTTOMLEFT"/>					
				</Anchors>					
			</Button>						
			<Button name="RPH_UpdateEntry9" inherits="RPH_UpdateEntryTemplate">						
				<Anchors>					
				<Anchor point="TOPLEFT" relativeTo="RPH_UpdateEntry8" relativePoint="BOTTOMLEFT"/>					
				</Anchors>					
			</Button>						
			<Button name="RPH_UpdateEntry10" inherits="RPH_UpdateEntryTemplate">						
				<Anchors>					
				<Anchor point="TOPLEFT" relativeTo="RPH_UpdateEntry9" relativePoint="BOTTOMLEFT"/>					
				</Anchors>					
			</Button>						
			<Button name="RPH_UpdateEntry11" inherits="RPH_UpdateEntryTemplate">						
				<Anchors>					
				<Anchor point="TOPLEFT" relativeTo="RPH_UpdateEntry10" relativePoint="BOTTOMLEFT"/>					
				</Anchors>					
			</Button>						
			<Button name="RPH_UpdateEntry12" inherits="RPH_UpdateEntryTemplate">						
				<Anchors>					
				<Anchor point="TOPLEFT" relativeTo="RPH_UpdateEntry11" relativePoint="BOTTOMLEFT"/>					
				</Anchors>					
			</Button>						
			<Button name="RPH_UpdateEntry13" inherits="RPH_UpdateEntryTemplate">						
				<Anchors>					
				<Anchor point="TOPLEFT" relativeTo="RPH_UpdateEntry12" relativePoint="BOTTOMLEFT"/>					
				</Anchors>					
			</Button>						
									
			<CheckButton name="RPH_ShowQuestButton" inherits="OptionsCheckButtonTemplate">						
				<Size x="20" y="20"/><Anchors>					
					<Anchor point="TOPLEFT" relativeTo="RPH_ReputationDetailDivider3" relativePoint="BOTTOMLEFT">				
					<Offset x="10" y="20"/></Anchor></Anchors>				
				<HitRectInsets>					
					<AbsInset left="0" right="-80" top="0" bottom="0"/>				
				</HitRectInsets>					
				<Layers>					
					<Layer level="ARTWORK">				
						<FontString name="$parentText" inherits="GameFontNormalSmall">			
							<Anchors><Anchor point="LEFT" relativePoint="RIGHT"><Offset x="-2" y="0"/></Anchor></Anchors>		
						</FontString>			
					</Layer>				
				</Layers>					
				<Scripts>					
					<OnClick>				
						RPH_Data.ShowQuests = self:GetChecked()			
						if ( RPH_Data.ShowQuests ) then			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON);		
						else			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_OFF);		
						end			
						RPH:BuildUpdateList()			
						RPH_UpdateList_Update()			
					</OnClick>				
					<OnEnter>				
						RPH_ShowHelpToolTip(self, self:GetName())			
					</OnEnter>				
					<OnLeave>				
						GameTooltip:Hide();			
					</OnLeave>				
				</Scripts>					
			</CheckButton>						
			<CheckButton name="RPH_ShowInstancesButton" inherits="OptionsCheckButtonTemplate">						
				<Size x="20" y="20"/>					
						<Anchors>			
					<Anchor point="TOPLEFT" relativeTo="RPH_ReputationDetailDivider3" relativePoint="BOTTOMLEFT">				
						<Offset x="110" y="20"/>			
								</Anchor>	
				</Anchors>					
				<HitRectInsets>					
					<AbsInset left="0" right="-80" top="0" bottom="0"/>				
				</HitRectInsets>					
				<Layers>					
					<Layer level="ARTWORK">				
						<FontString name="$parentText" inherits="GameFontNormalSmall">			
							<Anchors><Anchor point="LEFT" relativePoint="RIGHT"><Offset x="-2" y="0"/></Anchor></Anchors>		
						</FontString>			
					</Layer>				
				</Layers>					
				<Scripts>					
					<OnClick>				
						RPH_Data.ShowInstances = self:GetChecked()			
						if ( RPH_Data.ShowInstances ) then			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON);		
						else			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_OFF);		
						end			
						RPH:BuildUpdateList()			
						RPH_UpdateList_Update()			
					</OnClick>				
					<OnEnter>				
						RPH_ShowHelpToolTip(self, self:GetName())			
					</OnEnter>				
					<OnLeave>				
						GameTooltip:Hide();			
					</OnLeave>				
				</Scripts>					
			</CheckButton>						
			<CheckButton name="RPH_ShowMobsButton" inherits="OptionsCheckButtonTemplate">						
				<Size x="20" y="20"/>					
						<Anchors>			
					<Anchor point="TOPLEFT" relativeTo="RPH_ReputationDetailDivider3" relativePoint="BOTTOMLEFT">				
						<Offset x="10" y="0"/>			
								</Anchor>	
				</Anchors>					
				<HitRectInsets>					
					<AbsInset left="0" right="-80" top="0" bottom="0"/>				
				</HitRectInsets>					
				<Layers>					
					<Layer level="ARTWORK">				
						<FontString name="$parentText" inherits="GameFontNormalSmall">			
							<Anchors><Anchor point="LEFT" relativePoint="RIGHT"><Offset x="-2" y="0"/></Anchor></Anchors>		
						</FontString>			
					</Layer>				
				</Layers>					
				<Scripts>					
					<OnClick>				
						RPH_Data.ShowMobs = self:GetChecked()			
						if ( RPH_Data.ShowMobs ) then			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON);		
						else			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_OFF);		
						end			
						RPH:BuildUpdateList()			
						RPH_UpdateList_Update()			
					</OnClick>				
					<OnEnter>				
						RPH_ShowHelpToolTip(self, self:GetName())			
					</OnEnter>				
					<OnLeave>				
						GameTooltip:Hide();			
					</OnLeave>				
				</Scripts>					
			</CheckButton>						
			<CheckButton name="RPH_ShowItemsButton" inherits="OptionsCheckButtonTemplate">						
				<Size x="20" y="20"/>					
						<Anchors>			
					<Anchor point="TOPLEFT" relativeTo="RPH_ReputationDetailDivider3" relativePoint="BOTTOMLEFT">				
						<Offset x="110" y="0"/>			
								</Anchor>	
				</Anchors>					
				<HitRectInsets>					
					<AbsInset left="0" right="-80" top="0" bottom="0"/>				
				</HitRectInsets>					
				<Layers>					
					<Layer level="ARTWORK">				
						<FontString name="$parentText" inherits="GameFontNormalSmall">			
							<Anchors><Anchor point="LEFT" relativePoint="RIGHT"><Offset x="-2" y="0"/></Anchor></Anchors>		
						</FontString>			
					</Layer>				
				</Layers>					
				<Scripts>					
					<OnClick>				
						RPH_Data.ShowItems = self:GetChecked()			
						if ( RPH_Data.ShowItems ) then			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON);		
						else			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_OFF);		
						end			
						RPH:BuildUpdateList()			
						RPH_UpdateList_Update()			
					</OnClick>				
					<OnEnter>				
						RPH_ShowHelpToolTip(self, self:GetName())			
					</OnEnter>				
					<OnLeave>				
						GameTooltip:Hide();			
					</OnLeave>				
				</Scripts>					
			</CheckButton>						
			<CheckButton name="RPH_ShowGeneralButton" inherits="OptionsCheckButtonTemplate">						
				<Size x="20" y="20"/>					
						<Anchors>			
					<Anchor point="TOPLEFT" relativeTo="RPH_ReputationDetailDivider3" relativePoint="BOTTOMLEFT">				
						<Offset x="10" y="-20"/>			
								</Anchor>	
				</Anchors>					
				<HitRectInsets>					
					<AbsInset left="0" right="-80" top="0" bottom="0"/>				
				</HitRectInsets>					
				<Layers>					
					<Layer level="ARTWORK">				
						<FontString name="$parentText" inherits="GameFontNormalSmall">			
							<Anchors><Anchor point="LEFT" relativePoint="RIGHT"><Offset x="-2" y="0"/></Anchor></Anchors>		
						</FontString>			
					</Layer>				
				</Layers>					
				<Scripts>					
					<OnClick>				
						RPH_Data.ShowGeneral = self:GetChecked()			
						if ( RPH_Data.ShowGeneral ) then			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON);		
						else			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_OFF);		
						end			
						RPH:BuildUpdateList()			
						RPH_UpdateList_Update()			
					</OnClick>				
					<OnEnter>				
						RPH_ShowHelpToolTip(self, self:GetName())			
					</OnEnter>				
					<OnLeave>				
						GameTooltip:Hide();			
					</OnLeave>				
				</Scripts>					
			</CheckButton>						
									
			<Button name="RPH_ShowAllButton" inherits="SmallFontButton">						
				<Size x="80" y="20" />					
				<Anchors>					
					<Anchor point="TOPLEFT" relativeTo="RPH_ReputationDetailDivider3" relativePoint="BOTTOMLEFT">				
						<Offset x="300" y="20"/>			
								</Anchor>	
				</Anchors>					
				<Scripts>					
					<OnClick>				
						RPH_Data.ShowQuests = true			
						RPH_Data.ShowMobs = true			
						RPH_Data.ShowInstances = true			
						RPH_Data.ShowItems = true			
						PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON);			
						RPH:BuildUpdateList()			
						RPH_UpdateList_Update()			
					</OnClick>				
					<OnEnter>				
						RPH_ShowHelpToolTip(self, self:GetName())			
					</OnEnter>				
					<OnLeave>				
						GameTooltip:Hide();			
					</OnLeave>				
				</Scripts>					
			</Button>						
			<Button name="RPH_ShowNoneButton" inherits="SmallFontButton">						
				<Size x="80" y="20" />					
				<Anchors>					
					<Anchor point="TOPLEFT" relativeTo="RPH_ReputationDetailDivider3" relativePoint="BOTTOMLEFT">				
						<Offset x="300" y="0"/>			
								</Anchor>	
				</Anchors>					
				<Scripts>					
					<OnClick>				
						RPH_Data.ShowQuests = nil			
						RPH_Data.ShowMobs = nil			
						RPH_Data.ShowInstances = nil			
						RPH_Data.ShowItems = nil			
						PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_OFF);			
						RPH:BuildUpdateList()			
						RPH_UpdateList_Update()			
					</OnClick>				
					<OnEnter>				
						RPH_ShowHelpToolTip(self, self:GetName())			
					</OnEnter>				
					<OnLeave>				
						GameTooltip:Hide();			
					</OnLeave>				
				</Scripts>					
			</Button>						
			<Button name="RPH_ExpandButton" inherits="SmallFontButton">						
				<Size x="80" y="20" />					
				<Anchors>					
					<Anchor point="TOPLEFT" relativeTo="RPH_ShowAllButton" relativePoint="TOPRIGHT">				
						<Offset x="5" y="0"/>			
								</Anchor>	
				</Anchors>					
				<Scripts>					
					<OnClick>				
						PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON);			
						RPH_ShowUpdateEntries(true)			
					</OnClick>				
					<OnEnter>				
						RPH_ShowHelpToolTip(self, self:GetName())			
					</OnEnter>				
					<OnLeave>				
						GameTooltip:Hide();			
					</OnLeave>				
				</Scripts>					
			</Button>						
			<Button name="RPH_CollapseButton" inherits="SmallFontButton">						
				<Size x="80" y="20" />					
				<Anchors>					
					<Anchor point="TOPLEFT" relativeTo="RPH_ShowNoneButton" relativePoint="TOPRIGHT">				
						<Offset x="5" y="0"/>			
								</Anchor>	
				</Anchors>					
				<Scripts>					
					<OnClick>				
						PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_OFF);			
						RPH_ShowUpdateEntries(false)			
					</OnClick>				
					<OnEnter>				
						RPH_ShowHelpToolTip(self, self:GetName())			
					</OnEnter>				
					<OnLeave>				
						GameTooltip:Hide();			
					</OnLeave>				
				</Scripts>					
			</Button>						
									
			<Button name="RPH_SupressNoneFactionButton" inherits="SmallFontButton">						
				<Size x="165" y="20" />					
				<Anchors>					
					<Anchor point="TOPLEFT" relativeTo="RPH_ShowNoneButton" relativePoint="BOTTOMLEFT">				
						<Offset x="0" y="-5"/>			
								</Anchor>	
				</Anchors>					
				<Scripts>					
					<OnClick>				
						PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_OFF);			
						RPH:SupressNone(false)			
					</OnClick>				
					<OnEnter>				
						RPH_ShowHelpToolTip(self, self:GetName())			
					</OnEnter>				
					<OnLeave>				
						GameTooltip:Hide();			
					</OnLeave>				
				</Scripts>					
			</Button>						
			<Button name="RPH_SupressNoneGlobalButton" inherits="SmallFontButton">						
				<Size x="165" y="20" />					
				<Anchors>					
					<Anchor point="TOPLEFT" relativeTo="RPH_SupressNoneFactionButton" relativePoint="BOTTOMLEFT">				
						<Offset x="0" y="0"/>			
								</Anchor>	
				</Anchors>					
				<Scripts>					
					<OnClick>				
						PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_OFF);			
						RPH:SupressNone(true)			
					</OnClick>				
					<OnEnter>				
						RPH_ShowHelpToolTip(self, self:GetName())			
					</OnEnter>				
					<OnLeave>				
						GameTooltip:Hide();			
					</OnLeave>				
				</Scripts>					
			</Button>						
									
			<Button name="RPH_ClearSessionGainButton" inherits="SmallFontButton">						
				<Size x="220" y="20" />					
				<Anchors>					
					<Anchor point="TOPRIGHT" relativeTo="RPH_SupressNoneGlobalButton" relativePoint="BOTTOMLEFT">				
						<Offset x="-72" y="0"/>			
								</Anchor>	
				</Anchors>					
				<Scripts>					
					<OnClick>				
						PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_OFF);			
						RPH:ClearSessionGain()			
					</OnClick>				
					<OnEnter>				
						RPH_ShowHelpToolTip(self, self:GetName())			
					</OnEnter>				
					<OnLeave>				
						GameTooltip:Hide();			
					</OnLeave>				
				</Scripts>					
			</Button>						
									
		</Frames>							
	</Frame>								
									
									
<!--> ============================================================================================================== <-->									
	<Button name="RPH_OptionsButton" parent="ReputationFrame" inherits="BrowserButtonTemplate">								
		<Size x="27" y="27" />							
		<Anchors>							
			<Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" >						
				<Offset x="-2" y="-22" />					
			</Anchor>						
		</Anchors>							
		<Layers>
			<Layer level="ARTWORK">
				<Texture parentKey="Icon" file="Interface\Buttons\UI-OptionsButton">
					<Size x="14" y="14"	/>
					<Anchors>
						<Anchor point="CENTER" />
					</Anchors>
				</Texture>
			</Layer>					
		</Layers>							
		<Scripts>							
			<OnClick>						
				if(RPH_OptionsFrame:IsVisible()) then					
					PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_OFF);				
					RPH_OptionsFrame:Hide();				
				else					
					PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON);				
					ReputationDetailFrame:Hide();				
					RPH_ReputationDetailFrame:Hide();				
					RPH_OptionsFrame:Show();				
				end					
			</OnClick>						
			<OnEnter>						
				RPH_ShowHelpToolTip(self, self:GetName())					
			</OnEnter>						
			<OnLeave>						
				GameTooltip:Hide();					
			</OnLeave>						
		</Scripts>							
	</Button>								
									
<!--> ============================================================================================================== <-->									
	<CheckButton name="RPH_OrderByStandingCheckBox" parent="ReputationFrame" inherits="OptionsCheckButtonTemplate">								
		<Size x="26" y="26"/>							
		<Anchors>							
			<Anchor point="TOPLEFT" relativePoint="TOPLEFT">						
				<Offset x="55" y="-20"/>					
			</Anchor>						
		</Anchors>							
		<HitRectInsets>							
			<AbsInset left="0" right="-150" top="0" bottom="0"/>						
		</HitRectInsets>							
		<Scripts>							
			<OnClick>						
				RPH_Data.SortByStanding = self:GetChecked()					
				if ( RPH_Data.SortByStanding ) then					
					PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON);				
				else					
					PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_OFF);				
				end					
				ReputationFrame_Update()					
			</OnClick>						
			<OnEnter>						
				RPH_ShowHelpToolTip(self, self:GetName())					
			</OnEnter>						
			<OnLeave>						
				GameTooltip:Hide();					
			</OnLeave>						
		</Scripts>							
	</CheckButton>								
									
<!--> ============================================================================================================== <-->									
	<FontString name="RPH_OptionText" inherits="GameFontNormal" justifyH="RIGHT" virtual="true">								
		<Color r="0.68" g="0.80" b="1"/>							
		<Size x="250" y="25"/>							
		<Scripts>							
			<OnEnter>RPH_ShowHelpToolTip(self, self:GetName())</OnEnter>						
			<OnLeave>GameTooltip:Hide()</OnLeave>						
		</Scripts>							
	</FontString>								
									
	<Frame name="RPH_OptionsFrame" hidden="true" parent="ReputationFrame">								
		<Size x="450" y="350" />							
		<Anchors>							
			<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">						
				<Offset x="0" y="0" />					
			</Anchor>						
		</Anchors>							
		<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">							
			<BackgroundInsets>						
				<AbsInset left="11" right="12" top="12" bottom="11" />					
			</BackgroundInsets>						
			<TileSize>						
				<AbsValue val="32" />					
			</TileSize>						
			<EdgeSize>						
				<AbsValue val="32" />					
			</EdgeSize>						
		</Backdrop>							
		<Layers>							
			<Layer level="ARTWORK">						
				<!-->Title box<-->					
				<Texture file="Interface\DialogFrame\UI-DialogBox-Header">					
					<Size x="300" y="64"/>				
					<Anchors>				
						<Anchor point="TOP">			
							<Offset x="0" y="12"/>		
						</Anchor>			
					</Anchors>				
				</Texture>					
				<!-->Close box<-->					
				<Texture file="Interface\DialogFrame\UI-DialogBox-Corner">					
					<Anchors>				
						<Anchor point="TOPRIGHT">			
							<Offset x="-5" y="-5"/>		
						</Anchor>			
					</Anchors>				
				</Texture>					
			</Layer>						
			<Layer level="OVERLAY">						
				<!-->Title text<-->					
				<FontString name="$parentTitle" inherits="GameFontNormal">					
					<Anchors>				
						<Anchor point="TOP">			
							<Offset x="0" y="-2"/>		
						</Anchor>			
					</Anchors>				
				</FontString>					
			</Layer>						
		</Layers>							
		<Frames>							
			<!-->Close button<-->						
			<Button name="$parentClose" inherits="UIPanelCloseButton">						
				<Anchors>					
					<Anchor point="CENTER" relativePoint="TOPRIGHT">				
						<Offset x="-17" y="-17"/>			
					</Anchor>				
				</Anchors>					
			</Button>						
									
									
			<CheckButton name="RPH_EnableMissingBox" inherits="OptionsCheckButtonTemplate">						
				<Size x="20" y="20"/>					
						<Anchors>			
					<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">				
						<Offset x="20" y="-30"/>			
								</Anchor>	
				</Anchors>					
				<HitRectInsets>					
					<AbsInset left="0" right="-240" top="0" bottom="0"/>				
				</HitRectInsets>					
				<Layers>					
					<Layer level="ARTWORK">				
						<FontString name="$parentText" inherits="GameFontNormalSmall">			
							<Anchors><Anchor point="LEFT" relativePoint="RIGHT"><Offset x="-2" y="0"/></Anchor></Anchors>		
						</FontString>			
					</Layer>				
				</Layers>					
				<Scripts>					
					<OnClick>				
						RPH_Data.ShowMissing = self:GetChecked()			
						if ( RPH_Data.ShowMissing ) then			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON);		
						else			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_OFF);		
						end	
						ReputationFrame_Update()		
					</OnClick>				
					<OnEnter>				
						RPH_ShowHelpToolTip(self, self:GetName())			
					</OnEnter>				
					<OnLeave>				
						GameTooltip:Hide();			
					</OnLeave>				
				</Scripts>					
			</CheckButton>						
									
			<CheckButton name="RPH_ExtendDetailsBox" inherits="OptionsCheckButtonTemplate">						
				<Size x="20" y="20"/>					
						<Anchors>			
					<Anchor point="TOPLEFT" relativeTo="RPH_EnableMissingBox" relativePoint="BOTTOMLEFT">				
						<Offset x="0" y="-5"/>			
								</Anchor>	
				</Anchors>					
				<HitRectInsets>					
					<AbsInset left="0" right="-240" top="0" bottom="0"/>				
				</HitRectInsets>					
				<Layers>					
					<Layer level="ARTWORK">				
						<FontString name="$parentText" inherits="GameFontNormalSmall">			
							<Anchors><Anchor point="LEFT" relativePoint="RIGHT"><Offset x="-2" y="0"/></Anchor></Anchors>		
						</FontString>			
					</Layer>				
				</Layers>					
				<Scripts>					
					<OnClick>				
						RPH_Data.ExtendDetails = self:GetChecked()			
						if ( RPH_Data.ExtendDetails ) then			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON);		
						else			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_OFF);		
						end			
					</OnClick>				
					<OnEnter>				
						RPH_ShowHelpToolTip(self, self:GetName())			
					</OnEnter>				
					<OnLeave>				
						GameTooltip:Hide();			
					</OnLeave>				
				</Scripts>					
			</CheckButton>						
									
			<CheckButton name="RPH_GainToChatBox" inherits="OptionsCheckButtonTemplate">						
				<Size x="20" y="20"/>					
						<Anchors>			
					<Anchor point="TOPLEFT" relativeTo="RPH_ExtendDetailsBox" relativePoint="BOTTOMLEFT">				
						<Offset x="0" y="-5"/>			
								</Anchor>	
				</Anchors>					
				<HitRectInsets>					
					<AbsInset left="0" right="-240" top="0" bottom="0"/>				
				</HitRectInsets>					
				<Layers>					
					<Layer level="ARTWORK">				
						<FontString name="$parentText" inherits="GameFontNormalSmall">			
							<Anchors><Anchor point="LEFT" relativePoint="RIGHT"><Offset x="-2" y="0"/></Anchor></Anchors>		
						</FontString>			
					</Layer>				
				</Layers>					
				<Scripts>					
					<OnClick>				
						RPH_Data.WriteChatMessage = self:GetChecked()			
						if ( RPH_Data.WriteChatMessage ) then			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON);		
						else			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_OFF);		
						end			
					</OnClick>				
					<OnEnter>				
						RPH_ShowHelpToolTip(self, self:GetName())			
					</OnEnter>				
					<OnLeave>				
						GameTooltip:Hide();			
					</OnLeave>				
				</Scripts>					
			</CheckButton>						
									
			<CheckButton name="RPH_NoGuildGainBox" inherits="OptionsCheckButtonTemplate">						
				<Size x="20" y="20"/>					
						<Anchors>			
					<Anchor point="TOPLEFT" relativeTo="RPH_GainToChatBox" relativePoint="BOTTOMLEFT">				
						<Offset x="20" y="0"/>			
								</Anchor>	
				</Anchors>					
				<HitRectInsets>					
					<AbsInset left="0" right="-240" top="0" bottom="0"/>				
				</HitRectInsets>					
				<Layers>					
					<Layer level="ARTWORK">				
						<FontString name="$parentText" inherits="GameFontNormalSmall">			
							<Anchors><Anchor point="LEFT" relativePoint="RIGHT"><Offset x="-2" y="0"/></Anchor></Anchors>		
						</FontString>			
					</Layer>				
				</Layers>					
				<Scripts>					
					<OnClick>				
						RPH_Data.NoGuildGain = self:GetChecked()			
						if ( RPH_Data.NoGuildGain ) then			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON);		
						else			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_OFF);		
						end			
					</OnClick>				
					<OnEnter>				
						RPH_ShowHelpToolTip(self, self:GetName())			
					</OnEnter>				
					<OnLeave>				
						GameTooltip:Hide();			
					</OnLeave>				
				</Scripts>					
			</CheckButton>						
																				
			<CheckButton name="RPH_ShowPreviewRepBox" inherits="OptionsCheckButtonTemplate">						
				<Size x="20" y="20"/>					
						<Anchors>			
					<Anchor point="TOPLEFT" relativeTo="RPH_NoGuildGainBox" relativePoint="BOTTOMLEFT">				
						<Offset x="-20" y="-5"/>			
					</Anchor>	
				</Anchors>					
				<HitRectInsets>					
					<AbsInset left="0" right="-240" top="0" bottom="0"/>				
				</HitRectInsets>					
				<Layers>					
					<Layer level="ARTWORK">				
						<FontString name="$parentText" inherits="GameFontNormalSmall">			
							<Anchors><Anchor point="LEFT" relativePoint="RIGHT"><Offset x="-2" y="0"/></Anchor></Anchors>		
						</FontString>			
					</Layer>				
				</Layers>					
				<Scripts>					
					<OnClick>				
						RPH_Data.ShowPreviewRep = self:GetChecked()			
						if ( RPH_Data.ShowPreviewRep ) then			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON);		
						else			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_OFF);		
						end			
						ReputationFrame_Update()			
					</OnClick>				
					<OnEnter>				
						RPH_ShowHelpToolTip(self, self:GetName())			
					</OnEnter>				
					<OnLeave>				
						GameTooltip:Hide();			
					</OnLeave>				
				</Scripts>					
			</CheckButton>						
									
			<CheckButton name="RPH_SwitchFactionBarBox" inherits="OptionsCheckButtonTemplate">						
				<Size x="20" y="20"/>					
						<Anchors>			
					<Anchor point="TOPLEFT" relativeTo="RPH_ShowPreviewRepBox" relativePoint="BOTTOMLEFT">				
						<Offset x="0" y="-5"/>			
								</Anchor>	
				</Anchors>					
				<HitRectInsets>					
					<AbsInset left="0" right="-240" top="0" bottom="0"/>				
				</HitRectInsets>					
				<Layers>					
					<Layer level="ARTWORK">				
						<FontString name="$parentText" inherits="GameFontNormalSmall">			
							<Anchors><Anchor point="LEFT" relativePoint="RIGHT"><Offset x="-2" y="0"/></Anchor></Anchors>		
						</FontString>			
					</Layer>				
				</Layers>					
				<Scripts>					
					<OnClick>				
						RPH_Data.SwitchFactionBar = self:GetChecked()			
						if ( RPH_Data.SwitchFactionBar ) then			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON);		
						else			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_OFF);		
						end			
						ReputationFrame_Update()			
					</OnClick>				
					<OnEnter>				
						RPH_ShowHelpToolTip(self, self:GetName())			
					</OnEnter>				
					<OnLeave>				
						GameTooltip:Hide();			
					</OnLeave>				
				</Scripts>					
			</CheckButton>						
									
			<CheckButton name="RPH_SilentSwitchBox" inherits="OptionsCheckButtonTemplate">						
				<Size x="20" y="20"/>					
						<Anchors>			
					<Anchor point="TOPLEFT" relativeTo="RPH_SwitchFactionBarBox" relativePoint="BOTTOMLEFT">				
						<Offset x="20" y="0"/>			
								</Anchor>	
				</Anchors>					
				<HitRectInsets>					
					<AbsInset left="0" right="-240" top="0" bottom="0"/>				
				</HitRectInsets>					
				<Layers>					
					<Layer level="ARTWORK">				
						<FontString name="$parentText" inherits="GameFontNormalSmall">			
							<Anchors><Anchor point="LEFT" relativePoint="RIGHT"><Offset x="-2" y="0"/></Anchor></Anchors>		
						</FontString>			
					</Layer>				
				</Layers>					
				<Scripts>					
					<OnClick>				
						RPH_Data.SilentSwitch = self:GetChecked()			
						if ( RPH_Data.SilentSwitch ) then			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON);		
						else			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_OFF);		
						end			
						ReputationFrame_Update()			
					</OnClick>				
					<OnEnter>				
						RPH_ShowHelpToolTip(self, self:GetName())			
					</OnEnter>				
					<OnLeave>				
						GameTooltip:Hide();			
					</OnLeave>				
				</Scripts>					
			</CheckButton>						
									
			<CheckButton name="RPH_NoGuildSwitchBox" inherits="OptionsCheckButtonTemplate">						
				<Size x="20" y="20"/>					
						<Anchors>			
					<Anchor point="TOPLEFT" relativeTo="RPH_SilentSwitchBox" relativePoint="BOTTOMLEFT">				
						<Offset x="0" y="0"/>			
								</Anchor>	
				</Anchors>					
				<HitRectInsets>					
					<AbsInset left="0" right="-240" top="0" bottom="0"/>				
				</HitRectInsets>					
				<Layers>					
					<Layer level="ARTWORK">				
						<FontString name="$parentText" inherits="GameFontNormalSmall">			
							<Anchors><Anchor point="LEFT" relativePoint="RIGHT"><Offset x="-2" y="0"/></Anchor></Anchors>		
						</FontString>			
					</Layer>				
				</Layers>					
				<Scripts>					
					<OnClick>				
						RPH_Data.NoGuildSwitch = self:GetChecked()			
						if ( RPH_Data.NoGuildSwitch ) then			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON);		
						else			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_OFF);		
						end			
						ReputationFrame_Update()			
					</OnClick>				
					<OnEnter>				
						RPH_ShowHelpToolTip(self, self:GetName())			
					</OnEnter>				
					<OnLeave>				
						GameTooltip:Hide();			
					</OnLeave>				
				</Scripts>					
			</CheckButton>

			<CheckButton name="RPH_EnableParagonBarBox" inherits="OptionsCheckButtonTemplate">						
				<Size x="20" y="20"/>					
				<Anchors>			
					<Anchor point="TOPLEFT" relativeTo="RPH_NoGuildSwitchBox" relativePoint="BOTTOMLEFT">				
						<Offset x="-20" y="0"/>			
					</Anchor>	
				</Anchors>					
				<HitRectInsets>					
					<AbsInset left="0" right="-240" top="0" bottom="0"/>				
				</HitRectInsets>					
				<Layers>					
					<Layer level="ARTWORK">				
						<FontString name="$parentText" inherits="GameFontNormalSmall">			
							<Anchors><Anchor point="LEFT" relativePoint="RIGHT"><Offset x="-2" y="0"/></Anchor></Anchors>		
						</FontString>			
					</Layer>				
				</Layers>					
				<Scripts>					
					<OnClick>				
						RPH_Data.ShowParagonBar = self:GetChecked()			
						if ( RPH_Data.ShowParagonBar ) then			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON);		
						else			
							PlaySound(SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_OFF);		
						end			
						ReputationFrame_Update()			
					</OnClick>				
					<OnEnter>				
						RPH_ShowHelpToolTip(self, self:GetName())			
					</OnEnter>				
					<OnLeave>				
						GameTooltip:Hide();			
					</OnLeave>				
				</Scripts>					
			</CheckButton>							
		</Frames>							
	</Frame>								
									
<!--> ============================================================================================================== <-->									
	<StatusBar name="RPH_PreviewBarTemplate" virtual="true" drawLayer="BACKGROUND" minValue="0" maxValue="1" defaultValue="0">								
		<Size x="101" y="5"/>							
		<HitRectInsets>							
			<AbsInset left="-2" right="-2" top="-2" bottom="-2"/>						
		</HitRectInsets>							
		<BarTexture file="Interface\PaperDollInfoFrame\UI-Character-Skills-Bar"/>							
	</StatusBar>								
									
	<StatusBar name="RPH_StatusBar1" parent="ReputationBar1" inherits="RPH_PreviewBarTemplate">								
		<Anchors><Anchor point="TOPLEFT" relativeTo="ReputationBar1ReputationBar" relativePoint="TOPLEFT"><Offset x="0" y="0"/></Anchor></Anchors>							
	</StatusBar>								
	<StatusBar name="RPH_StatusBar2" parent="ReputationBar2" inherits="RPH_PreviewBarTemplate">								
		<Anchors><Anchor point="TOPLEFT" relativeTo="ReputationBar2ReputationBar" relativePoint="TOPLEFT"><Offset x="0" y="0"/></Anchor></Anchors>							
	</StatusBar>								
	<StatusBar name="RPH_StatusBar3" parent="ReputationBar3" inherits="RPH_PreviewBarTemplate">								
		<Anchors><Anchor point="TOPLEFT" relativeTo="ReputationBar3ReputationBar" relativePoint="TOPLEFT"><Offset x="0" y="0"/></Anchor></Anchors>							
	</StatusBar>								
	<StatusBar name="RPH_StatusBar4" parent="ReputationBar4" inherits="RPH_PreviewBarTemplate">								
		<Anchors><Anchor point="TOPLEFT" relativeTo="ReputationBar4ReputationBar" relativePoint="TOPLEFT"><Offset x="0" y="0"/></Anchor></Anchors>							
	</StatusBar>								
	<StatusBar name="RPH_StatusBar5" parent="ReputationBar5" inherits="RPH_PreviewBarTemplate">								
		<Anchors><Anchor point="TOPLEFT" relativeTo="ReputationBar5ReputationBar" relativePoint="TOPLEFT"><Offset x="0" y="0"/></Anchor></Anchors>							
	</StatusBar>								
									
	<StatusBar name="RPH_StatusBar6" parent="ReputationBar6" inherits="RPH_PreviewBarTemplate">								
		<Anchors><Anchor point="TOPLEFT" relativeTo="ReputationBar6ReputationBar" relativePoint="TOPLEFT"><Offset x="0" y="0"/></Anchor></Anchors>							
	</StatusBar>								
	<StatusBar name="RPH_StatusBar7" parent="ReputationBar7" inherits="RPH_PreviewBarTemplate">								
		<Anchors><Anchor point="TOPLEFT" relativeTo="ReputationBar7ReputationBar" relativePoint="TOPLEFT"><Offset x="0" y="0"/></Anchor></Anchors>							
	</StatusBar>								
	<StatusBar name="RPH_StatusBar8" parent="ReputationBar8" inherits="RPH_PreviewBarTemplate">								
		<Anchors><Anchor point="TOPLEFT" relativeTo="ReputationBar8ReputationBar" relativePoint="TOPLEFT"><Offset x="0" y="0"/></Anchor></Anchors>							
	</StatusBar>								
	<StatusBar name="RPH_StatusBar9" parent="ReputationBar9" inherits="RPH_PreviewBarTemplate">								
		<Anchors><Anchor point="TOPLEFT" relativeTo="ReputationBar9ReputationBar" relativePoint="TOPLEFT"><Offset x="0" y="0"/></Anchor></Anchors>							
	</StatusBar>								
	<StatusBar name="RPH_StatusBar10" parent="ReputationBar10" inherits="RPH_PreviewBarTemplate">								
		<Anchors><Anchor point="TOPLEFT" relativeTo="ReputationBar10ReputationBar" relativePoint="TOPLEFT"><Offset x="0" y="0"/></Anchor></Anchors>							
	</StatusBar>								
									
	<StatusBar name="RPH_StatusBar11" parent="ReputationBar11" inherits="RPH_PreviewBarTemplate">								
		<Anchors><Anchor point="TOPLEFT" relativeTo="ReputationBar11ReputationBar" relativePoint="TOPLEFT"><Offset x="0" y="0"/></Anchor></Anchors>							
	</StatusBar>								
	<StatusBar name="RPH_StatusBar12" parent="ReputationBar12" inherits="RPH_PreviewBarTemplate">								
		<Anchors><Anchor point="TOPLEFT" relativeTo="ReputationBar12ReputationBar" relativePoint="TOPLEFT"><Offset x="0" y="0"/></Anchor></Anchors>							
	</StatusBar>								
	<StatusBar name="RPH_StatusBar13" parent="ReputationBar13" inherits="RPH_PreviewBarTemplate">								
		<Anchors><Anchor point="TOPLEFT" relativeTo="ReputationBar13ReputationBar" relativePoint="TOPLEFT"><Offset x="0" y="0"/></Anchor></Anchors>							
	</StatusBar>								
	<StatusBar name="RPH_StatusBar14" parent="ReputationBar14" inherits="RPH_PreviewBarTemplate">								
		<Anchors><Anchor point="TOPLEFT" relativeTo="ReputationBar14ReputationBar" relativePoint="TOPLEFT"><Offset x="0" y="0"/></Anchor></Anchors>							
	</StatusBar>								
	<StatusBar name="RPH_StatusBar15" parent="ReputationBar15" inherits="RPH_PreviewBarTemplate">								
		<Anchors><Anchor point="TOPLEFT" relativeTo="ReputationBar15ReputationBar" relativePoint="TOPLEFT"><Offset x="0" y="0"/></Anchor></Anchors>							
	</StatusBar>								
									
<!--> ============================================================================================================== <-->									
									
	<!-- Template for a single option "box" containing a checkbox (lifted off Auctionator) -->								
	<Frame name="RPH_SingleOptionTemplate" virtual="true">								
		<Size y="40" />							
		<Anchors>							
			<Anchor point="LEFT" ><Offset x="20"/></Anchor>						
			<Anchor point="RIGHT"><Offset x="-20"/></Anchor>						
		</Anchors>							
									
		<Scripts>							
			<OnEnter>RPH_ShowHelpToolTip(self, self:GetName())</OnEnter>						
			<OnLeave>GameTooltip:Hide()</OnLeave>						
		</Scripts>							
									
		<Frames>							
			<CheckButton name="$parentCB" inherits="UICheckButtonTemplate">						
				<Anchors><Anchor point="TOPLEFT"><Offset x="0" y="0"/></Anchor></Anchors>					
				<Layers>					
					<Layer level="BACKGROUND">				
						<FontString name="$parentText" inherits="GameFontHighlight">			
							<Anchors><Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent"><Offset x="8" y="1"/></Anchor></Anchors>		
						</FontString>			
					</Layer>				
				</Layers>					
				<Scripts>					
					<OnEnter>RPH_ShowHelpToolTip(self, self:GetName())</OnEnter>				
					<OnLeave>GameTooltip:Hide()</OnLeave>				
				</Scripts>					
			</CheckButton>						
		</Frames>							
	</Frame>								
									
	<!-->Interface options frame<-->								
	<Frame name="RepHelperOptions">								
		<Layers>							
			<Layer level="OVERLAY">						
				<FontString name="$parentHeader" inherits="GameFontNormal" justifyH="LEFT">					
					<Anchors><Anchor point="TOPLEFT"><Offset x="10" y="-10"/></Anchor></Anchors>				
				</FontString>					
			</Layer>						
		</Layers>							
		<Frames>							
			<Frame name="RPH_OptionEnableMissing" inherits="RPH_SingleOptionTemplate">						
				<Anchors><Anchor point="TOP"><Offset y="-10"/></Anchor></Anchors>					
			</Frame>						
														
			<Frame name="RPH_OptionExtendDetails" inherits="RPH_SingleOptionTemplate">						
				<Anchors><Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="RPH_OptionEnableMissing"><Offset y="-30"/></Anchor></Anchors>					
			</Frame>						
																
			<Frame name="RPH_OptionGainToChat" inherits="RPH_SingleOptionTemplate">						
				<Anchors><Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="RPH_OptionExtendDetails"><Offset y="-30"/></Anchor></Anchors>					
			</Frame>						
									
			<Frame name="RPH_OptionNoGuildGain" inherits="RPH_SingleOptionTemplate">						
				<Anchors><Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="RPH_OptionGainToChat"><Offset x="25" y="-20"/></Anchor></Anchors>					
			</Frame>						
												
			<Frame name="RPH_OptionShowPreviewRep" inherits="RPH_SingleOptionTemplate">						
				<Anchors><Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="RPH_OptionNoGuildGain"><Offset x="-25" y="-30"/></Anchor></Anchors>					
			</Frame>						
									
			<Frame name="RPH_OptionSwitchFactionBar" inherits="RPH_SingleOptionTemplate">						
				<Anchors><Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="RPH_OptionShowPreviewRep"><Offset y="-30"/></Anchor></Anchors>					
			</Frame>						
									
			<Frame name="RPH_OptionSilentSwitch" inherits="RPH_SingleOptionTemplate">						
				<Anchors><Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="RPH_OptionSwitchFactionBar"><Offset x="25" y="-20"/></Anchor></Anchors>					
			</Frame>						
									
			<Frame name="RPH_OptionNoGuildSwitch" inherits="RPH_SingleOptionTemplate">						
				<Anchors><Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="RPH_OptionSilentSwitch"><Offset x="0" y="-20"/></Anchor></Anchors>					
			</Frame>

			<Frame name="RPH_OptionEnableParagonBar" inherits="RPH_SingleOptionTemplate">						
				<Anchors><Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="RPH_OptionNoGuildSwitch"><Offset x="-25" y="-20"/></Anchor></Anchors>					
			</Frame>							
		</Frames>							
		<Scripts>							
			<OnLoad>RPH_OnLoadOptions(self)</OnLoad>						
			<OnShow>RPH_OnShowOptions(self)</OnShow>						
		</Scripts>							
	</Frame>								
									
<!--> ============================================================================================================== <-->									
<!--									
	<Frame name="RPH_GuildFactionBar" parent="GuildFactionBar">								
		<Layers>							
			<Layer level="ARTWORK">						
				<Texture name="$parentCapMarker" file="Interface\GuildFrame\GuildFrame" hidden="true">					
					<Size x="9" y="16"/>				
					<Anchors><Anchor point="LEFT" relativeTo="GuildFactionBarLeft" relativePoint="RIGHT" x="-4" y="0"/></Anchors>				
					<TexCoords left="0.38378906" right="0.39257813" top="0.95898438" bottom="0.99804688"/>				
				</Texture>					
				<Texture name="$parentBaseMarker" file="Interface\GuildFrame\GuildFrame" hidden="true">					
					<Size x="9" y="16"/>				
					<Anchors><Anchor point="LEFT" relativeTo="GuildFactionBarLeft" relativePoint="RIGHT" x="-4" y="0"/></Anchors>				
					<TexCoords left="0.38378906" right="0.39257813" top="0.95898438" bottom="0.99804688"/>				
				</Texture>					
				<FontString name="$parentCapHeader" inherits="GameFontNormalSmall" justifyH="LEFT">					
					<Anchors><Anchor point="BOTTOMLEFT" relativeTo="GuildFactionBarHeader" relativePoint="TOPLEFT" x="0" y="0"/></Anchors>				
				</FontString>					
				<FontString name="$parentCapText" inherits="GameFontHighlightSmall" justifyH="LEFT">					
					<Anchors><Anchor point="LEFT" relativeTo="$parentCapHeader" relativePoint="RIGHT" x="2" y="0"/></Anchors>				
				</FontString>					
			</Layer>						
		</Layers>							
		<Scripts>							
			<OnLoad>RPH_OnLoadGuildFactionBar(self)</OnLoad>						
			<OnEnter>						
				RPH_ShowHelpToolTip(self, self:GetName())					
			</OnEnter>						
			<OnLeave>						
				GameTooltip:Hide();					
			</OnLeave>						
		</Scripts>							
	</Frame>								
-->									
<!--> ============================================================================================================== <-->									
									
</Ui>