<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<Script file="Minimap.lua"/>
	<Frame name="EyeTemplate" virtual="true" hidden="true">
		<Size>
			<AbsDimension x="45" y="45"/>
		</Size>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture name="$parentTexture" setAllPoints="true" file="Interface\LFGFrame\LFG-Eye"/>
			</Layer>
		</Layers>
		<Scripts>
			<OnUpdate>
				AnimateTexCoords(getglobal(self:GetName().."Texture"), 512, 256, 64, 64, 29, elapsed)
			</OnUpdate>
		</Scripts>
	</Frame>
	<Button name="MiniMapButtonTemplate" virtual="true">
		<Scripts>
			<OnHide>
				if self.isDown then
					MinimapButton_OnMouseUp(self);
				end
			</OnHide>
			<OnMouseDown>
				MinimapButton_OnMouseDown(self);
			</OnMouseDown>
			<OnMouseUp>
				MinimapButton_OnMouseUp(self);
			</OnMouseUp>
		</Scripts>
	</Button>
	<Frame name="MinimapCluster" frameStrata="BACKGROUND" enableMouse="true" parent="UIParent">
		<Size>
			<AbsDimension x="192" y="192"/>
		</Size>
		<Anchors>
			<Anchor point="TOPRIGHT"/>
		</Anchors>
		<HitRectInsets>
			<AbsInset left="30" right="10" top="0" bottom="30"/>
		</HitRectInsets>
		<Layers>
			<Layer level="ARTWORK">
				<Texture name="MinimapBorderTop" file="Interface\Minimap\UI-Minimap-Border">
					<Size>
						<AbsDimension x="192" y="32"/>
					</Size>
					<Anchors>
						<Anchor point="TOPRIGHT"/>
					</Anchors>
					<TexCoords left="0.25" right="1.0" top="0.0" bottom="0.125"/>
				</Texture>
			</Layer>
		</Layers>
		<Frames>
			<Button name="MinimapZoneTextButton">
				<Size>
					<AbsDimension x="128" y="12"/>
				</Size>
				<Anchors>
					<Anchor point="CENTER">
						<Offset>
							<AbsDimension x="-3" y="83"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<FontString name="MinimapZoneText" inherits="GameFontNormal" nonspacewrap="true">
							<Size>
								<AbsDimension x="128" y="14"/>
							</Size>
							<Anchors>
								<Anchor point="TOP">
									<Offset>
										<AbsDimension x="0" y="2"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
				<Scripts>
					<OnEnter>
						GameTooltip:SetOwner(self, "ANCHOR_LEFT");
						local pvpType, isSubZonePvP, factionName = GetZonePVPInfo();
						Minimap_SetTooltip( pvpType, factionName );
						GameTooltip:Show();
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide();
					</OnLeave>
				</Scripts>
			</Button>
			<Button name="MinimapToggleButton">
				<Size>
					<AbsDimension x="32" y="32"/>
				</Size>
				<Anchors>
					<Anchor point="CENTER" relativePoint="TOPRIGHT">
						<Offset>
							<AbsDimension x="-15" y="-13"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						ToggleMinimap();
					</OnClick>
					<OnEnter>
						GameTooltip_AddNewbieTip(self, MINIMAP_LABEL, 1.0, 1.0, 1.0, NEWBIE_TOOLTIP_MINIMAPTOGGLE, 1);
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide();
					</OnLeave>
				</Scripts>
				<NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/>
				<PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/>
				<HighlightTexture alphaMode="ADD" file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight"/>
			</Button>
			<Minimap name="Minimap" enableMouse="true" minimapPlayerModel="Interface\Minimap\MinimapArrow.mdx" minimapArrowModel="Interface\Minimap\Rotating-MinimapArrow.mdl">
				<Size>
					<AbsDimension x="140" y="140"/>
				</Size>
				<Anchors>
					<Anchor point="CENTER" relativePoint="TOP">
						<Offset>
							<AbsDimension x="9" y="-92"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Frames>
					<Frame name="MiniMapMailFrame" enableMouse="true" hidden="true">
						<Size>
							<AbsDimension x="33" y="33"/>
						</Size>
						<Anchors>
							<Anchor point="TOPRIGHT">
								<Offset>
									<AbsDimension x="21" y="-38"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="ARTWORK">
								<Texture name="MiniMapMailIcon" file="Interface\Icons\INV_Letter_15">
									<Size>
										<AbsDimension x="18" y="18"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT">
											<Offset>
												<AbsDimension x="7" y="-6"/>
											</Offset>
										</Anchor>
									</Anchors>
								</Texture>
							</Layer>
							<Layer level="OVERLAY">
								<Texture name="MiniMapMailBorder" file="Interface\Minimap\MiniMap-TrackingBorder">
									<Size>
										<AbsDimension x="52" y="52"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT"/>
									</Anchors>
								</Texture>
							</Layer>
						</Layers>
						<Scripts>
							<OnLoad>
								self:RegisterEvent("UPDATE_PENDING_MAIL");
								self:SetFrameLevel(self:GetFrameLevel()+1)
							</OnLoad>
							<OnEvent>
								if event == "UPDATE_PENDING_MAIL" then
									if HasNewMail() then
										self:Show();
										if GameTooltip:IsOwned(self) then
											MinimapMailFrameUpdate();
										end
									else
										self:Hide();
									end
								end
							</OnEvent>
							<OnEnter>
								GameTooltip:SetOwner(self, "ANCHOR_BOTTOMLEFT");
								if GameTooltip:IsOwned(self) then
									MinimapMailFrameUpdate();
								end
							</OnEnter>
							<OnLeave>
								GameTooltip:Hide();
							</OnLeave>
						</Scripts>
					</Frame>
					<Button name="MiniMapBattlefieldFrame" hidden="true">
						<Size>
							<AbsDimension x="33" y="33"/>
						</Size>
						<Anchors>
							<Anchor point="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="13" y="-13"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="BACKGROUND">
								<Texture name="MiniMapBattlefieldIcon" file="Interface\BattlefieldFrame\UI-Battlefield-Icon">
									<Size>
										<AbsDimension x="32" y="32"/>
									</Size>
									<Anchors>
										<Anchor point="CENTER">
											<Offset>
												<AbsDimension x="-1" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
								</Texture>
							</Layer>
							<Layer level="ARTWORK">
								<Texture name="MiniMapBattlefieldBorder" file="Interface\Minimap\MiniMap-TrackingBorder">
									<Size>
										<AbsDimension x="52" y="52"/>
									</Size>
									<Anchors>
										<Anchor point="TOPLEFT"/>
									</Anchors>
								</Texture>
							</Layer>
							<Layer level="BORDER">
								<Texture name="BattlegroundShine" file="Interface\ComboFrame\ComboPoint" alphaMode="ADD">
									<Size>
										<AbsDimension x="32" y="32"/>
									</Size>
									<Anchors>
										<Anchor point="CENTER">
											<Offset>
												<AbsDimension x="3" y="3"/>
											</Offset>
										</Anchor>
									</Anchors>
									<TexCoords left="0.5625" right="1" top="0" bottom="1"/>
								</Texture>
							</Layer>
						</Layers>
						<Frames>
							<Frame name="MiniMapBattlefieldDropDown" inherits="UIDropDownMenuTemplate" clampedToScreen="true" id="1" hidden="true">
								<Scripts>
									<OnLoad>
										MiniMapBattlefieldDropDown_OnLoad(self);
									</OnLoad>
								</Scripts>
							</Frame>
						</Frames>
						<Scripts>
							<OnLoad>
								self:RegisterForClicks("LeftButtonUp", "RightButtonUp");
								self:SetFrameLevel(self:GetFrameLevel()+1);
								MiniMapBattlefieldFrame.timeInQueue = 0;
							</OnLoad>
							<OnEnter>
								GameTooltip:SetOwner(self, "ANCHOR_LEFT");
								if self.tooltip then
									GameTooltip:SetText(self.tooltip);
								end
							</OnEnter>
							<OnUpdate>
								if GameTooltip:IsOwned(self) then
									BattlefieldFrame_UpdateStatus(1);
									if self.tooltip then
										GameTooltip:SetText(self.tooltip);
									end
								end
							</OnUpdate>
							<OnLeave>
								GameTooltip:Hide();
							</OnLeave>
							<OnClick>
								-- Hide tooltip
								GameTooltip:Hide();
								if ( MiniMapBattlefieldFrame.status == "active") then
									if button == "RightButton" then
										ToggleDropDownMenu(1, nil, MiniMapBattlefieldDropDown, "MiniMapBattlefieldFrame", 0, -5);
									elseif IsShiftKeyDown() then
										ToggleBattlefieldMinimap();
									else
										ToggleWorldStateScoreFrame();
									end
								elseif button == "RightButton" then
									ToggleDropDownMenu(1, nil, MiniMapBattlefieldDropDown, "MiniMapBattlefieldFrame", 0, -5);
								end
							</OnClick>
						</Scripts>
					</Button>
					<Model name="MiniMapPing" file="Interface\MiniMap\Ping\MinimapPing.mdx" scale="0.4" hidden="true">
						<Size>
							<AbsDimension x="50" y="50"/>
						</Size>
						<Anchors>
							<Anchor point="CENTER" relativeTo="Minimap"/>
						</Anchors>
						<Scripts>
							<OnLoad>
								Minimap_OnLoad(self);
							</OnLoad>
							<OnEvent>
								Minimap_OnEvent(self, event, ...);
							</OnEvent>
							<OnUpdate>
								Minimap_OnUpdate(Minimap, elapsed);
							</OnUpdate>
						</Scripts>
					</Model>
					<Model name="MiniMapCompassRing" file="Interface\Minimap\MinimapCompassRing.mdx" scale="7.6" alpha="1.0" hidden="true">
						<Size>
							<AbsDimension x="175" y="146"/>
						</Size>
						<Anchors>
							<Anchor point="CENTER" relativeTo="Minimap">
								<Offset>
									<AbsDimension x="-1" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Model>
					<Frame name="MinimapBackdrop">
						<Size>
							<AbsDimension x="192" y="192"/>
						</Size>
						<Anchors>
							<Anchor point="CENTER" relativeTo="MinimapCluster">
								<Offset>
									<AbsDimension x="0" y="-20"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Layers>
							<Layer level="ARTWORK">
								<Texture name="MinimapBorder" file="Interface\Minimap\UI-Minimap-Border">
									<TexCoords left="0.25" right="1.0" top="0.125" bottom="0.875"/>
								</Texture>
							</Layer>
							<Layer level="OVERLAY">
								<Texture name="MinimapNorthTag" file="Interface\Minimap\CompassNorthTag">
									<Size>
										<AbsDimension x="16" y="16"/>
									</Size>
									<Anchors>
										<Anchor point="CENTER" relativeTo="Minimap">
											<Offset>
												<AbsDimension x="0" y="67"/>
											</Offset>
										</Anchor>
									</Anchors>
								</Texture>
							</Layer>
						</Layers>
						<Frames>
							<Button name="MiniMapWorldMapButton" hidden="false" inherits="MiniMapButtonTemplate">
								<Size>
									<AbsDimension x="33" y="33"/>
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT">
										<Offset>
											<AbsDimension x="33" y="-4"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Layers>
									<Layer level="BORDER">
										<Texture name="$parentIcon" file="Interface\WorldMap\UI-World-Icon">
											<Size>
												<AbsDimension x="20" y="20"/>
											</Size>
											<Anchors>
												<Anchor point="CENTER">
													<Offset>
														<AbsDimension x="-2" y="2"/>
													</Offset>
												</Anchor>
											</Anchors>
										</Texture>
									</Layer>
									<Layer level="OVERLAY">
										<Texture name="MiniMapWorldBorder" file="Interface\Minimap\MiniMap-TrackingBorder">
											<Size>
												<AbsDimension x="52" y="52"/>
											</Size>
											<Anchors>
												<Anchor point="TOPLEFT"/>
											</Anchors>
										</Texture>
									</Layer>
								</Layers>
								<Scripts>
									<OnLoad>
										self.tooltipText = MicroButtonTooltipText(LFG_BUTTON, "TOGGLELFGPARENT");
										self.newbieText = NEWBIE_TOOLTIP_LFGPARENT;
										self:RegisterEvent("UPDATE_BINDINGS");
									</OnLoad>
									<OnEnter>
										GameTooltip_AddNewbieTip(self, self.tooltipText, 1.0, 1.0, 1.0, self.newbieText);
									</OnEnter>
									<OnLeave>
										GameTooltip:Hide();
									</OnLeave>
									<OnEvent>
										self.tooltipText = MicroButtonTooltipText(WORLDMAP_BUTTON, "TOGGLEWORLDMAP");
										self.newbieText = NEWBIE_TOOLTIP_WORLDMAP;
									</OnEvent>
									<OnClick>
										ToggleFrame(WorldMapFrame);
									</OnClick>
								</Scripts>
								<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
							</Button>
							<Frame name="MiniMapTracking">
								<Size x="38" y="38"/>
								<Anchors>
									<Anchor point="TOPLEFT">
										<Offset x="11" y="-26"/>
									</Anchor>
								</Anchors>
								<Layers>
									<Layer level="BACKGROUND">
										<Texture name="$parentBackground" file="Interface\Minimap\UI-Minimap-Background">
											<Size x="30" y="30"/>
											<Anchors>
												<Anchor point="TOPLEFT">
													<Offset x="2" y="-4"/>
												</Anchor>
											</Anchors>
											<Color r="1" g="1" b="1" a="0.6"/>
										</Texture>
									</Layer>
									<Layer level="ARTWORK">
										<Texture name="$parentIcon">
											<Size x="24" y="24"/>
											<Anchors>
												<Anchor point="TOPLEFT">
													<Offset x="6" y="-6"/>
												</Anchor>
											</Anchors>
										</Texture>
									</Layer>
									<Layer level="OVERLAY">
										<Texture name="$parentIconOverlay" hidden="true">
											<Anchors>
												<Anchor point="TOPLEFT" relativeTo="$parentIcon"/>
												<Anchor point="BOTTOMRIGHT" relativeTo="$parentIcon"/>
											</Anchors>
											<Color r="0.0" g="0.0" b="0.0" a="0.5"/>
										</Texture>
									</Layer>
								</Layers>
								<Frames>
									<Frame name="$parentDropDown" inherits="UIDropDownMenuTemplate" clampedToScreen="true" id="1" hidden="true">
										<Scripts>
											<OnLoad>
												MiniMapTrackingDropDown_OnLoad(self);
											</OnLoad>
										</Scripts>
									</Frame>
									<Button name="$parentButton">
										<Size x="38" y="38"/>
										<Anchors>
											<Anchor point="TOPLEFT"/>
										</Anchors>
										<Layers>
											<Layer level="BORDER">
												<Texture name="$parentBorder" file="Interface\Minimap\MiniMap-TrackingBorder">
													<Size x="64" y="64"/>
													<Anchors>
														<Anchor point="TOPLEFT"/>
													</Anchors>
												</Texture>
											</Layer>
											<Layer level="OVERLAY">
												<Texture name="$parentShine" file="Interface\ComboFrame\ComboPoint" alphaMode="ADD" hidden="true">
													<Size x="32" y="32"/>
													<Anchors>
														<Anchor point="TOPLEFT">
															<Offset x="2" y="-2"/>
														</Anchor>
													</Anchors>
													<TexCoords left="0.5625" right="1" top="0" bottom="1"/>
												</Texture>
											</Layer>
										</Layers>
										<Scripts>
											<OnLoad>
												self:RegisterEvent("MINIMAP_UPDATE_TRACKING");
												MiniMapTracking_Update();
											</OnLoad>
											<OnEvent>
												MiniMapTracking_Update();
											</OnEvent>
											<OnClick>
												ToggleDropDownMenu(1, nil, MiniMapTrackingDropDown, "MiniMapTracking", 0, -5);
												PlaySound("igMainMenuOptionCheckBoxOn");
											</OnClick>
											<OnMouseDown>
												MiniMapTrackingIcon:SetPoint("TOPLEFT", MiniMapTracking, "TOPLEFT", 8, -8);
												MiniMapTrackingIconOverlay:Show();
											</OnMouseDown>
											<OnMouseUp>
												MiniMapTrackingIcon:SetPoint("TOPLEFT", MiniMapTracking, "TOPLEFT", 6, -6);
												MiniMapTrackingIconOverlay:Hide();
											</OnMouseUp>
											<OnEnter>
												GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
												GameTooltip:SetTracking();
											</OnEnter>
											<OnLeave>
												GameTooltip:Hide();
											</OnLeave>
										</Scripts>
										<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
									</Button>
								</Frames>
							</Frame>
							<Button name="MiniMapMeetingStoneFrame" hidden="true" inherits="MiniMapButtonTemplate">
								<Size>
									<AbsDimension x="33" y="33"/>
								</Size>
								<Anchors>
									<Anchor point="TOPRIGHT" relativeTo="MiniMapTracking" relativePoint="BOTTOMRIGHT">
										<Offset>
											<AbsDimension x="-1" y="-1"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Layers>
									<Layer level="OVERLAY">
										<Texture name="MiniMapMeetingStoneBorder" file="Interface\Minimap\MiniMap-TrackingBorder">
											<Size>
												<AbsDimension x="52" y="52"/>
											</Size>
											<Anchors>
												<Anchor point="TOPLEFT">
													<Offset>
														<AbsDimension x="1" y="-1"/>
													</Offset>
												</Anchor>
											</Anchors>
										</Texture>
									</Layer>
								</Layers>
								<Frames>
									<Frame name="$parentIcon" inherits="EyeTemplate" hidden="false">
										<Size x="30" y="30"/>
										<Anchors>
											<Anchor point="CENTER"/>
										</Anchors>
									</Frame>
								</Frames>
								<Scripts>
									<OnLoad>
										self:RegisterEvent("MEETINGSTONE_CHANGED");
										self:SetFrameLevel(self:GetFrameLevel()+1)
									</OnLoad>
									<OnClick>
										ToggleLFGParentFrame();
									</OnClick>
									<OnEvent>
										if event == "MEETINGSTONE_CHANGED" then
											if IsInLFGQueue() then
												MiniMapMeetingStoneFrame:Show();
											else
												MiniMapMeetingStoneFrame:Hide();
											end
										end
									</OnEvent>
									<OnEnter>
										MiniMapMeetingStoneFrame_OnEnter(self);
									</OnEnter>
									<OnLeave>
										GameTooltip:Hide();
									</OnLeave>
								</Scripts>
								<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
							</Button>
							<Button name="MinimapZoomIn">
								<Size>
									<AbsDimension x="32" y="32"/>
								</Size>
								<Anchors>
									<Anchor point="CENTER">
										<Offset>
											<AbsDimension x="77" y="-13"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnClick>
										Minimap_ZoomInClick();
									</OnClick>
									<OnEnter>
										if GetCVar("UberTooltips") == "1" then
											GameTooltip_SetDefaultAnchor(GameTooltip, UIParent);
											GameTooltip:SetText(ZOOM_IN);
										end
									</OnEnter>
									<OnLeave>
										GameTooltip:Hide();
									</OnLeave>
								</Scripts>
								<NormalTexture file="Interface\Minimap\UI-Minimap-ZoomInButton-Up"/>
								<PushedTexture file="Interface\Minimap\UI-Minimap-ZoomInButton-Down"/>
								<DisabledTexture file="Interface\Minimap\UI-Minimap-ZoomInButton-Disabled"/>
								<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
							</Button>
							<Button name="MinimapZoomOut">
								<Size>
									<AbsDimension x="32" y="32"/>
								</Size>
								<Anchors>
									<Anchor point="CENTER">
										<Offset>
											<AbsDimension x="51" y="-41"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnClick>
										Minimap_ZoomOutClick();
									</OnClick>
									<OnEnter>
										if GetCVar("UberTooltips") == "1" then
											GameTooltip_SetDefaultAnchor(GameTooltip, UIParent);
											GameTooltip:SetText(ZOOM_OUT);
										end
									</OnEnter>
									<OnLeave>
										GameTooltip:Hide();
									</OnLeave>
								</Scripts>
								<NormalTexture file="Interface\Minimap\UI-Minimap-ZoomOutButton-Up"/>
								<PushedTexture file="Interface\Minimap\UI-Minimap-ZoomOutButton-Down"/>
								<DisabledTexture file="Interface\Minimap\UI-Minimap-ZoomOutButton-Disabled"/>
								<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
							</Button>
							<Button name="MiniMapRecordingButton" hidden="true">
								<Size>
									<AbsDimension x="33" y="33"/>
								</Size>
								<Anchors>
									<Anchor point="RIGHT">
										<Offset>
											<AbsDimension x="5" y="12"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Layers>
									<Layer level="BORDER">
										<Texture name="MiniMapWorldIcon" file="Interface\Minimap\MovieRecordingIcon">
											<Size>
												<AbsDimension x="20" y="20"/>
											</Size>
											<Anchors>
												<Anchor point="CENTER">
													<Offset>
														<AbsDimension x="-1" y="1"/>
													</Offset>
												</Anchor>
											</Anchors>
										</Texture>
									</Layer>
									<Layer level="OVERLAY">
										<Texture name="MiniMapRecordingBorder" file="Interface\Minimap\MiniMap-TrackingBorder">
											<Size>
												<AbsDimension x="52" y="52"/>
											</Size>
											<Anchors>
												<Anchor point="TOPLEFT"/>
											</Anchors>
										</Texture>
									</Layer>
								</Layers>
								<Scripts>
									<OnEnter>
										if GetCVar("UberTooltips") == "1" then
											GameTooltip_SetDefaultAnchor(GameTooltip, UIParent);
											MINIMAP_RECORDING_INDICATOR_ON = true;
										end
									</OnEnter>
									<OnLeave>
										GameTooltip:Hide();
										MINIMAP_RECORDING_INDICATOR_ON = false;
									</OnLeave>
									<OnLoad>
										self:RegisterEvent("MOVIE_RECORDING_PROGRESS");
									</OnLoad>
									<OnEvent>
										if event == "MOVIE_RECORDING_PROGRESS" then
											if  MovieRecording_IsRecording() and GetCVar("MovieRecordingIcon") == "1" then
												self:Show();
											else
												self:Hide();
											end
										end
									</OnEvent>
									<OnUpdate>
										if MINIMAP_RECORDING_INDICATOR_ON then
											GameTooltip:SetText(MOVIE_RECORDING_RECORDING..MovieRecording_GetTime());
										end
									</OnUpdate>
								</Scripts>
							</Button>
						</Frames>
					</Frame>
				</Frames>
				<Scripts>
					<OnMouseUp>
						Minimap_OnClick(self, button);
					</OnMouseUp>
				</Scripts>
			</Minimap>
		</Frames>
		<Scripts>
			<OnLoad>
				Minimap.timer = 0;
				Minimap_Update();
				self:RegisterEvent("ZONE_CHANGED");
				self:RegisterEvent("ZONE_CHANGED_INDOORS");
				self:RegisterEvent("ZONE_CHANGED_NEW_AREA");
				Minimap_UpdateRotationSetting();
			</OnLoad>
			<OnEvent>
				Minimap_Update();
			</OnEvent>
		</Scripts>
	</Frame>
</Ui>
