<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="CreditsFrame.lua"/>
	<Button name="CreditsSpeedButtonTemplate" virtual="true">
		<Size x="35" y="35"/>
		<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
	</Button>
	<Frame name="CreditsFrame" toplevel="true" parent="GlueParent" setAllPoints="true" enableKeyboard="true" hidden="true">
		<Layers>
			<Layer level="OVERLAY">
				<Texture name="CreditsLogo" file="Interface\Glues\Common\Glues-WoW-MPLogo">
					<Size x="256" y="128"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="3" y="-7"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsArt1">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="0" y="-128"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsArt2">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="CreditsArt1" relativePoint="RIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsArt3">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="CreditsArt2" relativePoint="RIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsArt4">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="CreditsArt3" relativePoint="RIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsArt5">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="TOP" relativeTo="CreditsArt1" relativePoint="BOTTOM"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsArt6">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="CreditsArt5" relativePoint="RIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsArt7">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="CreditsArt6" relativePoint="RIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsArt8">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="CreditsArt7" relativePoint="RIGHT"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="BORDER">
				<Texture name="CreditsBackground1" file="Interface\Glues\Credits\Parchment1">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="0" y="-128"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsBackground2" file="Interface\Glues\Credits\Parchment2">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="CreditsBackground1" relativePoint="RIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsBackground3" file="Interface\Glues\Credits\Parchment3">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="CreditsBackground2" relativePoint="RIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsBackground4" file="Interface\Glues\Credits\Parchment4">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="CreditsBackground3" relativePoint="RIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsBackground5" file="Interface\Glues\Credits\Parchment5">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="TOP" relativeTo="CreditsBackground1" relativePoint="BOTTOM"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsBackground6" file="Interface\Glues\Credits\Parchment6">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="CreditsBackground5" relativePoint="RIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsBackground7" file="Interface\Glues\Credits\Parchment7">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="CreditsBackground6" relativePoint="RIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsBackground8" file="Interface\Glues\Credits\Parchment8">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="CreditsBackground7" relativePoint="RIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsBackground9" file="Interface\Glues\Credits\Parchment4">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="CreditsBackground4" relativePoint="RIGHT"/>
					</Anchors>
					<TexCoords left="1.0" right="0" top="0" bottom="1.0"/>
				</Texture>
				<Texture name="CreditsBackground10" file="Interface\Glues\Credits\Parchment3">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="CreditsBackground9" relativePoint="RIGHT"/>
					</Anchors>
					<TexCoords left="1.0" right="0" top="0" bottom="1.0"/>
				</Texture>
				<Texture name="CreditsBackground11" file="Interface\Glues\Credits\Parchment8">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="CreditsBackground8" relativePoint="RIGHT"/>
					</Anchors>
					<TexCoords left="1.0" right="0" top="0" bottom="1.0"/>
				</Texture>
				<Texture name="CreditsBackground12" file="Interface\Glues\Credits\Parchment7">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="CreditsBackground11" relativePoint="RIGHT"/>
					</Anchors>
					<TexCoords left="1.0" right="0" top="0" bottom="1.0"/>
				</Texture>
				<Texture name="CreditsBorder1" file="Interface\Glues\Credits\Border1">
					<Size x="1408" y="64"/>
					<Anchors>
						<Anchor point="BOTTOMLEFT" relativeTo="CreditsBackground1" relativePoint="TOPLEFT" x="0" y="-10"/>
					</Anchors>
					<TexCoords left="0" right="11" top="0" bottom="1.0"/>
				</Texture>
				<Texture name="CreditsBorder9" file="Interface\Glues\Credits\Border1">
					<Size x="1408" y="64"/>
					<Anchors>
						<Anchor point="TOPLEFT" relativeTo="CreditsBackground5" relativePoint="BOTTOMLEFT" x="0" y="15"/>
					</Anchors>
					<TexCoords left="0" right="11" top="0" bottom="1.0"/>
				</Texture>
			</Layer>
			<Layer level="BACKGROUND">
				<Texture name="UpperBlackBar">
					<Size x="1024" y="128"/>
					<Anchors>
						<Anchor point="TOPLEFT"/>
						<Anchor point="TOPRIGHT"/>
					</Anchors>
					<Color r="0.0" g="0.0" b="0.0"/>
				</Texture>
				<Texture name="LowerBlackBar">
					<Size x="1024" y="126"/>
					<Anchors>
						<Anchor point="BOTTOMLEFT"/>
						<Anchor point="BOTTOMRIGHT"/>
					</Anchors>
					<Color r="0.0" g="0.0" b="0.0"/>
				</Texture>
			</Layer>
			<Layer level="ARTWORK">
				<Texture name="CreditsArtAlt1">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="0" y="-128"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsArtAlt2">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="CreditsArtAlt1" relativePoint="RIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsArtAlt3">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="CreditsArtAlt2" relativePoint="RIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsArtAlt4">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="CreditsArtAlt3" relativePoint="RIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsArtAlt5">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="TOP" relativeTo="CreditsArtAlt1" relativePoint="BOTTOM"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsArtAlt6">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="CreditsArtAlt5" relativePoint="RIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsArtAlt7">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="CreditsArtAlt6" relativePoint="RIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsArtAlt8">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="CreditsArtAlt7" relativePoint="RIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsArtCache1">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="TOPLEFT" x="0" y="-128"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsArtCache2">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="CreditsArtCache1" relativePoint="RIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsArtCache3">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="CreditsArtCache2" relativePoint="RIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsArtCache4">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="CreditsArtCache3" relativePoint="RIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsArtCache5">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="TOP" relativeTo="CreditsArtCache1" relativePoint="BOTTOM"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsArtCache6">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="CreditsArtCache5" relativePoint="RIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsArtCache7">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="CreditsArtCache6" relativePoint="RIGHT"/>
					</Anchors>
				</Texture>
				<Texture name="CreditsArtCache8">
					<Size x="256" y="256"/>
					<Anchors>
						<Anchor point="LEFT" relativeTo="CreditsArtCache7" relativePoint="RIGHT"/>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<Frames>
			<ScrollFrame name="CreditsScrollFrame">
				<Size x="250" y="740"/>
				<Anchors>
					<Anchor point="RIGHT" x="-50" y="0"/>
				</Anchors>
				<Frames>
					<Frame setAllPoints="true">
						<Layers>
							<Layer level="OVERLAY">
								<Texture>
									<Size x="250" y="128"/>
									<Anchors>
										<Anchor point="BOTTOM" x="0" y="-10"/>
									</Anchors>
									<Color r="0" g="0" b="0"/>
									<Gradient orientation="VERTICAL">
										<MinColor r="0" g="1.0" b="0" a="1.0"/>
										<MaxColor r="0" g="1.0" b="0" a="0"/>
									</Gradient>
								</Texture>
								<Texture>
									<Size x="250" y="128"/>
									<Anchors>
										<Anchor point="TOP" x="0" y="10"/>
									</Anchors>
									<Color r="0" g="0" b="0"/>
									<Gradient orientation="VERTICAL">
										<MinColor r="0" g="1.0" b="0" a="0"/>
										<MaxColor r="0" g="1.0" b="0" a="1.0"/>
									</Gradient>
								</Texture>
							</Layer>
						</Layers>
					</Frame>
				</Frames>
				<Scripts>
					<OnScrollRangeChanged>
						CreditsFrame_OnScrollRangeChanged();
					</OnScrollRangeChanged>
				</Scripts>
				<ScrollChild>
					<SimpleHTML name="CreditsText" file="credits.html">
						<Size x="250" y="740"/>
						<FontString inherits="GlueFontHighlightSmall" spacing="2"/>
						<FontStringHeader1 inherits="GlueFontNormalLarge" spacing="4"/>
						<FontStringHeader2 inherits="GlueFontHighlight" spacing="4"/>
					</SimpleHTML>
				</ScrollChild>
			</ScrollFrame>
			<Button name="CreditsFrameSwitchButton1" inherits="GlueButtonSmallTemplateBlue" id="1">
				<Size x="260" y="35"/>
				<Anchors>
					<Anchor point="BOTTOMLEFT" relativeTo="CreditsFrame" x="25" y="45"/>
				</Anchors>
				<Scripts>
					<OnClick>
						CreditsFrame_Switch(self, self:GetID());
					</OnClick>
				</Scripts>
			</Button>
			<Button name="CreditsFrameSwitchButton2" inherits="GlueButtonSmallTemplateBlue" id="2">
				<Size x="260" y="35"/>
				<Anchors>
					<Anchor point="BOTTOMLEFT" relativeTo="CreditsFrame" x="25" y="10"/>
				</Anchors>
				<Scripts>
					<OnClick>
						CreditsFrame_Switch(self, self:GetID());
					</OnClick>
				</Scripts>
			</Button>
			<Button name="$parentRewindButton" inherits="CreditsSpeedButtonTemplate">
				<Anchors>
					<Anchor point="BOTTOM" x="-50" y="20"/>
				</Anchors>
				<Scripts>
					<OnClick>
						CreditsFrame_SetSpeed(CREDITS_SCROLL_RATE_REWIND);
					</OnClick>
				</Scripts>
				<NormalTexture file="Interface\TimeManager\RWButton"/>
			</Button>
			<Button name="$parentPauseButton" inherits="CreditsSpeedButtonTemplate">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentRewindButton" relativePoint="RIGHT" x="5" y="0"/>
				</Anchors>
				<Scripts>
					<OnClick>
						CreditsFrame_SetSpeed(CREDITS_SCROLL_RATE_PAUSE);
					</OnClick>
				</Scripts>
				<NormalTexture file="Interface\TimeManager\PauseButton"/>
			</Button>
			<Button name="$parentPlayButton" inherits="CreditsSpeedButtonTemplate">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentPauseButton" relativePoint="RIGHT" x="5" y="0"/>
				</Anchors>
				<Scripts>
					<OnClick>
						CreditsFrame_SetSpeed(CREDITS_SCROLL_RATE_PLAY);
					</OnClick>
				</Scripts>
				<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
			</Button>
			<Button name="$parentFastForwardButton" inherits="CreditsSpeedButtonTemplate">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentPlayButton" relativePoint="RIGHT" x="5" y="0"/>
				</Anchors>
				<Scripts>
					<OnClick>
						CreditsFrame_SetSpeed(CREDITS_SCROLL_RATE_FASTFORWARD);
					</OnClick>
				</Scripts>
				<NormalTexture file="Interface\TimeManager\FFButton"/>
			</Button>
		</Frames>
		<Scripts>
			<OnShow>
				CreditsFrame_OnShow(self);
			</OnShow>
			<OnHide>
				ShowCursor();
			</OnHide>
			<OnUpdate>
				CreditsFrame_OnUpdate(self, elapsed);
			</OnUpdate>
			<OnKeyDown>
				CreditsFrame_OnKeyDown(key);
			</OnKeyDown>
		</Scripts>
	</Frame>
</Ui>