<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="UIParent.lua"/>
	<Frame name="RatingMenuFrame" toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" parent="UIParent">
		<Size>
			<AbsDimension x="288" y="224"/>
		</Size>
		<Anchors>
			<Anchor point="CENTER"/>
		</Anchors>
		<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
			<BackgroundInsets>
				<AbsInset left="11" right="12" top="12" bottom="11"/>
			</BackgroundInsets>
			<TileSize>
				<AbsValue val="32"/>
			</TileSize>
			<EdgeSize>
				<AbsValue val="32"/>
			</EdgeSize>
		</Backdrop>
		<Layers>
			<Layer level="ARTWORK">
				<Texture name="RatingMenuFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
					<Size>
						<AbsDimension x="256" y="64"/>
					</Size>
					<Anchors>
						<Anchor point="TOP">
							<Offset>
								<AbsDimension x="0" y="12"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<FontString inherits="GameFontNormal" text="RATINGS_MENU">
					<Anchors>
						<Anchor point="TOP" relativeTo="RatingMenuFrameHeader">
							<Offset>
								<AbsDimension x="0" y="-14"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<Texture name="RatingMenuAge" file="Interface\Glues\Login\Glues-KoreanRating-Age.tga">
					<Size>
						<AbsDimension x="80" y="80"/>
					</Size>
					<Anchors>
						<Anchor point="TOPRIGHT" relativeTo="RatingMenuFrame" relativePoint="TOPRIGHT">
							<Offset x="-10" y="-30"/>
						</Anchor>
					</Anchors>
				</Texture>
				<FontString name="RatingMenuFrameText" inherits="GameFontNormal" justifyH="RIGHT" text="RATINGS_TEXT">
					<Size>
						<AbsDimension x="150" y="80"/>
					</Size>
					<Anchors>
						<Anchor point="TOPRIGHT" relativeTo="RatingMenuAge" relativePoint="TOPLEFT">
							<Offset x="-10" y="0"/>
						</Anchor>
					</Anchors>
				</FontString>
				<Texture name="RatingMenuDrugs" file="Interface\Glues\Login\Glues-KoreanRating-Drugs.tga">
					<Size>
						<AbsDimension x="64" y="64"/>
					</Size>
					<Anchors>
						<Anchor point="BOTTOM">
							<Offset x="32" y="40"/>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="RatingMenuViolence" file="Interface\Glues\Login\Glues-KoreanRating-Violence.tga">
					<Size>
						<AbsDimension x="64" y="64"/>
					</Size>
					<Anchors>
						<Anchor point="RIGHT" relativeTo="RatingMenuDrugs" relativePoint="LEFT">
							<Offset x="0" y="0"/>
						</Anchor>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>
		<Frames>
			<Button name="RatingMenuButtonOkay" inherits="OptionsButtonTemplate" text="OKAY">
				<Size>
					<AbsDimension x="100" y="21"/>
				</Size>
				<Anchors>
					<Anchor point="BOTTOMRIGHT">
						<Offset>
							<AbsDimension x="-16" y="16"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						PlaySound("gsTitleOptionExit");
						HideUIPanel(RatingMenuFrame);
					</OnClick>
				</Scripts>
			</Button>
		</Frames>
		<Scripts>
			<OnHide>
				ShowUIPanel(GameMenuFrame);
				UpdateMicroButtons();
			</OnHide>
			<OnKeyDown>
				if ( key == "ESCAPE" ) then
					PlaySound("gsTitleOptionExit");
					HideUIPanel(RatingMenuFrame);
					MacOptionsFrame_Cancel();
				elseif ( GetBindingFromClick(key) == "SCREENSHOT" ) then
					RunBinding("SCREENSHOT");
				end
			</OnKeyDown>
		</Scripts>
	</Frame>
</Ui>
