require ( "menu/pop_tokenpopup.lua" );
require ( "menu/pop_profilelist.lua" );
require ( "menu/gamesetup.lua" );

require ( "scripts/game_style.lua" );


kPanelBaseX = gamesetup_btn_selector_02_params["x"];
kPanelBaseY = gamesetup_btn_selector_02_params["y"]-2;
kPanelOffsetY = 89;
kSelectorButtonOffsetY = 20;

setupmenu_group =
{
	SetupMenu
	{
		name = "setupmenu",
		x = 0,
		y = 0,
		w = 800,
		h = 600,
		
		-- BG
		Bitmap
		{
			name=gamesetup_bg_red_params["name"],
			image=gamesetup_bg_red_params["image"],
			x=gamesetup_bg_red_params["x"],
			y=gamesetup_bg_red_params["y"],
		},
		-- Panel
		Bitmap
		{
			name=gamesetup_win_largeframe_params["name"],
			image=gamesetup_win_largeframe_params["image"],
			x=gamesetup_win_largeframe_params["x"],
			y=gamesetup_win_largeframe_params["y"],
		},
		-- Layout
		Bitmap
		{
			name=gamesetup_ico_layoutgs_params["name"],
			image=gamesetup_ico_layoutgs_params["image"],
			x=gamesetup_ico_layoutgs_params["x"],
			y=gamesetup_ico_layoutgs_params["y"],
		},
		-- Title
		Bitmap
		{
			name=gamesetup_ico_gamesetup_params["name"],
			image=gamesetup_ico_gamesetup_params["image"],
			x=gamesetup_ico_gamesetup_params["x"],
			y=gamesetup_ico_gamesetup_params["y"],
		},
		
		-------------------------------------------------------------------------------------		
		-- Player 1's panel
		Window
		{
			x=kPanelBaseX,
			y=kPanelBaseY+(kPanelOffsetY*0),
			w=500,
			h=110,
			name="gamesetup_player1_panel",
			
			-- Player type Selector
			BeginGroup(),
			MonopolyButton
			{
				font = Green15Font,
				name = "player1_type_selector_0",
				graphics =
				{
					'menu/btn_selector_02',
					'menu/btn_selector_02',
					'menu/btn_selector_02',
				},
				w = gamesetup_btn_selector_02_params["w"],
				h = gamesetup_btn_selector_02_params["h"],
				x = gamesetup_btn_selector_02_params["x"]-kPanelBaseX,
				y = gamesetup_btn_selector_02_params["y"]+(kSelectorButtonOffsetY*0)-kPanelOffsetY,
				type = kRadio,
				flags = kHAlignCenter + kVAlignCenter,
				label="player.drop.01",
				command=
					function()
						OnSetupChoosePlayerType(1, 0);
					end
			},
			MonopolyButton
			{
				font = White15Font,
				name = "player1_cheat_selector_1",
				graphics =
				{
					'',
					'menu/btn_selector_01',
					'menu/btn_selector_01',
					'menu/btn_selector_01',
				},
				w = gamesetup_btn_selector_02_params["w"],
				h = gamesetup_btn_selector_02_params["h"],
				x = gamesetup_btn_selector_02_params["x"]-kPanelBaseX,
				y = gamesetup_btn_selector_02_params["y"]+(kSelectorButtonOffsetY*1)-kPanelOffsetY,
				type = kRadio,
				flags = kHAlignCenter + kVAlignCenter,
				label="player.drop.02",
				command=
					function()
						OnSetupChoosePlayerType(1, 1);
					end
			},
			
			BeginGroup(),
			
			-- Static text
			Text
			{
				font = Green15Font,
				name = "player1_static_profname",
				x = gamesetup_txt_profilename_params["x"]-kPanelBaseX,
				y = gamesetup_txt_profilename_params["y"]-kPanelOffsetY,
				w = gamesetup_txt_profilename_params["w"]+20,
				h = gamesetup_txt_profilename_params["h"]+20,
				label="playername"
			},
			
			-- Profile outlining
			Bitmap
			{
				name="btn_dropdown_1",
				image=gamesetup_ico_dropdown_01_params["image"],
				x=gamesetup_ico_dropdown_01_params["x"]-kPanelBaseX,
				y=gamesetup_ico_dropdown_01_params["y"]-kPanelOffsetY,
			},
			
			-- Name outlining
			Bitmap
			{
				name="btn_profileselector_1",
				image="menu/btn_profileselector_01",
				x=gamesetup_btn_profileselector_01_params["x"]-kPanelBaseX,
				y=gamesetup_btn_profileselector_01_params["y"]-kPanelOffsetY,

				Button
				{
					name="ersatz_arrow_1",
					image="menu/btn_profileselector_01",
					x=0,
					y=0,
					w=kMax,
					h=kMax,
					command=
						function()
							OnSetupChooseProfile(1);
						end
				},
			},
			
			-- The arrow
			MonopolyButton
			{
				name = "player1_selector_arrow",
				type = kPush,
				graphics = gamesetup_btn_largearrow_01_params["graphics"],
				x = gamesetup_btn_largearrow_01_params["x"]-kPanelBaseX,
				y = gamesetup_btn_largearrow_01_params["y"]-kPanelOffsetY,
				command=
					function()
						OnSetupChooseProfile(1);
					end
			},
			
			-- Profile name
			Text
			{
				font = Green15Font,
				name = "player1_profile_name",
				x = gamesetup_txt_chosenprofile_params["x"]-kPanelBaseX,
				y = gamesetup_txt_chosenprofile_params["y"]-kPanelOffsetY-2,
				w = gamesetup_txt_chosenprofile_params["w"]+20,
				h = gamesetup_txt_chosenprofile_params["h"]+20,
				label=""
			},
			
			-- Player Avatar's Button & Outline
			MonopolyButton
			{
				name = "player1_changeprofile",
				type = kPush,
				graphics =
				{
					"menu/btn_iconframe01_01",
					"menu/btn_iconframe01_02",
					"menu/btn_iconframe01_03"
				},
				x = gamesetup_btn_iconframe01_01_params["x"]-kPanelBaseX,
				y = gamesetup_btn_iconframe01_01_params["y"]-kPanelOffsetY,
					command=
						function()
							OnSetupChooseAvatar(1);
						end
			},
			
			-- The actual icon's image
			Bitmap
			{
				name = "player1_icon",
				image="menu/ico_mplayericon_k",
				x = gamesetup_ico_mplayericon01_params["x"]-kPanelBaseX,
				y = gamesetup_ico_mplayericon01_params["y"]-kPanelOffsetY,
			},

			-- View profile Button
			MonopolyButton
			{
				name = "player1_viewprofile",
				graphics = gamesetup_btn_menu_viewprofile_params["graphics"],
				type = kPush,
				font = White12Font,
				label="profiletoken.btn",
				tooltip = "over.token",
				tooltip_x = gamesetup_btn_menu_createprofile_params["x"] + gamesetup_btn_menu_createprofile_params["w"]/2,
				tooltip_y = gamesetup_btn_menu_createprofile_params["y"] + 1.0 * gamesetup_btn_menu_createprofile_params["h"],
				x = gamesetup_btn_menu_createprofile_params["x"]-kPanelBaseX,
				y = gamesetup_btn_menu_createprofile_params["y"]-kPanelOffsetY,
				command =
					function()
						OnSetupViewProfile(1);
					end
			},
			-- New Profile Button
			--[[
			MonopolyButton
			{
				name = "player1_newprofile",
				graphics = gamesetup_btn_menu_createprofile_params["graphics"],
				type = kPush,
				font = White12Font,
				label="profilenew.btn",
				tooltip = "over.newprofile",
				tooltip_x = gamesetup_btn_menu_createprofile_params["x"] + gamesetup_btn_menu_createprofile_params["w"]/2,
				tooltip_y = gamesetup_btn_menu_createprofile_params["y"] + 1.0 * gamesetup_btn_menu_createprofile_params["h"],
				x = gamesetup_btn_menu_createprofile_params["x"]-kPanelBaseX,
				y = gamesetup_btn_menu_createprofile_params["y"]-kPanelOffsetY,
				command =
					function()
						OnSetupLeave();
						OnSetupNewProfile(1);
					end
			},
			--]]
		},
		
		
		-- Player 2's panel
		Window
		{
			x=kPanelBaseX,
			y=kPanelBaseY+(kPanelOffsetY*1),
			w=500,
			h=110,
			name="gamesetup_player2_panel",
			
			-- Player type Selector
			BeginGroup(),
			MonopolyButton
			{
				font = White15Font,
				name = "player2_type_selector_0",
				graphics =
				{
					'',
					'menu/btn_selector_01',
					'menu/btn_selector_01',
					'menu/btn_selector_01',
				},
				w = gamesetup_btn_selector_02_params["w"],
				h = gamesetup_btn_selector_02_params["h"],
				x = gamesetup_btn_selector_02_params["x"]-kPanelBaseX,
				y = gamesetup_btn_selector_02_params["y"]+(kSelectorButtonOffsetY*0)-kPanelOffsetY,
				type = kRadio,
				flags = kHAlignCenter + kVAlignCenter,
				label="player.drop.01",
				command=
					function()
						OnSetupChoosePlayerType(2, 0);
					end
			},
			MonopolyButton
			{
				font = White15Font,
				name = "player2_type_selector_1",
				graphics =
				{
					'',
					'menu/btn_selector_01',
					'menu/btn_selector_01',
					'menu/btn_selector_01',
				},
				w = gamesetup_btn_selector_02_params["w"],
				h = gamesetup_btn_selector_02_params["h"],
				x = gamesetup_btn_selector_02_params["x"]-kPanelBaseX,
				y = gamesetup_btn_selector_02_params["y"]+(kSelectorButtonOffsetY*1)-kPanelOffsetY,
				type = kRadio,
				flags = kHAlignCenter + kVAlignCenter,
				label="player.drop.02",
				command=
					function()
						OnSetupChoosePlayerType(2, 1);
					end
			},
			BeginGroup(),
			
			-- Static text
			Text
			{
				font = Green15Font,
				name = "player2_static_profname",
				x = gamesetup_txt_profilename_params["x"]-kPanelBaseX,
				y = gamesetup_txt_profilename_params["y"]-kPanelOffsetY,
				w = gamesetup_txt_profilename_params["w"]+20,
				h = gamesetup_txt_profilename_params["h"]+20,
				label="playername"
			},
			
			-- Profile outlining
			Bitmap
			{
				name="btn_dropdown_2",
				image=gamesetup_ico_dropdown_01_params["image"],
				x=gamesetup_ico_dropdown_01_params["x"]-kPanelBaseX,
				y=gamesetup_ico_dropdown_01_params["y"]-kPanelOffsetY,
			},
			
			-- Name outlining
			Bitmap
			{
				name="btn_profileselector_2",
				image="menu/btn_profileselector_01",
				x=gamesetup_btn_profileselector_01_params["x"]-kPanelBaseX,
				y=gamesetup_btn_profileselector_01_params["y"]-kPanelOffsetY,
				
				Button
				{
					name="ersatz_arrow_2",
					image="menu/btn_profileselector_01",
					x=0,
					y=0,
					w=kMax,
					h=kMax,
					command=
						function()
							OnSetupChooseProfile(2);
						end
				},
			},
			
			-- The arrow
			MonopolyButton
			{
				name = "player2_selector_arrow",
				type = kPush,
				graphics = gamesetup_btn_largearrow_01_params["graphics"],
				x = gamesetup_btn_largearrow_01_params["x"]-kPanelBaseX,
				y = gamesetup_btn_largearrow_01_params["y"]-kPanelOffsetY,
				command=
					function()
						OnSetupChooseProfile(2);
					end
			},
			
			-- Profile name
			Text
			{
				font = Green15Font,
				name = "player2_profile_name",
				x = gamesetup_txt_chosenprofile_params["x"]-kPanelBaseX,
				y = gamesetup_txt_chosenprofile_params["y"]-kPanelOffsetY-2,
				w = gamesetup_txt_chosenprofile_params["w"]+20,
				h = gamesetup_txt_chosenprofile_params["h"]+20,
				label=""
			},
			
			-- Player Avatar's Button & Outline
			MonopolyButton
			{
				name = "player2_changeprofile",
				type = kPush,
				graphics =
				{
					"menu/btn_iconframe02_01",
					"menu/btn_iconframe02_02",
					"menu/btn_iconframe02_03"
				},
				x = gamesetup_btn_iconframe01_01_params["x"]-kPanelBaseX,
				y = gamesetup_btn_iconframe01_01_params["y"]-kPanelOffsetY,
					command=
						function()
							OnSetupChooseAvatar(2);
						end
			},
			
			-- The actual icon's image
			Bitmap
			{
				name = "player2_icon",
				image="menu/ico_mplayericon_k",
				x = gamesetup_ico_mplayericon01_params["x"]-kPanelBaseX,
				y = gamesetup_ico_mplayericon01_params["y"]-kPanelOffsetY,
			},
				
			-- View profile Button
			MonopolyButton
			{
				name = "player2_viewprofile",
				graphics = gamesetup_btn_menu_viewprofile_params["graphics"],
				type = kPush,
				font = White12Font,
				label="profiletoken.btn",
				tooltip = "over.token",
				tooltip_x = gamesetup_btn_menu_createprofile_params["x"] + gamesetup_btn_menu_createprofile_params["w"]/2,
				tooltip_y = gamesetup_btn_menu_createprofile_params["y"]*2.05 - gamesetup_btn_menu_createprofile_params["h"]/2,
				x = gamesetup_btn_menu_createprofile_params["x"]-kPanelBaseX,
				y = gamesetup_btn_menu_createprofile_params["y"]-kPanelOffsetY,
				command =
					function()
						OnSetupViewProfile(2);
					end
			},
			-- New Profile Button
			--[[
			MonopolyButton
			{
				name = "player2_newprofile",
				graphics = gamesetup_btn_menu_createprofile_params["graphics"],
				type = kPush,
				font = White12Font,
				label="profilenew.btn",
				tooltip = "over.newprofile",
				tooltip_x = gamesetup_btn_menu_createprofile_params["x"] + gamesetup_btn_menu_createprofile_params["w"]/2,
				tooltip_y = gamesetup_btn_menu_createprofile_params["y"]*2.05 - gamesetup_btn_menu_createprofile_params["h"]/2,
				x = gamesetup_btn_menu_createprofile_params["x"]-kPanelBaseX,
				y = gamesetup_btn_menu_createprofile_params["y"]-kPanelOffsetY,
				command =
					function()
						OnSetupLeave();
						OnSetupNewProfile(2);
					end
			},
			--]]
		},


		-- Player 3's panel
		Window
		{
			x=kPanelBaseX,
			y=kPanelBaseY+(kPanelOffsetY*2),
			w=500,
			h=110,
			name="gamesetup_player3_panel",
			
			-- Player type Selector
			BeginGroup(),
			MonopolyButton
			{
				font = White15Font,
				name = "player3_type_selector_0",
				graphics =
				{
					'',
					'menu/btn_selector_01',
					'menu/btn_selector_01',
					'menu/btn_selector_01',
				},
				w = gamesetup_btn_selector_02_params["w"],
				h = gamesetup_btn_selector_02_params["h"],
				x = gamesetup_btn_selector_02_params["x"]-kPanelBaseX,
				y = gamesetup_btn_selector_02_params["y"]+(kSelectorButtonOffsetY*0)-kPanelOffsetY,
				type = kRadio,
				flags = kHAlignCenter + kVAlignCenter,
				label="player.drop.01",
				command=
					function()
						OnSetupChoosePlayerType(3, 0);
					end
			},
			MonopolyButton
			{
				font = White15Font,
				name = "player3_type_selector_1",
				graphics =
				{
					'',
					'menu/btn_selector_01',
					'menu/btn_selector_01',
					'menu/btn_selector_01',
				},
				w = gamesetup_btn_selector_02_params["w"],
				h = gamesetup_btn_selector_02_params["h"],
				x = gamesetup_btn_selector_02_params["x"]-kPanelBaseX,
				y = gamesetup_btn_selector_02_params["y"]+(kSelectorButtonOffsetY*1)-kPanelOffsetY,
				type = kRadio,
				flags = kHAlignCenter + kVAlignCenter,
				label="player.drop.02",
				command=
					function()
						OnSetupChoosePlayerType(3, 1);
					end
			},
			MonopolyButton
			{
				font = White15Font,
				name = "player3_type_selector_2",
				graphics =
				{
					'',
					'menu/btn_selector_01',
					'menu/btn_selector_01',
					'menu/btn_selector_01',
				},
				w = gamesetup_btn_selector_02_params["w"],
				h = gamesetup_btn_selector_02_params["h"],
				x = gamesetup_btn_selector_02_params["x"]-kPanelBaseX,
				y = gamesetup_btn_selector_02_params["y"]+(kSelectorButtonOffsetY*2)-kPanelOffsetY,
				type = kRadio,
				flags = kHAlignCenter + kVAlignCenter,
				label="player.drop.03",
				command=
					function()
						OnSetupChoosePlayerType(3, 2);
					end
			},
			BeginGroup(),
			
			-- Static text
			Text
			{
				font = Green15Font,
				name = "player3_static_profname",
				x = gamesetup_txt_profilename_params["x"]-kPanelBaseX,
				y = gamesetup_txt_profilename_params["y"]-kPanelOffsetY,
				w = gamesetup_txt_profilename_params["w"]+20,
				h = gamesetup_txt_profilename_params["h"]+20,
				label="playername"
			},
			
			-- Profile outlining
			Bitmap
			{
				name="btn_dropdown_3",
				image=gamesetup_ico_dropdown_01_params["image"],
				x=gamesetup_ico_dropdown_01_params["x"]-kPanelBaseX,
				y=gamesetup_ico_dropdown_01_params["y"]-kPanelOffsetY,
			},
			
			-- Name outlining
			Bitmap
			{
				name="btn_profileselector_3",
				image="menu/btn_profileselector_01",
				x=gamesetup_btn_profileselector_01_params["x"]-kPanelBaseX,
				y=gamesetup_btn_profileselector_01_params["y"]-kPanelOffsetY,
				
				Button
				{
					name="ersatz_arrow_3",
					image="menu/btn_profileselector_01",
					x=0,
					y=0,
					w=kMax,
					h=kMax,
					command=
						function()
							OnSetupChooseProfile(3);
						end
				},
			},
			
			-- The arrow
			MonopolyButton
			{
				name = "player3_selector_arrow",
				type = kPush,
				graphics = gamesetup_btn_largearrow_01_params["graphics"],
				x = gamesetup_btn_largearrow_01_params["x"]-kPanelBaseX,
				y = gamesetup_btn_largearrow_01_params["y"]-kPanelOffsetY,
				command=
					function()
						OnSetupChooseProfile(3);
					end
			},
			
			-- Profile name
			Text
			{
				font = Green15Font,
				name = "player3_profile_name",
				x = gamesetup_txt_chosenprofile_params["x"]-kPanelBaseX,
				y = gamesetup_txt_chosenprofile_params["y"]-kPanelOffsetY-2,
				w = gamesetup_txt_chosenprofile_params["w"]+20,
				h = gamesetup_txt_chosenprofile_params["h"]+20,
				label=""
			},
			
			-- Player Avatar's Button & Outline
			MonopolyButton
			{
				name = "player3_changeprofile",
				type = kPush,
				graphics =
				{
					"menu/btn_iconframe03_01",
					"menu/btn_iconframe03_02",
					"menu/btn_iconframe03_03"
				},
				x = gamesetup_btn_iconframe01_01_params["x"]-kPanelBaseX,
				y = gamesetup_btn_iconframe01_01_params["y"]-kPanelOffsetY,
					command=
						function()
							OnSetupChooseAvatar(3);
						end
			},
			
			-- The actual icon's image
			Bitmap
			{
				name = "player3_icon",
				image="menu/ico_mplayericon_k",
				x = gamesetup_ico_mplayericon01_params["x"]-kPanelBaseX,
				y = gamesetup_ico_mplayericon01_params["y"]-kPanelOffsetY,
			},
				
			-- View profile Button
			MonopolyButton
			{
				name = "player3_viewprofile",
				graphics = gamesetup_btn_menu_viewprofile_params["graphics"],
				type = kPush,
				font = White12Font,
				label="profiletoken.btn",
				tooltip = "over.token",
				tooltip_x = gamesetup_btn_menu_createprofile_params["x"] + gamesetup_btn_menu_createprofile_params["w"]/2,
				tooltip_y = gamesetup_btn_menu_createprofile_params["y"]*2.75 - gamesetup_btn_menu_createprofile_params["h"]/2,
				x = gamesetup_btn_menu_createprofile_params["x"]-kPanelBaseX,
				y = gamesetup_btn_menu_createprofile_params["y"]-kPanelOffsetY,
				command =
					function()
						OnSetupViewProfile(3);
					end
			},
			-- New Profile Button
			--[[
			MonopolyButton
			{
				name = "player3_newprofile",
				graphics = gamesetup_btn_menu_createprofile_params["graphics"],
				type = kPush,
				font = White12Font,
				label="profilenew.btn",
				tooltip = "over.newprofile",
				tooltip_x = gamesetup_btn_menu_createprofile_params["x"] + gamesetup_btn_menu_createprofile_params["w"]/2,
				tooltip_y = gamesetup_btn_menu_createprofile_params["y"]*2.75 - gamesetup_btn_menu_createprofile_params["h"]/2,
				x = gamesetup_btn_menu_createprofile_params["x"]-kPanelBaseX,
				y = gamesetup_btn_menu_createprofile_params["y"]-kPanelOffsetY,
				command =
					function()
						OnSetupLeave();
						OnSetupNewProfile(3);
					end
			},
			--]]
		},
		
		
		-- Player 4's panel
		Window
		{
			x=kPanelBaseX,
			y=kPanelBaseY+(kPanelOffsetY*3),
			w=500,
			h=110,
			name="gamesetup_player4_panel",
			
			-- Player type Selector
			BeginGroup(),
			MonopolyButton
			{
				font = White15Font,
				name = "player4_type_selector_0",
				graphics =
				{
					'',
					'menu/btn_selector_01',
					'menu/btn_selector_01',
					'menu/btn_selector_01',
				},
				w = gamesetup_btn_selector_02_params["w"],
				h = gamesetup_btn_selector_02_params["h"],
				x = gamesetup_btn_selector_02_params["x"]-kPanelBaseX,
				y = gamesetup_btn_selector_02_params["y"]+(kSelectorButtonOffsetY*0)-kPanelOffsetY,
				type = kRadio,
				flags = kHAlignCenter + kVAlignCenter,
				label="player.drop.01",
				command=
					function()
						OnSetupChoosePlayerType(4, 0);
					end
			},
			MonopolyButton
			{
				font = White15Font,
				name = "player4_type_selector_1",
				graphics =
				{
					'',
					'menu/btn_selector_01',
					'menu/btn_selector_01',
					'menu/btn_selector_01',
				},
				w = gamesetup_btn_selector_02_params["w"],
				h = gamesetup_btn_selector_02_params["h"],
				x = gamesetup_btn_selector_02_params["x"]-kPanelBaseX,
				y = gamesetup_btn_selector_02_params["y"]+(kSelectorButtonOffsetY*1)-kPanelOffsetY,
				type = kRadio,
				flags = kHAlignCenter + kVAlignCenter,
				label="player.drop.02",
				command=
					function()
						OnSetupChoosePlayerType(4, 1);
					end
			},
			MonopolyButton
			{
				font = White15Font,
				name = "player4_type_selector_2",
				graphics =
				{
					'',
					'menu/btn_selector_01',
					'menu/btn_selector_01',
					'menu/btn_selector_01',
				},
				w = gamesetup_btn_selector_02_params["w"],
				h = gamesetup_btn_selector_02_params["h"],
				x = gamesetup_btn_selector_02_params["x"]-kPanelBaseX,
				y = gamesetup_btn_selector_02_params["y"]+(kSelectorButtonOffsetY*2)-kPanelOffsetY,
				type = kRadio,
				flags = kHAlignCenter + kVAlignCenter,
				label="player.drop.03",
				command=
					function()
						OnSetupChoosePlayerType(4, 2);
					end
			},
			BeginGroup(),
			
			-- Static text
			Text
			{
				font = Green15Font,
				name = "player4_static_profname",
				x = gamesetup_txt_profilename_params["x"]-kPanelBaseX,
				y = gamesetup_txt_profilename_params["y"]-kPanelOffsetY,
				w = gamesetup_txt_profilename_params["w"]+20,
				h = gamesetup_txt_profilename_params["h"]+20,
				label="playername"
			},
			
			-- Profile outlining
			Bitmap
			{
				name="btn_dropdown_4",
				image=gamesetup_ico_dropdown_01_params["image"],
				x=gamesetup_ico_dropdown_01_params["x"]-kPanelBaseX,
				y=gamesetup_ico_dropdown_01_params["y"]-kPanelOffsetY,
			},
			
			-- Name outlining
			Bitmap
			{
				name="btn_profileselector_4",
				image="menu/btn_profileselector_01",
				x=gamesetup_btn_profileselector_01_params["x"]-kPanelBaseX,
				y=gamesetup_btn_profileselector_01_params["y"]-kPanelOffsetY,
					
				Button
				{
					name="ersatz_arrow_4",
					image="menu/btn_profileselector_01",
					x=0,
					y=0,
					w=kMax,
					h=kMax,
					command=
						function()
							OnSetupChooseProfile(4);
						end
				},
			},
			
			-- The arrow
			MonopolyButton
			{
				name = "player4_selector_arrow",
				type = kPush,
				graphics = gamesetup_btn_largearrow_01_params["graphics"],
				x = gamesetup_btn_largearrow_01_params["x"]-kPanelBaseX,
				y = gamesetup_btn_largearrow_01_params["y"]-kPanelOffsetY,
				command=
					function()
						OnSetupChooseProfile(4);
					end
			},
			
			-- Profile name
			Text
			{
				font = Green15Font,
				name = "player4_profile_name",
				x = gamesetup_txt_chosenprofile_params["x"]-kPanelBaseX,
				y = gamesetup_txt_chosenprofile_params["y"]-kPanelOffsetY-2,
				w = gamesetup_txt_chosenprofile_params["w"]+20,
				h = gamesetup_txt_chosenprofile_params["h"]+20,
				label=""
			},
			
			-- Player Avatar's Button & Outline
			MonopolyButton
			{
				name = "player4_changeprofile",
				type = kPush,
				graphics =
				{
					"menu/btn_iconframe04_01",
					"menu/btn_iconframe04_02",
					"menu/btn_iconframe04_03"
				},
				x = gamesetup_btn_iconframe01_01_params["x"]-kPanelBaseX,
				y = gamesetup_btn_iconframe01_01_params["y"]-kPanelOffsetY,
					command=
						function()
							OnSetupChooseAvatar(4);
						end
			},
			
			-- The actual icon's image
			Bitmap
			{
				name = "player4_icon",
				image="menu/ico_mplayericon_k",
				x = gamesetup_ico_mplayericon01_params["x"]-kPanelBaseX,
				y = gamesetup_ico_mplayericon01_params["y"]-kPanelOffsetY,
			},
				
			-- View profile Button
			MonopolyButton
			{
				name = "player4_viewprofile",
				graphics = gamesetup_btn_menu_viewprofile_params["graphics"],
				type = kPush,
				font = White12Font,
				label="profiletoken.btn",
				tooltip = "over.token",
				tooltip_x = gamesetup_btn_menu_createprofile_params["x"] + gamesetup_btn_menu_createprofile_params["w"]/2,
				tooltip_y = gamesetup_btn_menu_createprofile_params["y"]*3.45 - gamesetup_btn_menu_createprofile_params["h"]/2,
				x = gamesetup_btn_menu_createprofile_params["x"]-kPanelBaseX,
				y = gamesetup_btn_menu_createprofile_params["y"]-kPanelOffsetY,
				command =
					function()
						OnSetupViewProfile(4);
					end
			},
			-- New Profile Button
			--[[
			MonopolyButton
			{
				name = "player4_newprofile",
				graphics = gamesetup_btn_menu_createprofile_params["graphics"],
				type = kPush,
				font = White12Font,
				label="profilenew.btn",
				tooltip = "over.newprofile",
				tooltip_x = gamesetup_btn_menu_createprofile_params["x"] + gamesetup_btn_menu_createprofile_params["w"]/2,
				tooltip_y = gamesetup_btn_menu_createprofile_params["y"]*3.45 - gamesetup_btn_menu_createprofile_params["h"]/2,
				x = gamesetup_btn_menu_createprofile_params["x"]-kPanelBaseX,
				y = gamesetup_btn_menu_createprofile_params["y"]-kPanelOffsetY,
				command =
					function()
						OnSetupLeave();
						OnSetupNewProfile(4);
					end
			},
			--]]
		},

		
		-----------------------------------------------------------------------------
		-- Static Game Length
		Text
		{
			name = gamesetup_txt_gamelength_params["name"],
			font = Green15Font,
			x = gamesetup_txt_gamelength_params["x"]-10,
			y = gamesetup_txt_gamelength_params["y"]-10,
			w = gamesetup_txt_gamelength_params["w"]+20,
			h = gamesetup_txt_gamelength_params["h"]+20,
			flags = kHAlignCenter + kVAlignCenter,
			label = "gamelength"
		},
		
		--Buttons setting Game Length
		BeginGroup(),
		MonopolyButton
		{
			name = "gamelength_0",
			graphics = radio_button_graphics,
			x = gamesetup_btn_radbtn_eli_params["x"],
			y = gamesetup_btn_radbtn_eli_params["y"],
			type=kRadio,
			command=
				function()
					OnSetupSetGameLength(0);
				end
		},
		MonopolyButton
		{
			name = "gamelength_1",
			graphics = radio_button_graphics,
			x = gamesetup_btn_radbtn_30_params["x"],
			y = gamesetup_btn_radbtn_30_params["y"],
			type=kRadio,
			command=
				function()
					OnSetupSetGameLength(1);
				end
		},
		MonopolyButton
		{
			name = "gamelength_2",
			graphics = radio_button_graphics,
			x = gamesetup_btn_radbtn_60_params["x"],
			y = gamesetup_btn_radbtn_60_params["y"],
			type=kRadio,
			command=
				function()
					OnSetupSetGameLength(2);
				end
		},
		MonopolyButton
		{
			name = "gamelength_3",
			graphics = radio_button_graphics,
			x = gamesetup_btn_radbtn_90_params["x"],
			y = gamesetup_btn_radbtn_90_params["y"],
			type=kRadio,
			command=
				function()
					OnSetupSetGameLength(3);
				end
		},
		MonopolyButton
		{
			name = "gamelength_4",
			graphics = radio_button_graphics,
			x = gamesetup_btn_radbtn_120_params["x"],
			y = gamesetup_btn_radbtn_120_params["y"],
			type=kRadio,
			command=
				function()
					OnSetupSetGameLength(4);
				end
		},
		BeginGroup(),
		
		-- And their static texts
		Text
		{
			name = gamesetup_txt_eli_params["name"],
			font = Green15Font,
			x = gamesetup_txt_eli_params["x"]-10,
			y = gamesetup_txt_eli_params["y"]-10,
			w = gamesetup_txt_eli_params["w"]+20,
			h = gamesetup_txt_eli_params["h"]+20,
			flags = kHAlignCenter + kVAlignCenter,
			label = "gamelength.drop.01"
		},
		Text
		{
			name = gamesetup_txt_30_params["name"],
			font = Green15Font,
			x = gamesetup_txt_30_params["x"]-10,
			y = gamesetup_txt_30_params["y"]-10,
			w = gamesetup_txt_30_params["w"]+20,
			h = gamesetup_txt_30_params["h"]+20,
			flags = kHAlignCenter + kVAlignCenter,
			label = "gamelength.drop.02"
		},
		Text
		{
			name = gamesetup_txt_60_params["name"],
			font = Green15Font,
			x = gamesetup_txt_60_params["x"]-10,
			y = gamesetup_txt_60_params["y"]-10,
			w = gamesetup_txt_60_params["w"]+20,
			h = gamesetup_txt_60_params["h"]+20,
			flags = kHAlignCenter + kVAlignCenter,
			label = "gamelength.drop.03"
		},		
		Text
		{
			name = gamesetup_txt_90_params["name"],
			font = Green15Font,
			x = gamesetup_txt_90_params["x"]-10,
			y = gamesetup_txt_90_params["y"]-10,
			w = gamesetup_txt_90_params["w"]+20,
			h = gamesetup_txt_90_params["h"]+20,
			flags = kHAlignCenter + kVAlignCenter,
			label = "gamelength.drop.04"
		},
		Text
		{
			name = gamesetup_txt_120_params["name"],
			font = Green15Font,
			x = gamesetup_txt_120_params["x"]-10,
			y = gamesetup_txt_120_params["y"]-10,
			w = gamesetup_txt_120_params["w"]+20,
			h = gamesetup_txt_120_params["h"]+20,
			flags = kHAlignCenter + kVAlignCenter,
			label = "gamelength.drop.05"
		},
		
		-- Advice
		Text
		{
			font = Green15Font,
			name = gamesetup_txt_playadvice_params["name"],
			label="playadvice",
			x = gamesetup_txt_playadvice_params["x"]-20,
			y = gamesetup_txt_playadvice_params["y"]-20,
			w = gamesetup_txt_playadvice_params["w"]+40,
			h = gamesetup_txt_playadvice_params["h"]+40,
			flags = kHAlignCenter + kVAlignCenter,
		},
		
		BeginGroup(),
		MonopolyButton
		{
			name = "advice_on",
			graphics = radio_button_graphics,
			x = gamesetup_btn_radbtn_advoff_params["x"],
			y = gamesetup_btn_radbtn_advoff_params["y"],
			type=kRadio,
			command=
				function()
					OnSetupAdvice(true);
				end
		},
		MonopolyButton
		{
			name = "advice_off",
			graphics = radio_button_graphics,
			x = gamesetup_btn_radbtn_advon_params["x"],
			y = gamesetup_btn_radbtn_advon_params["y"],
			type=kRadio,
			command=
				function()
					OnSetupAdvice(false);
				end
		},
	
		-- Static On/Off Texts
		Text
		{
			name = gamesetup_txt_on_params["name"],
			font = Green15Font,
			x = gamesetup_txt_on_params["x"]-10,
			y = gamesetup_txt_on_params["y"]-10,
			w = gamesetup_txt_on_params["w"]+20,
			h = gamesetup_txt_on_params["h"]+20,
			flags = kHAlignCenter + kVAlignCenter,
			label = "playadvice.on"
		},
		Text
		{
			name = gamesetup_txt_off_params["name"],
			font = Green15Font,
			x = gamesetup_txt_off_params["x"]-10,
			y = gamesetup_txt_off_params["y"]-10,
			w = gamesetup_txt_off_params["w"]+20,
			h = gamesetup_txt_off_params["h"]+20,
			flags = kHAlignCenter + kVAlignCenter,
			label = "playadvice.off"
		},
		BeginGroup(),
		
		
		-- Return button
		MonopolyButton
		{
			name = "return",
			type = kPush,
			font = White12Font,
			label="return.btn",
			graphics = gamesetup_btn_menu_setupreturn_params["graphics"],
			x = gamesetup_btn_menu_setupreturn_params["x"],
			y = gamesetup_btn_menu_setupreturn_params["y"],
			command =
				function()
					OnSetupReturnToMenu();
				end
		},
		
		-- Disabled Start button
		MonopolyButton
		{
			name = "start_disabled",
			type = kPush,
			graphics =
			{
				"menu/btn_start_04",
				"menu/btn_start_04",
				"menu/btn_start_04",
			},

			x = gamesetup_btn_start_01_params["x"],
			y = gamesetup_btn_start_01_params["y"],
			w = gamesetup_btn_start_01_params["w"],
			h = gamesetup_btn_start_01_params["h"],
			tooltip = "start.cannot",
			tooltip_x = gamesetup_btn_start_01_params["x"] + gamesetup_btn_start_01_params["w"]/2,
			tooltip_y = gamesetup_btn_start_01_params["y"] + 1.0 * gamesetup_btn_start_01_params["h"],
		},
		
		-- Start button
		MonopolyButton
		{
			name = "start",
			type = kPush,
			--font = White12Font,
			--label="start.btn",
			graphics = gamesetup_btn_start_01_params["graphics"],
			--graphics = gamesetup_btn_menu_setupreturn_params["graphics"],
			x = gamesetup_btn_start_01_params["x"],
			y = gamesetup_btn_start_01_params["y"],
			command =
				function()
					OnSetupStartGame();
					--DisplaySplash("splash/sarbakan.swf", "splash/sarbakan",4000);
					SwapToModal("scripts/monopoly_game.lua");
				end
		},
		-- Start button label
		Text
		{
			name = "start_txt",
			font = White18Font,
			label="start.btn",
			flags = kHAlignCenter + kVAlignCenter,
			x = gamesetup_btn_start_01_params["x"],
			y = gamesetup_btn_start_01_params["y"]-10,
			w = gamesetup_btn_start_01_params["w"],
			h = gamesetup_btn_start_01_params["h"],

			command =
				function()
					SwapToModal("scripts/monopoly_game.lua");
				end
		},		
		
		
		---------------------------------------------------------------------
		
		-- The Profile Chooser Popups
		ProfileSelectionDropDown
		{
			name = "profilechooser_1",
			x=gamesetup_ico_dropdown_01_params["x"],
			y=gamesetup_ico_dropdown_01_params["y"]+25+(kPanelOffsetY*0),
			w=200,h=150,
			
			-- BG
			Bitmap
			{
				name=pop_profilelist_pop_profilelist_params["name"],
				image=pop_profilelist_pop_profilelist_params["image"],
				x=pop_profilelist_pop_profilelist_params["x"],
				y=pop_profilelist_pop_profilelist_params["y"],
			},
			
			Bitmap
			{
				name="downbutton_1_static",
				image="menu/btn_downarrow_04",
				x=pop_profilelist_btn_downarrow_01_params["x"],
				y=pop_profilelist_btn_downarrow_01_params["y"],
			},
			Bitmap
			{
				name="upbutton_1_static",
				image="menu/btn_uparrow_04",
				x=pop_profilelist_btn_uparrow_01_params["x"],
				y=pop_profilelist_btn_uparrow_01_params["y"],
			},
			-- DownArrow
			MonopolyButton
			{
				type = kPush,
				graphics=pop_profilelist_btn_downarrow_01_params["graphics"],
				name="downbutton_1",
				x=pop_profilelist_btn_downarrow_01_params["x"],
				y=pop_profilelist_btn_downarrow_01_params["y"],
				command =
					function()
						OnSetupScrollProfile(1, 1);
					end
			},
			-- UpArrow
			MonopolyButton
			{
				type = kPush,
				graphics=pop_profilelist_btn_uparrow_01_params["graphics"],
				name="upbutton_1",
				image=pop_profilelist_btn_uparrow_01_params["image"],
				x=pop_profilelist_btn_uparrow_01_params["x"],
				y=pop_profilelist_btn_uparrow_01_params["y"],
				command =
					function()
						OnSetupScrollProfile(1, -1);
					end
			},
			SetStyle(RulesSliderStyle),
			SliderEx
			{
				name = "profile_slider",
				x = pop_profilelist_btn_uparrow_01_params["x"],
				y = pop_profilelist_btn_uparrow_01_params["y"]+pop_profilelist_btn_uparrow_01_params["h"],
				h = pop_profilelist_btn_downarrow_01_params["y"]-(pop_profilelist_btn_uparrow_01_params["y"] + pop_profilelist_btn_uparrow_01_params["h"]),
			},
			SetStyle(DefaultStyle),
			
			-- Profile List
			-- The disabled list options
			Text
			{
				font = MonopolyFont_15B_Grey2,
				name = "player1_profile0_disabled",
				x = pop_profilelist_txt_profilelist_params["x"],
				y = pop_profilelist_txt_profilelist_params["y"]-4+((pop_profilelist_txt_profilelist_params["h"]/2.25)*0),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
			},
			Text
			{
				font = MonopolyFont_15B_Grey2,
				name = "player1_profile1_disabled",
				x = pop_profilelist_txt_profilelist_params["x"],
				y = pop_profilelist_txt_profilelist_params["y"]-4+((pop_profilelist_txt_profilelist_params["h"]/2.25)*1),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
			},
			Text
			{
				font = MonopolyFont_15B_Grey2,
				name = "player1_profile2_disabled",
				x = pop_profilelist_txt_profilelist_params["x"],
				y = pop_profilelist_txt_profilelist_params["y"]-4+((pop_profilelist_txt_profilelist_params["h"]/2.25)*2),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
			},
			Text
			{
				font = MonopolyFont_15B_Grey2,
				name = "player1_profile3_disabled",
				x = pop_profilelist_txt_profilelist_params["x"],
				y = pop_profilelist_txt_profilelist_params["y"]-4+((pop_profilelist_txt_profilelist_params["h"]/2.25)*3),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
			},
			Text
			{
				font = MonopolyFont_15B_Grey2,
				name = "player1_profile4_disabled",
				x = pop_profilelist_txt_profilelist_params["x"],
				y = pop_profilelist_txt_profilelist_params["y"]-4+((pop_profilelist_txt_profilelist_params["h"]/2.25)*4),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
			},	
			Text
			{
				font = MonopolyFont_15B_Grey2,
				name = "player1_profile5_disabled",
				x = pop_profilelist_txt_profilelist_params["x"],
				y = pop_profilelist_txt_profilelist_params["y"]-4+((pop_profilelist_txt_profilelist_params["h"]/2.25)*5),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
			},
			
			-- The buttons
			BeginGroup(),
			MonopolyButton
			{
				graphics =
				{
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
				},
				type = kPush,
				font = Green15Font,
				name = "player1_profile0",
				x = pop_profilelist_txt_profilelist_params["x"]-10,
				y = pop_profilelist_txt_profilelist_params["y"]-8+((pop_profilelist_txt_profilelist_params["h"]/2.25)*0),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
				command =
					function()
						OnSetupSetProfile(1, 0);
					end
			},
			MonopolyButton
			{
				graphics =
				{
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
				},
				type = kPush,
				font = Green15Font,
				name = "player1_profile1",
				x = pop_profilelist_txt_profilelist_params["x"]-10,
				y = pop_profilelist_txt_profilelist_params["y"]-8+((pop_profilelist_txt_profilelist_params["h"]/2.25)*1),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
				command =
					function()
						OnSetupSetProfile(1, 1);
					end
			},
			MonopolyButton
			{
				graphics =
				{
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
				},
				type = kPush,
				font = Green15Font,
				name = "player1_profile2",
				x = pop_profilelist_txt_profilelist_params["x"]-10,
				y = pop_profilelist_txt_profilelist_params["y"]-8+((pop_profilelist_txt_profilelist_params["h"]/2.25)*2),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
				command =
					function()
						OnSetupSetProfile(1, 2);
					end
			},	
			MonopolyButton
			{
				graphics =
				{
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
				},
				type = kPush,
				font = Green15Font,
				name = "player1_profile3",
				x = pop_profilelist_txt_profilelist_params["x"]-10,
				y = pop_profilelist_txt_profilelist_params["y"]-8+((pop_profilelist_txt_profilelist_params["h"]/2.25)*3),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
				command =
					function()
						OnSetupSetProfile(1, 3);
					end
			},
			MonopolyButton
			{
				graphics =
				{
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
				},
				type = kPush,
				font = Green15Font,
				name = "player1_profile4",
				x = pop_profilelist_txt_profilelist_params["x"]-10,
				y = pop_profilelist_txt_profilelist_params["y"]-8+((pop_profilelist_txt_profilelist_params["h"]/2.25)*4),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
				command =
					function()
						OnSetupSetProfile(1, 4);
					end
			},
			MonopolyButton
			{
				graphics =
				{
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
				},
				type = kPush,
				font = Green15Font,
				name = "player1_profile5",
				x = pop_profilelist_txt_profilelist_params["x"]-10,
				y = pop_profilelist_txt_profilelist_params["y"]-8+((pop_profilelist_txt_profilelist_params["h"]/2.25)*5),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
				command =
					function()
						OnSetupSetProfile(1, 5);
					end
			},
			BeginGroup(),
		},
		AvatarSelectionDropDown
		{
			name = "avatarchooser_1",
			x = gamesetup_btn_profileselector_01_params["x"]-117,
			y = gamesetup_btn_profileselector_01_params["y"]+(kPanelOffsetY*0)-5,
			w=300,h=80,
			player = 1,

			--BG
			Bitmap
			{
				name = pop_tokenpopup_pop_tpframe_params["name"],
				image = pop_tokenpopup_pop_tpframe_params["image"],
				x = pop_tokenpopup_pop_tpframe_params["x"],
				y = pop_tokenpopup_pop_tpframe_params["y"],
			},
			-- The Underbuttons
			Bitmap
			{
				name = "underbutton_1_1",
				image = "menu/btn_dframe_04",
				x = pop_tokenpopup_btn_dframe_01_params["x"],
				y = pop_tokenpopup_btn_dframe_01_params["y"],
			},
			Bitmap
			{
				name = "underbutton_1_2",
				image = "menu/btn_vframe_04",
				x = pop_tokenpopup_btn_vframe_01_params["x"],
				y = pop_tokenpopup_btn_vframe_01_params["y"],
			},
			Bitmap
			{
				name = "underbutton_1_3",
				image = "menu/btn_tframe_04",
				x = pop_tokenpopup_btn_tframe_01_params["x"],
				y = pop_tokenpopup_btn_tframe_01_params["y"],

			},
			Bitmap
			{
				name = "underbutton_1_4",
				image = "menu/btn_pframe_04",
				x = pop_tokenpopup_btn_pframe_01_params["x"],
				y = pop_tokenpopup_btn_pframe_01_params["y"],
			},
			Bitmap
			{
				name = "underbutton_1_5",
				image = "menu/btn_kframe_04",
				x = pop_tokenpopup_btn_kframe_01_params["x"],
				y = pop_tokenpopup_btn_kframe_01_params["y"],
			},
			Bitmap
			{
				name = "underbutton_1_6",
				image = "menu/btn_hframe_04",
				x = pop_tokenpopup_btn_hframe_01_params["x"],
				y = pop_tokenpopup_btn_hframe_01_params["y"],
			},
			-- The buttons
			BeginGroup(),
			MonopolyButton
			{
				name = "token_btn_1_1",
				graphics = pop_tokenpopup_btn_dframe_01_params["graphics"],
				type = kPush,
				x = pop_tokenpopup_btn_dframe_01_params["x"],
				y = pop_tokenpopup_btn_dframe_01_params["y"],
				command=
					function()
						OnSetupSetAvatar(1, 1);
					end
			},
			MonopolyButton
			{
				name = "token_btn_1_2",
				graphics = pop_tokenpopup_btn_vframe_01_params["graphics"],
				type = kPush,
				x = pop_tokenpopup_btn_vframe_01_params["x"],
				y = pop_tokenpopup_btn_vframe_01_params["y"],
				command=
					function()
						OnSetupSetAvatar(1, 2);
					end
			},
			MonopolyButton
			{
				name = "token_btn_1_3",
				graphics = pop_tokenpopup_btn_tframe_01_params["graphics"],
				type = kPush,
				x = pop_tokenpopup_btn_tframe_01_params["x"],
				y = pop_tokenpopup_btn_tframe_01_params["y"],
				command=
					function()
						OnSetupSetAvatar(1, 3);
					end
			},
			MonopolyButton
			{
				name = "token_btn_1_4",
				graphics = pop_tokenpopup_btn_pframe_01_params["graphics"],
				type = kPush,
				x = pop_tokenpopup_btn_pframe_01_params["x"],
				y = pop_tokenpopup_btn_pframe_01_params["y"],
				command=
					function()
						OnSetupSetAvatar(1, 4);
					end
			},
			MonopolyButton
			{
				name = "token_btn_1_5",
				graphics = pop_tokenpopup_btn_kframe_01_params["graphics"],
				type = kPush,
				x = pop_tokenpopup_btn_kframe_01_params["x"],
				y = pop_tokenpopup_btn_kframe_01_params["y"],
				command=
					function()
						OnSetupSetAvatar(1, 5);
					end
			},
			MonopolyButton
			{
				name = "token_btn_1_6",
				graphics = pop_tokenpopup_btn_hframe_01_params["graphics"],
				type = kPush,
				x = pop_tokenpopup_btn_hframe_01_params["x"],
				y = pop_tokenpopup_btn_hframe_01_params["y"],
				command=
					function()
						OnSetupSetAvatar(1, 6);
					end
			},
			-- The 'Taken' undertiles
			Bitmap
			{
				name = "taken_1_1",
				image = "",
				x = pop_tokenpopup_btn_dframe_01_params["x"]+1,
				y = pop_tokenpopup_btn_dframe_01_params["y"]-1,
			},
			Bitmap
			{
				name = "taken_1_2",
				image = "",
				x = pop_tokenpopup_btn_vframe_01_params["x"]+1,
				y = pop_tokenpopup_btn_vframe_01_params["y"]-1,
			},
			Bitmap
			{
				name = "taken_1_3",
				image = "",
				x = pop_tokenpopup_btn_tframe_01_params["x"]+1,
				y = pop_tokenpopup_btn_tframe_01_params["y"]-1,

			},
			Bitmap
			{
				name = "taken_1_4",
				image = "",
				x = pop_tokenpopup_btn_pframe_01_params["x"]+1,
				y = pop_tokenpopup_btn_pframe_01_params["y"]-1,
			},
			Bitmap
			{
				name = "taken_1_5",
				image = "",
				x = pop_tokenpopup_btn_kframe_01_params["x"]+1,
				y = pop_tokenpopup_btn_kframe_01_params["y"]-1,
			},
			Bitmap
			{
				name = "taken_1_6",
				image = "",
				x = pop_tokenpopup_btn_hframe_01_params["x"]+1,
				y = pop_tokenpopup_btn_hframe_01_params["y"]-1,
			},
		},
		
		
		ProfileSelectionDropDown
		{
			name = "profilechooser_2",
			x=gamesetup_ico_dropdown_01_params["x"],
			y=gamesetup_ico_dropdown_01_params["y"]+25+(kPanelOffsetY*1),
			w=200,h=150,
			
			-- BG
			Bitmap
			{
				name=pop_profilelist_pop_profilelist_params["name"],
				image=pop_profilelist_pop_profilelist_params["image"],
				x=pop_profilelist_pop_profilelist_params["x"],
				y=pop_profilelist_pop_profilelist_params["y"],
			},
			Bitmap
			{
				name="downbutton_2_static",
				image="menu/btn_downarrow_04",
				x=pop_profilelist_btn_downarrow_01_params["x"],
				y=pop_profilelist_btn_downarrow_01_params["y"],
			},
			Bitmap
			{
				name="upbutton_2_static",
				image="menu/btn_uparrow_04",
				x=pop_profilelist_btn_uparrow_01_params["x"],
				y=pop_profilelist_btn_uparrow_01_params["y"],
			},
			-- DownArrow
			MonopolyButton
			{
				type = kPush,
				graphics=pop_profilelist_btn_downarrow_01_params["graphics"],
				name="downbutton_2",
				x=pop_profilelist_btn_downarrow_01_params["x"],
				y=pop_profilelist_btn_downarrow_01_params["y"],
				command =
					function()
						OnSetupScrollProfile(2, 1);
					end
			},
			-- UpArrow
			MonopolyButton
			{
				type = kPush,
				graphics=pop_profilelist_btn_uparrow_01_params["graphics"],
				name="upbutton_2",
				image=pop_profilelist_btn_uparrow_01_params["image"],
				x=pop_profilelist_btn_uparrow_01_params["x"],
				y=pop_profilelist_btn_uparrow_01_params["y"],
				command =
					function()
						OnSetupScrollProfile(2, -1);
					end
			},
			SetStyle(RulesSliderStyle),
			SliderEx
			{
				name = "profile_slider",
				x = pop_profilelist_btn_uparrow_01_params["x"],
				y = pop_profilelist_btn_uparrow_01_params["y"]+pop_profilelist_btn_uparrow_01_params["h"],
				h = pop_profilelist_btn_downarrow_01_params["y"]-(pop_profilelist_btn_uparrow_01_params["y"] + pop_profilelist_btn_uparrow_01_params["h"]),
			},
			SetStyle(DefaultStyle),
			
			-- Profile List
			-- The disabled list options
			Text
			{
				font = MonopolyFont_15B_Grey2,
				name = "player2_profile0_disabled",
				x = pop_profilelist_txt_profilelist_params["x"],
				y = pop_profilelist_txt_profilelist_params["y"]-4+((pop_profilelist_txt_profilelist_params["h"]/2.25)*0),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
			},
			Text
			{
				font = MonopolyFont_15B_Grey2,
				name = "player2_profile1_disabled",
				x = pop_profilelist_txt_profilelist_params["x"],
				y = pop_profilelist_txt_profilelist_params["y"]-4+((pop_profilelist_txt_profilelist_params["h"]/2.25)*1),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
			},
			Text
			{
				font = MonopolyFont_15B_Grey2,
				name = "player2_profile2_disabled",
				x = pop_profilelist_txt_profilelist_params["x"],
				y = pop_profilelist_txt_profilelist_params["y"]-4+((pop_profilelist_txt_profilelist_params["h"]/2.25)*2),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
			},
			
			Text
			{
				font = MonopolyFont_15B_Grey2,
				name = "player2_profile3_disabled",
				x = pop_profilelist_txt_profilelist_params["x"],
				y = pop_profilelist_txt_profilelist_params["y"]-4+((pop_profilelist_txt_profilelist_params["h"]/2.25)*3),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
			},
			Text
			{
				font = MonopolyFont_15B_Grey2,
				name = "player2_profile4_disabled",
				x = pop_profilelist_txt_profilelist_params["x"],
				y = pop_profilelist_txt_profilelist_params["y"]-4+((pop_profilelist_txt_profilelist_params["h"]/2.25)*4),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
			},	
			Text
			{
				font = MonopolyFont_15B_Grey2,
				name = "player2_profile5_disabled",
				x = pop_profilelist_txt_profilelist_params["x"],
				y = pop_profilelist_txt_profilelist_params["y"]-4+((pop_profilelist_txt_profilelist_params["h"]/2.25)*5),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
			},
			
			-- The buttons
			BeginGroup(),
			MonopolyButton
			{
				graphics =
				{
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
				},
				type = kPush,
				font = Green15Font,
				name = "player2_profile0",
				x = pop_profilelist_txt_profilelist_params["x"]-10,
				y = pop_profilelist_txt_profilelist_params["y"]-8+((pop_profilelist_txt_profilelist_params["h"]/2.25)*0),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
				command =
					function()
						OnSetupSetProfile(2, 0);
					end
			},
			MonopolyButton
			{
				graphics =
				{
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
				},
				type = kPush,
				font = Green15Font,
				name = "player2_profile1",
				x = pop_profilelist_txt_profilelist_params["x"]-10,
				y = pop_profilelist_txt_profilelist_params["y"]-8+((pop_profilelist_txt_profilelist_params["h"]/2.25)*1),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
				command =
					function()
						OnSetupSetProfile(2, 1);
					end
			},
			MonopolyButton
			{
				graphics =
				{
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
				},
				type = kPush,
				font = Green15Font,
				name = "player2_profile2",
				x = pop_profilelist_txt_profilelist_params["x"]-10,
				y = pop_profilelist_txt_profilelist_params["y"]-8+((pop_profilelist_txt_profilelist_params["h"]/2.25)*2),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
				command =
					function()
						OnSetupSetProfile(2, 2);
					end
			},	
			MonopolyButton
			{
				graphics =
				{
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
				},
				type = kPush,
				font = Green15Font,
				name = "player2_profile3",
				x = pop_profilelist_txt_profilelist_params["x"]-10,
				y = pop_profilelist_txt_profilelist_params["y"]-8+((pop_profilelist_txt_profilelist_params["h"]/2.25)*3),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
				command =
					function()
						OnSetupSetProfile(2, 3);
					end
			},
			MonopolyButton
			{
				graphics =
				{
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
				},
				type = kPush,
				font = Green15Font,
				name = "player2_profile4",
				x = pop_profilelist_txt_profilelist_params["x"]-10,
				y = pop_profilelist_txt_profilelist_params["y"]-8+((pop_profilelist_txt_profilelist_params["h"]/2.25)*4),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
				command =
					function()
						OnSetupSetProfile(2, 4);
					end
			},
			MonopolyButton
			{
				graphics =
				{
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
				},
				type = kPush,
				font = Green15Font,
				name = "player2_profile5",
				x = pop_profilelist_txt_profilelist_params["x"]-10,
				y = pop_profilelist_txt_profilelist_params["y"]-8+((pop_profilelist_txt_profilelist_params["h"]/2.25)*5),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
				command =
					function()
						OnSetupSetProfile(2, 5);
					end
			},
			BeginGroup(),
		},
		AvatarSelectionDropDown
		{
			name = "avatarchooser_2",
			x = gamesetup_btn_profileselector_01_params["x"]-117,
			y = gamesetup_btn_profileselector_01_params["y"]+(kPanelOffsetY*1)-5,
			w=300,h=80,
			player = 2,

			--BG
			Bitmap
			{
				name = pop_tokenpopup_pop_tpframe_params["name"],
				image = pop_tokenpopup_pop_tpframe_params["image"],
				x = pop_tokenpopup_pop_tpframe_params["x"],
				y = pop_tokenpopup_pop_tpframe_params["y"],
			},
			
			-- The Underbuttons
			Bitmap
			{
				name = "underbutton_2_1",
				image = "menu/btn_dframe_04",
				x = pop_tokenpopup_btn_dframe_01_params["x"],
				y = pop_tokenpopup_btn_dframe_01_params["y"],
			},
			Bitmap
			{
				name = "underbutton_2_2",
				image = "menu/btn_vframe_04",
				x = pop_tokenpopup_btn_vframe_01_params["x"],
				y = pop_tokenpopup_btn_vframe_01_params["y"],
			},
			Bitmap
			{
				name = "underbutton_2_3",
				image = "menu/btn_tframe_04",
				x = pop_tokenpopup_btn_tframe_01_params["x"],
				y = pop_tokenpopup_btn_tframe_01_params["y"],

			},
			Bitmap
			{
				name = "underbutton_2_4",
				image = "menu/btn_pframe_04",
				x = pop_tokenpopup_btn_pframe_01_params["x"],
				y = pop_tokenpopup_btn_pframe_01_params["y"],
			},
			Bitmap
			{
				name = "underbutton_2_5",
				image = "menu/btn_kframe_04",
				x = pop_tokenpopup_btn_kframe_01_params["x"],
				y = pop_tokenpopup_btn_kframe_01_params["y"],
			},
			Bitmap
			{
				name = "underbutton_2_6",
				image = "menu/btn_hframe_04",
				x = pop_tokenpopup_btn_hframe_01_params["x"],
				y = pop_tokenpopup_btn_hframe_01_params["y"],
			},
			-- The buttons
			BeginGroup(),
			MonopolyButton
			{
				name = "token_btn_2_1",
				graphics = pop_tokenpopup_btn_dframe_01_params["graphics"],
				type = kPush,
				x = pop_tokenpopup_btn_dframe_01_params["x"],
				y = pop_tokenpopup_btn_dframe_01_params["y"],
				command=
					function()
						OnSetupSetAvatar(2, 1);
					end
			},
			MonopolyButton
			{
				name = "token_btn_2_2",
				graphics = pop_tokenpopup_btn_vframe_01_params["graphics"],
				type = kPush,
				x = pop_tokenpopup_btn_vframe_01_params["x"],
				y = pop_tokenpopup_btn_vframe_01_params["y"],
				command=
					function()
						OnSetupSetAvatar(2, 2);
					end
			},
			MonopolyButton
			{
				name = "token_btn_2_3",
				graphics = pop_tokenpopup_btn_tframe_01_params["graphics"],
				type = kPush,
				x = pop_tokenpopup_btn_tframe_01_params["x"],
				y = pop_tokenpopup_btn_tframe_01_params["y"],
				command=
					function()
						OnSetupSetAvatar(2, 3);
					end
			},
			MonopolyButton
			{
				name = "token_btn_2_4",
				graphics = pop_tokenpopup_btn_pframe_01_params["graphics"],
				type = kPush,
				x = pop_tokenpopup_btn_pframe_01_params["x"],
				y = pop_tokenpopup_btn_pframe_01_params["y"],
				command=
					function()
						OnSetupSetAvatar(2, 4);
					end
			},
			MonopolyButton
			{
				name = "token_btn_2_5",
				graphics = pop_tokenpopup_btn_kframe_01_params["graphics"],
				type = kPush,
				x = pop_tokenpopup_btn_kframe_01_params["x"],
				y = pop_tokenpopup_btn_kframe_01_params["y"],
				command=
					function()
						OnSetupSetAvatar(2, 5);
					end
			},
			MonopolyButton
			{
				name = "token_btn_2_6",
				graphics = pop_tokenpopup_btn_hframe_01_params["graphics"],
				type = kPush,
				x = pop_tokenpopup_btn_hframe_01_params["x"],
				y = pop_tokenpopup_btn_hframe_01_params["y"],
				command=
					function()
						OnSetupSetAvatar(2, 6);
					end
			},
			-- The 'Taken' undertiles
			Bitmap
			{
				name = "taken_2_1",
				image = "",
				x = pop_tokenpopup_btn_dframe_01_params["x"]+1,
				y = pop_tokenpopup_btn_dframe_01_params["y"]-1,
			},
			Bitmap
			{
				name = "taken_2_2",
				image = "",
				x = pop_tokenpopup_btn_vframe_01_params["x"]+1,
				y = pop_tokenpopup_btn_vframe_01_params["y"]-1,
			},
			Bitmap
			{
				name = "taken_2_3",
				image = "",
				x = pop_tokenpopup_btn_tframe_01_params["x"]+1,
				y = pop_tokenpopup_btn_tframe_01_params["y"]-1,

			},
			Bitmap
			{
				name = "taken_2_4",
				image = "",
				x = pop_tokenpopup_btn_pframe_01_params["x"]+1,
				y = pop_tokenpopup_btn_pframe_01_params["y"]-1,
			},
			Bitmap
			{
				name = "taken_2_5",
				image = "",
				x = pop_tokenpopup_btn_kframe_01_params["x"]+1,
				y = pop_tokenpopup_btn_kframe_01_params["y"]-1,
			},
			Bitmap
			{
				name = "taken_2_6",
				image = "",
				x = pop_tokenpopup_btn_hframe_01_params["x"]+1,
				y = pop_tokenpopup_btn_hframe_01_params["y"]-1,
			},
		},
		
		ProfileSelectionDropDown
		{
			name = "profilechooser_3",
			x=gamesetup_ico_dropdown_01_params["x"],
			y=gamesetup_ico_dropdown_01_params["y"]+25+(kPanelOffsetY*2),
			w=200,h=150,
			
			-- BG
			Bitmap
			{
				name=pop_profilelist_pop_profilelist_params["name"],
				image=pop_profilelist_pop_profilelist_params["image"],
				x=pop_profilelist_pop_profilelist_params["x"],
				y=pop_profilelist_pop_profilelist_params["y"],
			},
			Bitmap
			{
				name="downbutton_3_static",
				image="menu/btn_downarrow_04",
				x=pop_profilelist_btn_downarrow_01_params["x"],
				y=pop_profilelist_btn_downarrow_01_params["y"],
			},
			Bitmap
			{
				name="upbutton_3_static",
				image="menu/btn_uparrow_04",
				x=pop_profilelist_btn_uparrow_01_params["x"],
				y=pop_profilelist_btn_uparrow_01_params["y"],
			},
			-- DownArrow
			MonopolyButton
			{
				type = kPush,
				graphics=pop_profilelist_btn_downarrow_01_params["graphics"],
				name="downbutton_3",
				x=pop_profilelist_btn_downarrow_01_params["x"],
				y=pop_profilelist_btn_downarrow_01_params["y"],
				command =
					function()
						OnSetupScrollProfile(3, 1);
					end
			},
			-- UpArrow
			MonopolyButton
			{
				type = kPush,
				graphics=pop_profilelist_btn_uparrow_01_params["graphics"],
				name="upbutton_3",
				image=pop_profilelist_btn_uparrow_01_params["image"],
				x=pop_profilelist_btn_uparrow_01_params["x"],
				y=pop_profilelist_btn_uparrow_01_params["y"],
				command =
					function()
						OnSetupScrollProfile(3, -1);
					end
			},
			SetStyle(RulesSliderStyle),
			SliderEx
			{
				name = "profile_slider",
				x = pop_profilelist_btn_uparrow_01_params["x"],
				y = pop_profilelist_btn_uparrow_01_params["y"]+pop_profilelist_btn_uparrow_01_params["h"],
				h = pop_profilelist_btn_downarrow_01_params["y"]-(pop_profilelist_btn_uparrow_01_params["y"] + pop_profilelist_btn_uparrow_01_params["h"]),
			},
			SetStyle(DefaultStyle),
			
			-- Profile List
			-- The disabled list options
			Text
			{
				font = MonopolyFont_15B_Grey2,
				name = "player3_profile0_disabled",
				x = pop_profilelist_txt_profilelist_params["x"],
				y = pop_profilelist_txt_profilelist_params["y"]-4+((pop_profilelist_txt_profilelist_params["h"]/2.25)*0),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
			},
			Text
			{
				font = MonopolyFont_15B_Grey2,
				name = "player3_profile1_disabled",
				x = pop_profilelist_txt_profilelist_params["x"],
				y = pop_profilelist_txt_profilelist_params["y"]-4+((pop_profilelist_txt_profilelist_params["h"]/2.25)*1),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
			},
			Text
			{
				font = MonopolyFont_15B_Grey2,
				name = "player3_profile2_disabled",
				x = pop_profilelist_txt_profilelist_params["x"],
				y = pop_profilelist_txt_profilelist_params["y"]-4+((pop_profilelist_txt_profilelist_params["h"]/2.25)*2),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
			},
			Text
			{
				font = MonopolyFont_15B_Grey2,
				name = "player3_profile3_disabled",
				x = pop_profilelist_txt_profilelist_params["x"],
				y = pop_profilelist_txt_profilelist_params["y"]-4+((pop_profilelist_txt_profilelist_params["h"]/2.25)*3),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
			},
			Text
			{
				font = MonopolyFont_15B_Grey2,
				name = "player3_profile4_disabled",
				x = pop_profilelist_txt_profilelist_params["x"],
				y = pop_profilelist_txt_profilelist_params["y"]-4+((pop_profilelist_txt_profilelist_params["h"]/2.25)*4),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
			},	
			Text
			{
				font = MonopolyFont_15B_Grey2,
				name = "player3_profile5_disabled",
				x = pop_profilelist_txt_profilelist_params["x"],
				y = pop_profilelist_txt_profilelist_params["y"]-4+((pop_profilelist_txt_profilelist_params["h"]/2.25)*5),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
			},
			
			-- The buttons
			BeginGroup(),
			MonopolyButton
			{
				graphics =
				{
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
				},
				type = kPush,
				font = Green15Font,
				name = "player3_profile0",
				x = pop_profilelist_txt_profilelist_params["x"]-10,
				y = pop_profilelist_txt_profilelist_params["y"]-8+((pop_profilelist_txt_profilelist_params["h"]/2.25)*0),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
				command =
					function()
						OnSetupSetProfile(3, 0);
					end
			},
			MonopolyButton
			{
				graphics =
				{
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
				},
				type = kPush,
				font = Green15Font,
				name = "player3_profile1",
				x = pop_profilelist_txt_profilelist_params["x"]-10,
				y = pop_profilelist_txt_profilelist_params["y"]-8+((pop_profilelist_txt_profilelist_params["h"]/2.25)*1),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
				command =
					function()
						OnSetupSetProfile(3, 1);
					end
			},
			MonopolyButton
			{
				graphics =
				{
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
				},
				type = kPush,
				font = Green15Font,
				name = "player3_profile2",
				x = pop_profilelist_txt_profilelist_params["x"]-10,
				y = pop_profilelist_txt_profilelist_params["y"]-8+((pop_profilelist_txt_profilelist_params["h"]/2.25)*2),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
				command =
					function()
						OnSetupSetProfile(3, 2);
					end
			},	
			MonopolyButton
			{
				graphics =
				{
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
				},
				type = kPush,
				font = Green15Font,
				name = "player3_profile3",
				x = pop_profilelist_txt_profilelist_params["x"]-10,
				y = pop_profilelist_txt_profilelist_params["y"]-8+((pop_profilelist_txt_profilelist_params["h"]/2.25)*3),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
				command =
					function()
						OnSetupSetProfile(3, 3);
					end
			},
			MonopolyButton
			{
				graphics =
				{
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
				},
				type = kPush,
				font = Green15Font,
				name = "player3_profile4",
				x = pop_profilelist_txt_profilelist_params["x"]-10,
				y = pop_profilelist_txt_profilelist_params["y"]-8+((pop_profilelist_txt_profilelist_params["h"]/2.25)*4),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
				command =
					function()
						OnSetupSetProfile(3, 4);
					end
			},
			MonopolyButton
			{
				graphics =
				{
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
				},
				type = kPush,
				font = Green15Font,
				name = "player3_profile5",
				x = pop_profilelist_txt_profilelist_params["x"]-10,
				y = pop_profilelist_txt_profilelist_params["y"]-8+((pop_profilelist_txt_profilelist_params["h"]/2.25)*5),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
				command =
					function()
						OnSetupSetProfile(3, 5);
					end
			},
			BeginGroup(),
		},
		AvatarSelectionDropDown
		{
			name = "avatarchooser_3",
			x = gamesetup_btn_profileselector_01_params["x"]-117,
			y = gamesetup_btn_profileselector_01_params["y"]+(kPanelOffsetY*2)-5,
			w=300,h=80,
			player = 3,

			--BG
			Bitmap
			{
				name = pop_tokenpopup_pop_tpframe_params["name"],
				image = pop_tokenpopup_pop_tpframe_params["image"],
				x = pop_tokenpopup_pop_tpframe_params["x"],
				y = pop_tokenpopup_pop_tpframe_params["y"],
			},

			-- The Underbuttons
			Bitmap
			{
				name = "underbutton_3_1",
				image = "menu/btn_dframe_04",
				x = pop_tokenpopup_btn_dframe_01_params["x"],
				y = pop_tokenpopup_btn_dframe_01_params["y"],
			},
			Bitmap
			{
				name = "underbutton_3_2",
				image = "menu/btn_vframe_04",
				x = pop_tokenpopup_btn_vframe_01_params["x"],
				y = pop_tokenpopup_btn_vframe_01_params["y"],
			},
			Bitmap
			{
				name = "underbutton_3_3",
				image = "menu/btn_tframe_04",
				x = pop_tokenpopup_btn_tframe_01_params["x"],
				y = pop_tokenpopup_btn_tframe_01_params["y"],

			},
			Bitmap
			{
				name = "underbutton_3_4",
				image = "menu/btn_pframe_04",
				x = pop_tokenpopup_btn_pframe_01_params["x"],
				y = pop_tokenpopup_btn_pframe_01_params["y"],
			},
			Bitmap
			{
				name = "underbutton_3_5",
				image = "menu/btn_kframe_04",
				x = pop_tokenpopup_btn_kframe_01_params["x"],
				y = pop_tokenpopup_btn_kframe_01_params["y"],
			},
			Bitmap
			{
				name = "underbutton_3_6",
				image = "menu/btn_hframe_04",
				x = pop_tokenpopup_btn_hframe_01_params["x"],
				y = pop_tokenpopup_btn_hframe_01_params["y"],
			},
			-- The buttons
			BeginGroup(),
			MonopolyButton
			{
				name = "token_btn_3_1",
				graphics = pop_tokenpopup_btn_dframe_01_params["graphics"],
				type = kPush,
				x = pop_tokenpopup_btn_dframe_01_params["x"],
				y = pop_tokenpopup_btn_dframe_01_params["y"],
				command=
					function()
						OnSetupSetAvatar(3, 1);
					end
			},
			MonopolyButton
			{
				name = "token_btn_3_2",
				graphics = pop_tokenpopup_btn_vframe_01_params["graphics"],
				type = kPush,
				x = pop_tokenpopup_btn_vframe_01_params["x"],
				y = pop_tokenpopup_btn_vframe_01_params["y"],
				command=
					function()
						OnSetupSetAvatar(3, 2);
					end
			},
			MonopolyButton
			{
				name = "token_btn_3_3",
				graphics = pop_tokenpopup_btn_tframe_01_params["graphics"],
				type = kPush,
				x = pop_tokenpopup_btn_tframe_01_params["x"],
				y = pop_tokenpopup_btn_tframe_01_params["y"],
				command=
					function()
						OnSetupSetAvatar(3, 3);
					end
			},
			MonopolyButton
			{
				name = "token_btn_3_4",
				graphics = pop_tokenpopup_btn_pframe_01_params["graphics"],
				type = kPush,
				x = pop_tokenpopup_btn_pframe_01_params["x"],
				y = pop_tokenpopup_btn_pframe_01_params["y"],
				command=
					function()
						OnSetupSetAvatar(3, 4);
					end
			},
			MonopolyButton
			{
				name = "token_btn_3_5",
				graphics = pop_tokenpopup_btn_kframe_01_params["graphics"],
				type = kPush,
				x = pop_tokenpopup_btn_kframe_01_params["x"],
				y = pop_tokenpopup_btn_kframe_01_params["y"],
				command=
					function()
						OnSetupSetAvatar(3, 5);
					end
			},
			MonopolyButton
			{
				name = "token_btn_3_6",
				graphics = pop_tokenpopup_btn_hframe_01_params["graphics"],
				type = kPush,
				x = pop_tokenpopup_btn_hframe_01_params["x"],
				y = pop_tokenpopup_btn_hframe_01_params["y"],
				command=
					function()
						OnSetupSetAvatar(3, 6);
					end
			},
			-- The 'Taken' undertiles
			Bitmap
			{
				name = "taken_3_1",
				image = "",
				x = pop_tokenpopup_btn_dframe_01_params["x"]+1,
				y = pop_tokenpopup_btn_dframe_01_params["y"]-1,
			},
			Bitmap
			{
				name = "taken_3_2",
				image = "",
				x = pop_tokenpopup_btn_vframe_01_params["x"]+1,
				y = pop_tokenpopup_btn_vframe_01_params["y"]-1,
			},
			Bitmap
			{
				name = "taken_3_3",
				image = "",
				x = pop_tokenpopup_btn_tframe_01_params["x"]+1,
				y = pop_tokenpopup_btn_tframe_01_params["y"]-1,

			},
			Bitmap
			{
				name = "taken_3_4",
				image = "",
				x = pop_tokenpopup_btn_pframe_01_params["x"]+1,
				y = pop_tokenpopup_btn_pframe_01_params["y"]-1,
			},
			Bitmap
			{
				name = "taken_3_5",
				image = "",
				x = pop_tokenpopup_btn_kframe_01_params["x"]+1,
				y = pop_tokenpopup_btn_kframe_01_params["y"]-1,
			},
			Bitmap
			{
				name = "taken_3_6",
				image = "",
				x = pop_tokenpopup_btn_hframe_01_params["x"]+1,
				y = pop_tokenpopup_btn_hframe_01_params["y"]-1,
			},
		},
		
		
		ProfileSelectionDropDown
		{
			name = "profilechooser_4",
			x=gamesetup_ico_dropdown_01_params["x"],
			y=gamesetup_ico_dropdown_01_params["y"]+25+(kPanelOffsetY*3),
			w=200,h=150,
			
			-- BG
			Bitmap
			{
				name=pop_profilelist_pop_profilelist_params["name"],
				image=pop_profilelist_pop_profilelist_params["image"],
				x=pop_profilelist_pop_profilelist_params["x"],
				y=pop_profilelist_pop_profilelist_params["y"],
			},
			Bitmap
			{
				name="downbutton_4_static",
				image="menu/btn_downarrow_04",
				x=pop_profilelist_btn_downarrow_01_params["x"],
				y=pop_profilelist_btn_downarrow_01_params["y"],
			},
			Bitmap
			{
				name="upbutton_4_static",
				image="menu/btn_uparrow_04",
				x=pop_profilelist_btn_uparrow_01_params["x"],
				y=pop_profilelist_btn_uparrow_01_params["y"],
			},
			-- DownArrow
			MonopolyButton
			{
				type = kPush,
				graphics=pop_profilelist_btn_downarrow_01_params["graphics"],
				name="downbutton_4",
				x=pop_profilelist_btn_downarrow_01_params["x"],
				y=pop_profilelist_btn_downarrow_01_params["y"],
				command =
					function()
						OnSetupScrollProfile(4, 1);
					end
			},
			-- UpArrow
			MonopolyButton
			{
				type = kPush,
				graphics=pop_profilelist_btn_uparrow_01_params["graphics"],
				name="upbutton_4",
				image=pop_profilelist_btn_uparrow_01_params["image"],
				x=pop_profilelist_btn_uparrow_01_params["x"],
				y=pop_profilelist_btn_uparrow_01_params["y"],
				command =
					function()
						OnSetupScrollProfile(4, -1);
					end
			},
			SetStyle(RulesSliderStyle),
			SliderEx
			{
				name = "profile_slider",
				x = pop_profilelist_btn_uparrow_01_params["x"],
				y = pop_profilelist_btn_uparrow_01_params["y"]+pop_profilelist_btn_uparrow_01_params["h"],
				h = pop_profilelist_btn_downarrow_01_params["y"]-(pop_profilelist_btn_uparrow_01_params["y"] + pop_profilelist_btn_uparrow_01_params["h"]),
			},
			SetStyle(DefaultStyle),
			-- Profile List
			-- The disabled list options
			Text
			{
				font = MonopolyFont_15B_Grey2,
				name = "player4_profile0_disabled",
				x = pop_profilelist_txt_profilelist_params["x"],
				y = pop_profilelist_txt_profilelist_params["y"]-4+((pop_profilelist_txt_profilelist_params["h"]/2.25)*0),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
			},
			Text
			{
				font = MonopolyFont_15B_Grey2,
				name = "player4_profile1_disabled",
				x = pop_profilelist_txt_profilelist_params["x"],
				y = pop_profilelist_txt_profilelist_params["y"]-4+((pop_profilelist_txt_profilelist_params["h"]/2.25)*1),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
			},
			Text
			{
				font = MonopolyFont_15B_Grey2,
				name = "player4_profile2_disabled",
				x = pop_profilelist_txt_profilelist_params["x"],
				y = pop_profilelist_txt_profilelist_params["y"]-4+((pop_profilelist_txt_profilelist_params["h"]/2.25)*2),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
			},
			Text
			{
				font = MonopolyFont_15B_Grey2,
				name = "player4_profile3_disabled",
				x = pop_profilelist_txt_profilelist_params["x"],
				y = pop_profilelist_txt_profilelist_params["y"]-4+((pop_profilelist_txt_profilelist_params["h"]/2.25)*3),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
			},
			Text
			{
				font = MonopolyFont_15B_Grey2,
				name = "player4_profile4_disabled",
				x = pop_profilelist_txt_profilelist_params["x"],
				y = pop_profilelist_txt_profilelist_params["y"]-4+((pop_profilelist_txt_profilelist_params["h"]/2.25)*4),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
			},	
			Text
			{
				font = MonopolyFont_15B_Grey2,
				name = "player4_profile5_disabled",
				x = pop_profilelist_txt_profilelist_params["x"],
				y = pop_profilelist_txt_profilelist_params["y"]-4+((pop_profilelist_txt_profilelist_params["h"]/2.25)*5),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
			},
			
			-- The buttons
			BeginGroup(),
			MonopolyButton
			{
				graphics =
				{
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
				},
				type = kPush,
				font = Green15Font,
				name = "player4_profile0",
				x = pop_profilelist_txt_profilelist_params["x"]-10,
				y = pop_profilelist_txt_profilelist_params["y"]-8+((pop_profilelist_txt_profilelist_params["h"]/2.25)*0),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
				command =
					function()
						OnSetupSetProfile(4, 0);
					end
			},
			MonopolyButton
			{
				graphics =
				{
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
				},
				type = kPush,
				font = Green15Font,
				name = "player4_profile1",
				x = pop_profilelist_txt_profilelist_params["x"]-10,
				y = pop_profilelist_txt_profilelist_params["y"]-8+((pop_profilelist_txt_profilelist_params["h"]/2.25)*1),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
				command =
					function()
						OnSetupSetProfile(4, 1);
					end
			},
			MonopolyButton
			{
				graphics =
				{
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
				},
				type = kPush,
				font = Green15Font,
				name = "player4_profile2",
				x = pop_profilelist_txt_profilelist_params["x"]-10,
				y = pop_profilelist_txt_profilelist_params["y"]-8+((pop_profilelist_txt_profilelist_params["h"]/2.25)*2),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
				command =
					function()
						OnSetupSetProfile(4, 2);
					end
			},	
			MonopolyButton
			{
				graphics =
				{
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
				},
				type = kPush,
				font = Green15Font,
				name = "player4_profile3",
				x = pop_profilelist_txt_profilelist_params["x"]-10,
				y = pop_profilelist_txt_profilelist_params["y"]-8+((pop_profilelist_txt_profilelist_params["h"]/2.25)*3),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
				command =
					function()
						OnSetupSetProfile(4, 3);
					end
			},
			MonopolyButton
			{
				graphics =
				{
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
				},
				type = kPush,
				font = Green15Font,
				name = "player4_profile4",
				x = pop_profilelist_txt_profilelist_params["x"]-10,
				y = pop_profilelist_txt_profilelist_params["y"]-8+((pop_profilelist_txt_profilelist_params["h"]/2.25)*4),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
				command =
					function()
						OnSetupSetProfile(4, 4);
					end
			},
			MonopolyButton
			{
				graphics =
				{
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
					"menu/btn_profileselector_01",
				},
				type = kPush,
				font = Green15Font,
				name = "player4_profile5",
				x = pop_profilelist_txt_profilelist_params["x"]-10,
				y = pop_profilelist_txt_profilelist_params["y"]-8+((pop_profilelist_txt_profilelist_params["h"]/2.25)*5),
				w = pop_profilelist_txt_profilelist_params["w"],
				h = pop_profilelist_txt_profilelist_params["h"]/2.5,
				label="ui.label.empty",
				command =
					function()
						OnSetupSetProfile(4, 5);
					end
			},
			BeginGroup(),
		},
		AvatarSelectionDropDown
		{
			name = "avatarchooser_4",
			x = gamesetup_btn_profileselector_01_params["x"]-117,
			y = gamesetup_btn_profileselector_01_params["y"]+(kPanelOffsetY*3)-5,
			w=300,h=80,
			player = 4,

			--BG
			Bitmap
			{
				name = pop_tokenpopup_pop_tpframe_params["name"],
				image = pop_tokenpopup_pop_tpframe_params["image"],
				x = pop_tokenpopup_pop_tpframe_params["x"],
				y = pop_tokenpopup_pop_tpframe_params["y"],
			},
			
			-- The Underbuttons
			Bitmap
			{
				name = "underbutton_4_1",
				image = "menu/btn_dframe_04",
				x = pop_tokenpopup_btn_dframe_01_params["x"],
				y = pop_tokenpopup_btn_dframe_01_params["y"],
			},
			Bitmap
			{
				name = "underbutton_4_2",
				image = "menu/btn_vframe_04",
				x = pop_tokenpopup_btn_vframe_01_params["x"],
				y = pop_tokenpopup_btn_vframe_01_params["y"],
			},
			Bitmap
			{
				name = "underbutton_4_3",
				image = "menu/btn_tframe_04",
				x = pop_tokenpopup_btn_tframe_01_params["x"],
				y = pop_tokenpopup_btn_tframe_01_params["y"],

			},
			Bitmap
			{
				name = "underbutton_4_4",
				image = "menu/btn_pframe_04",
				x = pop_tokenpopup_btn_pframe_01_params["x"],
				y = pop_tokenpopup_btn_pframe_01_params["y"],
			},
			Bitmap
			{
				name = "underbutton_4_5",
				image = "menu/btn_kframe_04",
				x = pop_tokenpopup_btn_kframe_01_params["x"],
				y = pop_tokenpopup_btn_kframe_01_params["y"],
			},
			Bitmap
			{
				name = "underbutton_4_6",
				image = "menu/btn_hframe_04",
				x = pop_tokenpopup_btn_hframe_01_params["x"],
				y = pop_tokenpopup_btn_hframe_01_params["y"],
			},
			-- The buttons
			BeginGroup(),
			MonopolyButton
			{
				name = "token_btn_4_1",
				graphics = pop_tokenpopup_btn_dframe_01_params["graphics"],
				type = kPush,
				x = pop_tokenpopup_btn_dframe_01_params["x"],
				y = pop_tokenpopup_btn_dframe_01_params["y"],
				command=
					function()
						OnSetupSetAvatar(4, 1);
					end
			},
			MonopolyButton
			{
				name = "token_btn_4_2",
				graphics = pop_tokenpopup_btn_vframe_01_params["graphics"],
				type = kPush,
				x = pop_tokenpopup_btn_vframe_01_params["x"],
				y = pop_tokenpopup_btn_vframe_01_params["y"],
				command=
					function()
						OnSetupSetAvatar(4, 2);
					end
			},
			MonopolyButton
			{
				name = "token_btn_4_3",
				graphics = pop_tokenpopup_btn_tframe_01_params["graphics"],
				type = kPush,
				x = pop_tokenpopup_btn_tframe_01_params["x"],
				y = pop_tokenpopup_btn_tframe_01_params["y"],
				command=
					function()
						OnSetupSetAvatar(4, 3);
					end
			},
			MonopolyButton
			{
				name = "token_btn_4_4",
				graphics = pop_tokenpopup_btn_pframe_01_params["graphics"],
				type = kPush,
				x = pop_tokenpopup_btn_pframe_01_params["x"],
				y = pop_tokenpopup_btn_pframe_01_params["y"],
				command=
					function()
						OnSetupSetAvatar(4, 4);
					end
			},
			MonopolyButton
			{
				name = "token_btn_4_5",
				graphics = pop_tokenpopup_btn_kframe_01_params["graphics"],
				type = kPush,
				x = pop_tokenpopup_btn_kframe_01_params["x"],
				y = pop_tokenpopup_btn_kframe_01_params["y"],
				command=
					function()
						OnSetupSetAvatar(4, 5);
					end
			},
			MonopolyButton
			{
				name = "token_btn_4_6",
				graphics = pop_tokenpopup_btn_hframe_01_params["graphics"],
				type = kPush,
				x = pop_tokenpopup_btn_hframe_01_params["x"],
				y = pop_tokenpopup_btn_hframe_01_params["y"],
				command=
					function()
						OnSetupSetAvatar(4, 6);
					end
			},
			-- The 'Taken' undertiles
			Bitmap
			{
				name = "taken_4_1",
				image = "",
				x = pop_tokenpopup_btn_dframe_01_params["x"]+1,
				y = pop_tokenpopup_btn_dframe_01_params["y"]-1,
			},
			Bitmap
			{
				name = "taken_4_2",
				image = "",
				x = pop_tokenpopup_btn_vframe_01_params["x"]+1,
				y = pop_tokenpopup_btn_vframe_01_params["y"]-1,
			},
			Bitmap
			{
				name = "taken_4_3",
				image = "",
				x = pop_tokenpopup_btn_tframe_01_params["x"]+1,
				y = pop_tokenpopup_btn_tframe_01_params["y"]-1,

			},
			Bitmap
			{
				name = "taken_4_4",
				image = "",
				x = pop_tokenpopup_btn_pframe_01_params["x"]+1,
				y = pop_tokenpopup_btn_pframe_01_params["y"]-1,
			},
			Bitmap
			{
				name = "taken_4_5",
				image = "",
				x = pop_tokenpopup_btn_kframe_01_params["x"]+1,
				y = pop_tokenpopup_btn_kframe_01_params["y"]-1,
			},
			Bitmap
			{
				name = "taken_4_6",
				image = "",
				x = pop_tokenpopup_btn_hframe_01_params["x"]+1,
				y = pop_tokenpopup_btn_hframe_01_params["y"]-1,
			},
		},
	}
}
