--Login Screen Ambience
EXPANSION_GLUE_AMBIENCE = {
	[LE_EXPANSION_CLASSIC]					= SOUNDKIT.GLUESCREEN_INTRO,
	[LE_EXPANSION_BURNING_CRUSADE]			= SOUNDKIT.GLUESCREEN_INTRO,
	[LE_EXPANSION_WRATH_OF_THE_LICH_KING]	= SOUNDKIT.GLUESCREEN_INTRO,
	[LE_EXPANSION_CATACLYSM]				= SOUNDKIT.GLUESCREEN_INTRO,
	[LE_EXPANSION_MISTS_OF_PANDARIA]		= SOUNDKIT.GLUESCREEN_INTRO,
};

--Music
EXPANSION_GLUE_MUSIC = {
	[LE_EXPANSION_CLASSIC]					= SOUNDKIT.MUS_1_0_MAINTITLE_ORIGINAL,
	[LE_EXPANSION_BURNING_CRUSADE]			= SOUNDKIT.GS_BURNINGCRUSADE,
	[LE_EXPANSION_WRATH_OF_THE_LICH_KING]	= SOUNDKIT.GS_LICH_KING,
	[LE_EXPANSION_CATACLYSM]				= SOUNDKIT.GS_CATACLYSM,
	[LE_EXPANSION_MISTS_OF_PANDARIA]		= SOUNDKIT.GS_MISTS,
};

GLUE_AMBIENCE_TRACKS = {
	["HUMAN"]					= SOUNDKIT.AMB_GLUESCREEN_HUMAN,
	["ORC"]						= SOUNDKIT.AMB_GLUESCREEN_ORC,
	["TROLL"]					= SOUNDKIT.AMB_GLUESCREEN_TROLL,
	["DWARF"]					= SOUNDKIT.AMB_GLUESCREEN_DWARF,
	["GNOME"]					= SOUNDKIT.AMB_GLUESCREEN_GNOME,
	["TAUREN"]					= SOUNDKIT.AMB_GLUESCREEN_TAUREN,
	["SCOURGE"]					= SOUNDKIT.AMB_GLUESCREEN_UNDEAD,
	["NIGHTELF"]				= SOUNDKIT.AMB_GLUESCREEN_NIGHTELF,
	["DRAENEI"]					= SOUNDKIT.AMB_GLUESCREEN_DRAENEI,
	["BLOODELF"]				= SOUNDKIT.AMB_GLUESCREEN_BLOODELF,
	["GOBLIN"]					= SOUNDKIT.AMB_GLUESCREEN_GOBLIN,
	["WORGEN"]					= SOUNDKIT.AMB_GLUESCREEN_WORGEN,
	["VOIDELF"]					= SOUNDKIT.AMB_GLUESCREEN_VOIDELF,
	["LIGHTFORGEDDRAENEI"]		= SOUNDKIT.AMB_GLUESCREEN_LIGHTFORGEDDRAENEI,
	["NIGHTBORNE"]				= SOUNDKIT.AMB_GLUESCREEN_NIGHTBORNE,
	["HIGHMOUNTAINTAUREN"]		= SOUNDKIT.AMB_GLUESCREEN_HIGHMOUNTAINTAUREN,
	["DEATHKNIGHT"]				= SOUNDKIT.AMB_GLUESCREEN_DEATHKNIGHT,
	["CHARACTERSELECT"]			= SOUNDKIT.GLUESCREEN_INTRO,
	["PANDAREN"]				= SOUNDKIT.AMB_GLUESCREEN_PANDAREN,
	["HORDE"]					= SOUNDKIT.AMB_50_GLUESCREEN_HORDE,
	["ALLIANCE"]				= SOUNDKIT.AMB_50_GLUESCREEN_ALLIANCE,
	["NEUTRAL"]					= SOUNDKIT.AMB_50_GLUESCREEN_PANDAREN_NEUTRAL,
	["PANDARENCHARACTERSELECT"]	= SOUNDKIT.AMB_50_GLUESCREEN_PANDAREN_NEUTRAL,
	["DEMONHUNTER"]				= SOUNDKIT.AMB_GLUESCREEN_DEMONHUNTER,
	["DARKIRONDWARF"] 			= SOUNDKIT.AMB_GLUESCREEN_DARKIRONDWARF,
	["MAGHARORC"] 				= SOUNDKIT.AMB_GLUESCREEN_MAGHARORC,
};

CHAR_MODEL_FOG_INFO = {
	["HUMAN"] = { r=0.8, g=0.65, b=0.73, far=222 };
	["ORC"] = { r=0.5, g=0.5, b=0.5, far=270 };
	["TROLL"] = { r=0.5, g=0.5, b=0.5, far=270 };
	["DWARF"] = { r=0.85, g=0.88, b=1.0, far=500 };
	["GNOME"] = { r=0.85, g=0.88, b=1.0, far=500 };
	["NIGHTELF"] = { r=0.25, g=0.22, b=0.55, far=611 };
	["TAUREN"] = { r=1.0, g=0.61, b=0.42, far=153 };
	["SCOURGE"] = { r=0, g=0.22, b=0.22, far=26 };
	["CHARACTERSELECT"] = { r=0.8, g=0.65, b=0.73, far=222 };
};

CHAR_MODEL_GLOW_INFO = {
	--[[
	["WORGEN"] = 0.0;
	["GOBLIN"] = 0.0;
	["HUMAN"] = 0.15;
	["DWARF"] = 0.15;
	["CHARACTERSELECT"] = 0.3;
	]]
};

-- for WoW accounts list
MAX_ACCOUNTNAME_DISPLAYED = 8;
ACCOUNTNAME_BUTTON_HEIGHT = 20;

--Credits titles
CREDITS_TITLES = {
	[LE_EXPANSION_CLASSIC] = CREDITS_WOW_VANILLA,
	[LE_EXPANSION_BURNING_CRUSADE] = CREDITS_WOW_BC,
};

--Backgrounds
EXPANSION_HIGH_RES_BG = {
	[LE_EXPANSION_CLASSIC] =  "Interface\\Glues\\Models\\UI_MAINMENU\\UI_MainMenu.m2",
	[LE_EXPANSION_BURNING_CRUSADE] = "Interface\\Glues\\Models\\UI_MainMenu_BurningCrusade\\UI_MainMenu_BurningCrusade.m2",
	[LE_EXPANSION_WRATH_OF_THE_LICH_KING] = "Interface\\Glues\\Models\\UI_MainMenu_Northrend\\UI_MainMenu_Northrend.M2",
	[LE_EXPANSION_CATACLYSM] = "Interface\\Glues\\Models\\UI_MainMenu_Cataclysm\\UI_MainMenu_Cataclysm.M2",
	[LE_EXPANSION_MISTS_OF_PANDARIA] = "Interface\\Glues\\MODELS\\UI_MainMenu_Pandaria\\UI_MainMenu_Pandaria.m2",
};

EXPANSION_LOW_RES_BG = {
	[LE_EXPANSION_CLASSIC] =			"Interface\\Glues\\Models\\UI_MAINMENU\\UI_MainMenu.m2",
	[LE_EXPANSION_BURNING_CRUSADE] =	"Interface\\Glues\\Models\\UI_MAINMENU\\UI_MainMenu.m2",
	[LE_EXPANSION_WRATH_OF_THE_LICH_KING] =			"Interface\\Glues\\Models\\UI_MAINMENU\\UI_MainMenu.m2",
	[LE_EXPANSION_CATACLYSM] =			"Interface\\Glues\\Models\\UI_MAINMENU\\UI_MainMenu.m2",
	[LE_EXPANSION_MISTS_OF_PANDARIA] =			"Interface\\Glues\\Models\\UI_MAINMENU\\UI_MainMenu.m2",
};

--Movie
MOVIE_CAPTION_FADE_TIME = 1.0;
-- These are movieID from the MOVIE database file.
MOVIE_LIST = {
  -- Movie sequence 1 = Wow Classic
  { expansion=LE_EXPANSION_CLASSIC, 
	movieIDs = { 1, 2 }, 
	upAtlas="StreamCinematic-Classic-Up", 
	downAtlas="StreamCinematic-Classic-Down",
  },
  -- Movie sequence 2 = BC
  { expansion=LE_EXPANSION_BURNING_CRUSADE, 
	movieIDs = { 27 }, 
	upAtlas="StreamCinematic-BC-Up", 
	downAtlas="StreamCinematic-BC-Down",
  },
  -- Movie sequence 3= Wrath
  { expansion=LE_EXPANSION_WRATH_OF_THE_LICH_KING, 
	movieIDs = { 18 }, 
	upAtlas="StreamCinematic-LK-Up", 
	downAtlas="StreamCinematic-LK-Down",
  },
  -- Movie sequence 4= Cataclysm
  { expansion=LE_EXPANSION_CATACLYSM, 
	movieIDs = { 23 }, 
	upAtlas="StreamCinematic-CC-Up", 
	downAtlas="StreamCinematic-CC-Down",
  },
  -- Movie sequence 5= Mists
  { expansion=LE_EXPANSION_MISTS_OF_PANDARIA, 
	movieIDs = { 115 }, 
	upAtlas="StreamCinematic-MoP-Up", 
	downAtlas="StreamCinematic-MoP-Down",
  },
};

--Credits
CREDITS_SCROLL_RATE_REWIND = -160;
CREDITS_SCROLL_RATE_PAUSE = 0;
CREDITS_SCROLL_RATE_PLAY = 40;
CREDITS_SCROLL_RATE_FASTFORWARD = 160;

CREDITS_SCROLL_RATE = 40;
CREDITS_FADE_RATE = 0.4;

NUM_CREDITS_ART_TEXTURES_WIDE = 4;
NUM_CREDITS_ART_TEXTURES_HIGH = 2;
CACHE_WAIT_TIME = 0.5;

CREDITS_ART_INFO = {
	[LE_EXPANSION_CLASSIC] = {
		[Enum.ReleaseType.Original] = {
			{ file="Acrest", w=512, h=512, offsetx=128, offsety=0, maxAlpha=0.5, maxTexIndex=4 },
			{ file="Tauren", w=640, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Centaur", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="HordeBanner", w=512, h=512, offsetx=128, offsety=0, maxAlpha=0.5 },
			{ file="Naga", w=512, h=512, offsetx=128, offsety=0, maxAlpha=0.4 },
			{ file="NightsHollow", w=512, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Ocean", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Orc", w=256, h=512, offsetx=192, offsety=0, maxAlpha=0.7 },
			{ file="Strangle", w=512, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Troll", w=640, h=512, offsetx=0, offsety=0, maxAlpha=0.6 },
			{ file="TrollBanner", w=512, h=512, offsetx=128, offsety=0, maxAlpha=0.5 },
			{ file="Zepplin", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.5 },
			{ file="drake", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.5 },
			{ file="DwarfCrest", w=512, h=512, offsetx=128, offsety=0, maxAlpha=0.5 },
			{ file="Dwarfhunter", w=512, h=512, offsetx=128, offsety=0, maxAlpha=0.6 },
			{ file="gargoyle", w=512, h=512, offsetx=128, offsety=0, maxAlpha=0.5 },
			{ file="NightelfCrest", w=512, h=512, offsetx=128, offsety=0, maxAlpha=0.5 },
			{ file="Nightelves", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Orccamp", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="DragonIsles", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="tauren_hunter", w=512, h=512, offsetx=128, offsety=0, maxAlpha=0.7 },
			{ file="Darnasis", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="ForsakenCrest", w=512, h=512, offsetx=128, offsety=0, maxAlpha=0.5 },
			{ file="ShootingDwarf", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.6 },
			{ file="Thunderbluff", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="tolbarad", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="TaurenCrest", w=512, h=512, offsetx=128, offsety=0, maxAlpha=0.5 },
			{ file="razorfen", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="swampofsorrows", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Desolace", w=512, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="SouthernDesolace", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="undeadcrest", w=512, h=512, offsetx=128, offsety=0, maxAlpha=0.5 },
			{ file="TirisfallGlades", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="ThousandNeedles", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Elemental", w=512, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Badlands", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="BlastedLands", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Fellwood", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="OrcShield", w=512, h=512, offsetx=128, offsety=0, maxAlpha=0.5 },
		},
		[Enum.ReleaseType.Classic] = {
			{ file="ClassicGryphon", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
		},
	},

	[LE_EXPANSION_BURNING_CRUSADE] = {
		[Enum.ReleaseType.Original] = {
			{ file="BD", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Wrathguard", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="WOW_BloodElves", w=512, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="ZulAman", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Arakkoa", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Hellfire_Concept", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Auchindoun", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Auchindoun_1H", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="1H_Axes", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="BE_Building", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="BE_Building_Two", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="BladesEdge", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="BladesEdgeMountains", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Blood_Elf_One", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="BloodElf_Female", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="BloodElf_Icon", w=512, h=512, offsetx=128, offsety=0, maxAlpha=0.7 },
			{ file="BloodElf_Priestess_Master", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="BloodElf_Two", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="BloodElf_Webimage", w=512, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Clefthoof_3_horn", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="1000px-Coilfangpaintover", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Dark_Portal", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Ddraenei_Start", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Demon_Chamber", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Draenei", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Draenei_Character", w=512, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Draenei_CityInt", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Draenei_Crest", w=512, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Draenei_Female", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Draenei_Paladin", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Draenei_Three", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Draenei_Two", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Dranei_F_Hair", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Dranei_M_Hair", w=512, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Elekk", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Female_BloodElf", w=512, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="FungalGiant", w=512, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Arcane_Golem", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Human_Mage", w=512, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="HumanMale", w=512, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Hunter", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Illidan", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Illidan_Concept", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Outland", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="MilitaryOrcBoss", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Naaru_CrashSite", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Naaru_Ship", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Ogre_Lord", w=512, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Shivan", w=512, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="L60ETC", w=512, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="RazorfenDowns", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="RidingDrake", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Shattrath", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Tier4_Druid", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Silvermoon_Day", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Silvermoon_Tower", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Tempest_Keep", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Terrokkar", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="The_Broken", w=768, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
			{ file="Photos", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
		},
		[Enum.ReleaseType.Classic] = {
			{ file="Illidan", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 },
		},
	},
	
	[LE_EXPANSION_WRATH_OF_THE_LICH_KING] = {
		[Enum.ReleaseType.Original] = {
			{ file="Azol0", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="BoreanTun", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="GrizzlemawTGA", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="GrizzlyHills2TGA", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="GrizzlyHills3TGA", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="GrizzlyHillsTGA", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="HallwayTGA", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Hunter01TGA", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="ID_TownTGA", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="IronDwarfTGA", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Knife1HTGA", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="LeatherSunwellTGA", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="LichKingTGA", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Mace1HTGA", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="MaginnisTGA", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Magnataur", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Magnataur2", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Mergul01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="NerubianArch", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="NexusFire", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="NorthGiant", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="NorthrendComp", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="OrcTower", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Penguin", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Powersource", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Revanent", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Revanent2", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Rocket", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Sanctification", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="SeaVrykul", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Shol", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Shol02", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="ShovelTusk", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Sword_1H", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Titan1", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="TrollFacade", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Turtle01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Tuskar House", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="TuskarGuy", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="TuskarGuy2", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Uld_Hall", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="ValgardeDragon", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="ValgardeForge", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Vamp", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="VryFem", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="VrykDoor", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Vrykul_Undead", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="VrykulBuild", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="VrykulFace", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Zombie", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="ZulDrak", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
		},
		[Enum.ReleaseType.Classic] = {
			{ file="LichKingTGA", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
		},
	},
	
	[LE_EXPANSION_CATACLYSM] = {
		[Enum.ReleaseType.Original] = {
			{ file="Goblin_Physique_M03", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Greymane City Block01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Greymane City Damage01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Goblin Trade Prince Mansion01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="LesserElemental_earth_02a", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Greymane City Map01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Camel_01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Goblin Bank02", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Chimera01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Greymane Graveyard01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="LesserElemental_fire_03b", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Goblin Buildings05_color", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="seahorse_00", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="greymane_lighthouse_003", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Shapeless_color01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Goblin Freeway01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Skardyn02", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="gus_tornforest", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Greymane_Manor01_CR", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Tier11_Warrior01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Goblin Buildings06", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Goblin Port02", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Tier11_Hunter01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="worgencastle_wendy1_copy", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Worgen_Caravan_04", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Worgen_Human_M03", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Twilights Hammer Wall02", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Twilght Ascendant01a", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="TwilightHighlands_WildhammerDwarfBurialCairn", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Twilights Hammer Ramparts01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Twilights Hammer Buildings07", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="DB_Turtledragon", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Goblin_Inn01a", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Kezan Garage01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Kezan Map01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Kezan Swing Bridge01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Kezan Toxic Town01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Pygmy Drum01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Maelstrom01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Tol_Vir_architecture03", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="UldumTolVir1", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Uldum Sphinx01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="UldumMummyArea1", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="UldumTomb1", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="White Widows01a", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Wildhammer_Buildings01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Wildhammer Long House01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Wildhammer_Roost01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Firelands gorge01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Gilneas Lamps01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="GPlatner_Worgen03", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Greymane_Manor02", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Goblin Slum Buildings01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Tol Barad07", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Tol Barad02", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Tol Barad Details01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Tol Barad Gun01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
		},
		[Enum.ReleaseType.Classic] = {
			{ file="CAMEL_01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
		},
	},

	[LE_EXPANSION_MISTS_OF_PANDARIA] = {
		[Enum.ReleaseType.Original] = {
			{ file="Mogu_Monk_Concept", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="MoguRaid_InteriorColor", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Mushan_concept", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="SkyTown", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="interior_temple_color", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Library03", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Bamboo House01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="challenge_rogue", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Chiming Tower01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="foodog_002b", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="challenge_rogue_notused", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="crane01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Dragon Bridge01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Tier13_Shaman01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="dragon_bridge", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="DruidChallenge", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="East Temple Ext01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="ENV_004_BambooForest", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Rabbit", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="easttemple_paintover2a", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="ENV_015_ValleyEternal01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Female_Pandaren", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="foodog_creature", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="forestsprite02", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Goat", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="horde Pandaren", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="koi_03", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Landscape_02Color", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Library02", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="koiman01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="LionMan", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Shadow Pan01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Mantid Knife_colour01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Tier14_DeathKnight01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Mantid_Raid_Interior", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Pandaren Flying Mount03", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Mantis_01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Mogu_MainTemple", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Mantis_03", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="MoguRaid_Dungeon", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Pandaren Monastery01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="easttemple_paintover1", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Monkey_01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Mountains_Colors", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="panda01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Sha_misc_02a", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="PandaClass1", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Tier14_Monk01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Pandaren Clans01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Mantid Tree Fortress03", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Pandaren Lamp Post01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Mogu_BossConcept_New", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Panderan_Brewery", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Panderan_StreetMart", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Mantis_04", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Quilin_concept", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Tier13_Priest01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Salamander", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Pandaren Turtle01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Sha Brethren01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Panderan_lantern_house", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Sha_01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Shadow Pan Sanctum01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Tier13_DeathKnight01a", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Panderan_GhostBrewery", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Tier14_Rogue01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="trip_turtle_city", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="waterdragon_01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="Pandaria", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
			{ file="YaunkaConcept1", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
		},
		[Enum.ReleaseType.Classic] = {
			{ file="crane01", w=1024, h=512, offsetx=0, offsety=0, maxAlpha=0.7 };
		},
	},
};

GLUE_CREDITS_SOUND_KITS = {
	[LE_EXPANSION_CLASSIC]					= SOUNDKIT.MENU_CREDITS01,
	[LE_EXPANSION_BURNING_CRUSADE]			= SOUNDKIT.MENU_CREDITS02,
	[LE_EXPANSION_WRATH_OF_THE_LICH_KING]	= SOUNDKIT.MENU_CREDITS03,
	[LE_EXPANSION_CATACLYSM]				= SOUNDKIT.MENU_CREDITS04,
	[LE_EXPANSION_MISTS_OF_PANDARIA]		= SOUNDKIT.MENU_CREDITS05,
};

AUTO_LOGIN_WAIT_TIME = 1.75;

--Tooltip
GLUE_BACKDROP_COLOR = CreateColor(0.09, 0.09, 0.09);
GLUE_BACKDROP_BORDER_COLOR = CreateColor(0.8, 0.8, 0.8);
GLUE_ALLIANCE_COLOR = CreateColor(0.09, 0.09, 0.19);
GLUE_ALLIANCE_BORDER_COLOR = CreateColor(0.5, 0.5, 0.5);
GLUE_HORDE_COLOR = CreateColor(0.19, 0.05, 0.05);
GLUE_HORDE_BORDER_COLOR = CreateColor(0.5, 0.2, 0.2);
GLUE_NEUTRAL_COLOR = CreateColor(0.05, 0.2, 0.05);
GLUE_NEUTRAL_BORDER_COLOR = CreateColor(0.2, 0.5, 0.2);

HTML_START = "<html><body><p>";
HTML_START_CENTERED = "<html><body><p align=\"center\">";
HTML_END = "</p></body></html>";

-- month names show up differently for full date displays in some languages
CALENDAR_FULLDATE_MONTH_NAMES = {
	FULLDATE_MONTH_JANUARY,
	FULLDATE_MONTH_FEBRUARY,
	FULLDATE_MONTH_MARCH,
	FULLDATE_MONTH_APRIL,
	FULLDATE_MONTH_MAY,
	FULLDATE_MONTH_JUNE,
	FULLDATE_MONTH_JULY,
	FULLDATE_MONTH_AUGUST,
	FULLDATE_MONTH_SEPTEMBER,
	FULLDATE_MONTH_OCTOBER,
	FULLDATE_MONTH_NOVEMBER,
	FULLDATE_MONTH_DECEMBER,
};

characterCopyRegions = {
	[41] = NORTH_AMERICA,
	[42] = KOREA,
	[43] = EUROPE,
	[44] = TAIWAN,
	[45] = CHINA,
};
