<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="Blizzard_EncounterJournal.lua"/>

	<!-- Tiled textures size=64,512-->
	<Texture name="_FilterButtonUp-Mid" file="Interface\EncounterJournal\UI-EncounterJournalTextures_Tile" virtual="true" horizTile="true" >
		<Size x="64" y="26"/>	
		<TexCoords left="0.00000000" right="1.00000000" top="0.00195313" bottom="0.05273438"/>	
	</Texture>
	<Texture name="_FilterButtonDown-Mid" file="Interface\EncounterJournal\UI-EncounterJournalTextures_Tile" virtual="true" horizTile="true" >
		<Size x="64" y="26"/>	
		<TexCoords left="0.00000000" right="1.00000000" top="0.05664063" bottom="0.10742188"/>	
	</Texture>
	<Texture name="_FilterButtonHighlight-Mid" file="Interface\EncounterJournal\UI-EncounterJournalTextures_Tile" virtual="true" horizTile="true" >
		<Size x="64" y="26"/>	
		<TexCoords left="0.00000000" right="1.00000000" top="0.11132813" bottom="0.16210938"/>	
	</Texture>
	<Texture name="_SearchBarSm" file="Interface\EncounterJournal\UI-EncounterJournalTextures_Tile" virtual="true" horizTile="true" >
		<Size x="64" y="27"/>	
		<TexCoords left="0.00000000" right="1.00000000" top="0.16601563" bottom="0.21875000"/>	
	</Texture>
	<Texture name="_PaperHeader-SelectUp-Mid" file="Interface\EncounterJournal\UI-EncounterJournalTextures_Tile" virtual="true" horizTile="true" >
		<Size x="64" y="29"/>	
		<TexCoords left="0.00000000" right="1.00000000" top="0.22265625" bottom="0.27929688"/>	
	</Texture>
	<Texture name="_PaperHeader-UnSelectDown-Mid" file="Interface\EncounterJournal\UI-EncounterJournalTextures_Tile" virtual="true" horizTile="true" >
		<Size x="64" y="29"/>	
		<TexCoords left="0.00000000" right="1.00000000" top="0.28320313" bottom="0.33984375"/>	
	</Texture>
	<Texture name="_PaperHeader-UnSelectUp-Mid" file="Interface\EncounterJournal\UI-EncounterJournalTextures_Tile" virtual="true" horizTile="true" >
		<Size x="64" y="29"/>	
		<TexCoords left="0.00000000" right="1.00000000" top="0.34375000" bottom="0.40039063"/>	
	</Texture>
	<Texture name="_PaperHeader-SelectDown-Mid" file="Interface\EncounterJournal\UI-EncounterJournalTextures_Tile" virtual="true" horizTile="true" >
		<Size x="64" y="29"/>	
		<TexCoords left="0.00000000" right="1.00000000" top="0.40429688" bottom="0.46093750"/>	
	</Texture>
	<Texture name="_PaperHeader-Highlight-Mid" file="Interface\EncounterJournal\UI-EncounterJournalTextures_Tile" virtual="true" horizTile="true" >
		<Size x="64" y="29"/>	
		<TexCoords left="0.00000000" right="1.00000000" top="0.46484375" bottom="0.52148438"/>	
	</Texture>
	<Texture name="_DungeonGridTab-MidHighlight" file="Interface\EncounterJournal\UI-EncounterJournalTextures_Tile" virtual="true" horizTile="true" >
		<Size x="64" y="36"/>	
		<TexCoords left="0.00000000" right="1.00000000" top="0.52539063" bottom="0.59570313"/>	
	</Texture>
	<Texture name="_DungeonGridTab-MidSelect" file="Interface\EncounterJournal\UI-EncounterJournalTextures_Tile" virtual="true" horizTile="true" >
		<Size x="64" y="36"/>	
		<TexCoords left="0.00000000" right="1.00000000" top="0.59960938" bottom="0.66992188"/>	
	</Texture>
	<Texture name="_DungeonGridTab-Mid" file="Interface\EncounterJournal\UI-EncounterJournalTextures_Tile" virtual="true" horizTile="true" >
		<Size x="64" y="36"/>	
		<TexCoords left="0.00000000" right="1.00000000" top="0.67382813" bottom="0.74414063"/>	
	</Texture>
	<Texture name="_SearchBarLg" file="Interface\EncounterJournal\UI-EncounterJournalTextures_Tile" virtual="true" horizTile="true" >
		<Size x="64" y="49"/>	
		<TexCoords left="0.00000000" right="1.00000000" top="0.74804688" bottom="0.84375000"/>	
	</Texture>

	
	<!--size=512,1024-->
	<Texture name="UI-EJ-AbilityIconBorder" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="20" y="20"/>	
		<TexCoords left="0.00195313" right="0.04101563" top="0.00097656" bottom="0.02050781"/>	
	</Texture>
	<Texture name="UI-EJ-AbilityTextBottomBorder" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="243" y="9"/>	
		<TexCoords left="0.04492188" right="0.51953125" top="0.00097656" bottom="0.00976563"/>	
	</Texture>
	<Texture name="UI-EJ-DungeonGridTab-SelectedGlow" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="64" y="15"/>	
		<TexCoords left="0.52343750" right="0.64843750" top="0.00097656" bottom="0.01562500"/>	
	</Texture>
	<Texture name="UI-EJ-DungeonGridTab-Shadow" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="128" y="15"/>	
		<TexCoords left="0.65234375" right="0.90234375" top="0.00097656" bottom="0.01562500"/>	
	</Texture>
	<Texture name="UI-EJ-ReturnToDefault" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="21" y="20"/>	
		<TexCoords left="0.90625000" right="0.94726563" top="0.00097656" bottom="0.02050781"/>	
	</Texture>
	<Texture name="UI-EJ-AbilityTextBG" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="256" y="80"/>	
		<TexCoords left="0.00195313" right="0.50195313" top="0.02246094" bottom="0.10058594"/>	
	</Texture>
	<Texture name="UI-EJ-BossModelButton" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="64" y="61"/>	
		<TexCoords left="0.50585938" right="0.63085938" top="0.02246094" bottom="0.08203125"/>	
	</Texture>
	<Texture name="UI-EJ-CreatureHeaderFrameSm-bg" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="45" y="44"/>	
		<TexCoords left="0.63476563" right="0.72265625" top="0.02246094" bottom="0.06542969"/>	
	</Texture>
	<Texture name="UI-EJ-FilterButtonDown" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="26" y="26"/>	
		<TexCoords left="0.63476563" right="0.68554688" top="0.06738281" bottom="0.09277344"/>	
	</Texture>
	<Texture name="UI-EJ-CreatureHeaderFrameSm" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="45" y="44"/>	
		<TexCoords left="0.72656250" right="0.81445313" top="0.02246094" bottom="0.06542969"/>	
	</Texture>
	<Texture name="UI-EJ-FilterButtonHighlight" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="26" y="26"/>	
		<TexCoords left="0.72656250" right="0.77734375" top="0.06738281" bottom="0.09277344"/>	
	</Texture>
	<Texture name="UI-EJ-DungeonGridTab-Left" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="12" y="36"/>	
		<TexCoords left="0.81835938" right="0.84179688" top="0.02246094" bottom="0.05761719"/>	
	</Texture>
	<Texture name="UI-EJ-DungeonGridTab-LeftHighlight" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="12" y="36"/>	
		<TexCoords left="0.81835938" right="0.84179688" top="0.05957031" bottom="0.09472656"/>	
	</Texture>
	<Texture name="UI-EJ-DungeonGridTab-LeftSelect" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="12" y="36"/>	
		<TexCoords left="0.84570313" right="0.86914063" top="0.02246094" bottom="0.05761719"/>	
	</Texture>
	<Texture name="UI-EJ-DungeonGridTab-Right" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="12" y="36"/>	
		<TexCoords left="0.84570313" right="0.86914063" top="0.05957031" bottom="0.09472656"/>	
	</Texture>
	<Texture name="UI-EJ-DungeonGridTab-RightHighlight" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="12" y="36"/>	
		<TexCoords left="0.87304688" right="0.89648438" top="0.02246094" bottom="0.05761719"/>	
	</Texture>
	<Texture name="UI-EJ-DungeonGridTab-RightSelect" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="12" y="36"/>	
		<TexCoords left="0.87304688" right="0.89648438" top="0.05957031" bottom="0.09472656"/>	
	</Texture>
	<Texture name="UI-EJ-FilterButtonSelect" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="26" y="26"/>	
		<TexCoords left="0.90039063" right="0.95117188" top="0.02246094" bottom="0.04785156"/>	
	</Texture>
	<Texture name="UI-EJ-SearchIconFrameSm" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="22" y="22"/>	
		<TexCoords left="0.95507813" right="0.99804688" top="0.02246094" bottom="0.04394531"/>	
	</Texture>
	<Texture name="UI-EJ-FilterButtonUp" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="26" y="26"/>	
		<TexCoords left="0.90039063" right="0.95117188" top="0.04980469" bottom="0.07519531"/>	
	</Texture>
	<Texture name="UI-EJ-BossButton-Down" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="325" y="55"/>	
		<TexCoords left="0.00195313" right="0.63671875" top="0.10253906" bottom="0.15625000"/>	
	</Texture>
	<Texture name="UI-EJ-MapButtonSm-Down" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="50" y="50"/>	
		<TexCoords left="0.64062500" right="0.73828125" top="0.10253906" bottom="0.15136719"/>	
	</Texture>
	<Texture name="UI-EJ-MapButtonSm-Highlight" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="50" y="50"/>	
		<TexCoords left="0.74218750" right="0.83984375" top="0.10253906" bottom="0.15136719"/>	
	</Texture>
	<Texture name="UI-EJ-MapButtonSm-Selection" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="50" y="50"/>	
		<TexCoords left="0.84375000" right="0.94140625" top="0.10253906" bottom="0.15136719"/>	
	</Texture>
	<Texture name="UI-EJ-BossButton-Highlight" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="325" y="55"/>	
		<TexCoords left="0.00195313" right="0.63671875" top="0.15820313" bottom="0.21191406"/>	
	</Texture>
	<Texture name="UI-EJ-MapButtonSm-Up" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="50" y="50"/>	
		<TexCoords left="0.64062500" right="0.73828125" top="0.15820313" bottom="0.20703125"/>	
	</Texture>
	<Texture name="UI-EJ-PaperHeader-Highlight-Left" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="64" y="29"/>	
		<TexCoords left="0.74218750" right="0.86718750" top="0.15820313" bottom="0.18652344"/>	
	</Texture>
	<Texture name="UI-EJ-PaperHeader-Highlight-Right" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="64" y="29"/>	
		<TexCoords left="0.87109375" right="0.99609375" top="0.15820313" bottom="0.18652344"/>	
	</Texture>
	<Texture name="UI-EJ-BossButton-Up" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="325" y="55"/>	
		<TexCoords left="0.00195313" right="0.63671875" top="0.21386719" bottom="0.26757813"/>	
	</Texture>
	<Texture name="UI-EJ-PaperHeader-SelectDown-Left" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="64" y="29"/>	
		<TexCoords left="0.64062500" right="0.76562500" top="0.21386719" bottom="0.24218750"/>	
	</Texture>
	<Texture name="UI-EJ-PaperHeader-SelectDown-Right" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="64" y="29"/>	
		<TexCoords left="0.76953125" right="0.89453125" top="0.21386719" bottom="0.24218750"/>	
	</Texture>
	<Texture name="UI-EJ-SearchIconFrameLg" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="38" y="38"/>	
		<TexCoords left="0.89843750" right="0.97265625" top="0.21386719" bottom="0.25097656"/>	
	</Texture>
	<Texture name="UI-EJ-BossNameShadow" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="395" y="63"/>	
		<TexCoords left="0.00195313" right="0.77343750" top="0.26953125" bottom="0.33105469"/>	
	</Texture>
	<Texture name="UI-EJ-MapButtonLg-Down" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="62" y="61"/>	
		<TexCoords left="0.77734375" right="0.89843750" top="0.26953125" bottom="0.32910156"/>	
	</Texture>
	<Texture name="UI-EJ-Tab-BossIcon-Selected" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="48" y="43"/>	
		<TexCoords left="0.90234375" right="0.99609375" top="0.26953125" bottom="0.31152344"/>	
	</Texture>
	<Texture name="UI-EJ-DungeonButton-Down" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="174" y="96"/>	
		<TexCoords left="0.00195313" right="0.34179688" top="0.33300781" bottom="0.42675781"/>	
	</Texture>
	<Texture name="UI-EJ-DungeonButton-Highlight" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="174" y="96"/>	
		<TexCoords left="0.34570313" right="0.68554688" top="0.33300781" bottom="0.42675781"/>	
	</Texture>
	<Texture name="UI-EJ-MapButtonLg-Highlight" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="62" y="61"/>	
		<TexCoords left="0.68945313" right="0.81054688" top="0.33300781" bottom="0.39257813"/>	
	</Texture>
	<Texture name="UI-EJ-MapButtonLg-Select" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="62" y="61"/>	
		<TexCoords left="0.81445313" right="0.93554688" top="0.33300781" bottom="0.39257813"/>	
	</Texture>
	<Texture name="UI-EJ-PaperHeader-SelectUp-Left" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="64" y="29"/>	
		<TexCoords left="0.81445313" right="0.93945313" top="0.39453125" bottom="0.42285156"/>	
	</Texture>
	<Texture name="UI-EJ-DungeonButton-Up" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="174" y="96"/>	
		<TexCoords left="0.00195313" right="0.34179688" top="0.42871094" bottom="0.52246094"/>	
	</Texture>
	<Texture name="UI-EJ-DungeonNameBg" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="256" y="64"/>	
		<TexCoords left="0.34570313" right="0.84570313" top="0.42871094" bottom="0.49121094"/>	
	</Texture>
	<Texture name="UI-EJ-PaperHeader-SelectUp-Right" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="64" y="29"/>	
		<TexCoords left="0.34570313" right="0.47070313" top="0.49316406" bottom="0.52148438"/>	
	</Texture>
	<Texture name="UI-EJ-PaperHeader-UnSelectDown-Left" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="64" y="29"/>	
		<TexCoords left="0.47460938" right="0.59960938" top="0.49316406" bottom="0.52148438"/>	
	</Texture>
	<Texture name="UI-EJ-PaperHeader-UnSelectDown-Right" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="64" y="29"/>	
		<TexCoords left="0.60351563" right="0.72851563" top="0.49316406" bottom="0.52148438"/>	
	</Texture>
	<Texture name="UI-EJ-MapButtonLg-Up" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="62" y="61"/>	
		<TexCoords left="0.84960938" right="0.97070313" top="0.42871094" bottom="0.48828125"/>	
	</Texture>
	<Texture name="UI-EJ-PaperHeader-UnSelectUp-Left" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="64" y="29"/>	
		<TexCoords left="0.84960938" right="0.97460938" top="0.49023438" bottom="0.51855469"/>	
	</Texture>
	<Texture name="UI-EJ-DungeonLootFrame" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="369" y="64"/>	
		<TexCoords left="0.00195313" right="0.72265625" top="0.52441406" bottom="0.58691406"/>	
	</Texture>
	<Texture name="UI-EJ-PaperHeader-UnSelectUp-Right" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="64" y="29"/>	
		<TexCoords left="0.72656250" right="0.85156250" top="0.52441406" bottom="0.55273438"/>	
	</Texture>
	<Texture name="UI-EJ-Tab-BossIcon-UnSelected" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="48" y="43"/>	
		<TexCoords left="0.85546875" right="0.94921875" top="0.52441406" bottom="0.56640625"/>	
	</Texture>
	<Texture name="UI-EJ-FilterBar" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="320" y="28"/>	
		<TexCoords left="0.00195313" right="0.62695313" top="0.58886719" bottom="0.61621094"/>	
	</Texture>
	<Texture name="UI-EJ-SearchBarHighlightSm" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="128" y="27"/>	
		<TexCoords left="0.63085938" right="0.88085938" top="0.58886719" bottom="0.61523438"/>	
	</Texture>
	<Texture name="UI-EJ-LootFrame" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="321" y="45"/>	
		<TexCoords left="0.00195313" right="0.62890625" top="0.61816406" bottom="0.66210938"/>	
	</Texture>
	<Texture name="UI-EJ-Tab-LootIcon-Selected" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="48" y="43"/>	
		<TexCoords left="0.63281250" right="0.72656250" top="0.61816406" bottom="0.66015625"/>	
	</Texture>
	<Texture name="UI-EJ-Tab-LootIcon-UnSelected" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="48" y="43"/>	
		<TexCoords left="0.73046875" right="0.82421875" top="0.61816406" bottom="0.66015625"/>	
	</Texture>
	<Texture name="UI-EJ-LoreTextCover-Bottom" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="386" y="29"/>	
		<TexCoords left="0.00195313" right="0.75585938" top="0.66406250" bottom="0.69238281"/>	
	</Texture>
	<Texture name="UI-EJ-LoreTextCover-Top" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="386" y="32"/>	
		<TexCoords left="0.00195313" right="0.75585938" top="0.69433594" bottom="0.72558594"/>	
	</Texture>
	<Texture name="UI-EJ-MainTextCover-Bottom" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="386" y="43"/>	
		<TexCoords left="0.00195313" right="0.75585938" top="0.72753906" bottom="0.76953125"/>	
	</Texture>
	<Texture name="UI-EJ-MainTextCover-Top" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="386" y="13"/>	
		<TexCoords left="0.00195313" right="0.75585938" top="0.77148438" bottom="0.78417969"/>	
	</Texture>
	<Texture name="UI-EJ-MoreTextBelowHighlight" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="259" y="17"/>	
		<TexCoords left="0.00195313" right="0.50781250" top="0.78613281" bottom="0.80273438"/>	
	</Texture>
	<Texture name="UI-EJ-SearchBarHighlightLg" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="256" y="47"/>	
		<TexCoords left="0.00195313" right="0.50195313" top="0.80468750" bottom="0.85058594"/>	
	</Texture>
	<Texture name="UI-EJ-ShowMapBG" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="171" y="50"/>	
		<TexCoords left="0.00195313" right="0.33593750" top="0.85253906" bottom="0.90136719"/>	
	</Texture>
	<Texture name="UI-EJ-Tab-Highlight" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="63" y="57"/>	
		<TexCoords left="0.00195313" right="0.12500000" top="0.90332031" bottom="0.95898438"/>	
	</Texture>
	<Texture name="UI-EJ-Tab-Selected" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="63" y="57"/>	
		<TexCoords left="0.12890625" right="0.25195313" top="0.90332031" bottom="0.95898438"/>	
	</Texture>
	<Texture name="UI-EJ-Tab-UnSelected" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="63" y="57"/>	
		<TexCoords left="0.25585938" right="0.37890625" top="0.90332031" bottom="0.95898438"/>	
	</Texture>
	<Texture name="UI-EJ-Tab-ModelIcon-Selected" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="48" y="43"/>	
		<TexCoords left="0.8046875" right="0.900390625" top="0.662109375" bottom="0.705078125"/>	
	</Texture>
	<Texture name="UI-EJ-Tab-ModelIcon-UnSelected" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="48" y="43"/>	
		<TexCoords left="0.90234375" right="1" top="0.662109375" bottom="0.705078125"/>	
	</Texture>
	<Texture name="UI-EJ-LeftPageHeader" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="386" y="39"/>	
		<TexCoords left="0.00000000" right="0.755859375" top="0.9599609375" bottom="1"/>	
	</Texture>
	<Texture name="UI-EJ-RightPageHeader" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true" >
		<Size x="386" y="39"/>	
		<TexCoords left="0.755859375" right="0.00000000" top="0.9599609375" bottom="1"/>	
	</Texture>
	<Texture name="UI-EJ-Tab-AbilitiesIcon-Selected" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true">
		<Size x="48" y="43"/>
		<TexCoords left="0.806640625" right="0.8984375" top="0.70703125" bottom="0.748046875"/>
	</Texture>
	<Texture name="UI-EJ-Tab-AbilitiesIcon-UnSelected" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true">
		<Size x="48" y="43"/>
		<TexCoords left="0.904296875" right="0.99609375" top="0.70703125" bottom="0.748046875"/>
	</Texture>
	<Texture name="UI-EJ-Bullet" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true">
		<Size x="16" y="16"/>
		<TexCoords left="0.966796875" right="0.99609375" top="0.7509765625" bottom="0.765625"/>
	</Texture>
	<Texture name="UI-EJ-Header-Overview" file="Interface\EncounterJournal\UI-EncounterJournalTextures" virtual="true">
		<Size x="327" y="30"/>
		<TexCoords left="0.359375" right="0.99609375" top="0.8525390625" bottom="0.880859375"/>
	</Texture>

	<Button name="EncounterInstanceButtonTemplate" virtual="true">
		<Size x="174" y="96"/>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture name="$parentbgImage" parentKey="bgImage">
					<Anchors>
						<Anchor point="TOPLEFT" x="0" y="0"/>
						<Anchor point="BOTTOMRIGHT" x="0" y="0"/>
					</Anchors>
					<TexCoords left="0" right="0.68359375" top="0" bottom="0.7421875"/>	
				</Texture>
			</Layer>
			<Layer level="OVERLAY">
				<Texture name="$parentHeroicIcon" file="Interface\EncounterJournal\UI-EJ-HeroicTextIcon" parentKey="heroicIcon" hidden="true">
					<Anchors>
						<Anchor point="BOTTOMRIGHT" x="-7" y="7"/>
					</Anchors>
				</Texture>
				<FontString name="$parentName" inherits="QuestTitleFontBlackShadow" parentKey="name">
					<Size x="150" y="0"/>
					<Anchors>
						<Anchor point="TOP" x="0" y="-15"/>
					</Anchors>
				</FontString>
				<FontString name="$parentRange" inherits="GameFontNormal" justifyH="LEFT" parentKey="range" text="82-83" hidden="true">
					<Size x="100" y="12"/>
					<Anchors>
						<Anchor point="BOTTOMLEFT" x="7" y="7"/>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<NormalTexture inherits="UI-EJ-DungeonButton-Up">
		</NormalTexture>
		<PushedTexture inherits="UI-EJ-DungeonButton-Down">
		</PushedTexture>
		<HighlightTexture inherits="UI-EJ-DungeonButton-Highlight">
		</HighlightTexture>
		<Scripts>
			<OnEnter>
				if self.itemID then
					GameTooltip:SetOwner(self, "ANCHOR_LEFT");
					GameTooltip:SetItemByID(self.itemID);
					self.showingTooltip = true;
				end
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide();
				self.showingTooltip = false;
			</OnLeave>
			<OnClick>
				if IsModifiedClick("CHATLINK") and ChatEdit_GetActiveWindow() then
					if self.link then
						ChatEdit_InsertLink(self.link);
					end
					return;
				end
				EncounterJournal_DisplayInstance(self.instanceID);
				PlaySound("igSpellBookOpen");
			</OnClick>
		</Scripts>
	</Button>
	
	<Button name="EncounterSearchSMTemplate" virtual="true">
		<Size x="275" y="27"/>
		<Layers>
			<Layer level="OVERLAY" textureSubLevel="2">
				<Texture name="$parentIconFrame" inherits="UI-EJ-SearchIconFrameLg">
					<Size x="21" y="21"/>
					<Anchors>
						<Anchor point="LEFT" x="5" y="1"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="OVERLAY">
				<Texture name="$parentIcon" file="Interface\Icons\Ability_ThunderClap" parentKey="icon">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentIconFrame" x="1" y="-2"/>
						<Anchor point="BOTTOMRIGHT" relativeTo="$parentIconFrame" x="-1" y="1"/>
					</Anchors>
				</Texture>
				<FontString name="$parentName" inherits="GameFontNormalSmall" justifyH="LEFT" parentKey="name" text="ENCOUNTER">
					<Size x="400" y="0"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="$parentIcon" relativePoint="RIGHT" x="5" y="0"/>
						<Anchor point="RIGHT" x="-5" y="0"/>
					</Anchors>
					<Color r="0.96875" g="0.8984375" b="0.578125" a="1"/>
				</FontString>
			</Layer>
		</Layers>
		<NormalTexture inherits="_SearchBarSm">
		</NormalTexture>
		<PushedTexture inherits="_SearchBarSm">
		</PushedTexture>
		<HighlightTexture inherits="UI-EJ-SearchBarHighlightSm">
		</HighlightTexture>
		<Scripts>
			<OnEnter>
				if self.link then
					GameTooltip:SetOwner(self, "ANCHOR_LEFT");
					GameTooltip:SetHyperlink(self.link);
					self.showingTooltip = true;
				end
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide();
				self.showingTooltip = false;
			</OnLeave>
			<OnShow>
				self:SetFrameLevel(self:GetParent():GetFrameLevel() + 10);
			</OnShow>
			<OnClick>
				EncounterJournal_SelectSearch(self:GetID())
				PlaySound("igSpellBookOpen");
			</OnClick>
		</Scripts>
	</Button>
	
	<Button name="EncounterSearchLGTemplate" virtual="true">
		<Size x="575" y="49"/>
		<Layers>
			<Layer level="OVERLAY" textureSubLevel="2">
				<Texture name="$parentIconFrame" inherits="UI-EJ-SearchIconFrameLg">
					<Anchors>
						<Anchor point="LEFT" x="10" y="0"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="OVERLAY">
				<Texture name="$parentIcon" file="Interface\Icons\Ability_ThunderClap" parentKey="icon">
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentIconFrame" x="1" y="-2"/>
						<Anchor point="BOTTOMRIGHT" relativeTo="$parentIconFrame" x="-1" y="1"/>
					</Anchors>
				</Texture>
				<FontString name="$parentName" inherits="GameFontNormalLarge" justifyH="LEFT" parentKey="name" text="ENCOUNTER">
					<Size x="460" y="12"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentIcon" relativePoint="TOPRIGHT" x="10" y="0"/>
					</Anchors>
					<Color r="0.96875" g="0.8984375" b="0.578125" a="1"/>
				</FontString>
				<FontString name="$parentPath" inherits="GameFontNormal" justifyH="LEFT" parentKey="path" text="ENCOUNTER">
					<Size x="400" y="0"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentName" relativePoint="BOTTOMLEFT" x="0" y="-7"/>
					</Anchors>
					<Color r="0.66796875" g="0.51171875" b="0.3359375" a="1"/>
				</FontString>
				<FontString name="$parentType" inherits="GameFontNormal" justifyH="RIGHT" parentKey="resultType" text="ENCOUNTER">
					<Size x="140" y="0"/>
					<Anchors>
						<Anchor point="RIGHT" x="-14" y="0"/>
					</Anchors>
					<Color r="0.66796875" g="0.51171875" b="0.3359375" a="1"/>
				</FontString>
			</Layer>
		</Layers>
		<NormalTexture inherits="_SearchBarLg">
		</NormalTexture>
		<PushedTexture inherits="_SearchBarLg">
		</PushedTexture>
		<HighlightTexture inherits="UI-EJ-SearchBarHighlightLg">
		</HighlightTexture>
		<Scripts>
			<OnEnter>
				if self.link then
					GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
					GameTooltip:SetHyperlink(self.link);
					self.showingTooltip = true;
				end
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide();
				self.showingTooltip = false;
			</OnLeave>		
			<OnClick>
				EncounterJournal_SelectSearch(self:GetID());
				PlaySound("igSpellBookOpen");
			</OnClick>
		</Scripts>
	</Button>
	
	<Button name="EncounterCreatureButtonTemplate" motionScriptsWhileDisabled="true" virtual="true" hidden="true">
		<Size x="64" y="61"/>
		<Layers>
			<Layer level="BACKGROUND" TextureSubLevel="6">
				<Texture name="$parentCreature" parentKey="creature">
					<Size x="40" y="40"/>
					<Anchors>
						<Anchor point="CENTER" x="0" y="0"/>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<NormalTexture inherits="UI-EJ-BossModelButton"/>
		<HighlightTexture inherits="UI-EJ-BossModelButton" alphaMode="ADD"/>
		<Scripts>
			<OnShow>
				self:SetFrameLevel(self:GetParent():GetFrameLevel()+2);
				self:Disable();
				self:Enable();
			</OnShow>
			<OnDisable>
				self:SetSize(64, 61);
				self.creature:SetSize(40, 40);
			</OnDisable>
			<OnEnable>
				self:SetSize(50, 49);
				self.creature:SetSize(30, 30);
			</OnEnable>
			<OnClick>
				EncounterJournal_DisplayCreature(self);
				PlaySound("igMainMenuOption");
			</OnClick>
			<OnEnter>
			
				if self.name then
					GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
					GameTooltip:SetText(self.name,1,1,1);
					if self.description then
						GameTooltip:AddLine(self.description, nil, nil, nil, true);
					end
					GameTooltip:Show();
				end
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide();
			</OnLeave>
		</Scripts>
	</Button>
	
	<Button name="EncounterBossButtonTemplate" virtual="true" hidden="true">
		<Size x="325" y="55"/>
		<Frames>
			<Frame>
				<Size x="1" y="1"/>
				<Anchors>
					<Anchor point="TOPLEFT" x="-4" y="13"/>
				</Anchors>
				<Layers>
					<Layer level="OVERLAY" TextureSubLevel="6">
						<Texture name="$parentCreature" file="Interface\EncounterJournal\UI-EJ-BOSS-Default" parentKey="creature">
							<Size x="128" y="64"/>
							<Anchors>
								<Anchor point="TOPLEFT" x="0" y="0"/>
							</Anchors>
						</Texture>
					</Layer>
				</Layers>
				<Scripts>
					<OnLoad>
						self:GetParent().creature = self.creature;
					</OnLoad>
				</Scripts>
			</Frame>
		</Frames>
		<NormalTexture inherits="UI-EJ-BossButton-Up">
		</NormalTexture>
		<PushedTexture inherits="UI-EJ-BossButton-Down">
		</PushedTexture>
		<HighlightTexture inherits="UI-EJ-BossButton-Highlight">
		</HighlightTexture>
		<ButtonText name="$parentText" parentKey="text" justifyH="LEFT"  justifyV="MIDDLE">
			<Size x="160" y="40"/>
			<Anchors>
				<Anchor point="LEFT" x="105" y="-3"/>
			</Anchors>
			<Color r="0.827" g="0.659" b="0.463"/>
		</ButtonText>
		<NormalFont style="GameFontNormalMed3">
			<Color r="0.827" g="0.659" b="0.463"/>
		</NormalFont>
		<HighlightFont style="GameFontNormalMed3">
			<Color r="0.973" g="0.902" b="0.581"/>
		</HighlightFont>
		<DisabledFont style="GameFontHighlightMedium"/>
		<Scripts>
			<OnClick>
				if IsModifiedClick("CHATLINK") and ChatEdit_GetActiveWindow() then
					if self.link then
						ChatEdit_InsertLink(self.link);
					end
					return;
				end
				EncounterJournal_DisplayEncounter(self.encounterID);
				PlaySound("igAbiliityPageTurn");
			</OnClick>
		</Scripts>
	</Button>
	
	<Button name="EncounterTabTemplate" virtual="true">
		<Size x="63" y="57"/>	
		<NormalTexture inherits="UI-EJ-Tab-UnSelected"/>
		<PushedTexture inherits="UI-EJ-Tab-Selected"/>
		<DisabledTexture inherits="UI-EJ-Tab-UnSelected"/>
		<HighlightTexture inherits="UI-EJ-Tab-Highlight" alphaMode="ADD"/>
		<Scripts>
			<OnClick function="EncounterJournal_TabClicked"/>
			<OnEnter>
				GameTooltip:SetOwner(self, "ANCHOR_CURSOR_RIGHT");
				GameTooltip:SetText(self.tooltip, nil, nil, nil, nil, true);
			</OnEnter>
			<OnLeave function="GameTooltip_Hide"/>
		</Scripts>
	</Button>
	
	<Button name="EncounterDifficultyTemplate" virtual="true">
		<Size x="26" y="26"/>
		<Layers>
			<Layer level="OVERLAY">
				<Texture name="$parentSelected" inherits="UI-EJ-FilterButtonSelect" parentKey="selected" alphaMode="ADD" hidden="true">
					<Anchors>
						<Anchor point="CENTER" x="0" y="0"/>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<NormalTexture inherits="UI-EJ-FilterButtonUp">
		</NormalTexture>
		<PushedTexture inherits="UI-EJ-FilterButtonDown">
		</PushedTexture>
		<HighlightTexture inherits="UI-EJ-FilterButtonHighlight" alphaMode="ADD">
		</HighlightTexture>
		<NormalFont style="GameFontNormalSmall"/>
		<ButtonText>
			<Anchors>
				<Anchor point="CENTER" x="0" y="-1"/>
			</Anchors>
			<Color r="0.973" g="0.902" b="0.581"/>
		</ButtonText>
	</Button>
	
	<Frame name="EncounterSectionIconTemplate" virtual="true">
		<Size x="32" y="32"/>
		<Layers>
			<Layer level="OVERLAY">
				<Texture name="$parentIcon" file="Interface\EncounterJournal\UI-EJ-Icons" parentKey="icon">
					<Size x="32" y="32"/>
					<Anchors>
						<Anchor point="CENTER" x="0" y="0"/>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<Scripts>
			<OnEnter>
				if self.tooltipTitle then
					GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
					GameTooltip:SetText(self.tooltipTitle,1,1,1);
					GameTooltip:AddLine(self.tooltipText, nil, nil, nil, true);
					GameTooltip:Show();
				end
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide();
			</OnLeave>
		</Scripts>
	</Frame>
	
	<Frame name="EncounterOverviewBulletTemplate" parentArray="Bullets" virtual="true">
		<Size x="115" y="15"/>
		<Layers>
			<Layer level="ARTWORK">
				<Texture parentKey="Bullet" inherits="UI-EJ-Bullet">
					<Anchors>
						<Anchor point="TOPLEFT"/>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<Frames>
			<SimpleHTML parentKey="Text">
				<Size x="95" y="10"/>
				<Anchors>
					<Anchor point="TOPLEFT" relativeKey="$parent.Bullet" relativePoint="TOPRIGHT" x="4" y="0"/>
				</Anchors>
				<FontString inherits="GameFontBlack" justifyH="LEFT" justifyV="TOP">
					<Color r="0.25" g="0.1484375" b=".02" a="1"/>
				</FontString>
				<Scripts>
					<OnHyperlinkEnter function="EncounterJournal_OnHyperlinkEnter"/>
					<OnHyperlinkLeave function="GameTooltip_Hide"/>
				</Scripts>
			</SimpleHTML>
		</Frames>
	</Frame>

	<Frame name="EncounterDescriptionTemplate" virtual="true">
		<Frames>
			<SimpleHTML parentKey="Text" setAllPoints="true">
				<FontString inherits="GameFontBlack" justifyH="LEFT" justifyV="TOP">
					<Color r="0.25" g="0.1484375" b=".02" a="1"/>
				</FontString>
				<Scripts>
					<OnHyperlinkEnter function="EncounterJournal_OnHyperlinkEnter"/>
					<OnHyperlinkLeave function="GameTooltip_Hide"/>
				</Scripts>
			</SimpleHTML>
		</Frames>
	</Frame>

	<Frame name="EncounterInfoTemplate" virtual="true">
		<Animations>
			<AnimationGroup parentKey="flashAnim">
				<Alpha target="$parentHeaderButtonGlow" change="1.0" duration="0.6" order="1"/>
				<Alpha target="$parentHeaderButtonGlow" change="-1.0"  duration="0.6" order="2"/>
				<Alpha target="$parentHeaderButtonGlow" change="1.0" duration="0.6" order="3"/>
				<Alpha target="$parentHeaderButtonGlow" change="-1.0"  duration="0.9" order="4"/>
			</AnimationGroup>
		</Animations>
		<Size x="5" y="24"/>
		<Frames>
			<Button name="$parentHeaderButton" parentKey="button">
				<Size x="5" y="24"/>
				<Anchors>
					<Anchor point="TOPLEFT" x="0" y="0"/>
					<Anchor point="RIGHT" x="0" y="0"/>
				</Anchors>
				<Layers>
					<Layer level="OVERLAY">
						<FontString name="$parentExpandedIcon" inherits="GameFontNormalLarge" parentKey="expandedIcon">
							<Size x="12" y="12"/>
							<Anchors>
								<Anchor point="LEFT" x="5" y="0"/>
							</Anchors>
						</FontString>
						<Texture name="$parentAbilityIcon" parentKey="abilityIcon">
							<Size x="18" y="18"/>
							<Anchors>
								<Anchor point="LEFT" relativeTo="$parentExpandedIcon" relativePoint="RIGHT" x="5" y="0"/>
							</Anchors>
						</Texture>
						<FontString name="$parentTitle" inherits="GameFontNormal" parentKey="title" justifyH="LEFT">
							<Size x="5" y="10"/>
							<Anchors>
								<Anchor point="LEFT" relativeTo="$parentAbilityIcon" relativePoint="RIGHT" x="5" y="-1"/>
								<Anchor point="RIGHT" relativeTo="$parentIcon4" relativePoint="LEFT" x="-5" y="0"/>
							</Anchors>
						</FontString>
					</Layer>
					<Layer level="BACKGROUND">
						<Texture name="$parentELeftUp" inherits="UI-EJ-PaperHeader-SelectUp-Left" parentKey="eLeftUp" hidden="true">
							<Anchors>
								<Anchor point="LEFT" x="-1" y="-1"/>
							</Anchors>
						</Texture>
						<Texture name="$parentERightUp" inherits="UI-EJ-PaperHeader-SelectUp-Right" parentKey="eRightUp" hidden="true">
							<Anchors>
								<Anchor point="RIGHT" x="3" y="-1"/>
							</Anchors>
						</Texture>
						<Texture name="$parentELeftDown" inherits="UI-EJ-PaperHeader-SelectDown-Left" parentKey="eLeftDown" hidden="true">
							<Anchors>
								<Anchor point="LEFT" relativeTo="$parentELeftUp" x="0" y="0"/>
							</Anchors>
						</Texture>
						<Texture name="$parentERightDown" inherits="UI-EJ-PaperHeader-SelectDown-Right" parentKey="eRightDown" hidden="true">
							<Anchors>
								<Anchor point="RIGHT" relativeTo="$parentERightUp" x="0" y="0"/>
							</Anchors>
						</Texture>
						<Texture name="$parentCLeftUp" inherits="UI-EJ-PaperHeader-UnSelectUp-Left" parentKey="cLeftUp">
							<Anchors>
								<Anchor point="LEFT" relativeTo="$parentELeftUp" x="0" y="0"/>
							</Anchors>
						</Texture>
						<Texture name="$parentCRightUp" inherits="UI-EJ-PaperHeader-UnSelectUp-Right" parentKey="cRightUp">
							<Anchors>
								<Anchor point="RIGHT" relativeTo="$parentERightUp" x="0" y="0"/>
							</Anchors>
						</Texture>
						<Texture name="$parentCLeftDown" inherits="UI-EJ-PaperHeader-UnSelectDown-Left" parentKey="cLeftDown" hidden="true">
							<Anchors>
								<Anchor point="LEFT" relativeTo="$parentELeftUp" x="0" y="0"/>
							</Anchors>
						</Texture>
						<Texture name="$parentCRightDown" inherits="UI-EJ-PaperHeader-UnSelectDown-Right" parentKey="cRightDown" hidden="true">
							<Anchors>
								<Anchor point="RIGHT" relativeTo="$parentERightUp" x="0" y="0"/>
							</Anchors>
						</Texture>
					</Layer>
					<Layer level="BACKGROUND" textureSubLevel="-2">
						<Texture name="$parentEMidUp" inherits="_PaperHeader-SelectUp-Mid" parentKey="eMidUp" hidden="true">
							<Anchors>
								<Anchor point="LEFT" relativeTo="$parentELeftUp" relativePoint="RIGHT" x="-32" y="0"/>
								<Anchor point="RIGHT" relativeTo="$parentERightUp" relativePoint="LEFT" x="32" y="0"/>
							</Anchors>
						</Texture>
						<Texture name="$parentEMidDown" inherits="_PaperHeader-SelectDown-Mid" parentKey="eMidDown" hidden="true">
							<Anchors>
								<Anchor point="LEFT" relativeTo="$parentELeftDown" relativePoint="RIGHT" x="-32" y="0"/>
								<Anchor point="RIGHT" relativeTo="$parentERightDown" relativePoint="LEFT" x="32" y="0"/>
							</Anchors>
						</Texture>
						<Texture name="$parentCMidUp" inherits="_PaperHeader-UnSelectUp-Mid" parentKey="cMidUp">
							<Anchors>
								<Anchor point="LEFT" relativeTo="$parentELeftUp" relativePoint="RIGHT" x="-32" y="0"/>
								<Anchor point="RIGHT" relativeTo="$parentERightUp" relativePoint="LEFT" x="32" y="0"/>
							</Anchors>
						</Texture>
						<Texture name="$parentCMidDown" inherits="_PaperHeader-UnSelectDown-Mid" parentKey="cMidDown" hidden="true">
							<Anchors>
								<Anchor point="LEFT" relativeTo="$parentELeftDown" relativePoint="RIGHT" x="-32" y="0"/>
								<Anchor point="RIGHT" relativeTo="$parentERightDown" relativePoint="LEFT" x="32" y="0"/>
							</Anchors>
						</Texture>
					</Layer>
					<Layer level="HIGHLIGHT">
						<Texture name="$parentHighlightLeft" inherits="UI-EJ-PaperHeader-Highlight-Left">
							<Anchors>
								<Anchor point="LEFT" x="-1" y="-1"/>
							</Anchors>
						</Texture>
						<Texture name="$parentHighlightRight" inherits="UI-EJ-PaperHeader-Highlight-Right">
							<Anchors>
								<Anchor point="RIGHT" x="3" y="-1"/>
							</Anchors>
						</Texture>
						<Texture name="$parentHighlightMid" inherits="_PaperHeader-Highlight-Mid">
							<Anchors>
								<Anchor point="LEFT" relativeTo="$parentHighlightLeft" relativePoint="RIGHT" x="-32" y="0"/>
								<Anchor point="RIGHT" relativeTo="$parentHighlightRight" relativePoint="LEFT" x="32" y="0"/>
							</Anchors>
						</Texture>
					</Layer>
				</Layers>
				<Frames>
					<Frame name="$parentGlow" alpha="0">
						<Anchors>
							<Anchor point="TOPLEFT" x="0" y="0"/>
							<Anchor point="BOTTOMRIGHT" x="0" y="0"/>
						</Anchors>
						<Layers>
							<Layer level="OVERLAY">
								<Texture name="$parentHighlightLeft" inherits="UI-EJ-PaperHeader-Highlight-Left">
									<Anchors>
										<Anchor point="LEFT" x="-1" y="-1"/>
									</Anchors>
								</Texture>
								<Texture name="$parentHighlightRight" inherits="UI-EJ-PaperHeader-Highlight-Right">
									<Anchors>
										<Anchor point="RIGHT" x="3" y="-1"/>
									</Anchors>
								</Texture>
								<Texture name="$parentHighlightMid" inherits="_PaperHeader-Highlight-Mid">
									<Anchors>
										<Anchor point="LEFT" relativeTo="$parentHighlightLeft" relativePoint="RIGHT" x="-32" y="0"/>
										<Anchor point="RIGHT" relativeTo="$parentHighlightRight" relativePoint="LEFT" x="32" y="0"/>
									</Anchors>
								</Texture>
							</Layer>
						</Layers>
					</Frame>
					<Frame name="$parentIcon1" inherits="EncounterSectionIconTemplate" parentKey="icon1">
						<Anchors>
							<Anchor point="RIGHT" x="5" y="0"/>
						</Anchors>
					</Frame>
					<Frame name="$parentIcon2" inherits="EncounterSectionIconTemplate" parentKey="icon2">
						<Anchors>
							<Anchor point="RIGHT" relativeTo="$parentIcon1" relativePoint="LEFT" x="10" y="0"/>
						</Anchors>
					</Frame>
					<Frame name="$parentIcon3" inherits="EncounterSectionIconTemplate" parentKey="icon3">
						<Anchors>
							<Anchor point="RIGHT" relativeTo="$parentIcon2" relativePoint="LEFT" x="10" y="0"/>
						</Anchors>
					</Frame>
					<Frame name="$parentIcon4" inherits="EncounterSectionIconTemplate" parentKey="icon4">
						<Anchors>
							<Anchor point="RIGHT" relativeTo="$parentIcon3" relativePoint="LEFT" x="19" y="0"/>
						</Anchors>
					</Frame>
					<Button name="$parentPortrait" parentKey="portrait">
						<Size x="26" y="26"/>
						<Anchors>
							<Anchor point="CENTER" relativeTo="$parentAbilityIcon" x="0" y="0"/>
						</Anchors>
						<Layers>
							<Layer level="OVERLAY">
								<Texture name="$parentIcon" parentKey="icon">
									<Size x="26" y="26"/>
									<Anchors>
										<Anchor point="CENTER" x="0" y="0"/>
									</Anchors>
								</Texture>
							</Layer>
							<Layer level="OVERLAY" textureSubLevel="2">
								<Texture name="$parentFrame" inherits="UI-EJ-CreatureHeaderFrameSm">
									<Anchors>
										<Anchor point="CENTER" relativeTo="$parentIcon" x="0" y="0"/>
									</Anchors>
								</Texture>	
							</Layer>
							<Layer level="HIGHLIGHT">
								<Texture name="$parentFrameHighlight" inherits="UI-EJ-CreatureHeaderFrameSm" alphaMode="ADD">
									<Anchors>
										<Anchor point="CENTER" relativeTo="$parentIcon" x="0" y="0"/>
									</Anchors>
								</Texture>	
							</Layer>
						</Layers>
						<Scripts>
							<OnClick>
								if self.displayInfo then
									EncounterJournal.encounter.info.modelTab:Click();
									EncounterJournal_DisplayCreature(self);
								end
								self:Enable();
								PlaySound("igMainMenuOptionCheckBoxOn");
							</OnClick>
						</Scripts>
					</Button>
				</Frames>
				<Scripts>
					<OnLoad>
						self.textures = {
							expanded = { 
								up = {self.eLeftUp, self.eMidUp, self.eRightUp},
								down = {self.eLeftDown, self.eMidDown, self.eRightDown}
							},
							collapsed = { 
								up = {self.cLeftUp, self.cMidUp, self.cRightUp},
								down = {self.cLeftDown, self.cMidDown, self.cRightDown}
							},
						}
						self.tex = self.textures.collapsed;
					</OnLoad>
					<OnShow>
						EncounterJournal_UpdateButtonState(self);
					</OnShow>
					<OnClick>
						if IsModifiedClick("CHATLINK") and ChatEdit_GetActiveWindow() then
							if self.link then
								ChatEdit_InsertLink(self.link);
							end
							return;
						end
					
						EncounterJournal_ToggleHeaders(self:GetParent())
						self:GetScript("OnShow")(self);
						PlaySound("igMainMenuOptionCheckBoxOn");
					</OnClick>
					<OnMouseDown>
						self.tex.up[1]:Hide();
						self.tex.up[2]:Hide();
						self.tex.up[3]:Hide();
						
						self.tex.down[1]:Show();
						self.tex.down[2]:Show();
						self.tex.down[3]:Show();
					</OnMouseDown>
					<OnMouseUp>
						self.tex.up[1]:Show();
						self.tex.up[2]:Show();
						self.tex.up[3]:Show();
						
						self.tex.down[1]:Hide();
						self.tex.down[2]:Hide();
						self.tex.down[3]:Hide();
					</OnMouseUp>
					<OnEnter>
						if ( self.title:IsTruncated() ) then
							GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
							GameTooltip:SetText(self.title:GetText(), nil, nil, nil, nil, true);
						end
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide();
					</OnLeave>
				</Scripts>
			</Button>
			<Frame parentKey="overviewDescription" inherits="EncounterDescriptionTemplate">
				<Size x="95" y="10"/>
				<Anchors>
					<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentHeaderButton" x="0" y="-9"/>
				</Anchors>
			</Frame>
			<Frame inherits="EncounterOverviewBulletTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentHeaderButton" x="13" y="-9"/>
				</Anchors>
			</Frame>
		</Frames>
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="$parentDescription" inherits="GameFontBlack" justifyH="LEFT" parentKey="description">
					<Size x="0" y="0"/>
					<Anchors>
						<Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentHeaderButton" x="0" y="-9"/>
					</Anchors>
					<Color r="0.25" g="0.1484375" b=".02" a="1"/>
				</FontString>
			</Layer>
			<Layer level="BACKGROUND">
				<Texture name="$parentDescriptionBG" inherits="UI-EJ-AbilityTextBG" parentKey="descriptionBG">
					<Size x="12" y="12"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentDescription" x="-9" y="12"/>
						<Anchor point="BOTTOMRIGHT" relativeTo="$parentDescription" x="9" y="-11"/>
					</Anchors>
				</Texture>
				<Texture inherits="UI-EJ-AbilityTextBottomBorder" parentKey="descriptionBGBottom">
					<Anchors>
						<Anchor point="LEFT" relativeTo="$parentDescriptionBG" relativePoint="BOTTOMLEFT" x="0" y="0"/>
						<Anchor point="RIGHT" relativeTo="$parentDescriptionBG" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<Scripts>
			<OnHide>
				self:SetScript("OnUpdate", nil);
			</OnHide>
		</Scripts>
	</Frame>
	
	<Button name="EncounterItemTemplate" virtual="true">
		<Size x="321" y="45"/>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture name="$parentIcon" parentKey="icon">
					<Size x="42" y="42"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="2" y="-2"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="BORDER">
				<Texture inherits="UI-EJ-DungeonLootFrame" parentKey="bossTexture">
					<Anchors>
						<Anchor point="CENTER" x="24" y="0"/>
					</Anchors>
				</Texture>
				<Texture inherits="UI-EJ-LootFrame" parentKey="bosslessTexture">
					<Anchors>
						<Anchor point="CENTER" x="0" y="0"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="OVERLAY">
				<FontString name="$parentName" inherits="GameFontNormalMed3" justifyH="LEFT" parentKey="name">
					<Size x="250" y="12"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentIcon" x="7" y="-7"/>
					</Anchors>
				</FontString>
				<FontString name="$parentArmorClass" inherits="GameFontBlack" justifyH="RIGHT" parentKey="armorType">
					<Size x="0" y="12"/>
					<Anchors>
						<Anchor point="BOTTOMRIGHT" relativeTo="$parentName" relativePoint="TOPLEFT" x="264" y="-30"/>
					</Anchors>
					<Color r="0.25" g="0.1484375" b=".02" a="1"/>
				</FontString>
				<FontString name="$parentSlot" inherits="GameFontBlack" justifyH="LEFT" parentKey="slot">
					<Size x="0" y="12"/>
					<Anchors>
						<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" relativeTo="$parentIcon" x="7" y="5"/>
						<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT" relativeTo="$parentArmorClass" x="-15" y="0"/>
					</Anchors>
					<Color r="0.25" g="0.1484375" b=".02" a="1"/>
				</FontString>
				<FontString name="$parentBoss" inherits="GameFontBlack" justifyH="LEFT" parentKey="boss">
					<Size x="0" y="12"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="$parentIcon" relativePoint="BOTTOMLEFT" y="-3"/>
					</Anchors>
					<Color r="0.25" g="0.1484375" b=".02" a="1"/>
				</FontString>
			</Layer>
		</Layers>
		<Scripts>
			<OnClick>
				if (not HandleModifiedItemClick(self.link)) then
					EncounterJournal_Loot_OnClick(self);
				else
					PlaySound("igMainMenuOption");
				end
			</OnClick>
			<OnEnter>
				GameTooltip:SetOwner(self, "ANCHOR_LEFT");
				EncounterJournal_SetTooltip(self.link);
				self.showingTooltip = true;
				self:SetScript("OnUpdate", EncounterJournal_Loot_OnUpdate);
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide();
				self.showingTooltip = false;
				self:SetScript("OnUpdate", nil);
				ResetCursor();
			</OnLeave>
		</Scripts>
	</Button>

	<Button name="EncounterTierTabTemplate" virtual="true">
		<Size x="120" y="36"/>	
		<HitRectInsets>
			<AbsInset left="-12" right="-12" top="0" bottom="0"/>
		</HitRectInsets>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture name="$parentMid" inherits="_DungeonGridTab-Mid" parentKey="mid" horizTile="true">
					<Anchors>
						<Anchor point="TOPLEFT" x="0" y="0"/>
						<Anchor point="BOTTOMRIGHT" x="0" y="0"/>
					</Anchors>
				</Texture>
				<Texture name="$parentLeft" inherits="UI-EJ-DungeonGridTab-Left" parentKey="left">
					<Anchors>
						<Anchor point="TOPRIGHT" relativePoint="TOPLEFT" x="0" y="0"/>
						<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
					</Anchors>
				</Texture>
				<Texture name="$parentRight" inherits="UI-EJ-DungeonGridTab-Right" parentKey="right">
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="0" y="0"/>
						<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="OVERLAY">	
				<Texture name="$parentMidSelect" inherits="_DungeonGridTab-MidSelect" parentKey="midSelect" horizTile="true" hidden="true">
					<Anchors>
						<Anchor point="TOPLEFT" x="0" y="0"/>
						<Anchor point="BOTTOMRIGHT" x="0" y="0"/>
					</Anchors>
				</Texture>
				<Texture name="$parentLeftSelect" inherits="UI-EJ-DungeonGridTab-LeftSelect" parentKey="leftSelect" hidden="true">
					<Anchors>
						<Anchor point="TOPRIGHT" relativePoint="TOPLEFT" x="0" y="0"/>
						<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
					</Anchors>
				</Texture>
				<Texture name="$parentRightSelect" inherits="UI-EJ-DungeonGridTab-RightSelect" parentKey="rightSelect" hidden="true">
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="0" y="0"/>
						<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
					</Anchors>
				</Texture>
				<Texture name="$parentSelectedGlow" inherits="UI-EJ-DungeonGridTab-SelectedGlow" parentKey="selectedGlow" hidden="true">
					<Anchors>
						<Anchor point="BOTTOMLEFT" x="-18" y="0"/>
						<Anchor point="BOTTOMRIGHT" x="18" y="0"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="HIGHLIGHT">	
				<Texture name="$parentMidHighlight" inherits="_DungeonGridTab-MidHighlight" parentKey="midHighlight" horizTile="true">
					<Anchors>
						<Anchor point="TOPLEFT" x="0" y="0"/>
						<Anchor point="BOTTOMRIGHT" x="0" y="0"/>
					</Anchors>
				</Texture>
				<Texture name="$parentLeftHighlight" inherits="UI-EJ-DungeonGridTab-LeftHighlight" parentKey="leftHighlight">
					<Anchors>
						<Anchor point="TOPRIGHT" relativePoint="TOPLEFT" x="0" y="0"/>
						<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
					</Anchors>
				</Texture>
				<Texture name="$parentRightHighlight" inherits="UI-EJ-DungeonGridTab-RightHighlight" parentKey="rightHighlight">
					<Anchors>
						<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="0" y="0"/>
						<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<Frames>
			<Frame enableMouse="true" parentKey="grayBox" hidden="true">
				<Size x="140" y="55"/>	
				<Anchors>
					<Anchor point="BOTTOM"/>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<Texture>
							<Size x="134" y="26"/>	
							<Anchors>
								<Anchor point="BOTTOM"/>
							</Anchors>
							<Color a="0.6"/>
						</Texture>
					</Layer>
				</Layers>
			</Frame>
		</Frames>
		<NormalFont style="GameFontNormalLarge"/>
		<ButtonText>
			<Anchors>
				<Anchor point="CENTER" x="0" y="-3"/>
			</Anchors>
		</ButtonText>
		<Scripts>
			<OnLoad>
				self.storedHeight = self:GetHeight();
				self:SetHeight(self.storedHeight-4);
			</OnLoad>
			<OnEnable>
				self.leftSelect:Hide();
				self.midSelect:Hide();
				self.rightSelect:Hide();
				self:SetHeight(self.storedHeight-4);
			</OnEnable>
			<OnDisable>
				self.leftSelect:Show();
				self.midSelect:Show();
				self.rightSelect:Show();
				self:SetHeight(self.storedHeight);
			</OnDisable>
		</Scripts>
	</Button>
	


	<Frame name="EncounterJournal" inherits="PortraitFrameTemplate" toplevel="true" enableMouse="true" parent="UIParent" hidden="true">
		<Size x="800" y="496"/>
		<Anchors>
			<Anchor point="CENTER" x="0" y="0"/>
		</Anchors>
		<Frames>
			<EditBox name="$parentSearchBox" inherits="SearchBoxTemplate" parentKey="searchBox" letters="40">
				<Size x="210" y="20"/>
				<Anchors>
					<Anchor point="TOPRIGHT" x="-10" y="-32"/>
				</Anchors>
				<Frames>
					<Button name="$parentSearchButton1" inherits="EncounterSearchSMTemplate" parentKey="sbutton1">
						<Anchors>
							<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" x="0" y="0"/>
							<Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT" x="-5" y="0"/>
						</Anchors>
						<Layers>
							<Layer level="OVERLAY">
								<Texture name="$parentBotLeftCorner" inherits="UI-Frame-BotCornerLeft" parentKey="boarderAnchor">
									<Anchors>
										<Anchor point="LEFT" x="-7" y="0"/>
										<Anchor point="BOTTOM" x="0" y="-5"/>
									</Anchors>
								</Texture>
								<Texture name="$parentBotRightCorner" inherits="UI-Frame-BotCornerRight">
									<Anchors>
										<Anchor point="BOTTOM" relativeTo="$parentBotLeftCorner" x="0" y="0"/>
										<Anchor point="RIGHT" x="4" y="0"/>
									</Anchors>
								</Texture>
								<Texture name="$parentBottomBorder" inherits="_UI-Frame-Bot">
									<Anchors>
										<Anchor point="BOTTOMLEFT" relativeTo="$parentBotLeftCorner" relativePoint="BOTTOMRIGHT" y="0"/>
										<Anchor point="BOTTOMRIGHT" relativeTo="$parentBotRightCorner" relativePoint="BOTTOMLEFT" y="0"/>
									</Anchors>
								</Texture>
								<Texture name="$parentLeftBorder" inherits="!UI-Frame-LeftTile" parentKey="leftBorderBar">
									<Anchors>
										<Anchor point="TOP" x="0" y="1" />
										<Anchor point="BOTTOMLEFT" relativeTo="$parentBotLeftCorner" relativePoint="TOPLEFT"/>
									</Anchors>
								</Texture>
								<Texture name="$parentRightBorder" inherits="!UI-Frame-RightTile">
									<Anchors>
										<Anchor point="TOP" x="0" y="1" />
										<Anchor point="BOTTOMRIGHT" relativeTo="$parentBotRightCorner" relativePoint="TOPRIGHT" x="1" y="0"/>
									</Anchors>
								</Texture>
							</Layer>
						</Layers>
					</Button>
					<Button name="$parentSearchButton2" inherits="EncounterSearchSMTemplate" parentKey="sbutton2">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentSearchButton1" relativePoint="BOTTOMLEFT" x="0" y="0"/>
							<Anchor point="TOPRIGHT" relativeTo="$parentSearchButton1" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
						</Anchors>
					</Button>
					<Button name="$parentSearchButton3" inherits="EncounterSearchSMTemplate" parentKey="sbutton3">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentSearchButton2" relativePoint="BOTTOMLEFT" x="0" y="0"/>
							<Anchor point="TOPRIGHT" relativeTo="$parentSearchButton2" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
						</Anchors>
					</Button>
					<Button name="$parentSearchButton4" inherits="EncounterSearchSMTemplate" parentKey="sbutton4">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentSearchButton3" relativePoint="BOTTOMLEFT" x="0" y="0"/>
							<Anchor point="TOPRIGHT" relativeTo="$parentSearchButton3" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
						</Anchors>
					</Button>
					<Button name="$parentSearchButton5" inherits="EncounterSearchSMTemplate" parentKey="sbutton5">
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentSearchButton4" relativePoint="BOTTOMLEFT" x="0" y="0"/>
							<Anchor point="TOPRIGHT" relativeTo="$parentSearchButton4" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
						</Anchors>
					</Button>
					<Button name="$parentShowALL" parentKey="showAllResults">
						<Size x="275" y="24"/>
						<Anchors>
							<Anchor point="LEFT" relativeTo="$parentSearchButton1" x="0" y="0"/>
							<Anchor point="RIGHT" relativeTo="$parentSearchButton1" x="0" y="0"/>
							<Anchor point="TOP" relativeTo="$parentSearchButton5" relativePoint="BOTTOM" x="0" y="0"/>
						</Anchors>
						<Layers>
							<Layer level="OVERLAY">
								<FontString name="$parentText" inherits="GameFontNormal" justifyH="LEFT" parentKey="text" text="ENCOUNTER">
									<Size x="0" y="0"/>
									<Anchors>
										<Anchor point="CENTER" x="0" y="0"/>
									</Anchors>
								</FontString>
							</Layer>
						</Layers>
						<NormalTexture inherits="_SearchBarSm">
						</NormalTexture>
						<PushedTexture inherits="_SearchBarSm">
						</PushedTexture>
						<HighlightTexture inherits="UI-EJ-SearchBarHighlightSm">
						</HighlightTexture>
						<Scripts>
							<OnShow>
								self:SetFrameLevel(self:GetParent():GetFrameLevel() + 10);
							</OnShow>
							<OnClick>
								EncounterJournal_ShowFullSearch()
								PlaySound("igMainMenuOptionCheckBoxOn");
							</OnClick>
						</Scripts>
					</Button>
				</Frames>
				<Scripts>
					<OnEnterPressed function="EncounterJournal_ShowFullSearch"/>
					<OnTextChanged function="EncounterJournal_OnSearchTextChanged"/>
				</Scripts>
			</EditBox>
			<Frame name="$parentSearchResults" parentKey="searchResults" hidden="true">
				<Size x="600" y="400"/>
				<Anchors>
					<Anchor point="BOTTOM" x="0" y="7"/>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<Texture name="$parentBg" file="Interface\FrameGeneral\UI-Background-Rock" horizTile="true" vertTile="true">
							<Anchors>
								<Anchor point="TOPLEFT" x="0" y="0"/>
								<Anchor point="BOTTOMRIGHT" x="0" y="0"/>
							</Anchors>
							<Color r="0.9" g="0.8" b="0.7" a="1"/>
						</Texture>
					</Layer>
					<Layer level="BORDER">
						<FontString name="$parentTitleText" inherits="GameFontNormal" text="" parentKey="TitleText">
							<Anchors>
								<Anchor point="TOP" x="0" y="-7"/>
								<Anchor point="LEFT" x="60"/>
								<Anchor point="RIGHT" x="-60"/>
							</Anchors>
						</FontString>
						<Texture name="$parentTopLeftCorner" inherits="UI-Frame-TopCornerLeft" parentKey="boarderAnchor">
							<Anchors>
								<Anchor point="TOPLEFT" x="-7" y="4"/>
							</Anchors>
						</Texture>
						<Texture name="$parentTopRightCorner" inherits="UI-Frame-TopCornerRightSimple">
							<Anchors>
								<Anchor point="TOPRIGHT" x="4" y="4"/>
							</Anchors>
						</Texture>
						<Texture name="$parentTopBorder" inherits="_UI-Frame-Top">
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="$parentTopLeftCorner" relativePoint="TOPRIGHT" y="0"/>
								<Anchor point="TOPRIGHT" relativeTo="$parentTopRightCorner" relativePoint="TOPLEFT" y="0"/>
							</Anchors>
						</Texture>
						<Texture name="$parentLeftBorder" inherits="!UI-Frame-LeftTile" parentKey="leftBorderBar">
							<Anchors>
								<Anchor point="BOTTOM" x="0" y="0" />
								<Anchor point="TOPLEFT" relativeTo="$parentTopLeftCorner" relativePoint="BOTTOMLEFT"/>
							</Anchors>
						</Texture>
						<Texture name="$parentRightBorder" inherits="!UI-Frame-RightTile">
							<Anchors>
								<Anchor point="BOTTOM" x="0" y="0" />
								<Anchor point="TOPRIGHT" relativeTo="$parentTopRightCorner" relativePoint="BOTTOMRIGHT" x="1" y="0"/>
							</Anchors>
						</Texture>
					</Layer>
					<Layer level="BORDER" textureSubLevel="-1">
						<Texture name="$parentTopTileStreaks" inherits="_UI-Frame-TopTileStreaks">
							<Anchors>
								<Anchor point="TOPLEFT" x="0" y="0"/>
								<Anchor point="TOPRIGHT" x="0" y="0"/>
							</Anchors>
						</Texture>
					</Layer>
					<Layer level="BORDER" textureSubLevel="1">
						<Texture name="$parentTopLeftCorner2" inherits="UI-Frame-TopCornerLeft" parentKey="boarderAnchor">
							<Anchors>
								<Anchor point="TOPLEFT" x="-7" y="-20"/>
							</Anchors>
						</Texture>
						<Texture name="$parentTopRightCorner2" inherits="UI-Frame-TopCornerRightSimple">
							<Anchors>
								<Anchor point="TOPRIGHT" x="4" y="-20"/>
							</Anchors>
						</Texture>
						<Texture name="$parentTopBorder2" inherits="_UI-Frame-Top">
							<Anchors>
								<Anchor point="TOPLEFT" relativeTo="$parentTopLeftCorner2" relativePoint="TOPRIGHT" y="0"/>
								<Anchor point="TOPRIGHT" relativeTo="$parentTopRightCorner2" relativePoint="TOPLEFT" y="0"/>
							</Anchors>
						</Texture>
					</Layer>
				</Layers>
				<Frames>
					<Button name="$parentCloseButton" inherits="UIPanelCloseButton">
						<Anchors>
							<Anchor point="TOPRIGHT" x="7" y="2"/>
						</Anchors>
						<Scripts>
							<OnClick>
								self:GetParent():Hide();
							</OnClick>
						</Scripts>
					</Button>
					<ScrollFrame name="$parentScrollFrame" parentKey="scrollFrame" inherits="HybridScrollFrameTemplate">
						<Size x="578" y="371"/>
						<Anchors>
							<Anchor point="BOTTOMLEFT" x="1" y="1"/>
						</Anchors>
						<Frames>
							<Slider name="$parentScrollBar" parentKey="scrollBar" inherits="HybridScrollBarTrimTemplate">
								<Anchors>
									<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="0" y="-16"/>
									<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="0" y="14"/>
								</Anchors>
								<Scripts>
									<OnLoad>
										self.trackBG:Show();
										self.trackBG:SetVertexColor(0, 0, 0, 1);
									</OnLoad>
								</Scripts>
							</Slider>
						</Frames>
					</ScrollFrame>
				</Frames>
				<Scripts>
					<OnShow>
						--always on top
						self:SetFrameLevel(self:GetParent():GetFrameLevel()+10);
						PlaySound("igSpellBookOpen");
					</OnShow>
					<OnHide>
						PlaySound("igSpellBookClose");
					</OnHide>
				</Scripts>
			</Frame>
			<Frame name="$parentNavBar" inherits="NavBarTemplate" parentKey="navBar">
				<Size x="500" y="34"/>
				<Anchors>
					<Anchor point="TOPLEFT" x="61" y="-22"/>
				</Anchors>
				<Layers>
					<Layer level="BORDER" textureSubLevel="-5">
						<Texture name="$parentInsetBotLeftCorner" inherits="UI-Frame-InnerBotLeftCorner" parentKey="InsetBorderBottomLeft">
							<Anchors>
								<Anchor point="BOTTOMLEFT"  x="-3" y="-3"/>
							</Anchors>
						</Texture>
						<Texture name="$parentInsetBotRightCorner" inherits="UI-Frame-InnerBotRight" parentKey="InsetBorderBottomRight">
							<Anchors>
								<Anchor point="BOTTOMRIGHT"  x="3" y="-3"/>
							</Anchors>
						</Texture>
						<Texture name="$parentInsetBottomBorder" inherits="_UI-Frame-InnerBotTile" parentKey="InsetBorderBottom">
							<Anchors>
								<Anchor point="BOTTOMLEFT" relativeTo="$parentInsetBotLeftCorner" relativePoint="BOTTOMRIGHT"/>
								<Anchor point="BOTTOMRIGHT" relativeTo="$parentInsetBotRightCorner" relativePoint="BOTTOMLEFT"/>
							</Anchors>
						</Texture>
						<Texture name="$parentInsetLeftBorder" inherits="!UI-Frame-InnerLeftTile" parentKey="InsetBorderLeft">
							<Anchors>
								<Anchor point="TOPLEFT" x="-3" y="0"/>
								<Anchor point="BOTTOMLEFT" relativeTo="$parentInsetBotLeftCorner" relativePoint="TOPLEFT"/>
							</Anchors>
						</Texture>
						<Texture name="$parentInsetRightBorder" inherits="!UI-Frame-InnerRightTile" parentKey="InsetBorderRight">
							<Anchors>
								<Anchor point="TOPRIGHT"  x="3" y="0"/>
								<Anchor point="BOTTOMRIGHT" relativeTo="$parentInsetBotRightCorner" relativePoint="TOPRIGHT"/>
							</Anchors>
						</Texture>	
					</Layer>
				</Layers>
				<Scripts>
					<OnShow>
					</OnShow>
				</Scripts>
			</Frame>
			<Frame name="$parentInset" useParentLevel="true" inherits="InsetFrameTemplate" parentKey="inset">
				<Anchors>
					<Anchor point="TOPRIGHT" x="-4" y="-60" />
					<Anchor point="BOTTOMLEFT" x="4" y="5"/>
				</Anchors>
			</Frame>
			<Frame name="$parentInstanceSelect" parentKey="instanceSelect" useParentLevel="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentInset" x="0" y="-2" />
					<Anchor point="BOTTOMRIGHT" relativeTo="$parentInset" x="-3" y="0"/>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<Texture name="$parentBG" file="Interface\EncounterJournal\UI-EJ-Cataclysm" parentKey="bg">
							<Anchors>
								<Anchor point="TOPLEFT" x="0" y="0"/>
								<Anchor point="BOTTOMRIGHT" x="0" y="0"/>
							</Anchors>
						</Texture>
					</Layer>
					<Layer level="OVERLAY">
						<FontString name="$parentTier" inherits="QuestFont_Super_Huge" text="EXPANSION_NAME3" justifyH="LEFT" parentKey="tier">
							<Size x="0" y="0"/>
							<Anchors>
								<Anchor point="TOPLEFT" x="10" y="-15"/>
							</Anchors>
							<Color r="0.961" g="0.824" b="0.412"/>
						</FontString>
					</Layer>
				</Layers>
				<Frames>
					<Button name="$parentRaidTab" inherits="EncounterTierTabTemplate" text="RAIDS" parentKey="raidsTab">
						<Anchors>
							<Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" x="-35" y="-45"/>
						</Anchors>
						<Scripts>
							<OnClick function="EJRaidTab_OnClick"/>
						</Scripts>
					</Button>
					<Button name="$parentDungeonTab" inherits="EncounterTierTabTemplate" text="DUNGEONS" parentKey="dungeonsTab">
						<Anchors>
							<Anchor point="BOTTOMRIGHT" relativeTo="$parentRaidTab" relativePoint="BOTTOMLEFT" x="-35" y="0"/>
						</Anchors>
						<Scripts>
							<OnClick function="EJDungeonTab_OnClick"/>
						</Scripts>
					</Button>
					<Button name="$parentScrollDownButton" inherits="UIPanelScrollDownButtonTemplate">
						<Size x="32" y="32"/>
						<Anchors>
							<Anchor point="LEFT" relativeTo="$parentTier" relativePoint="RIGHT" x="10" y="0"/>
						</Anchors>
						<Scripts>
							<OnClick> 
								PlaySound("igMainMenuOptionCheckBoxOn");
								ToggleDropDownMenu(1, nil, EJTierDropDown, self:GetName(), 74, 15);
							</OnClick>
						</Scripts>
						<NormalTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Up"/>
						<PushedTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Down"/>
						<DisabledTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Disabled"/>
						<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
					</Button>
					<Frame name="EJTierDropDown" inherits="UIDropDownMenuTemplate">
						<Scripts>
							<OnLoad function="EJTierDropDown_OnLoad"/>
						</Scripts>
					</Frame>
					<ScrollFrame name="$parentScrollFrame" parentKey="scroll" inherits="UIPanelScrollFrameCodeTemplate">
						<Size x="785" y="377"/>
						<Anchors>
							<Anchor point="TOPLEFT" x="5" y="-49"/>
						</Anchors>
						<Frames>
							<Slider name="$parentScrollBar" inherits="MinimalScrollBarTemplate" parentKey="ScrollBar">
								<Anchors>
									<Anchor point="TOPRIGHT" x="0" y="-17"/>
									<Anchor point="BOTTOMRIGHT" x="0" y="17"/>
								</Anchors>
								<Scripts>
									<OnLoad>
										self.trackBG:SetVertexColor(0.2, 0.13, 0.08, 0.25);
									</OnLoad>
								</Scripts>
							</Slider>
						</Frames>
						<ScrollChild>
							<Frame name="$parentScrollChild" parentKey="child">
								<Size x="785" y="375"/>
								<Anchors>
									<Anchor point="TOPLEFT" x="0" y="0"/>
								</Anchors>
								<Frames>
									<Button name="$parentInstanceButton1" inherits="EncounterInstanceButtonTemplate" parentKey="instance1">
										<Anchors>
											<Anchor point="TOPLEFT" x="12" y="-10"/>
										</Anchors>
									</Button>
								</Frames>
							</Frame>
						</ScrollChild>
					</ScrollFrame>
				</Frames>
			</Frame>
			<Frame name="$parentEncounterFrame" parentKey="encounter" hidden="true" useParentLevel="true">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentInset" x="0" y="0" />
					<Anchor point="BOTTOMRIGHT" relativeTo="$parentInset" x="-3" y="0"/>
				</Anchors>
				<Frames>
					<Frame name="$parentInstanceFrame" parentKey="instance">
						<Size x="390" y="425"/>
						<Anchors>
							<Anchor point="BOTTOMRIGHT" x="-1" y="2"/>
						</Anchors>
						<Layers>
							<Layer level="BACKGROUND">
								<Texture name="$parentBG" file="Interface\EncounterJournal\UI-EJ-LOREBG-Default" parentKey="loreBG">
									<Size x="390" y="336"/>
									<Anchors>
										<Anchor point="TOP" x="3" y="-9"/>
									</Anchors>
									<TexCoords left="0" right="0.7617187" top="0" bottom="0.65625"/>
								</Texture>
							</Layer>
							<Layer level="OVERLAY">
								<FontString name="$parentTitle" inherits="QuestFont_Super_Huge" justifyH="CENTER" justifyV="BOTTOM" parentKey="title">
									<Size x="320" y="10"/>
									<Anchors>
										<Anchor point="TOP" x="0" y="-72"/>
									</Anchors>
								</FontString>
							</Layer>
							<Layer level="ARTWORK">
								<Texture inherits="UI-EJ-DungeonNameBg" parentKey="titleBG">
									<Anchors>
										<Anchor point="TOP" relativeTo="$parentBG" x="0" y="-38"/>
									</Anchors>
								</Texture>
							</Layer>
						</Layers>
						<Frames>
							<Button name="$parentMapButton" parentKey="mapButton">
								<Size x="48" y="32"/>
								<Anchors>
									<Anchor point="BOTTOMLEFT" x="33" y="126"/>
								</Anchors>
								<Layers>
									<Layer level="BACKGROUND">
										<Texture name="$parentShadow" inherits="UI-EJ-ShowMapBG">
											<Anchors>
												<Anchor point="LEFT" x="-3" y="5"/>
											</Anchors>
										</Texture>
									</Layer>
									<Layer level="ARTWORK">
										<FontString name="$parentText" font="GameFontNormal" justifyH="LEFT" text="ENCOUNTER_JOURNAL_SHOW_MAP">
											<Size x="0" y="0"/>
											<Anchors>
												<Anchor point="LEFT" relativePoint="RIGHT" x="2" y="0"/>
											</Anchors>
										</FontString>
										<Texture name="$parentTexture" file="Interface\QuestFrame\UI-QuestMap_Button" parentKey="texture">
											<Size x="48" y="32"/>
											<Anchors>
												<Anchor point="RIGHT"/>
											</Anchors>
											<TexCoords left="0.125" right="0.875" top="0.0" bottom="0.5"/>
										</Texture>
									</Layer>
									<Layer level="HIGHLIGHT">
										<Texture name="$parentHighlight" file="Interface\BUTTONS\ButtonHilight-Square" alphaMode="ADD">
											<Size x="36" y="25"/>
											<Anchors>
												<Anchor point="RIGHT" x="-7" y="0"/>
											</Anchors>
										</Texture>
									</Layer>
								</Layers>
								<Scripts>
									<OnClick>
										local _, _, _, _, _, _, dungeonAreaMapID = EJ_GetInstanceInfo();
										if dungeonAreaMapID and dungeonAreaMapID > 0 then
											WorldMapFrame.fromJournal = true;
											ShowUIPanel(WorldMapFrame);
											SetMapByID(dungeonAreaMapID);											
										end
									</OnClick>
									<OnMouseDown>
										self.texture:SetTexCoord(0.125, 0.875, 0.5, 1.0);
									</OnMouseDown>
									<OnMouseUp>
										self.texture:SetTexCoord(0.125, 0.875, 0.0, 0.5);
									</OnMouseUp>
								</Scripts>
							</Button>
							<ScrollFrame name="$parentLoreScrollFrame" parentKey="loreScroll" inherits="UIPanelScrollFrameCodeTemplate">
								<Size x="315" y="102"/>
								<Anchors>
									<Anchor point="BOTTOM" x="0" y="5"/>
								</Anchors>
								<Frames>
									<Slider name="$parentScrollBar" inherits="MinimalScrollBarTemplate" parentKey="ScrollBar">
										<Anchors>
											<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="0" y="-17"/>
											<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="0" y="17"/>
										</Anchors>
										<Scripts>
											<OnLoad>
												self.trackBG:SetVertexColor(0.2, 0.13, 0.08, 0.25);
											</OnLoad>
										</Scripts>
									</Slider>
								</Frames>
								<ScrollChild>
									<Frame name="$parentScrollChild" parentKey="child">
										<Size x="315" y="102"/>
										<Anchors>
											<Anchor point="TOPLEFT" x="0" y="0"/>
										</Anchors>
										<Layers>
											<Layer level="ARTWORK">
												<FontString name="$parentLore" inherits="GameFontBlack" justifyH="LEFT" parentKey="lore">
													<Size x="300" y="0"/>
													<Anchors>
														<Anchor point="TOPLEFT" x="5" y="-5"/>
													</Anchors>
													<Color r="0.13" g="0.07" b=".01" a="1"/>
												</FontString>
											</Layer>
										</Layers>
									</Frame>
								</ScrollChild>
							</ScrollFrame>
						</Frames>
					</Frame>
					<Frame name="$parentInfo" parentKey="info" useParentLevel="true">
						<Size x="785" y="425"/>
						<Anchors>
							<Anchor point="BOTTOMRIGHT" x="-1" y="2"/>
						</Anchors>
						<Layers>
							<Layer level="BACKGROUND">
								<Texture name="$parentBG" file="Interface\EncounterJournal\UI-EJ-JournalBG">
									<Size x="785" y="425"/>
									<Anchors>
										<Anchor point="BOTTOMRIGHT" x="0" y="0"/>
									</Anchors>
									<TexCoords left="0" right="0.766601562" top="0" bottom="0.830078125"/>
								</Texture>
							</Layer>
							<Layer level="BACKGROUND" textureSubLevel="3">
								<Texture name="$parentLeftHeaderShadow" inherits="UI-EJ-LeftPageHeader" parentKey="leftShadow">
									<Anchors>
										<Anchor point="TOPLEFT" x="0" y="-11"/>
									</Anchors>
								</Texture>
								<Texture name="$parentRightHeaderShadow" inherits="UI-EJ-RightPageHeader" parentKey="rightShadow" hidden="true">
									<Anchors>
										<Anchor point="TOPRIGHT" x="0" y="-11"/>
									</Anchors>
								</Texture>
							</Layer>
							<Layer level="OVERLAY">
								<FontString name="$parentEncounterTitle" inherits="GameFontNormalLarge" justifyH="LEFT" parentKey="encounterTitle">
									<Size x="227" y="12"/>
									<Anchors>
										<Anchor point="BOTTOMLEFT" relativePoint="TOPRIGHT" x="-350" y="-36"/>
									</Anchors>
									<Color r="0.902" g="0.788" b="0.671"/>
								</FontString>
								<FontString name="$parentInstanceTitle" inherits="GameFontNormalLarge" justifyH="LEFT" parentKey="instanceTitle">
									<Size x="290" y="12"/>
									<Anchors>
										<Anchor point="TOPLEFT" x="65" y="-20"/>
									</Anchors>
									<Color r="0.902" g="0.788" b="0.671"/>
								</FontString>
							</Layer>
						</Layers>
						<Frames>
							<Button name="$parentInstanceButton" motionScriptsWhileDisabled="true" parentKey="instanceButton">
								<Size x="64" y="61"/>
								<Anchors>
									<Anchor point="TOPLEFT" x="0" y="-3"/>
								</Anchors>
								<Layers>
									<Layer level="BACKGROUND" textureSubLevel="6">
										<Texture name="$parentIcon" parentKey="icon">
											<Size x="40" y="40"/>
											<Anchors>
												<Anchor point="CENTER" x="0" y="0"/>
											</Anchors>
										</Texture>
									</Layer>
								</Layers>
								<NormalTexture inherits="UI-EJ-BossModelButton"/>
								<HighlightTexture inherits="UI-EJ-BossModelButton" alphaMode="ADD"/>
								<Scripts>
									<OnClick function="EncounterJournalInstanceButton_OnClick"/>
								</Scripts>
							</Button>
							<Button name="$parentOverviewTab" inherits="EncounterTabTemplate" useParentLevel="true" parentKey="overviewTab" id="1">								<Anchors>
									<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="-12" y="-35"/>
								</Anchors>
								<Layers>
									<Layer level="OVERLAY">
										<Texture name="$parentUnselect" inherits="UI-EJ-Tab-BossIcon-UnSelected" parentKey="unselected">
											<Anchors>
												<Anchor point="RIGHT" x="-6" y="0"/>
											</Anchors>
										</Texture>
										<Texture name="$parentSelect" inherits="UI-EJ-Tab-BossIcon-Selected" parentKey="selected">
											<Anchors>
												<Anchor point="CENTER" relativeTo="$parentUnselect" x="0" y="0"/>
											</Anchors>
										</Texture>
									</Layer>
								</Layers>
								<Scripts>
									<OnLoad>
										self.tooltip = OVERVIEW;
									</OnLoad>
									<OnClick>
										EncounterJournal_TabClicked(self, button);
										if (not EncounterJournal.encounterID and EncounterJournal.instanceID) then
											EncounterJournal_DisplayInstance(EncounterJournal.instanceID, true);
										end
									</OnClick>
								</Scripts>
							</Button>
							<Button name="$parentLootTab" inherits="EncounterTabTemplate" useParentLevel="true" parentKey="lootTab" id="2">
								<Anchors>
									<Anchor point="TOP" relativeTo="$parentOverviewTab" relativePoint="BOTTOM" x="0" y="2"/>
								</Anchors>
								<Layers>
									<Layer level="OVERLAY">
										<Texture name="$parentUnselect" inherits="UI-EJ-Tab-LootIcon-UnSelected" parentKey="unselected">
											<Anchors>
												<Anchor point="RIGHT" x="-6" y="0"/>
											</Anchors>
										</Texture>
										<Texture name="$parentSelect" inherits="UI-EJ-Tab-LootIcon-Selected" parentKey="selected">
											<Anchors>
												<Anchor point="CENTER" relativeTo="$parentUnselect" x="0" y="0"/>
											</Anchors>
										</Texture>
									</Layer>
								</Layers>
								<Scripts>
									<OnLoad>
										self.tooltip = LOOT_NOUN;
									</OnLoad>
								</Scripts>
							</Button>
							<Button name="$parentBossTab" inherits="EncounterTabTemplate" useParentLevel="true" parentKey="bossTab" id="3">
								<Anchors>
									<Anchor point="TOP" relativeTo="$parentLootTab" relativePoint="BOTTOM" x="0" y="2"/>
								</Anchors>
								<Layers>
									<Layer level="OVERLAY">
										<Texture name="$parentUnselect" inherits="UI-EJ-Tab-AbilitiesIcon-UnSelected" parentKey="unselected">
											<Anchors>
												<Anchor point="RIGHT" x="-6" y="0"/>
											</Anchors>
										</Texture>
										<Texture name="$parentSelect" inherits="UI-EJ-Tab-AbilitiesIcon-Selected" parentKey="selected">
											<Anchors>
												<Anchor point="CENTER" relativeTo="$parentUnselect" x="0" y="0"/>
											</Anchors>
										</Texture>
									</Layer>
								</Layers>
								<Scripts>
									<OnLoad>
										self.tooltip = ABILITIES;
									</OnLoad>
									<OnClick>
										EncounterJournal_TabClicked(self, button);
										if (not EncounterJournal.encounterID and EncounterJournal.instanceID) then
											EncounterJournal_DisplayInstance(EncounterJournal.instanceID, true);
										end
									</OnClick>
								</Scripts>
							</Button>
							<Button name="$parentModelTab" inherits="EncounterTabTemplate" useParentLevel="true" parentKey="modelTab" id="4">
								<Anchors>
									<Anchor point="TOP" relativeTo="$parentBossTab" relativePoint="BOTTOM" x="0" y="2"/>
								</Anchors>
								<Layers>
									<Layer level="OVERLAY">
										<Texture name="$parentUnselect" inherits="UI-EJ-Tab-ModelIcon-UnSelected" parentKey="unselected">
											<Anchors>
												<Anchor point="RIGHT" x="-6" y="0"/>
											</Anchors>
										</Texture>
										<Texture name="$parentSelect" inherits="UI-EJ-Tab-ModelIcon-Selected" parentKey="selected">
											<Anchors>
												<Anchor point="CENTER" relativeTo="$parentUnselect" x="0" y="0"/>
											</Anchors>
										</Texture>
									</Layer>
								</Layers>
								<Scripts>
									<OnLoad>
										self.tooltip = MODEL;
									</OnLoad>
									<OnClick>
										EncounterJournal_TabClicked(self, button)
										EncounterJournal_ShowCreatures()
									</OnClick>
								</Scripts>
							</Button>
							<ScrollFrame name="$parentBossesScrollFrame" useParentLevel="true" parentKey="bossesScroll" inherits="UIPanelScrollFrameCodeTemplate">
								<Size x="363" y="382"/>
								<Anchors>
									<Anchor point="BOTTOMLEFT" x="25" y="1"/>
								</Anchors>
								<Frames>
									<Slider name="$parentScrollBar" inherits="MinimalScrollBarTemplate" parentKey="ScrollBar">
										<Anchors>
											<Anchor point="TOPRIGHT" x="0" y="-17"/>
											<Anchor point="BOTTOMRIGHT" x="0" y="17"/>
										</Anchors>
										<Scripts>
											<OnLoad>
												self.trackBG:SetVertexColor(0.2, 0.13, 0.08, 0.25);
											</OnLoad>
										</Scripts>
									</Slider>
								</Frames>
								<ScrollChild>
									<Frame name="$parentScrollChild" parentKey="child">
										<Size x="320" y="372"/>
										<Anchors>
											<Anchor point="TOPLEFT" x="0" y="0"/>
										</Anchors>
										<Layers>
											<Layer level="ARTWORK">
												<FontString name="$parentDescription" inherits="GameFontBlack" justifyH="LEFT" parentKey="description">
													<Size x="0" y="0"/>
													<Anchors>
														<Anchor point="TOPLEFT" x="2" y="-8"/>
													</Anchors>
													<Color r="0.25" g="0.1484375" b=".02" a="1"/>
												</FontString>
											</Layer>
										</Layers>
									</Frame>
								</ScrollChild>
							</ScrollFrame>
							<Button name="$parentDifficulty" parentKey="difficulty" text="Normal (10)" >
								<Size x="75" y="26"/>
								<Anchors>
									<Anchor point="TOPRIGHT" x="-19" y="-13"/>
								</Anchors>
								<HitRectInsets>
									<AbsInset left="-13" right="-13" top="0" bottom="0"/>
								</HitRectInsets>
								<Layers>
									<Layer level="BACKGROUND" textureSubLevel="2">
										<Texture name="$parentUpLeft" inherits="UI-EJ-FilterButtonUp" parentKey="upLeft">
											<Size x="13" y="26"/>
											<Anchors>
												<Anchor point="RIGHT" relativePoint="LEFT" x="0" y="0"/>
											</Anchors>
										</Texture>
										<Texture name="$parentUpRIGHT" inherits="UI-EJ-FilterButtonUp" parentKey="upRight">
											<Size x="13" y="26"/>
											<Anchors>
												<Anchor point="LEFT" relativePoint="RIGHT" x="0" y="0"/>
											</Anchors>
										</Texture>
									
										<Texture name="$parentDownLeft" inherits="UI-EJ-FilterButtonDown" parentKey="downLeft" hidden="true">
											<Size x="13" y="26"/>
											<Anchors>
												<Anchor point="RIGHT" relativePoint="LEFT" x="0" y="0"/>
											</Anchors>
										</Texture>
										<Texture name="$parentDownRIGHT" inherits="UI-EJ-FilterButtonDown" parentKey="downRight" hidden="true">
											<Size x="13" y="26"/>
											<Anchors>
												<Anchor point="LEFT" relativePoint="RIGHT" x="0" y="0"/>
											</Anchors>
										</Texture>
									</Layer>
									<Layer level="HIGHLIGHT">
										<Texture name="$parentUpLeft" inherits="UI-EJ-FilterButtonHighlight" parentKey="highLeft">
											<Size x="13" y="26"/>
											<Anchors>
												<Anchor point="RIGHT" relativePoint="LEFT" x="0" y="0"/>
											</Anchors>
										</Texture>
										<Texture name="$parentUpRIGHT" inherits="UI-EJ-FilterButtonHighlight" parentKey="highRight">
											<Size x="13" y="26"/>
											<Anchors>
												<Anchor point="LEFT" relativePoint="RIGHT" x="0" y="0"/>
											</Anchors>
										</Texture>
									</Layer>
								</Layers>
								<NormalTexture inherits="_FilterButtonUp-Mid">
								</NormalTexture>
								<PushedTexture inherits="_FilterButtonDown-Mid">
								</PushedTexture>
								<HighlightTexture inherits="_FilterButtonHighlight-Mid">
								</HighlightTexture>
								<NormalFont style="GameFontNormalSmall"/>
								<ButtonText>
									<Size x="80" y="12"/>
									<Anchors>
										<Anchor point="CENTER" x="0" y="0"/>
									</Anchors>
									<Color r="0.973" g="0.902" b="0.581"/>
								</ButtonText>
								<Scripts>
									<OnClick>
										ToggleDropDownMenu(1, nil, self:GetParent().difficultyDD, self, 5, 0);
										PlaySound("igMainMenuOptionCheckBoxOn");
									</OnClick>
									<OnLoad>
										local l, t, _, b, r = self.upLeft:GetTexCoord();
										self.upLeft:SetTexCoord(l, l + (r-l)/2, t, b);
										l, t, _, b, r = self.upRight:GetTexCoord();
										self.upRight:SetTexCoord(l + (r-l)/2, r, t, b);
										
										
										l, t, _, b, r = self.downLeft:GetTexCoord();
										self.downLeft:SetTexCoord(l, l + (r-l)/2, t, b);
										l, t, _, b, r = self.downRight:GetTexCoord();
										self.downRight:SetTexCoord(l + (r-l)/2, r, t, b);
										
										
										l, t, _, b, r = self.highLeft:GetTexCoord();
										self.highLeft:SetTexCoord(l, l + (r-l)/2, t, b);
										l, t, _, b, r = self.highRight:GetTexCoord();
										self.highRight:SetTexCoord(l + (r-l)/2, r, t, b);
									</OnLoad>
									<OnMouseDown>
										self.upLeft:Hide();
										self.upRight:Hide();
									
										self.downLeft:Show();
										self.downRight:Show();
									</OnMouseDown>
									<OnMouseUp>
										self.upLeft:Show();
										self.upRight:Show();
									
										self.downLeft:Hide();
										self.downRight:Hide();
									</OnMouseUp>
								</Scripts>
							</Button>
							<Frame name="$parentDifficultyDD" parentKey="difficultyDD" inherits="UIDropDownMenuTemplate" clampedToScreen="true" hidden="true">
								<Scripts>
									<OnLoad>
										UIDropDownMenu_Initialize(self, EncounterJournal_DifficultyInit, "MENU");
									</OnLoad>
								</Scripts>
							</Frame>
							<Button name="$parentResetButton" parentKey="reset" hidden="true">
								<Size x="26" y="26"/>
								<Anchors>
									<Anchor point="RIGHT" relativeTo="$parentDifficulty" relativePoint="LEFT" x="-10" y="0"/>
								</Anchors>
								<Layers>
									<Layer level="OVERLAY">
										<Texture name="$parentTexture" inherits="UI-EJ-ReturnToDefault">
											<Anchors>
												<Anchor point="CENTER"/>
											</Anchors>
										</Texture>
									</Layer>
								</Layers>
								<NormalTexture inherits="UI-EJ-FilterButtonUp"/>
								<PushedTexture inherits="UI-EJ-FilterButtonDown"/>
								<HighlightTexture inherits="UI-EJ-FilterButtonHighlight" alphaMode="ADD"/>
								<Scripts>
									<OnMouseDown>
										_G[self:GetName().."Texture"]:SetPoint("CENTER", 1, -1);
									</OnMouseDown>
									<OnMouseUp>
										_G[self:GetName().."Texture"]:SetPoint("CENTER", 0, 0);
									</OnMouseUp>
									<OnClick function="EncounterJournal_ResetHeaders"/>
									<OnEnter>
										GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
										GameTooltip:SetText(RETURN_TO_DEFAULT);
									</OnEnter>
									<OnLeave>
										GameTooltip:Hide();
									</OnLeave>
								</Scripts>
							</Button>
							<ScrollFrame name="$parentDetailsScrollFrame" parentKey="detailsScroll" inherits="UIPanelScrollFrameCodeTemplate">
								<Size x="350" y="383"/>
								<Anchors>
									<Anchor point="BOTTOMRIGHT" x="-5" y="1"/>
								</Anchors>
								<Frames>
									<Slider name="$parentScrollBar" inherits="MinimalScrollBarTemplate" parentKey="ScrollBar">
										<Anchors>
											<Anchor point="TOPRIGHT" x="0" y="-17"/>
											<Anchor point="BOTTOMRIGHT" x="0" y="17"/>
										</Anchors>
										<Scripts>
											<OnLoad>
												self.trackBG:SetVertexColor(0.2, 0.13, 0.08, 0.25);
											</OnLoad>
										</Scripts>
									</Slider>
								</Frames>
								<ScrollChild>
									<Frame name="$parentScrollChild" parentKey="child">
										<Size x="320" y="372"/>
										<Anchors>
											<Anchor point="TOPLEFT" x="0" y="0"/>
										</Anchors>
										<Layers>
											<Layer level="ARTWORK">
												<FontString name="$parentDescription" inherits="GameFontBlack" justifyH="LEFT" parentKey="description">
													<Size x="0" y="0"/>
													<Anchors>
														<Anchor point="TOPLEFT" x="2" y="-8"/>
													</Anchors>
													<Color r="0.25" g="0.1484375" b=".02" a="1"/>
												</FontString>
											</Layer>
										</Layers>
									</Frame>
								</ScrollChild>
								<Scripts>
									<OnShow>
										EncounterJournal_HideCreatures();
										EncounterJournal.encounter.info.reset:Show()
										EncounterJournal.encounter.info.lootScroll:Hide()
										EncounterJournal.encounter.info.rightShadow:Show()
										EncounterJournal.encounter.info.encounterTitle:Show();
									</OnShow>
									<OnHide>
										if (not self:GetParent().overviewScroll:IsShown()) then
											EncounterJournal.encounter.info.reset:Hide();
										end
									</OnHide>
								</Scripts>
							</ScrollFrame>
							<ScrollFrame name="$parentOverviewScrollFrame" parentKey="overviewScroll" inherits="UIPanelScrollFrameCodeTemplate">
								<Size x="350" y="383"/>
								<Anchors>
									<Anchor point="BOTTOMRIGHT" x="-5" y="1"/>
								</Anchors>
								<Frames>
									<Slider name="$parentScrollBar" inherits="MinimalScrollBarTemplate" parentKey="ScrollBar">
										<Anchors>
											<Anchor point="TOPRIGHT" x="0" y="-17"/>
											<Anchor point="BOTTOMRIGHT" x="0" y="17"/>
										</Anchors>
										<Scripts>
											<OnLoad>
												self.trackBG:SetVertexColor(0.2, 0.13, 0.08, 0.25);
											</OnLoad>
										</Scripts>
									</Slider>
								</Frames>
								<ScrollChild>
									<Frame name="$parentScrollChild" parentKey="child">
										<Size x="320" y="372"/>
										<Anchors>
											<Anchor point="TOPLEFT" x="0" y="0"/>
										</Anchors>
										<Layers>
											<Layer level="ARTWORK">
												<FontString name="$parentLoreDescription" inherits="GameFontBlack" justifyH="LEFT" parentKey="loreDescription">
													<Size x="0" y="0"/>
													<Anchors>
														<Anchor point="TOPLEFT" x="2" y="-8"/>
													</Anchors>
													<Color r="0.25" g="0.1484375" b=".02" a="1"/>
												</FontString>
												<Texture name="$parentHeader" inherits="UI-EJ-Header-Overview" parentKey="header">
													<Anchors>
														<Anchor point="TOP" relativeKey="$parent.loreDescription" relativePoint="BOTTOM" x="0" y="-6"/>
													</Anchors>
												</Texture>
												<FontString name="$parentTitle" inherits="GameFontNormal" justifyH="LEFT" text="OVERVIEW">
													<Size x="200" y="10"/>
													<Anchors>
														<Anchor point="BOTTOMLEFT" relativeKey="$parent.header" relativePoint="BOTTOMLEFT" x="8" y="6"/>
													</Anchors>
													<Color r="0.929" g="0.788" b="0.620"/>
												</FontString>
											</Layer>
										</Layers>
										<Frames>
											<Frame parentKey="overviewDescription" inherits="EncounterDescriptionTemplate">
												<Size x="95" y="10"/>
												<Anchors>
													<Anchor point="TOP" relativeKey="$parent.header" relativePoint="BOTTOM" x="0" y="-6"/>
												</Anchors>
											</Frame>
										</Frames>
									</Frame>
								</ScrollChild>
								<Scripts>
									<OnShow>
										EncounterJournal_HideCreatures();
										EncounterJournal.encounter.info.reset:Show()
										EncounterJournal.encounter.info.lootScroll:Hide()
										EncounterJournal.encounter.info.rightShadow:Show()
										EncounterJournal.encounter.info.encounterTitle:Show();
									</OnShow>
									<OnHide>
										if (not self:GetParent().detailsScroll:IsShown()) then
											EncounterJournal.encounter.info.reset:Hide()
										end
									</OnHide>
								</Scripts>
							</ScrollFrame>
							<ScrollFrame name="$parentLootScrollFrame" parentKey="lootScroll" inherits="HybridScrollFrameTemplate">
								<Size x="345" y="382"/>
								<Anchors>
									<Anchor point="BOTTOMRIGHT" x="-5" y="1"/>
								</Anchors>
								<Frames>
									<Frame name="$parentClassFilterClearFrame" parentKey="classClearFilter" hidden="true" enableMouse="true">
										<Size x="355" y="28"/>	
										<Anchors>
											<Anchor point="BOTTOM" relativePoint="TOP" x="-10" y="-5"/>
										</Anchors>
										<Layers>
											<Layer level="BACKGROUND">
												<Texture inherits="UI-EJ-FilterBar">
													<Size x="380" y="28"/>	
													<Anchors>
														<Anchor point="CENTER" x="-5" y="0"/>
													</Anchors>
												</Texture>
											</Layer>
											<Layer level="OVERLAY">
												<FontString inherits="GameFontNormalSmall" parentKey="text">
													<Size x="0" y="0"/>
													<Anchors>
														<Anchor point="LEFT" x="25" y="2"/>
													</Anchors>
													<Color r="0.973" g="0.902" b="0.581"/>
												</FontString>
											</Layer>
										</Layers>
										<Frames>
											<Button name="$parentExitButton">
												<Size x="20" y="20"/>
												<Anchors>
													<Anchor point="RIGHT" x="-20" y="2"/>
												</Anchors>
												<Layers>
													<Layer level="ARTWORK">
														<Texture file="Interface\FriendsFrame\ClearBroadcastIcon" alpha="0.8" parentKey="texture">
															<Size x="17" y="17"/>
															<Anchors>
																<Anchor point="TOPLEFT" x="0" y="0"/>
															</Anchors>
														</Texture>
													</Layer>
												</Layers>
												<Scripts>
													<OnEnter>
														self.texture:SetAlpha(1.0);
													</OnEnter>
													<OnLeave>
														self.texture:SetAlpha(0.8);
													</OnLeave>
													<OnMouseDown>
														self.texture:SetPoint("TOPLEFT", 1, -1);
													</OnMouseDown>
													<OnMouseUp>
														self.texture:SetPoint("TOPLEFT", 0, 0);
													</OnMouseUp>
													<OnClick> 
														PlaySound("igMainMenuOptionCheckBoxOn");
														EJ_ResetLootFilter();
														EncounterJournal_LootUpdate();
														self:GetParent():Hide();
													</OnClick>
												</Scripts>
											</Button>
										</Frames>
									</Frame>
									<Button name="$parentFilterToggle" parentKey="filter" text="GEAR_FILTER">
										<Size x="75" y="26"/>
										<HitRectInsets>
											<AbsInset left="-13" right="-13" top="0" bottom="0"/>
										</HitRectInsets>
										<Layers>
											<Layer level="BACKGROUND">
												<Texture name="$parentUpLeft" inherits="UI-EJ-FilterButtonUp" parentKey="upLeft">
													<Size x="13" y="26"/>
													<Anchors>
														<Anchor point="RIGHT" relativePoint="LEFT" x="0" y="0"/>
													</Anchors>
												</Texture>
												<Texture name="$parentUpRIGHT" inherits="UI-EJ-FilterButtonUp" parentKey="upRight">
													<Size x="13" y="26"/>
													<Anchors>
														<Anchor point="LEFT" relativePoint="RIGHT" x="0" y="0"/>
													</Anchors>
												</Texture>
											
												<Texture name="$parentDownLeft" inherits="UI-EJ-FilterButtonDown" parentKey="downLeft" hidden="true">
													<Size x="13" y="26"/>
													<Anchors>
														<Anchor point="RIGHT" relativePoint="LEFT" x="0" y="0"/>
													</Anchors>
												</Texture>
												<Texture name="$parentDownRIGHT" inherits="UI-EJ-FilterButtonDown" parentKey="downRight" hidden="true">
													<Size x="13" y="26"/>
													<Anchors>
														<Anchor point="LEFT" relativePoint="RIGHT" x="0" y="0"/>
													</Anchors>
												</Texture>
											</Layer>
											<Layer level="HIGHLIGHT">
												<Texture name="$parentUpLeft" inherits="UI-EJ-FilterButtonHighlight" parentKey="highLeft">
													<Size x="13" y="26"/>
													<Anchors>
														<Anchor point="RIGHT" relativePoint="LEFT" x="0" y="0"/>
													</Anchors>
												</Texture>
												<Texture name="$parentUpRIGHT" inherits="UI-EJ-FilterButtonHighlight" parentKey="highRight">
													<Size x="13" y="26"/>
													<Anchors>
														<Anchor point="LEFT" relativePoint="RIGHT" x="0" y="0"/>
													</Anchors>
												</Texture>
											</Layer>
										</Layers>
										<NormalTexture inherits="_FilterButtonUp-Mid">
										</NormalTexture>
										<PushedTexture inherits="_FilterButtonDown-Mid">
										</PushedTexture>
										<HighlightTexture inherits="_FilterButtonHighlight-Mid">
										</HighlightTexture>
										<NormalFont style="GameFontNormalSmall"/>
										<ButtonText>
											<Anchors>
												<Anchor point="CENTER" x="0" y="0"/>
											</Anchors>
											<Color r="0.973" g="0.902" b="0.581"/>
										</ButtonText>
										<Scripts>
											<OnClick>
												ToggleDropDownMenu(1, nil, self:GetParent().lootFilter, self, 5, 0);
												PlaySound("igMainMenuOption");
											</OnClick>
											<OnLoad>
												self:SetPoint("TOPLEFT", self:GetParent():GetParent(), "TOPRIGHT", -340, -13);
												
												local l, t, _, b, r = self.upLeft:GetTexCoord();
												self.upLeft:SetTexCoord(l, l + (r-l)/2, t, b);
												l, t, _, b, r = self.upRight:GetTexCoord();
												self.upRight:SetTexCoord(l + (r-l)/2, r, t, b);
												
												
												l, t, _, b, r = self.downLeft:GetTexCoord();
												self.downLeft:SetTexCoord(l, l + (r-l)/2, t, b);
												l, t, _, b, r = self.downRight:GetTexCoord();
												self.downRight:SetTexCoord(l + (r-l)/2, r, t, b);
												
												
												l, t, _, b, r = self.highLeft:GetTexCoord();
												self.highLeft:SetTexCoord(l, l + (r-l)/2, t, b);
												l, t, _, b, r = self.highRight:GetTexCoord();
												self.highRight:SetTexCoord(l + (r-l)/2, r, t, b);
											</OnLoad>
											<OnMouseDown>
												self.upLeft:Hide();
												self.upRight:Hide();
											
												self.downLeft:Show();
												self.downRight:Show();
											</OnMouseDown>
											<OnMouseUp>
												self.upLeft:Show();
												self.upRight:Show();
											
												self.downLeft:Hide();
												self.downRight:Hide();
											</OnMouseUp>
										</Scripts>
									</Button>
									<Frame name="$parentLootFilter" inherits="UIDropDownMenuTemplate" parentKey="lootFilter" hidden="true"/>
		
									<Slider name="$parentScrollBar" inherits="MinimalHybridScrollBarTemplate" parentKey="scrollBar">
										<Anchors>
											<Anchor point="TOPRIGHT" x="0" y="-18"/>
											<Anchor point="BOTTOMRIGHT" x="0" y="17"/>
										</Anchors>
										<Scripts>
											<OnLoad>
												self.trackBG:SetVertexColor(0.2, 0.13, 0.08, 0.25);
											</OnLoad>
										</Scripts>
									</Slider>
								</Frames>
								<Scripts>
									<OnShow>
										EncounterJournal_HideCreatures();
										EncounterJournal.encounter.instance:Hide();
										EncounterJournal.encounter.info.rightShadow:Show()
										EncounterJournal_LootUpdate();
										EncounterJournal.encounter.info.encounterTitle:Hide();
									</OnShow>
								</Scripts>
							</ScrollFrame>
							<PlayerModel name="$parentModelFrame" parentKey="model" inherits="ModelTemplate" >
								<Size x="390" y="423"/>
								<Anchors>
									<Anchor point="BOTTOMRIGHT" x="-3" y="1"/>
								</Anchors>
								<Layers>
									<Layer level="BACKGROUND" textureSubLevel="1">
										<Texture name="$parentDungeonBG" file="Interface\EncounterJournal\UI-EJ-BACKGROUND-Default" parentKey="dungeonBG">
											<Size x="394" y="425"/>
											<Anchors>
												<Anchor point="BOTTOMLEFT" x="0" y="-2"/>
											</Anchors>
											<TexCoords left="0.76953125" right="0" top="0" bottom="0.830078125"/>
										</Texture>
									</Layer>
									<Layer level="OVERLAY">
										<Texture name="$parentShadow" file="Interface\EncounterJournal\UI-EJ-BossModelPaperFrame">
											<Size x="393" y="424"/>
											<Anchors>
												<Anchor point="BOTTOMRIGHT" x="3" y="0"/>
											</Anchors>
											<TexCoords left="0.767578125" right="0" top="0" bottom="0.828125"/>
										</Texture>
									</Layer>
									<Layer level="OVERLAY" textureSubLevel="1">
										<Texture name="$parentTitleBG" inherits="UI-EJ-BossNameShadow">
											<Anchors>
												<Anchor point="BOTTOM" x="0" y="-2"/>
											</Anchors>
										</Texture>
									</Layer>
									<Layer level="OVERLAY" textureSubLevel="2">
										<FontString name="$parentImageTile" inherits="QuestTitleFontBlackShadow" justifyH="CENTER" parentKey="imageTitle">
											<Size x="380" y="10"/>
											<Anchors>
												<Anchor point="BOTTOM" x="0" y="6"/>
											</Anchors>
										</FontString>
										<FontString parentKey="modelDisplayIdLabel" inherits="GameFontNormalSmall" justifyH="LEFT" hidden="true" text="Display ID:">
											<Size x="60" y="0"/>
											<Anchors>
												<Anchor point="BOTTOMLEFT" relativeKey="$parent.imageTitle" relativePoint="TOPLEFT" x="30" y="6"/>
											</Anchors>
										</FontString>
										<FontString parentKey="modelDisplayId" inherits="GameFontHighlightSmall" justifyH="LEFT" wordwrap="true" hidden="true">
											<Size x="320" y="0"/>
											<Anchors>
												<Anchor point="LEFT" relativeKey="$parent.modelDisplayIdLabel" relativePoint="RIGHT" x="2" y="0"/>
											</Anchors>
										</FontString>
										<FontString parentKey="modelName" inherits="GameFontHighlightSmall" justifyH="CENTER" wordwrap="true" hidden="true">
											<Size x="320" y="0"/>
											<Anchors>
												<Anchor point="BOTTOM" relativeKey="$parent.imageTitle" relativePoint="TOP" x="0" y="26"/>
											</Anchors>
										</FontString>
										<FontString parentKey="modelNameLabel" inherits="GameFontNormalSmall" justifyH="LEFT" hidden="true" text="Model Path:">
											<Size x="320" y="0"/>
											<Anchors>
												<Anchor point="BOTTOMLEFT" relativeKey="$parent.modelName" relativePoint="TOPLEFT" x="0" y="6"/>
											</Anchors>
										</FontString>
									</Layer>
								</Layers>
								<Scripts>
									<OnShow>
										EncounterJournal.encounter.info.encounterTitle:Hide();
										EncounterJournal.encounter.info.rightShadow:Hide();
										EncounterJournal.encounter.info.difficulty:Hide();
									</OnShow>
									<OnHide>
										EncounterJournal.encounter.info.difficulty:Show();
									</OnHide>
									<OnLoad>
										Model_OnLoad(self);
										self:SetCamDistanceScale(1.0);
										self:GetParent().imageTitle = self.imageTitle;
									</OnLoad>
								</Scripts>
							</PlayerModel>
							<Button name="$parentCreatureButton1" inherits="EncounterCreatureButtonTemplate" parentArray="creatureButtons">
								<Anchors>
									<Anchor point="TOPLEFT" relativeTo="$parentModelFrame" x="3" y="-35"/>
								</Anchors>
							</Button>
						</Frames>
					</Frame>
				</Frames>
			</Frame>
		</Frames>
		<Scripts>
			<OnShow function="EncounterJournal_OnShow"/>
			<OnHide function="EncounterJournal_OnHide"/>
			<OnLoad function="EncounterJournal_OnLoad"/>
			<OnEvent function="EncounterJournal_OnEvent"/>
		</Scripts>
	</Frame>
</Ui>