
dofile ( "hud/hud_dealplayer.lua" );
dofile ( "hud/dealwindow_export.lua" );
dofile ( "hud/dealinventory_export.lua" );
dofile ( "hud/pop_deal_export.lua" );
dofile ( "hud/btn_tradeitem_export.lua" );
dofile ( "hud/deal.lua" );
dofile ( "hud/btn_additem_export.lua" );
dofile ( "hud/dealresults_export.lua" );

BTN_ADD_ITEM=0;
BTN_REMOVE_POP_PANEL=1;
BTN_REMOVE_CARD=2;
BTN_UP_MILLION=3;
BTN_DOWN_MILLION=4;
BTN_UP_THOUSAND=5;
BTN_DOWN_THOUSAND=6;
ICO_POP_CARD=7;

ICO_BROWN_0=0;ICO_BROWN_1=1;
ICO_AZURE_0=2;ICO_AZURE_1=3;ICO_AZURE_2=4;
ICO_PINK_0=5;ICO_PINK_1=6;ICO_PINK_2=7;
ICO_ORANGE_0=8;ICO_ORANGE_1=9;ICO_ORANGE_2=10;
ICO_RED_0=11;ICO_RED_1=12;ICO_RED_2=13;
ICO_YELLOW_0=14;ICO_YELLOW_1=15;ICO_YELLOW_2=16;
ICO_GREEN_0=17;ICO_GREEN_1=18;ICO_GREEN_2=19;
ICO_BLUE_0=20;ICO_BLUE_1=21;
ICO_FREE_0=22;
ICO_TAXI_0=23;ICO_TAXI_1=24;
ICO_TAX_0=25;
ICO_JAIL_0=26;ICO_JAIL_1=27;

PLAYER_LEFT=0;
PLAYER_RIGHT=1;

leftplayerdealpanel_group = 
{
	DealDialog
	{
		name = "player_deal_panel_left",	
		x = deal_win_trade_params["x"],
		y = deal_win_trade_params["y"],
		w = deal_win_trade_params["w"],
		h = deal_win_trade_params["h"],
		
		Text
		{
			name = "player_left",
			label = "left",
		},
		
		Bitmap
		{
			name = "playerpanel_bg_left",	
			image = dealwindow_export_win_trade_params["image"],
			x=0,
			y=0,
			w = deal_win_trade_params["w"],
			h = deal_win_trade_params["h"],
		},
		
		-- Player Name
		Bitmap
		{
			name = "player_name_panel",
			image = dealwindow_export_ico_lplayername_01_params["image"],
			x = dealwindow_export_ico_lplayername_01_params["x"],
			y = dealwindow_export_ico_lplayername_01_params["y"],
			w = dealwindow_export_ico_lplayername_01_params["w"],
			h = dealwindow_export_ico_lplayername_01_params["h"],
		},
		
		Text
		{
			font = Green16Font,
			name = "player_name_text",
			label="",
			x = dealwindow_export_txt_playername01_params["x"],
			y = dealwindow_export_txt_playername01_params["y"]-2,
			w = dealwindow_export_txt_playername01_params["w"]+20,
			h = dealwindow_export_txt_playername01_params["h"]+20,
		},
		
		-- Player Avatar
		Bitmap
		{
			name = "player_frame",
			image = dealwindow_export_ico_iconframe_01_params["image"],
			x = dealwindow_export_ico_iconframe_01_params["x"],
			y = dealwindow_export_ico_iconframe_01_params["y"],
			w = dealwindow_export_ico_iconframe_01_params["w"],
			h = dealwindow_export_ico_iconframe_01_params["h"],
		},
		Bitmap
		{
			name = "player_avatar",
			image = dealwindow_export_ico_mplayericon_h_params["image"],
			x = dealwindow_export_ico_mplayericon_h_params["x"],
			y = dealwindow_export_ico_mplayericon_h_params["y"],
			w = dealwindow_export_ico_mplayericon_h_params["w"],
			h = dealwindow_export_ico_mplayericon_h_params["h"],
		},
		
		-- Player Cash
		Bitmap
		{
			name = "player_cash",
--[[
			image = dealwindow_export_ico_playername_01_params["image"],
			x = dealwindow_export_ico_playername_01_params["x"],
			y = dealwindow_export_ico_playername_01_params["y"],
			w = dealwindow_export_ico_playername_01_params["w"],
			h = dealwindow_export_ico_playername_01_params["h"],
--]]
		},
		
		-- Player Cash Text
		Text
		{
			font = Green15Font,
			name = "player_cashvalue_text",
			x = dealwindow_export_txt_currentamt_params["x"]+20,
			y = dealwindow_export_txt_currentamt_params["y"],
			w = dealwindow_export_txt_currentamt_params["w"]+20,
			h = dealwindow_export_txt_currentamt_params["h"]+20,
		},
		
		-- Money Text
		Text
		{
			font = Green15Font,
			name = "Money_text",
			label = "money",
			x = dealwindow_export_txt_money_params["x"],
			y = dealwindow_export_txt_money_params["y"],
			w = dealwindow_export_txt_money_params["w"]+20,
			h = dealwindow_export_txt_money_params["h"]+20,
		},
		
		-- Add/remove Cash Million Text
		Text
		{
			font = Green15Font,
			name = "cash_million_text",
			x = dealwindow_export_txt_millions_params["x"]-20,
			y = dealwindow_export_txt_millions_params["y"]-9,
			w = dealwindow_export_txt_millions_params["w"]+20,
			h = dealwindow_export_txt_millions_params["h"]+20,
			flags = kHAlignRight + kVAlignCenter,
		},
		
		-- Add/remove Cash thousands Text
		Text
		{
			font = Green15Font,
			name = "cash_thousands_text",
			x = dealwindow_export_txt_thousands_params["x"],
			y = dealwindow_export_txt_thousands_params["y"]-9,
			w = dealwindow_export_txt_thousands_params["w"]+20,
			h = dealwindow_export_txt_thousands_params["h"]+20,
			flags = kHAlignLeft + kVAlignCenter,
		},
		
		-- button up/down money
		-- plus million		
		Bitmap
		{
			name = "img_UpDown_Deal_0",
			image = 'hud/btn_smarrowup_04',
			x = dealwindow_export_btn_smarrowup_01_params["x"],
			y = dealwindow_export_btn_smarrowup_01_params["y"]-1,
			w = dealwindow_export_btn_smarrowup_01_params["w"],
			h = dealwindow_export_btn_smarrowup_01_params["h"],
		},
		AutoRepeatButton
		{
			name="btn_UpDown_Deal_0",
			graphics = dealwindow_export_btn_smarrowup_01_params["graphics"],
			x = dealwindow_export_btn_smarrowup_01_params["x"],
			y = dealwindow_export_btn_smarrowup_01_params["y"]-1,
			label="",
			command=
				function()
					OnAddItemButton(PLAYER_LEFT, BTN_UP_MILLION, 0);
				end;
		},
		-- minus million
		Bitmap
		{
			name = "img_UpDown_Deal_1",
			image = 'hud/btn_smarrowdown_04',
			x = dealwindow_export_btn_smarrowdown_01_params["x"],
			y = dealwindow_export_btn_smarrowdown_01_params["y"],
			w = dealwindow_export_btn_smarrowdown_01_params["w"],
			h = dealwindow_export_btn_smarrowdown_01_params["h"],
		},
		AutoRepeatButton
		{
			name="btn_UpDown_Deal_1",
			graphics = dealwindow_export_btn_smarrowdown_01_params["graphics"],
			x = dealwindow_export_btn_smarrowdown_01_params["x"],
			y = dealwindow_export_btn_smarrowdown_01_params["y"],
			label="",
			command=
				function()
					OnAddItemButton(PLAYER_LEFT, BTN_DOWN_MILLION, 0);
				end;
		},
		-- plus thousand
		Bitmap
		{
			name = "img_UpDown_Deal_2",
			image = 'hud/btn_smarrowup_04',
			x = dealwindow_export_btn_smarrowup_02_params["x"],
			y = dealwindow_export_btn_smarrowup_02_params["y"]-1,
			w = dealwindow_export_btn_smarrowup_02_params["w"],
			h = dealwindow_export_btn_smarrowup_02_params["h"],
		},
		AutoRepeatButton
		{
			name="btn_UpDown_Deal_2",
			graphics = dealwindow_export_btn_smarrowup_02_params["graphics"],
			x = dealwindow_export_btn_smarrowup_02_params["x"],
			y = dealwindow_export_btn_smarrowup_02_params["y"]-1,
			label="",
			command=
				function()
					OnAddItemButton(PLAYER_LEFT, BTN_UP_THOUSAND, 0);
				end;
		},
		-- minus thousand
		Bitmap
		{
			name = "img_UpDown_Deal_3",
			image = 'hud/btn_smarrowdown_04',
			x = dealwindow_export_btn_smarrowdown_02_params["x"],
			y = dealwindow_export_btn_smarrowdown_02_params["y"],
			w = dealwindow_export_btn_smarrowdown_02_params["w"],
			h = dealwindow_export_btn_smarrowdown_02_params["h"],
		},
		AutoRepeatButton
		{
			name="btn_UpDown_Deal_3",
			graphics = dealwindow_export_btn_smarrowdown_02_params["graphics"],
			x = dealwindow_export_btn_smarrowdown_02_params["x"],
			y = dealwindow_export_btn_smarrowdown_02_params["y"],
			label="",
			command=
				function()
					OnAddItemButton(PLAYER_LEFT, BTN_DOWN_THOUSAND, 0);
				end;
		},

		-- Add Item disable 0		
		Bitmap
		{
			name = "img_add_item_0",
			image = 'hud/btn_additem_04',
			x = dealwindow_export_btn_tradeitem_01_params["x"],
			y = dealwindow_export_btn_tradeitem_01_params["y"],
			w = dealwindow_export_btn_additem_01_params["w"],
			h = dealwindow_export_btn_additem_01_params["h"],
		},
		
		-- Trade Item 0
		Bitmap
		{
			name = "btn_tradeitem_0",
			image = 'hud/btn_tradeitem_04',
			x = dealwindow_export_btn_tradeitem_01_params["x"],
			y = dealwindow_export_btn_tradeitem_01_params["y"],
			w = dealwindow_export_btn_tradeitem_01_params["w"],
			h = dealwindow_export_btn_tradeitem_01_params["h"],
			
			-- ico card
			Bitmap
			{
				name = "ico_card_0",
				image = btn_tradeitem_export_ico_blue_01_params["image"],
				x = btn_tradeitem_export_ico_blue_01_params["x"],
				y = btn_tradeitem_export_ico_blue_01_params["y"],
				w = btn_tradeitem_export_ico_blue_01_params["w"],
				h = btn_tradeitem_export_ico_blue_01_params["h"],
			},
			
			-- Card Name text
			Text
			{
				font = Green15Font,
				name = "card_name_text_0",
				label = "STR_FORTUNE_VALLEY",
				x = btn_tradeitem_export_txt_distname_params["x"],
				y = btn_tradeitem_export_txt_distname_params["y"],
				w = btn_tradeitem_export_txt_distname_params["w"]+20,
				h = btn_tradeitem_export_txt_distname_params["h"]+20,
			},
			
			-- Card Value text
			Text
			{
				font = Green15Font,
				name = "card_value_text_0",
				x = btn_tradeitem_export_txt_value_params["x"],
				y = btn_tradeitem_export_txt_value_params["y"],
				w = btn_tradeitem_export_txt_value_params["w"]+20,
				h = btn_tradeitem_export_txt_value_params["h"]+20,
			},
							
			-- button remove disable 0		
			Bitmap
			{
				name = "img_remove_btn_0",
				image = 'hud/btn_sremove_04',
				x = btn_tradeitem_export_btn_sremove_01_params["x"],
				y = btn_tradeitem_export_btn_sremove_01_params["y"],
				w = btn_tradeitem_export_btn_sremove_01_params["w"],
				h = btn_tradeitem_export_btn_sremove_01_params["h"],
			},
		
			-- button remove
			MonopolyButton
			{
				name = "btn_remove_0",
				graphics = btn_tradeitem_export_btn_sremove_01_params["graphics"],
				x = btn_tradeitem_export_btn_sremove_01_params["x"],
				y = btn_tradeitem_export_btn_sremove_01_params["y"],
				w = btn_tradeitem_export_btn_sremove_01_params["w"],
				h = btn_tradeitem_export_btn_sremove_01_params["h"],
				label = "",
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, BTN_REMOVE_CARD, 0);
					end;
			},
		},
		
		-- Add Item 0
		MonopolyButton
		{
			name = "btn_add_item_0",
			graphics = dealwindow_export_btn_additem_01_params["graphics"],
			x = dealwindow_export_btn_tradeitem_01_params["x"],
			y = dealwindow_export_btn_tradeitem_01_params["y"],
			w = dealwindow_export_btn_additem_01_params["w"],
			h = dealwindow_export_btn_additem_01_params["h"],
			font = btn_add_item["font"],
			type = btn_add_item["type"],
			sfxEx = btn_add_item["sfxEx"],
			sfxOver = btn_add_item["sfxOver"],
			command=
				function()
					OnAddItemButton(PLAYER_LEFT, BTN_ADD_ITEM, 0);
				end;
			
			-- ADD ITEM text
			Text
			{
				font = Green12Font,
				name = "add_item_text_0",
				label = "additem",
				x = btn_additem_export_txt_additem_params["x"],
				y = btn_additem_export_txt_additem_params["y"],
				w = btn_additem_export_txt_additem_params["w"]+20,
				h = btn_additem_export_txt_additem_params["h"]+20,
			},
		},
		
		-- Add Item disable 1		
		Bitmap
		{
			name = "img_add_item_1",
			image = 'hud/btn_additem_04',
			x = dealwindow_export_btn_tradeitem_02_params["x"],
			y = dealwindow_export_btn_tradeitem_02_params["y"],
			w = dealwindow_export_btn_additem_01_params["w"],
			h = dealwindow_export_btn_additem_01_params["h"],
		},
		
		-- Trade Item 1
		Bitmap
		{
			name = "btn_tradeitem_1",
			image = 'hud/btn_tradeitem_04',
			x = dealwindow_export_btn_tradeitem_02_params["x"],
			y = dealwindow_export_btn_tradeitem_02_params["y"],
			w = dealwindow_export_btn_tradeitem_02_params["w"],
			h = dealwindow_export_btn_tradeitem_02_params["h"],
			
			-- ico card
			Bitmap
			{
				name = "ico_card_1",
				image = btn_tradeitem_export_ico_blue_01_params["image"],
				x = btn_tradeitem_export_ico_blue_01_params["x"],
				y = btn_tradeitem_export_ico_blue_01_params["y"],
				w = btn_tradeitem_export_ico_blue_01_params["w"],
				h = btn_tradeitem_export_ico_blue_01_params["h"],
			},
			
			-- Card Name text
			Text
			{
				font = Green15Font,
				name = "card_name_text_1",
				label = "STR_FORTUNE_VALLEY",
				x = btn_tradeitem_export_txt_distname_params["x"],
				y = btn_tradeitem_export_txt_distname_params["y"],
				w = btn_tradeitem_export_txt_distname_params["w"]+20,
				h = btn_tradeitem_export_txt_distname_params["h"]+20,
			},
			
			-- Card Value text
			Text
			{
				font = Green15Font,
				name = "card_value_text_1",
				x = btn_tradeitem_export_txt_value_params["x"],
				y = btn_tradeitem_export_txt_value_params["y"],
				w = btn_tradeitem_export_txt_value_params["w"]+20,
				h = btn_tradeitem_export_txt_value_params["h"]+20,
			},
										
			-- button remove disable 01	
			Bitmap
			{
				name = "img_remove_btn_1",
				image = 'hud/btn_sremove_04',
				x = btn_tradeitem_export_btn_sremove_01_params["x"],
				y = btn_tradeitem_export_btn_sremove_01_params["y"],
				w = btn_tradeitem_export_btn_sremove_01_params["w"],
				h = btn_tradeitem_export_btn_sremove_01_params["h"],
			},
		
			-- button remove
			MonopolyButton
			{
				name = "btn_remove_1",
				graphics = btn_tradeitem_export_btn_sremove_01_params["graphics"],
				x = btn_tradeitem_export_btn_sremove_01_params["x"],
				y = btn_tradeitem_export_btn_sremove_01_params["y"],
				w = btn_tradeitem_export_btn_sremove_01_params["w"],
				h = btn_tradeitem_export_btn_sremove_01_params["h"],
				label = "",
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, BTN_REMOVE_CARD, 1);
					end;
			},
		},
		
		-- Add Item 1
		MonopolyButton
		{
			name = "btn_add_item_1",
			graphics = dealwindow_export_btn_additem_01_params["graphics"],
			x = dealwindow_export_btn_tradeitem_02_params["x"],
			y = dealwindow_export_btn_tradeitem_02_params["y"],
			w = dealwindow_export_btn_additem_01_params["w"],
			h = dealwindow_export_btn_additem_01_params["h"],
			font = btn_add_item["font"],
			type = btn_add_item["type"],
			sfxEx = btn_add_item["sfxEx"],
			sfxOver = btn_add_item["sfxOver"],
			command=
				function()
					OnAddItemButton(PLAYER_LEFT, BTN_ADD_ITEM, 1);
				end;
			
			-- ADD ITEM text
			Text
			{
				font = Green12Font,
				name = "add_item_text_1",
				label = "additem",
				x = btn_additem_export_txt_additem_params["x"],
				y = btn_additem_export_txt_additem_params["y"],
				w = btn_additem_export_txt_additem_params["w"]+20,
				h = btn_additem_export_txt_additem_params["h"]+20,
			},
		},
		
		-- Add Item disable 2		
		Bitmap
		{
			name = "img_add_item_2",
			image = 'hud/btn_additem_04',
			x = dealwindow_export_btn_tradeitem_03_params["x"],
			y = dealwindow_export_btn_tradeitem_03_params["y"],
			w = dealwindow_export_btn_additem_01_params["w"],
			h = dealwindow_export_btn_additem_01_params["h"],
		},
		
		-- Trade Item 2
		Bitmap
		{
			name = "btn_tradeitem_2",
			image = 'hud/btn_tradeitem_04',
			x = dealwindow_export_btn_tradeitem_03_params["x"],
			y = dealwindow_export_btn_tradeitem_03_params["y"],
			w = dealwindow_export_btn_tradeitem_03_params["w"],
			h = dealwindow_export_btn_tradeitem_03_params["h"],
			
			-- ico card
			Bitmap
			{
				name = "ico_card_2",
				image = btn_tradeitem_export_ico_blue_01_params["image"],
				x = btn_tradeitem_export_ico_blue_01_params["x"],
				y = btn_tradeitem_export_ico_blue_01_params["y"],
				w = btn_tradeitem_export_ico_blue_01_params["w"],
				h = btn_tradeitem_export_ico_blue_01_params["h"],
			},
			
			-- Card Name text
			Text
			{
				font = Green15Font,
				name = "card_name_text_2",
				label = "STR_FORTUNE_VALLEY",
				x = btn_tradeitem_export_txt_distname_params["x"],
				y = btn_tradeitem_export_txt_distname_params["y"],
				w = btn_tradeitem_export_txt_distname_params["w"]+20,
				h = btn_tradeitem_export_txt_distname_params["h"]+20,
			},
			
			-- Card Value text
			Text
			{
				font = Green15Font,
				name = "card_value_text_2",
				x = btn_tradeitem_export_txt_value_params["x"],
				y = btn_tradeitem_export_txt_value_params["y"],
				w = btn_tradeitem_export_txt_value_params["w"]+20,
				h = btn_tradeitem_export_txt_value_params["h"]+20,
			},
										
			-- button remove disable 2		
			Bitmap
			{
				name = "img_remove_btn_2",
				image = 'hud/btn_sremove_04',
				x = btn_tradeitem_export_btn_sremove_01_params["x"],
				y = btn_tradeitem_export_btn_sremove_01_params["y"],
				w = btn_tradeitem_export_btn_sremove_01_params["w"],
				h = btn_tradeitem_export_btn_sremove_01_params["h"],
			},
		
			-- button remove
			MonopolyButton
			{
				name = "btn_remove_2",
				graphics = btn_tradeitem_export_btn_sremove_01_params["graphics"],
				x = btn_tradeitem_export_btn_sremove_01_params["x"],
				y = btn_tradeitem_export_btn_sremove_01_params["y"],
				w = btn_tradeitem_export_btn_sremove_01_params["w"],
				h = btn_tradeitem_export_btn_sremove_01_params["h"],
				label = "",
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, BTN_REMOVE_CARD, 2);
					end;
			},
		},
		
		-- Add Item 2
		MonopolyButton
		{
			name = "btn_add_item_2",
			graphics = dealwindow_export_btn_additem_01_params["graphics"],
			x = dealwindow_export_btn_tradeitem_03_params["x"],
			y = dealwindow_export_btn_tradeitem_03_params["y"],
			w = dealwindow_export_btn_additem_01_params["w"],
			h = dealwindow_export_btn_additem_01_params["h"],
			font = btn_add_item["font"],
			type = btn_add_item["type"],
			sfxEx = btn_add_item["sfxEx"],
			sfxOver = btn_add_item["sfxOver"],
			command=
				function()
					OnAddItemButton(PLAYER_LEFT, BTN_ADD_ITEM, 2);
				end;
			
			-- ADD ITEM text
			Text
			{
				font = Green12Font,
				name = "add_item_text_2",
				label = "additem",
				x = btn_additem_export_txt_additem_params["x"],
				y = btn_additem_export_txt_additem_params["y"],
				w = btn_additem_export_txt_additem_params["w"]+20,
				h = btn_additem_export_txt_additem_params["h"]+20,
			},
		},
		
		-- Add Item disable 3		
		Bitmap
		{
			name = "img_add_item_3",
			image = 'hud/btn_additem_04',
			x = dealwindow_export_btn_tradeitem_04_params["x"],
			y = dealwindow_export_btn_tradeitem_04_params["y"],
			w = dealwindow_export_btn_additem_01_params["w"],
			h = dealwindow_export_btn_additem_01_params["h"],
		},
		
		-- Trade Item 3
		Bitmap
		{
			name = "btn_tradeitem_3",
			image = 'hud/btn_tradeitem_04',
			x = dealwindow_export_btn_tradeitem_04_params["x"],
			y = dealwindow_export_btn_tradeitem_04_params["y"],
			w = dealwindow_export_btn_tradeitem_04_params["w"],
			h = dealwindow_export_btn_tradeitem_04_params["h"],
			
			-- ico card
			Bitmap
			{
				name = "ico_card_3",
				image = btn_tradeitem_export_ico_blue_01_params["image"],
				x = btn_tradeitem_export_ico_blue_01_params["x"],
				y = btn_tradeitem_export_ico_blue_01_params["y"],
				w = btn_tradeitem_export_ico_blue_01_params["w"],
				h = btn_tradeitem_export_ico_blue_01_params["h"],
			},
			
			-- Card Name text
			Text
			{
				font = Green15Font,
				name = "card_name_text_3",
				label = "STR_FORTUNE_VALLEY",
				x = btn_tradeitem_export_txt_distname_params["x"],
				y = btn_tradeitem_export_txt_distname_params["y"],
				w = btn_tradeitem_export_txt_distname_params["w"]+20,
				h = btn_tradeitem_export_txt_distname_params["h"]+20,
			},
			
			-- Card Value text
			Text
			{
				font = Green15Font,
				name = "card_value_text_3",
				x = btn_tradeitem_export_txt_value_params["x"],
				y = btn_tradeitem_export_txt_value_params["y"],
				w = btn_tradeitem_export_txt_value_params["w"]+20,
				h = btn_tradeitem_export_txt_value_params["h"]+20,
			},
										
			-- button remove disable 3		
			Bitmap
			{
				name = "img_remove_btn_3",
				image = 'hud/btn_sremove_04',
				x = btn_tradeitem_export_btn_sremove_01_params["x"],
				y = btn_tradeitem_export_btn_sremove_01_params["y"],
				w = btn_tradeitem_export_btn_sremove_01_params["w"],
				h = btn_tradeitem_export_btn_sremove_01_params["h"],
			},
		
			-- button remove
			MonopolyButton
			{
				name = "btn_remove_3",
				graphics = btn_tradeitem_export_btn_sremove_01_params["graphics"],
				x = btn_tradeitem_export_btn_sremove_01_params["x"],
				y = btn_tradeitem_export_btn_sremove_01_params["y"],
				w = btn_tradeitem_export_btn_sremove_01_params["w"],
				h = btn_tradeitem_export_btn_sremove_01_params["h"],
				label = "",
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, BTN_REMOVE_CARD, 3);
					end;
			},
		},
		
		-- Add Item 3
		MonopolyButton
		{
			name = "btn_add_item_3",
			graphics = dealwindow_export_btn_additem_01_params["graphics"],
			x = dealwindow_export_btn_tradeitem_04_params["x"],
			y = dealwindow_export_btn_tradeitem_04_params["y"],
			w = dealwindow_export_btn_additem_01_params["w"],
			h = dealwindow_export_btn_additem_01_params["h"],
			font = btn_add_item["font"],
			type = btn_add_item["type"],
			sfxEx = btn_add_item["sfxEx"],
			sfxOver = btn_add_item["sfxOver"],
			command=
				function()
					OnAddItemButton(PLAYER_LEFT, BTN_ADD_ITEM, 3);
				end;
			
			-- ADD ITEM text
			Text
			{
				font = Green12Font,
				name = "add_item_text_3",
				label = "additem",
				x = btn_additem_export_txt_additem_params["x"],
				y = btn_additem_export_txt_additem_params["y"],
				w = btn_additem_export_txt_additem_params["w"]+20,
				h = btn_additem_export_txt_additem_params["h"]+20,
			},
		},
				
		-- Add Item disable 4		
		Bitmap
		{
			name = "img_add_item_4",
			image = 'hud/btn_additem_04',
			x = dealwindow_export_btn_tradeitem_05_params["x"],
			y = dealwindow_export_btn_tradeitem_05_params["y"],
			w = dealwindow_export_btn_additem_01_params["w"],
			h = dealwindow_export_btn_additem_01_params["h"],
		},
		
		-- Trade Item 4
		Bitmap
		{
			name = "btn_tradeitem_4",
			image = 'hud/btn_tradeitem_04',
			x = dealwindow_export_btn_tradeitem_05_params["x"],
			y = dealwindow_export_btn_tradeitem_05_params["y"],
			w = dealwindow_export_btn_tradeitem_05_params["w"],
			h = dealwindow_export_btn_tradeitem_05_params["h"],
			
			-- ico card
			Bitmap
			{
				name = "ico_card_4",
				image = btn_tradeitem_export_ico_blue_01_params["image"],
				x = btn_tradeitem_export_ico_blue_01_params["x"],
				y = btn_tradeitem_export_ico_blue_01_params["y"],
				w = btn_tradeitem_export_ico_blue_01_params["w"],
				h = btn_tradeitem_export_ico_blue_01_params["h"],
			},
			
			-- Card Name text
			Text
			{
				font = Green15Font,
				name = "card_name_text_4",
				label = "STR_FORTUNE_VALLEY",
				x = btn_tradeitem_export_txt_distname_params["x"],
				y = btn_tradeitem_export_txt_distname_params["y"],
				w = btn_tradeitem_export_txt_distname_params["w"]+20,
				h = btn_tradeitem_export_txt_distname_params["h"]+20,
			},
			
			-- Card Value text
			Text
			{
				font = Green15Font,
				name = "card_value_text_4",
				x = btn_tradeitem_export_txt_value_params["x"],
				y = btn_tradeitem_export_txt_value_params["y"],
				w = btn_tradeitem_export_txt_value_params["w"]+20,
				h = btn_tradeitem_export_txt_value_params["h"]+20,
			},
										
			-- button remove disable 4		
			Bitmap
			{
				name = "img_remove_btn_4",
				image = 'hud/btn_sremove_04',
				x = btn_tradeitem_export_btn_sremove_01_params["x"],
				y = btn_tradeitem_export_btn_sremove_01_params["y"],
				w = btn_tradeitem_export_btn_sremove_01_params["w"],
				h = btn_tradeitem_export_btn_sremove_01_params["h"],
			},
		
			-- button remove
			MonopolyButton
			{
				name = "btn_remove_4",
				graphics = btn_tradeitem_export_btn_sremove_01_params["graphics"],
				x = btn_tradeitem_export_btn_sremove_01_params["x"],
				y = btn_tradeitem_export_btn_sremove_01_params["y"],
				w = btn_tradeitem_export_btn_sremove_01_params["w"],
				h = btn_tradeitem_export_btn_sremove_01_params["h"],
				label = "",
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, BTN_REMOVE_CARD, 4);
					end;
			},
		},
		
		-- Add Item 4
		MonopolyButton
		{
			name = "btn_add_item_4",
			graphics = dealwindow_export_btn_additem_01_params["graphics"],
			x = dealwindow_export_btn_tradeitem_05_params["x"],
			y = dealwindow_export_btn_tradeitem_05_params["y"],
			w = dealwindow_export_btn_additem_01_params["w"],
			h = dealwindow_export_btn_additem_01_params["h"],
			font = btn_add_item["font"],
			type = btn_add_item["type"],
			sfxEx = btn_add_item["sfxEx"],
			sfxOver = btn_add_item["sfxOver"],
			command=
				function()
					OnAddItemButton(PLAYER_LEFT, BTN_ADD_ITEM, 4);
				end;
			
			-- ADD ITEM text
			Text
			{
				font = Green12Font,
				name = "add_item_text_4",
				label = "additem",
				x = btn_additem_export_txt_additem_params["x"],
				y = btn_additem_export_txt_additem_params["y"],
				w = btn_additem_export_txt_additem_params["w"]+20,
				h = btn_additem_export_txt_additem_params["h"]+20,
			},
		},
		
		-- Total Deal Value
		Text
		{
			font = Green12Font,
			name = "total_deal_value_text",
			label = "totaldealvalue",
			x = dealwindow_export_txt_totaldealvalue_params["x"]-3,
			y = dealwindow_export_txt_totaldealvalue_params["y"]-10,
			w = dealwindow_export_txt_totaldealvalue_params["w"]+20,
			h = dealwindow_export_txt_totaldealvalue_params["h"]+20,
			flags = kHAlignRight + kVAlignCenter,
		},
		-- Result Deal Value
		Text
		{
			font = Green20Font,
			name = "result_deal_value_text",
			x = dealwindow_export_txt_amount_params["x"]+12,
			y = dealwindow_export_txt_amount_params["y"]-10,
			w = dealwindow_export_txt_amount_params["w"]+20,
			h = dealwindow_export_txt_amount_params["h"]+20,
			flags = kHAlignLeft + kVAlignCenter,
		},
		
		-- pop deal panel left
		Bitmap
		{
			name = "pop_deal_panel",
			image = deal_pop_inventory_params["image"],
			x=(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2),
			y=(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2),
			w=deal_pop_inventory_params["w"],
			h=deal_pop_inventory_params["h"],
			
			Text
			{
				font = Green12Font,
				name = "districts_name",
				label = "districts",
				x = dealinventory_export_txt_districts_params["x"]-3,
				y = dealinventory_export_txt_districts_params["y"],
				w = dealinventory_export_txt_districts_params["w"]+20,
				h = dealinventory_export_txt_districts_params["h"]+20,
				flags = kHAlignLeft + kVAlignTop,
			},
			
			-- Brown Card 0
			MonopolyButton
			{
				name = "ico_pop_card_0",	
				graphics =
				{
					dealinventory_export_ico_brown_01_params["image"],
					dealinventory_export_ico_brown_01_params["image"],
					dealinventory_export_ico_brown_01_params["image"],
					dealinventory_export_ico_brown_01_params["image"]
				};
				x=dealinventory_export_ico_brown_01_params["x"],
				y=dealinventory_export_ico_brown_01_params["y"],
				w = dealinventory_export_ico_brown_01_params["w"],
				h = dealinventory_export_ico_brown_01_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.summergate",
				tooltip_x = deal_win_trade_params["x"] + 
								(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_brown_01_params["x"] + 
										0.5 * dealinventory_export_ico_brown_01_params["w"],
				tooltip_y = deal_win_trade_params["y"] + 
								(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_brown_01_params["y"] + 
										0.5 * dealinventory_export_ico_brown_01_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, ICO_POP_CARD, ICO_BROWN_0);
					end;
			},
			-- Brown Card 1
			MonopolyButton
			{
				name = "ico_pop_card_1",
				graphics =
				{
					dealinventory_export_ico_brown_02_params["image"],
					dealinventory_export_ico_brown_02_params["image"],
					dealinventory_export_ico_brown_02_params["image"],
					dealinventory_export_ico_brown_02_params["image"]
				};
				x=dealinventory_export_ico_brown_02_params["x"],
				y=dealinventory_export_ico_brown_02_params["y"],
				w = dealinventory_export_ico_brown_02_params["w"],
				h = dealinventory_export_ico_brown_02_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.stoneside",
				tooltip_x = deal_win_trade_params["x"] + 
								(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_brown_02_params["x"] + 
										0.5 * dealinventory_export_ico_brown_02_params["w"],
				tooltip_y = deal_win_trade_params["y"] + 
								(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_brown_02_params["y"] + 
										0.5 * dealinventory_export_ico_brown_02_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, ICO_POP_CARD, ICO_BROWN_1);
					end;
			},
			
			-- Azure Card 0
			MonopolyButton
			{
				name = "ico_pop_card_2",
				graphics =
				{
					dealinventory_export_ico_azure_01_params["image"],
					dealinventory_export_ico_azure_01_params["image"],
					dealinventory_export_ico_azure_01_params["image"],
					dealinventory_export_ico_azure_01_params["image"]
				};
				x=dealinventory_export_ico_azure_01_params["x"],
				y=dealinventory_export_ico_azure_01_params["y"],
				w = dealinventory_export_ico_azure_01_params["w"],
				h = dealinventory_export_ico_azure_01_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.westlands",
				tooltip_x = deal_win_trade_params["x"] + 
								(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_azure_01_params["x"] + 
										0.5 * dealinventory_export_ico_azure_01_params["w"],
				tooltip_y = deal_win_trade_params["y"] + 
								(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_azure_01_params["y"] + 
										0.5 * dealinventory_export_ico_azure_01_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, ICO_POP_CARD, ICO_AZURE_0);
					end;
			},
			-- Azure Card 1
			MonopolyButton
			{
				name = "ico_pop_card_3",
				graphics =
				{
					dealinventory_export_ico_azure_02_params["image"],
					dealinventory_export_ico_azure_02_params["image"],
					dealinventory_export_ico_azure_02_params["image"],
					dealinventory_export_ico_azure_02_params["image"]
				};
				x=dealinventory_export_ico_azure_02_params["x"],
				y=dealinventory_export_ico_azure_02_params["y"],
				w = dealinventory_export_ico_azure_02_params["w"],
				h = dealinventory_export_ico_azure_02_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.bayviewdock",
				tooltip_x = deal_win_trade_params["x"] + 
								(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_azure_02_params["x"] + 
										0.5 * dealinventory_export_ico_azure_02_params["w"],
				tooltip_y = deal_win_trade_params["y"] + 
								(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_azure_02_params["y"] + 
										0.5 * dealinventory_export_ico_azure_02_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, ICO_POP_CARD, ICO_AZURE_1);
					end;
			},		
			-- Azure Card 2
			MonopolyButton
			{
				name = "ico_pop_card_4",
				graphics =
				{
					dealinventory_export_ico_azure_03_params["image"],
					dealinventory_export_ico_azure_03_params["image"],
					dealinventory_export_ico_azure_03_params["image"],
					dealinventory_export_ico_azure_03_params["image"]
				};
				x=dealinventory_export_ico_azure_03_params["x"],
				y=dealinventory_export_ico_azure_03_params["y"],
				w = dealinventory_export_ico_azure_03_params["w"],
				h = dealinventory_export_ico_azure_03_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.brightside",
				tooltip_x = deal_win_trade_params["x"] + 
								(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_azure_03_params["x"] + 
										0.5 * dealinventory_export_ico_azure_03_params["w"],
				tooltip_y = deal_win_trade_params["y"] + 
								(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_azure_03_params["y"] + 
										0.5 * dealinventory_export_ico_azure_03_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, ICO_POP_CARD, ICO_AZURE_2);
					end;
			},
			
			-- Pink Card 0
			MonopolyButton
			{
				name = "ico_pop_card_5",
				graphics =
				{
					dealinventory_export_ico_pink_01_params["image"],
					dealinventory_export_ico_pink_01_params["image"],
					dealinventory_export_ico_pink_01_params["image"],
					dealinventory_export_ico_pink_01_params["image"]
				};
				x=dealinventory_export_ico_pink_01_params["x"],
				y=dealinventory_export_ico_pink_01_params["y"],
				w = dealinventory_export_ico_pink_01_params["w"],
				h = dealinventory_export_ico_pink_01_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.oldtown",
				tooltip_x = deal_win_trade_params["x"] + 
								(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_pink_01_params["x"] + 
										0.5 * dealinventory_export_ico_pink_01_params["w"],
				tooltip_y = deal_win_trade_params["y"] + 
								(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_pink_01_params["y"] + 
										0.5 * dealinventory_export_ico_pink_01_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, ICO_POP_CARD, ICO_PINK_0);
					end;
			},
			-- Pink Card 1
			MonopolyButton
			{
				name = "ico_pop_card_6",
				graphics =
				{
					dealinventory_export_ico_pink_02_params["image"],
					dealinventory_export_ico_pink_02_params["image"],
					dealinventory_export_ico_pink_02_params["image"],
					dealinventory_export_ico_pink_02_params["image"]
				};
				x=dealinventory_export_ico_pink_02_params["x"],
				y=dealinventory_export_ico_pink_02_params["y"],
				w = dealinventory_export_ico_pink_02_params["w"],
				h = dealinventory_export_ico_pink_02_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.harborheight",
				tooltip_x = deal_win_trade_params["x"] + 
								(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_pink_02_params["x"] + 
										0.5 * dealinventory_export_ico_pink_02_params["w"],
				tooltip_y = deal_win_trade_params["y"] + 
								(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_pink_02_params["y"] + 
										0.5 * dealinventory_export_ico_pink_02_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, ICO_POP_CARD, ICO_PINK_1);
					end;
			},		
			-- Pink Card 2
			MonopolyButton
			{
				name = "ico_pop_card_7",
				graphics =
				{
					dealinventory_export_ico_pink_03_params["image"],
					dealinventory_export_ico_pink_03_params["image"],
					dealinventory_export_ico_pink_03_params["image"],
					dealinventory_export_ico_pink_03_params["image"]
				};
				x=dealinventory_export_ico_pink_03_params["x"],
				y=dealinventory_export_ico_pink_03_params["y"],
				w = dealinventory_export_ico_pink_03_params["w"],
				h = dealinventory_export_ico_pink_03_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.centralquay",
				tooltip_x = deal_win_trade_params["x"] + 
								(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_pink_03_params["x"] + 
										0.5 * dealinventory_export_ico_pink_03_params["w"],
				tooltip_y = deal_win_trade_params["y"] + 
								(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_pink_03_params["y"] + 
										0.5 * dealinventory_export_ico_pink_03_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, ICO_POP_CARD, ICO_PINK_2);
					end;
			},
			
			-- Orange Card 0
			MonopolyButton
			{
				name = "ico_pop_card_8",
				graphics =
				{
					dealinventory_export_ico_orange_01_params["image"],
					dealinventory_export_ico_orange_01_params["image"],
					dealinventory_export_ico_orange_01_params["image"],
					dealinventory_export_ico_orange_01_params["image"]
				};
				x=dealinventory_export_ico_orange_01_params["x"],
				y=dealinventory_export_ico_orange_01_params["y"],
				w = dealinventory_export_ico_orange_01_params["w"],
				h = dealinventory_export_ico_orange_01_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.shinevillage",
				tooltip_x = deal_win_trade_params["x"] + 
								(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_orange_01_params["x"] + 
										0.5 * dealinventory_export_ico_orange_01_params["w"],
				tooltip_y = deal_win_trade_params["y"] + 
								(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_orange_01_params["y"] + 
										0.5 * dealinventory_export_ico_orange_01_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, ICO_POP_CARD, ICO_ORANGE_0);
					end;
			},
			-- Orange Card 1
			MonopolyButton
			{
				name = "ico_pop_card_9",
				graphics =
				{
					dealinventory_export_ico_orange_02_params["image"],
					dealinventory_export_ico_orange_02_params["image"],
					dealinventory_export_ico_orange_02_params["image"],
					dealinventory_export_ico_orange_02_params["image"]
				};
				x=dealinventory_export_ico_orange_02_params["x"],
				y=dealinventory_export_ico_orange_02_params["y"],
				w = dealinventory_export_ico_orange_02_params["w"],
				h = dealinventory_export_ico_orange_02_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.eastbank",
				tooltip_x = deal_win_trade_params["x"] + 
								(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_orange_02_params["x"] + 
										0.5 * dealinventory_export_ico_orange_02_params["w"],
				tooltip_y = deal_win_trade_params["y"] + 
								(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_orange_02_params["y"] + 
										0.5 * dealinventory_export_ico_orange_02_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, ICO_POP_CARD, ICO_ORANGE_1);
					end;
			},		
			-- Orange Card 2
			MonopolyButton
			{
				name = "ico_pop_card_10",
				graphics =
				{
					dealinventory_export_ico_orange_03_params["image"],
					dealinventory_export_ico_orange_03_params["image"],
					dealinventory_export_ico_orange_03_params["image"],
					dealinventory_export_ico_orange_03_params["image"]
				};	
				x=dealinventory_export_ico_orange_03_params["x"],
				y=dealinventory_export_ico_orange_03_params["y"],
				w = dealinventory_export_ico_orange_03_params["w"],
				h = dealinventory_export_ico_orange_03_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.treetoppark",
				tooltip_x = deal_win_trade_params["x"] + 
								(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_orange_03_params["x"] + 
										0.5 * dealinventory_export_ico_orange_03_params["w"],
				tooltip_y = deal_win_trade_params["y"] + 
								(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_orange_03_params["y"] + 
										0.5 * dealinventory_export_ico_orange_03_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, ICO_POP_CARD, ICO_ORANGE_2);
					end;
			},
			
			-- Red Card 0
			MonopolyButton
			{
				name = "ico_pop_card_11",
				graphics =
				{
					dealinventory_export_ico_red_01_params["image"],
					dealinventory_export_ico_red_01_params["image"],
					dealinventory_export_ico_red_01_params["image"],
					dealinventory_export_ico_red_01_params["image"]
				};	
				x=dealinventory_export_ico_red_01_params["x"],
				y=dealinventory_export_ico_red_01_params["y"],
				w = dealinventory_export_ico_red_01_params["w"],
				h = dealinventory_export_ico_red_01_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.seaview",
				tooltip_x = deal_win_trade_params["x"] + 
								(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_red_01_params["x"] + 
										0.5 * dealinventory_export_ico_red_01_params["w"],
				tooltip_y = deal_win_trade_params["y"] + 
								(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_red_01_params["y"] + 
										0.5 * dealinventory_export_ico_red_01_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, ICO_POP_CARD, ICO_RED_0);
					end;
			},
			-- Red Card 1
			MonopolyButton
			{
				name = "ico_pop_card_12",
				graphics =
				{
					dealinventory_export_ico_red_02_params["image"],
					dealinventory_export_ico_red_02_params["image"],
					dealinventory_export_ico_red_02_params["image"],
					dealinventory_export_ico_red_02_params["image"]
				};		
				x=dealinventory_export_ico_red_02_params["x"],
				y=dealinventory_export_ico_red_02_params["y"],
				w = dealinventory_export_ico_red_02_params["w"],
				h = dealinventory_export_ico_red_02_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.thewharf",
				tooltip_x = deal_win_trade_params["x"] + 
								(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_red_02_params["x"] + 
										0.5 * dealinventory_export_ico_red_02_params["w"],
				tooltip_y = deal_win_trade_params["y"] + 
								(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_red_02_params["y"] + 
										0.5 * dealinventory_export_ico_red_02_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, ICO_POP_CARD, ICO_RED_1);
					end;
			},		
			-- Red Card 2
			MonopolyButton
			{
				name = "ico_pop_card_13",
				graphics =
				{
					dealinventory_export_ico_red_03_params["image"],
					dealinventory_export_ico_red_03_params["image"],
					dealinventory_export_ico_red_03_params["image"],
					dealinventory_export_ico_red_03_params["image"]
				};	
				x=dealinventory_export_ico_red_03_params["x"],
				y=dealinventory_export_ico_red_03_params["y"],
				w = dealinventory_export_ico_red_03_params["w"],
				h = dealinventory_export_ico_red_03_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.middletown",
				tooltip_x = deal_win_trade_params["x"] + 
								(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_red_03_params["x"] + 
										0.5 * dealinventory_export_ico_red_03_params["w"],
				tooltip_y = deal_win_trade_params["y"] + 
								(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_red_03_params["y"] + 
										0.5 * dealinventory_export_ico_red_03_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, ICO_POP_CARD, ICO_RED_2);
					end;
			},
			
			-- Yellow Card 0
			MonopolyButton
			{
				name = "ico_pop_card_14",
				graphics =
				{
					dealinventory_export_ico_yellow_01_params["image"],
					dealinventory_export_ico_yellow_01_params["image"],
					dealinventory_export_ico_yellow_01_params["image"],
					dealinventory_export_ico_yellow_01_params["image"]
				};
				x=dealinventory_export_ico_yellow_01_params["x"],
				y=dealinventory_export_ico_yellow_01_params["y"],
				w = dealinventory_export_ico_yellow_01_params["w"],
				h = dealinventory_export_ico_yellow_01_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.newtown",
				tooltip_x = deal_win_trade_params["x"] + 
								(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_yellow_01_params["x"] + 
										0.5 * dealinventory_export_ico_yellow_01_params["w"],
				tooltip_y = deal_win_trade_params["y"] + 
								(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_yellow_01_params["y"] + 
										0.5 * dealinventory_export_ico_yellow_01_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, ICO_POP_CARD, ICO_YELLOW_0);
					end;
			},
			-- Yellow Card 1
			MonopolyButton
			{
				name = "ico_pop_card_15",
				graphics =
				{
					dealinventory_export_ico_yellow_02_params["image"],
					dealinventory_export_ico_yellow_02_params["image"],
					dealinventory_export_ico_yellow_02_params["image"],
					dealinventory_export_ico_yellow_02_params["image"]
				};
				x=dealinventory_export_ico_yellow_02_params["x"],
				y=dealinventory_export_ico_yellow_02_params["y"],
				w = dealinventory_export_ico_yellow_02_params["w"],
				h = dealinventory_export_ico_yellow_02_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.silverharbor",
				tooltip_x = deal_win_trade_params["x"] + 
								(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_yellow_02_params["x"] + 
										0.5 * dealinventory_export_ico_yellow_02_params["w"],
				tooltip_y = deal_win_trade_params["y"] + 
								(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_yellow_02_params["y"] + 
										0.5 * dealinventory_export_ico_yellow_02_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, ICO_POP_CARD, ICO_YELLOW_1);
					end;
			},		
			-- Yellow Card 2
			MonopolyButton
			{
				name = "ico_pop_card_16",
				graphics =
				{
					dealinventory_export_ico_yellow_03_params["image"],
					dealinventory_export_ico_yellow_03_params["image"],
					dealinventory_export_ico_yellow_03_params["image"],
					dealinventory_export_ico_yellow_03_params["image"]
				};
				x=dealinventory_export_ico_yellow_03_params["x"],
				y=dealinventory_export_ico_yellow_03_params["y"],
				w = dealinventory_export_ico_yellow_03_params["w"],
				h = dealinventory_export_ico_yellow_03_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.centralcity",
				tooltip_x = deal_win_trade_params["x"] + 
								(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_yellow_03_params["x"] + 
										0.5 * dealinventory_export_ico_yellow_03_params["w"],
				tooltip_y = deal_win_trade_params["y"] + 
								(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_yellow_03_params["y"] + 
										0.5 * dealinventory_export_ico_yellow_03_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, ICO_POP_CARD, ICO_YELLOW_2);
					end;
			},
			
			-- Green Card 0
			MonopolyButton
			{
				name = "ico_pop_card_17",
				graphics =
				{
					dealinventory_export_ico_green_01_params["image"],
					dealinventory_export_ico_green_01_params["image"],
					dealinventory_export_ico_green_01_params["image"],
					dealinventory_export_ico_green_01_params["image"]
				};
				x=dealinventory_export_ico_green_01_params["x"],
				y=dealinventory_export_ico_green_01_params["y"],
				w = dealinventory_export_ico_green_01_params["w"],
				h = dealinventory_export_ico_green_01_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.royalcourt",
				tooltip_x = deal_win_trade_params["x"] + 
								(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_green_01_params["x"] + 
										0.5 * dealinventory_export_ico_green_01_params["w"],
				tooltip_y = deal_win_trade_params["y"] + 
								(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_green_01_params["y"] + 
										0.5 * dealinventory_export_ico_green_01_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, ICO_POP_CARD, ICO_GREEN_0);
					end;
			},
			-- Green Card 1
			MonopolyButton
			{
				name = "ico_pop_card_18",
				graphics =
				{
					dealinventory_export_ico_green_02_params["image"],
					dealinventory_export_ico_green_02_params["image"],
					dealinventory_export_ico_green_02_params["image"],
					dealinventory_export_ico_green_02_params["image"]
				};
				x=dealinventory_export_ico_green_02_params["x"],
				y=dealinventory_export_ico_green_02_params["y"],
				w = dealinventory_export_ico_green_02_params["w"],
				h = dealinventory_export_ico_green_02_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.themarina",
				tooltip_x = deal_win_trade_params["x"] + 
								(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_green_02_params["x"] + 
										0.5 * dealinventory_export_ico_green_02_params["w"],
				tooltip_y = deal_win_trade_params["y"] + 
								(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_green_02_params["y"] + 
										0.5 * dealinventory_export_ico_green_02_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, ICO_POP_CARD, ICO_GREEN_1);
					end;
			},		
			-- Green Card 2
			MonopolyButton
			{
				name = "ico_pop_card_19",
				graphics =
				{
					dealinventory_export_ico_green_03_params["image"],
					dealinventory_export_ico_green_03_params["image"],
					dealinventory_export_ico_green_03_params["image"],
					dealinventory_export_ico_green_03_params["image"]
				};
				x=dealinventory_export_ico_green_03_params["x"],
				y=dealinventory_export_ico_green_03_params["y"],
				w = dealinventory_export_ico_green_03_params["w"],
				h = dealinventory_export_ico_green_03_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.riverside",
				tooltip_x = deal_win_trade_params["x"] + 
								(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_green_03_params["x"] + 
										0.5 * dealinventory_export_ico_green_03_params["w"],
				tooltip_y = deal_win_trade_params["y"] + 
								(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_green_03_params["y"] + 
										0.5 * dealinventory_export_ico_green_03_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, ICO_POP_CARD, ICO_GREEN_2);
					end;
			},
			
			-- Blue Card 0
			MonopolyButton
			{
				name = "ico_pop_card_20",
				graphics =
				{
					dealinventory_export_ico_blue_01_params["image"],
					dealinventory_export_ico_blue_01_params["image"],
					dealinventory_export_ico_blue_01_params["image"],
					dealinventory_export_ico_blue_01_params["image"]
				};
				x=dealinventory_export_ico_blue_01_params["x"],
				y=dealinventory_export_ico_blue_01_params["y"],
				w = dealinventory_export_ico_blue_01_params["w"],
				h = dealinventory_export_ico_blue_01_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.fortunevalley",
				tooltip_x = deal_win_trade_params["x"] + 
								(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_blue_01_params["x"] + 
										0.5 * dealinventory_export_ico_blue_01_params["w"],
				tooltip_y = deal_win_trade_params["y"] + 
								(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_blue_01_params["y"] + 
										0.5 * dealinventory_export_ico_blue_01_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, ICO_POP_CARD, ICO_BLUE_0);
					end;
			},
			-- Blue Card 1
			MonopolyButton
			{
				name = "ico_pop_card_21",
				graphics =
				{
					dealinventory_export_ico_blue_02_params["image"],
					dealinventory_export_ico_blue_02_params["image"],
					dealinventory_export_ico_blue_02_params["image"],
					dealinventory_export_ico_blue_02_params["image"]
				};
				x=dealinventory_export_ico_blue_02_params["x"],
				y=dealinventory_export_ico_blue_02_params["y"],
				w = dealinventory_export_ico_blue_02_params["w"],
				h = dealinventory_export_ico_blue_02_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.diamondhills",
				tooltip_x = deal_win_trade_params["x"] + 
								(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_blue_02_params["x"] + 
										0.5 * dealinventory_export_ico_blue_02_params["w"],
				tooltip_y = deal_win_trade_params["y"] + 
								(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_blue_02_params["y"] + 
										0.5 * dealinventory_export_ico_blue_02_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, ICO_POP_CARD, ICO_BLUE_1);
					end;
			},
			
			Text
			{
				font = Green12Font,
				name = "chance_card_name",
				label = "chancecard",
				x = dealinventory_export_txt_chancecards_params["x"]-3,
				y = dealinventory_export_txt_chancecards_params["y"],
				w = dealinventory_export_txt_chancecards_params["w"]+20,
				h = dealinventory_export_txt_chancecards_params["h"]+20,
				flags = kHAlignLeft + kVAlignTop,
			},
			
			-- Free Card 0
			MonopolyButton
			{
				name = "ico_pop_card_22",
				graphics =
				{
					dealinventory_export_ico_free_params["image"],
					dealinventory_export_ico_free_params["image"],
					dealinventory_export_ico_free_params["image"],
					dealinventory_export_ico_free_params["image"]
				};
				x=dealinventory_export_ico_free_params["x"],
				y=dealinventory_export_ico_free_params["y"],
				w = dealinventory_export_ico_free_params["w"],
				h = dealinventory_export_ico_free_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.rentdodge",
				tooltip_x = deal_win_trade_params["x"] + 
								(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_free_params["x"] + 
										0.5 * dealinventory_export_ico_free_params["w"],
				tooltip_y = deal_win_trade_params["y"] + 
								(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_free_params["y"] + 
										0.5 * dealinventory_export_ico_free_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, ICO_POP_CARD, ICO_FREE_0);
					end;
			},
			
			-- Taxi Card 0
			MonopolyButton
			{
				name = "ico_pop_card_23",
				graphics =
				{
					dealinventory_export_ico_taxi_01_params["image"],
					dealinventory_export_ico_taxi_01_params["image"],
					dealinventory_export_ico_taxi_01_params["image"],
					dealinventory_export_ico_taxi_01_params["image"]
				};
				x=dealinventory_export_ico_taxi_01_params["x"],
				y=dealinventory_export_ico_taxi_01_params["y"],
				w = dealinventory_export_ico_taxi_01_params["w"],
				h = dealinventory_export_ico_taxi_01_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.taxi",
				tooltip_x = deal_win_trade_params["x"] + 
								(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_taxi_01_params["x"] + 
										0.5 * dealinventory_export_ico_taxi_01_params["w"],
				tooltip_y = deal_win_trade_params["y"] + 
								(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_taxi_01_params["y"] + 
										0.5 * dealinventory_export_ico_taxi_01_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, ICO_POP_CARD, ICO_TAXI_0);
					end;
			},
			-- Taxi Card 1
			MonopolyButton
			{
				name = "ico_pop_card_24",
				graphics =
				{
					dealinventory_export_ico_taxi_02_params["image"],
					dealinventory_export_ico_taxi_02_params["image"],
					dealinventory_export_ico_taxi_02_params["image"],
					dealinventory_export_ico_taxi_02_params["image"]
				};
				x=dealinventory_export_ico_taxi_02_params["x"],
				y=dealinventory_export_ico_taxi_02_params["y"],
				w = dealinventory_export_ico_taxi_02_params["w"],
				h = dealinventory_export_ico_taxi_02_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.taxi",
				tooltip_x = deal_win_trade_params["x"] + 
								(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_taxi_02_params["x"] + 
										0.5 * dealinventory_export_ico_taxi_02_params["w"],
				tooltip_y = deal_win_trade_params["y"] + 
								(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_taxi_02_params["y"] + 
										0.5 * dealinventory_export_ico_taxi_02_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, ICO_POP_CARD, ICO_TAXI_1);
					end;
			},
			
			-- Tax Card 0
			MonopolyButton
			{
				name = "ico_pop_card_25",
				graphics =
				{
					dealinventory_export_ico_tax_params["image"],
					dealinventory_export_ico_tax_params["image"],
					dealinventory_export_ico_tax_params["image"],
					dealinventory_export_ico_tax_params["image"]
				};
				x=dealinventory_export_ico_tax_params["x"],
				y=dealinventory_export_ico_tax_params["y"],
				w = dealinventory_export_ico_tax_params["w"],
				h = dealinventory_export_ico_tax_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.taxdodge",
				tooltip_x = deal_win_trade_params["x"] + 
								(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_tax_params["x"] + 
										0.5 * dealinventory_export_ico_tax_params["w"],
				tooltip_y = deal_win_trade_params["y"] + 
								(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_tax_params["y"] + 
										0.5 * dealinventory_export_ico_tax_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, ICO_POP_CARD, ICO_TAX_0);
					end;
			},
			
			-- Jail Card 0
			-- Attention dans le fichier d'exportation il y a une erreur de nom d'image.
			MonopolyButton
			{
				name = "ico_pop_card_26",
				graphics =
				{
					dealinventory_export_ico_jail_01_params["image"],
					dealinventory_export_ico_jail_01_params["image"],
					dealinventory_export_ico_jail_01_params["image"],
					dealinventory_export_ico_jail_01_params["image"]
				};
				x=dealinventory_export_ico_jail_01_params["x"],
				y=dealinventory_export_ico_jail_01_params["y"],
				w = dealinventory_export_ico_jail_01_params["w"],
				h = dealinventory_export_ico_jail_01_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.getoutofjail",
				tooltip_x = deal_win_trade_params["x"] + 
								(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_jail_01_params["x"] + 
										0.5 * dealinventory_export_ico_jail_01_params["w"],
				tooltip_y = deal_win_trade_params["y"] + 
								(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_jail_01_params["y"] + 
										0.5 * dealinventory_export_ico_jail_01_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, ICO_POP_CARD, ICO_JAIL_0);
					end;
			},
			-- Jail Card 1
			-- Attention dans le fichier d'exportation il y a une erreur de nom d'image.
			MonopolyButton
			{
				name = "ico_pop_card_27",
				graphics =
				{
					dealinventory_export_ico_jail_02_params["image"],
					dealinventory_export_ico_jail_02_params["image"],
					dealinventory_export_ico_jail_02_params["image"],
					dealinventory_export_ico_jail_02_params["image"]
				};
				x=dealinventory_export_ico_jail_02_params["x"],
				y=dealinventory_export_ico_jail_02_params["y"],
				w = dealinventory_export_ico_jail_02_params["w"],
				h = dealinventory_export_ico_jail_02_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.getoutofjail",
				tooltip_x = deal_win_trade_params["x"] + 
								(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_jail_02_params["x"] + 
										0.5 * dealinventory_export_ico_jail_02_params["w"],
				tooltip_y = deal_win_trade_params["y"] + 
								(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_jail_02_params["y"] + 
										0.5 * dealinventory_export_ico_jail_02_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, ICO_POP_CARD, ICO_JAIL_1);
					end;
			},
			
			MonopolyButton
			{
				name = "btn_remove_pop_deal_panel",
				graphics = dealinventory_export_btn_sremove_01_params["graphics"],
				x = dealinventory_export_btn_sremove_01_params["x"],
				y = dealinventory_export_btn_sremove_01_params["y"],
				label = "",
				font = btn_offer_panel["font"],
				type = btn_offer_panel["type"],
				sfxEx = btn_offer_panel["sfxEx"],
				sfxOver = btn_offer_panel["sfxOver"],
				command=
					function()
						OnAddItemButton(PLAYER_LEFT, BTN_REMOVE_POP_PANEL, 0);
					end;
			},
		},
	},
}
		
rightplayerdealpanel_group = 
{		
	DealDialog
	{
		name = "player_deal_panel_right",	
		x = deal_win_trade_01_params["x"],
		y = deal_win_trade_01_params["y"],
		w = deal_win_trade_01_params["w"],
		h = deal_win_trade_01_params["h"],

		Bitmap
		{
			name = "playerpanel_bg_right",	
			image = deal_win_trade_params["image"],
			x= 0,
			y= 0,
		},
		
		-- Player Name
		Bitmap
		{
			name = "player_name_panel",
			image = dealwindow_export_ico_lplayername_01_params["image"],
			x = dealwindow_export_ico_lplayername_01_params["x"],
			y = dealwindow_export_ico_lplayername_01_params["y"],
			w = dealwindow_export_ico_lplayername_01_params["w"],
			h = dealwindow_export_ico_lplayername_01_params["h"],
		},
		
		Text
		{
			font = Green16Font,
			name = "player_name_text",
			label="",
			x = dealwindow_export_txt_playername01_params["x"],
			y = dealwindow_export_txt_playername01_params["y"]-2,
			w = dealwindow_export_txt_playername01_params["w"]+20,
			h = dealwindow_export_txt_playername01_params["h"]+20,
		},
		
		-- Player Avatar
		Bitmap
		{
			name = "player_frame",
			image = dealwindow_export_ico_iconframe_01_params["image"],
			x = dealwindow_export_ico_iconframe_01_params["x"],
			y = dealwindow_export_ico_iconframe_01_params["y"],
			w = dealwindow_export_ico_iconframe_01_params["w"],
			h = dealwindow_export_ico_iconframe_01_params["h"],
		},
		Bitmap
		{
			name = "player_avatar",
			image = dealwindow_export_ico_mplayericon_h_params["image"],
			x = dealwindow_export_ico_mplayericon_h_params["x"],
			y = dealwindow_export_ico_mplayericon_h_params["y"],
			w = dealwindow_export_ico_mplayericon_h_params["w"],
			h = dealwindow_export_ico_mplayericon_h_params["h"],
		},

		
		-- Player Cash
		Bitmap
		{
			name = "player_cash",
			--[[
			image = dealwindow_export_ico_playername_01_params["image"],
			x = dealwindow_export_ico_playername_01_params["x"],
			y = dealwindow_export_ico_playername_01_params["y"],
			w = dealwindow_export_ico_playername_01_params["w"],
			h = dealwindow_export_ico_playername_01_params["h"],
			--]]
		},
		
		-- Player Cash Text
		Text
		{
			font = Green15Font,
			name = "player_cashvalue_text",
			x = dealwindow_export_txt_currentamt_params["x"]+20,
			y = dealwindow_export_txt_currentamt_params["y"],
			w = dealwindow_export_txt_currentamt_params["w"]+20,
			h = dealwindow_export_txt_currentamt_params["h"]+20,
		},
		
		-- Money Text
		Text
		{
			font = Green15Font,
			name = "Money_text",
			label = "money",
			x = dealwindow_export_txt_money_params["x"],
			y = dealwindow_export_txt_money_params["y"],
			w = dealwindow_export_txt_money_params["w"]+20,
			h = dealwindow_export_txt_money_params["h"]+20,
		},
		
		-- Add/remove Cash Million Text
		Text
		{
			font = Green15Font,
			name = "cash_million_text",
			x = dealwindow_export_txt_millions_params["x"]-20,
			y = dealwindow_export_txt_millions_params["y"]-9,
			w = dealwindow_export_txt_millions_params["w"]+20,
			h = dealwindow_export_txt_millions_params["h"]+20,
			flags = kHAlignRight + kVAlignCenter,
		},
		
		-- Add/remove Cash thousands Text
		Text
		{
			font = Green15Font,
			name = "cash_thousands_text",
			x = dealwindow_export_txt_thousands_params["x"],
			y = dealwindow_export_txt_thousands_params["y"]-9,
			w = dealwindow_export_txt_thousands_params["w"]+20,
			h = dealwindow_export_txt_thousands_params["h"]+20,
			flags = kHAlignLeft + kVAlignCenter,
		},
		
		-- button up/down money
		-- plus million		
		Bitmap
		{
			name = "img_UpDown_Deal_0",
			image = 'hud/btn_smarrowup_04',
			x = dealwindow_export_btn_smarrowup_01_params["x"],
			y = dealwindow_export_btn_smarrowup_01_params["y"],
			w = dealwindow_export_btn_smarrowup_01_params["w"],
			h = dealwindow_export_btn_smarrowup_01_params["h"],
		},
		AutoRepeatButton
		{
			name="btn_UpDown_Deal_0",
			graphics = dealwindow_export_btn_smarrowup_01_params["graphics"],
			x = dealwindow_export_btn_smarrowup_01_params["x"],
			y = dealwindow_export_btn_smarrowup_01_params["y"],
			label="",
			command=
				function()
					OnAddItemButton(PLAYER_RIGHT, BTN_UP_MILLION, 0);
				end;
		},
		-- minus million
		Bitmap
		{
			name = "img_UpDown_Deal_1",
			image = 'hud/btn_smarrowdown_04',
			x = dealwindow_export_btn_smarrowdown_01_params["x"],
			y = dealwindow_export_btn_smarrowdown_01_params["y"],
			w = dealwindow_export_btn_smarrowdown_01_params["w"],
			h = dealwindow_export_btn_smarrowdown_01_params["h"],
		},
		AutoRepeatButton
		{
			name="btn_UpDown_Deal_1",
			graphics = dealwindow_export_btn_smarrowdown_01_params["graphics"],
			x = dealwindow_export_btn_smarrowdown_01_params["x"],
			y = dealwindow_export_btn_smarrowdown_01_params["y"],
			label="",
			command=
				function()
					OnAddItemButton(PLAYER_RIGHT, BTN_DOWN_MILLION, 0);
				end;
		},
		-- plus thousand
		Bitmap
		{
			name = "img_UpDown_Deal_2",
			image = 'hud/btn_smarrowup_04',
			x = dealwindow_export_btn_smarrowup_02_params["x"],
			y = dealwindow_export_btn_smarrowup_02_params["y"],
			w = dealwindow_export_btn_smarrowup_02_params["w"],
			h = dealwindow_export_btn_smarrowup_02_params["h"],
		},
		AutoRepeatButton
		{
			name="btn_UpDown_Deal_2",
			graphics = dealwindow_export_btn_smarrowup_02_params["graphics"],
			x = dealwindow_export_btn_smarrowup_02_params["x"],
			y = dealwindow_export_btn_smarrowup_02_params["y"],
			label="",
			command=
				function()
					OnAddItemButton(PLAYER_RIGHT, BTN_UP_THOUSAND, 0);
				end;
		},
		-- minus thousand
		Bitmap
		{
			name = "img_UpDown_Deal_3",
			image = 'hud/btn_smarrowdown_04',
			x = dealwindow_export_btn_smarrowdown_02_params["x"],
			y = dealwindow_export_btn_smarrowdown_02_params["y"],
			w = dealwindow_export_btn_smarrowdown_02_params["w"],
			h = dealwindow_export_btn_smarrowdown_02_params["h"],
		},
		AutoRepeatButton
		{
			name="btn_UpDown_Deal_3",
			graphics = dealwindow_export_btn_smarrowdown_02_params["graphics"],
			x = dealwindow_export_btn_smarrowdown_02_params["x"],
			y = dealwindow_export_btn_smarrowdown_02_params["y"],
			label="",
			command=
				function()
					OnAddItemButton(PLAYER_RIGHT, BTN_DOWN_THOUSAND, 0);
				end;
		},
		
		-- Add Item disable 0		
		Bitmap
		{
			name = "img_add_item_0",
			image = 'hud/btn_additem_04',
			x = dealwindow_export_btn_tradeitem_01_params["x"],
			y = dealwindow_export_btn_tradeitem_01_params["y"],
			w = dealwindow_export_btn_additem_01_params["w"],
			h = dealwindow_export_btn_additem_01_params["h"],
		},
		
		-- Trade Item 0
		Bitmap
		{
			name = "btn_tradeitem_0",
			image = 'hud/btn_tradeitem_04',
			x = dealwindow_export_btn_tradeitem_01_params["x"],
			y = dealwindow_export_btn_tradeitem_01_params["y"],
			w = dealwindow_export_btn_tradeitem_01_params["w"],
			h = dealwindow_export_btn_tradeitem_01_params["h"],
			
			-- ico card
			Bitmap
			{
				name = "ico_card_0",
				image = btn_tradeitem_export_ico_blue_01_params["image"],
				x = btn_tradeitem_export_ico_blue_01_params["x"],
				y = btn_tradeitem_export_ico_blue_01_params["y"],
				w = btn_tradeitem_export_ico_blue_01_params["w"],
				h = btn_tradeitem_export_ico_blue_01_params["h"],
			},
			
			-- Card Name text
			Text
			{
				font = Green15Font,
				name = "card_name_text_0",
				label = "STR_FORTUNE_VALLEY",
				x = btn_tradeitem_export_txt_distname_params["x"],
				y = btn_tradeitem_export_txt_distname_params["y"],
				w = btn_tradeitem_export_txt_distname_params["w"]+20,
				h = btn_tradeitem_export_txt_distname_params["h"]+20,
			},
			
			-- Card Value text
			Text
			{
				font = Green15Font,
				name = "card_value_text_0",
				x = btn_tradeitem_export_txt_value_params["x"],
				y = btn_tradeitem_export_txt_value_params["y"],
				w = btn_tradeitem_export_txt_value_params["w"]+20,
				h = btn_tradeitem_export_txt_value_params["h"]+20,
			},
										
			-- button remove disable 0		
			Bitmap
			{
				name = "img_remove_btn_0",
				image = 'hud/btn_sremove_04',
				x = btn_tradeitem_export_btn_sremove_01_params["x"],
				y = btn_tradeitem_export_btn_sremove_01_params["y"],
				w = btn_tradeitem_export_btn_sremove_01_params["w"],
				h = btn_tradeitem_export_btn_sremove_01_params["h"],
			},
		
			-- button remove
			MonopolyButton
			{
				name = "btn_remove_0",
				graphics = btn_tradeitem_export_btn_sremove_01_params["graphics"],
				x = btn_tradeitem_export_btn_sremove_01_params["x"],
				y = btn_tradeitem_export_btn_sremove_01_params["y"],
				w = btn_tradeitem_export_btn_sremove_01_params["w"],
				h = btn_tradeitem_export_btn_sremove_01_params["h"],
				label = "",
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, BTN_REMOVE_CARD, 0);
					end;
			},
		},
		
		-- Add Item 0
		MonopolyButton
		{
			name = "btn_add_item_0",
			graphics = dealwindow_export_btn_additem_01_params["graphics"],
			x = dealwindow_export_btn_tradeitem_01_params["x"],
			y = dealwindow_export_btn_tradeitem_01_params["y"],
			w = dealwindow_export_btn_additem_01_params["w"],
			h = dealwindow_export_btn_additem_01_params["h"],
			font = btn_add_item["font"],
			type = btn_add_item["type"],
			sfxEx = btn_add_item["sfxEx"],
			sfxOver = btn_add_item["sfxOver"],
			command=
				function()
					OnAddItemButton(PLAYER_RIGHT, BTN_ADD_ITEM, 0);
				end;
			
			-- ADD ITEM text
			Text
			{
				font = Green12Font,
				name = "add_item_text_0",
				label = "additem",
				x = btn_additem_export_txt_additem_params["x"],
				y = btn_additem_export_txt_additem_params["y"],
				w = btn_additem_export_txt_additem_params["w"]+20,
				h = btn_additem_export_txt_additem_params["h"]+20,
			},
		},
				
		-- Add Item disable 1		
		Bitmap
		{
			name = "img_add_item_1",
			image = 'hud/btn_additem_04',
			x = dealwindow_export_btn_tradeitem_02_params["x"],
			y = dealwindow_export_btn_tradeitem_02_params["y"],
			w = dealwindow_export_btn_additem_01_params["w"],
			h = dealwindow_export_btn_additem_01_params["h"],
		},
		
		-- Trade Item 1
		Bitmap
		{
			name = "btn_tradeitem_1",
			image = 'hud/btn_tradeitem_04',
			x = dealwindow_export_btn_tradeitem_02_params["x"],
			y = dealwindow_export_btn_tradeitem_02_params["y"],
			w = dealwindow_export_btn_tradeitem_02_params["w"],
			h = dealwindow_export_btn_tradeitem_02_params["h"],
			
			-- ico card
			Bitmap
			{
				name = "ico_card_1",
				image = btn_tradeitem_export_ico_blue_01_params["image"],
				x = btn_tradeitem_export_ico_blue_01_params["x"],
				y = btn_tradeitem_export_ico_blue_01_params["y"],
				w = btn_tradeitem_export_ico_blue_01_params["w"],
				h = btn_tradeitem_export_ico_blue_01_params["h"],
			},
			
			-- Card Name text
			Text
			{
				font = Green15Font,
				name = "card_name_text_1",
				label = "STR_FORTUNE_VALLEY",
				x = btn_tradeitem_export_txt_distname_params["x"],
				y = btn_tradeitem_export_txt_distname_params["y"],
				w = btn_tradeitem_export_txt_distname_params["w"]+20,
				h = btn_tradeitem_export_txt_distname_params["h"]+20,
			},
			
			-- Card Value text
			Text
			{
				font = Green15Font,
				name = "card_value_text_1",
				x = btn_tradeitem_export_txt_value_params["x"],
				y = btn_tradeitem_export_txt_value_params["y"],
				w = btn_tradeitem_export_txt_value_params["w"]+20,
				h = btn_tradeitem_export_txt_value_params["h"]+20,
			},
										
			-- button remove disable 1	
			Bitmap
			{
				name = "img_remove_btn_1",
				image = 'hud/btn_sremove_04',
				x = btn_tradeitem_export_btn_sremove_01_params["x"],
				y = btn_tradeitem_export_btn_sremove_01_params["y"],
				w = btn_tradeitem_export_btn_sremove_01_params["w"],
				h = btn_tradeitem_export_btn_sremove_01_params["h"],
			},
		
			-- button remove
			MonopolyButton
			{
				name = "btn_remove_1",
				graphics = btn_tradeitem_export_btn_sremove_01_params["graphics"],
				x = btn_tradeitem_export_btn_sremove_01_params["x"],
				y = btn_tradeitem_export_btn_sremove_01_params["y"],
				w = btn_tradeitem_export_btn_sremove_01_params["w"],
				h = btn_tradeitem_export_btn_sremove_01_params["h"],
				label = "",
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, BTN_REMOVE_CARD, 1);
					end;
			},
		},
		
		-- Add Item 1
		MonopolyButton
		{
			name = "btn_add_item_1",
			graphics = dealwindow_export_btn_additem_01_params["graphics"],
			x = dealwindow_export_btn_tradeitem_02_params["x"],
			y = dealwindow_export_btn_tradeitem_02_params["y"],
			w = dealwindow_export_btn_additem_01_params["w"],
			h = dealwindow_export_btn_additem_01_params["h"],
			font = btn_add_item["font"],
			type = btn_add_item["type"],
			sfxEx = btn_add_item["sfxEx"],
			sfxOver = btn_add_item["sfxOver"],
			command=
				function()
					OnAddItemButton(PLAYER_RIGHT, BTN_ADD_ITEM, 1);
				end;
			
			-- ADD ITEM text
			Text
			{
				font = Green12Font,
				name = "add_item_text_1",
				label = "additem",
				x = btn_additem_export_txt_additem_params["x"],
				y = btn_additem_export_txt_additem_params["y"],
				w = btn_additem_export_txt_additem_params["w"]+20,
				h = btn_additem_export_txt_additem_params["h"]+20,
			},
		},
				
		-- Add Item disable 2		
		Bitmap
		{
			name = "img_add_item_2",
			image = 'hud/btn_additem_04',
			x = dealwindow_export_btn_tradeitem_03_params["x"],
			y = dealwindow_export_btn_tradeitem_03_params["y"],
			w = dealwindow_export_btn_additem_01_params["w"],
			h = dealwindow_export_btn_additem_01_params["h"],
		},
		
		-- Trade Item 2
		Bitmap
		{
			name = "btn_tradeitem_2",
			image = 'hud/btn_tradeitem_04',
			x = dealwindow_export_btn_tradeitem_03_params["x"],
			y = dealwindow_export_btn_tradeitem_03_params["y"],
			w = dealwindow_export_btn_tradeitem_03_params["w"],
			h = dealwindow_export_btn_tradeitem_03_params["h"],
			
			-- ico card
			Bitmap
			{
				name = "ico_card_2",
				image = btn_tradeitem_export_ico_blue_01_params["image"],
				x = btn_tradeitem_export_ico_blue_01_params["x"],
				y = btn_tradeitem_export_ico_blue_01_params["y"],
				w = btn_tradeitem_export_ico_blue_01_params["w"],
				h = btn_tradeitem_export_ico_blue_01_params["h"],
			},
			
			-- Card Name text
			Text
			{
				font = Green15Font,
				name = "card_name_text_2",
				label = "STR_FORTUNE_VALLEY",
				x = btn_tradeitem_export_txt_distname_params["x"],
				y = btn_tradeitem_export_txt_distname_params["y"],
				w = btn_tradeitem_export_txt_distname_params["w"]+20,
				h = btn_tradeitem_export_txt_distname_params["h"]+20,
			},
			
			-- Card Value text
			Text
			{
				font = Green15Font,
				name = "card_value_text_2",
				x = btn_tradeitem_export_txt_value_params["x"],
				y = btn_tradeitem_export_txt_value_params["y"],
				w = btn_tradeitem_export_txt_value_params["w"]+20,
				h = btn_tradeitem_export_txt_value_params["h"]+20,
			},
										
			-- button remove disable 2	
			Bitmap
			{
				name = "img_remove_btn_2",
				image = 'hud/btn_sremove_04',
				x = btn_tradeitem_export_btn_sremove_01_params["x"],
				y = btn_tradeitem_export_btn_sremove_01_params["y"],
				w = btn_tradeitem_export_btn_sremove_01_params["w"],
				h = btn_tradeitem_export_btn_sremove_01_params["h"],
			},
		
			-- button remove
			MonopolyButton
			{
				name = "btn_remove_2",
				graphics = btn_tradeitem_export_btn_sremove_01_params["graphics"],
				x = btn_tradeitem_export_btn_sremove_01_params["x"],
				y = btn_tradeitem_export_btn_sremove_01_params["y"],
				w = btn_tradeitem_export_btn_sremove_01_params["w"],
				h = btn_tradeitem_export_btn_sremove_01_params["h"],
				label = "",
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, BTN_REMOVE_CARD, 2);
					end;
			},
		},
		
		-- Add Item 2
		MonopolyButton
		{
			name = "btn_add_item_2",
			graphics = dealwindow_export_btn_additem_01_params["graphics"],
			x = dealwindow_export_btn_tradeitem_03_params["x"],
			y = dealwindow_export_btn_tradeitem_03_params["y"],
			w = dealwindow_export_btn_additem_01_params["w"],
			h = dealwindow_export_btn_additem_01_params["h"],
			font = btn_add_item["font"],
			type = btn_add_item["type"],
			sfxEx = btn_add_item["sfxEx"],
			sfxOver = btn_add_item["sfxOver"],
			command=
				function()
					OnAddItemButton(PLAYER_RIGHT, BTN_ADD_ITEM, 2);
				end;
			
			-- ADD ITEM text
			Text
			{
				font = Green12Font,
				name = "add_item_text_2",
				label = "additem",
				x = btn_additem_export_txt_additem_params["x"],
				y = btn_additem_export_txt_additem_params["y"],
				w = btn_additem_export_txt_additem_params["w"]+20,
				h = btn_additem_export_txt_additem_params["h"]+20,
			},
		},
				
		-- Add Item disable 3		
		Bitmap
		{
			name = "img_add_item_3",
			image = 'hud/btn_additem_04',
			x = dealwindow_export_btn_tradeitem_04_params["x"],
			y = dealwindow_export_btn_tradeitem_04_params["y"],
			w = dealwindow_export_btn_additem_01_params["w"],
			h = dealwindow_export_btn_additem_01_params["h"],
		},
		
		-- Trade Item 3
		Bitmap
		{
			name = "btn_tradeitem_3",
			image = 'hud/btn_tradeitem_04',
			x = dealwindow_export_btn_tradeitem_04_params["x"],
			y = dealwindow_export_btn_tradeitem_04_params["y"],
			w = dealwindow_export_btn_tradeitem_04_params["w"],
			h = dealwindow_export_btn_tradeitem_04_params["h"],
			
			-- ico card
			Bitmap
			{
				name = "ico_card_3",
				image = btn_tradeitem_export_ico_blue_01_params["image"],
				x = btn_tradeitem_export_ico_blue_01_params["x"],
				y = btn_tradeitem_export_ico_blue_01_params["y"],
				w = btn_tradeitem_export_ico_blue_01_params["w"],
				h = btn_tradeitem_export_ico_blue_01_params["h"],
			},
			
			-- Card Name text
			Text
			{
				font = Green15Font,
				name = "card_name_text_3",
				label = "STR_FORTUNE_VALLEY",
				x = btn_tradeitem_export_txt_distname_params["x"],
				y = btn_tradeitem_export_txt_distname_params["y"],
				w = btn_tradeitem_export_txt_distname_params["w"]+20,
				h = btn_tradeitem_export_txt_distname_params["h"]+20,
			},
			
			-- Card Value text
			Text
			{
				font = Green15Font,
				name = "card_value_text_3",
				x = btn_tradeitem_export_txt_value_params["x"],
				y = btn_tradeitem_export_txt_value_params["y"],
				w = btn_tradeitem_export_txt_value_params["w"]+20,
				h = btn_tradeitem_export_txt_value_params["h"]+20,
			},
										
			-- button remove disable 3	
			Bitmap
			{
				name = "img_remove_btn_3",
				image = 'hud/btn_sremove_04',
				x = btn_tradeitem_export_btn_sremove_01_params["x"],
				y = btn_tradeitem_export_btn_sremove_01_params["y"],
				w = btn_tradeitem_export_btn_sremove_01_params["w"],
				h = btn_tradeitem_export_btn_sremove_01_params["h"],
			},
		
			-- button remove
			MonopolyButton
			{
				name = "btn_remove_3",
				graphics = btn_tradeitem_export_btn_sremove_01_params["graphics"],
				x = btn_tradeitem_export_btn_sremove_01_params["x"],
				y = btn_tradeitem_export_btn_sremove_01_params["y"],
				w = btn_tradeitem_export_btn_sremove_01_params["w"],
				h = btn_tradeitem_export_btn_sremove_01_params["h"],
				label = "",
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, BTN_REMOVE_CARD, 3);
					end;
			},
		},
		
		-- Add Item 3
		MonopolyButton
		{
			name = "btn_add_item_3",
			graphics = dealwindow_export_btn_additem_01_params["graphics"],
			x = dealwindow_export_btn_tradeitem_04_params["x"],
			y = dealwindow_export_btn_tradeitem_04_params["y"],
			w = dealwindow_export_btn_additem_01_params["w"],
			h = dealwindow_export_btn_additem_01_params["h"],
			font = btn_add_item["font"],
			type = btn_add_item["type"],
			sfxEx = btn_add_item["sfxEx"],
			sfxOver = btn_add_item["sfxOver"],
			command=
				function()
					OnAddItemButton(PLAYER_RIGHT, BTN_ADD_ITEM, 3);
				end;
			
			-- ADD ITEM text
			Text
			{
				font = Green12Font,
				name = "add_item_text_3",
				label = "additem",
				x = btn_additem_export_txt_additem_params["x"],
				y = btn_additem_export_txt_additem_params["y"],
				w = btn_additem_export_txt_additem_params["w"]+20,
				h = btn_additem_export_txt_additem_params["h"]+20,
			},
		},
				
		-- Add Item disable 4		
		Bitmap
		{
			name = "img_add_item_4",
			image = 'hud/btn_additem_04',
			x = dealwindow_export_btn_tradeitem_05_params["x"],
			y = dealwindow_export_btn_tradeitem_05_params["y"],
			w = dealwindow_export_btn_additem_01_params["w"],
			h = dealwindow_export_btn_additem_01_params["h"],
		},
		
		-- Trade Item 4
		Bitmap
		{
			name = "btn_tradeitem_4",
			image = 'hud/btn_tradeitem_04',
			x = dealwindow_export_btn_tradeitem_05_params["x"],
			y = dealwindow_export_btn_tradeitem_05_params["y"],
			w = dealwindow_export_btn_tradeitem_05_params["w"],
			h = dealwindow_export_btn_tradeitem_05_params["h"],
			
			-- ico card
			Bitmap
			{
				name = "ico_card_4",
				image = btn_tradeitem_export_ico_blue_01_params["image"],
				x = btn_tradeitem_export_ico_blue_01_params["x"],
				y = btn_tradeitem_export_ico_blue_01_params["y"],
				w = btn_tradeitem_export_ico_blue_01_params["w"],
				h = btn_tradeitem_export_ico_blue_01_params["h"],
			},
			
			-- Card Name text
			Text
			{
				font = Green15Font,
				name = "card_name_text_4",
				label = "STR_FORTUNE_VALLEY",
				x = btn_tradeitem_export_txt_distname_params["x"],
				y = btn_tradeitem_export_txt_distname_params["y"],
				w = btn_tradeitem_export_txt_distname_params["w"]+20,
				h = btn_tradeitem_export_txt_distname_params["h"]+20,
			},
			
			-- Card Value text
			Text
			{
				font = Green15Font,
				name = "card_value_text_4",
				x = btn_tradeitem_export_txt_value_params["x"],
				y = btn_tradeitem_export_txt_value_params["y"],
				w = btn_tradeitem_export_txt_value_params["w"]+20,
				h = btn_tradeitem_export_txt_value_params["h"]+20,
			},
										
			-- button remove disable 4	
			Bitmap
			{
				name = "img_remove_btn_4",
				image = 'hud/btn_sremove_04',
				x = btn_tradeitem_export_btn_sremove_01_params["x"],
				y = btn_tradeitem_export_btn_sremove_01_params["y"],
				w = btn_tradeitem_export_btn_sremove_01_params["w"],
				h = btn_tradeitem_export_btn_sremove_01_params["h"],
			},
		
			-- button remove
			MonopolyButton
			{
				name = "btn_remove_4",
				graphics = btn_tradeitem_export_btn_sremove_01_params["graphics"],
				x = btn_tradeitem_export_btn_sremove_01_params["x"],
				y = btn_tradeitem_export_btn_sremove_01_params["y"],
				w = btn_tradeitem_export_btn_sremove_01_params["w"],
				h = btn_tradeitem_export_btn_sremove_01_params["h"],
				label = "",
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, BTN_REMOVE_CARD, 4);
					end;
			},
		},
		
		-- Add Item 4
		MonopolyButton
		{
			name = "btn_add_item_4",
			graphics = dealwindow_export_btn_additem_01_params["graphics"],
			x = dealwindow_export_btn_tradeitem_05_params["x"],
			y = dealwindow_export_btn_tradeitem_05_params["y"],
			w = dealwindow_export_btn_additem_01_params["w"],
			h = dealwindow_export_btn_additem_01_params["h"],
			font = btn_add_item["font"],
			type = btn_add_item["type"],
			sfxEx = btn_add_item["sfxEx"],
			sfxOver = btn_add_item["sfxOver"],
			command=
				function()
					OnAddItemButton(PLAYER_RIGHT, BTN_ADD_ITEM, 4);
				end;
			
			-- ADD ITEM text
			Text
			{
				font = Green12Font,
				name = "add_item_text_4",
				label = "additem",
				x = btn_additem_export_txt_additem_params["x"],
				y = btn_additem_export_txt_additem_params["y"],
				w = btn_additem_export_txt_additem_params["w"]+20,
				h = btn_additem_export_txt_additem_params["h"]+20,
			},
		},
		
		-- Total Deal Value
		Text
		{
			font = Green12Font,
			name = "total_deal_value_text",
			label = "totaldealvalue",
			x = dealwindow_export_txt_totaldealvalue_params["x"]-3,
			y = dealwindow_export_txt_totaldealvalue_params["y"]-10,
			w = dealwindow_export_txt_totaldealvalue_params["w"]+20,
			h = dealwindow_export_txt_totaldealvalue_params["h"]+20,
			flags = kHAlignRight + kVAlignCenter,
		},
		-- Result Deal Value
		Text
		{
			font = Green20Font,
			name = "result_deal_value_text",
			x = dealwindow_export_txt_amount_params["x"]+12,
			y = dealwindow_export_txt_amount_params["y"]-10,
			w = dealwindow_export_txt_amount_params["w"]+20,
			h = dealwindow_export_txt_amount_params["h"]+20,
			flags = kHAlignLeft + kVAlignCenter,
		},
		
		-- pop deal panel right
		Bitmap
		{
			name = "pop_deal_panel",	
			image = deal_pop_inventory_params["image"],
			x=(deal_win_trade_params["w"]/2)-(deal_pop_inventory_params["w"]/2),
			y=(deal_win_trade_params["h"]/2)-(deal_pop_inventory_params["h"]/2),
			w=deal_pop_inventory_params["w"],
			h=deal_pop_inventory_params["h"],
			
			Text
			{
				font = Green12Font,
				name = "districts_name",
				label = "districts",
				x = dealinventory_export_txt_districts_params["x"]-3,
				y = dealinventory_export_txt_districts_params["y"],
				w = dealinventory_export_txt_districts_params["w"]+20,
				h = dealinventory_export_txt_districts_params["h"]+20,
				flags = kHAlignLeft + kVAlignTop,
			},
			
			-- Brown Card 0
			MonopolyButton
			{
				name = "ico_pop_card_0",	
				graphics =
				{
					dealinventory_export_ico_brown_01_params["image"],
					dealinventory_export_ico_brown_01_params["image"],
					dealinventory_export_ico_brown_01_params["image"],
					dealinventory_export_ico_brown_01_params["image"]
				};
				x=dealinventory_export_ico_brown_01_params["x"],
				y=dealinventory_export_ico_brown_01_params["y"],
				w = dealinventory_export_ico_brown_01_params["w"],
				h = dealinventory_export_ico_brown_01_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.summergate",
				tooltip_x = deal_win_trade_01_params["x"] + 
								(deal_win_trade_01_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_brown_01_params["x"] + 
										0.5 * dealinventory_export_ico_brown_01_params["w"],
				tooltip_y = deal_win_trade_01_params["y"] + 
								(deal_win_trade_01_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_brown_01_params["y"] + 
										0.5 * dealinventory_export_ico_brown_01_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, ICO_POP_CARD, ICO_BROWN_0);
					end;
			},
			-- Brown Card 1
			MonopolyButton
			{
				name = "ico_pop_card_1",
				graphics =
				{
					dealinventory_export_ico_brown_02_params["image"],
					dealinventory_export_ico_brown_02_params["image"],
					dealinventory_export_ico_brown_02_params["image"],
					dealinventory_export_ico_brown_02_params["image"]
				};
				x=dealinventory_export_ico_brown_02_params["x"],
				y=dealinventory_export_ico_brown_02_params["y"],
				w = dealinventory_export_ico_brown_02_params["w"],
				h = dealinventory_export_ico_brown_02_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.stoneside",
				tooltip_x = deal_win_trade_01_params["x"] + 
								(deal_win_trade_01_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_brown_02_params["x"] + 
										0.5 * dealinventory_export_ico_brown_02_params["w"],
				tooltip_y = deal_win_trade_01_params["y"] + 
								(deal_win_trade_01_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_brown_02_params["y"] + 
										0.5 * dealinventory_export_ico_brown_02_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, ICO_POP_CARD, ICO_BROWN_1);
					end;
			},
			
			-- Azure Card 0
			MonopolyButton
			{
				name = "ico_pop_card_2",
				graphics =
				{
					dealinventory_export_ico_azure_01_params["image"],
					dealinventory_export_ico_azure_01_params["image"],
					dealinventory_export_ico_azure_01_params["image"],
					dealinventory_export_ico_azure_01_params["image"]
				};
				x=dealinventory_export_ico_azure_01_params["x"],
				y=dealinventory_export_ico_azure_01_params["y"],
				w = dealinventory_export_ico_azure_01_params["w"],
				h = dealinventory_export_ico_azure_01_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.westlands",
				tooltip_x = deal_win_trade_01_params["x"] + 
								(deal_win_trade_01_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_azure_01_params["x"] + 
										0.5 * dealinventory_export_ico_azure_01_params["w"],
				tooltip_y = deal_win_trade_01_params["y"] + 
								(deal_win_trade_01_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_azure_01_params["y"] + 
										0.5 * dealinventory_export_ico_azure_01_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, ICO_POP_CARD, ICO_AZURE_0);
					end;
			},
			-- Azure Card 1
			MonopolyButton
			{
				name = "ico_pop_card_3",
				graphics =
				{
					dealinventory_export_ico_azure_02_params["image"],
					dealinventory_export_ico_azure_02_params["image"],
					dealinventory_export_ico_azure_02_params["image"],
					dealinventory_export_ico_azure_02_params["image"]
				};
				x=dealinventory_export_ico_azure_02_params["x"],
				y=dealinventory_export_ico_azure_02_params["y"],
				w = dealinventory_export_ico_azure_02_params["w"],
				h = dealinventory_export_ico_azure_02_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.bayviewdock",
				tooltip_x = deal_win_trade_01_params["x"] + 
								(deal_win_trade_01_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_azure_02_params["x"] + 
										0.5 * dealinventory_export_ico_azure_02_params["w"],
				tooltip_y = deal_win_trade_01_params["y"] + 
								(deal_win_trade_01_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_azure_02_params["y"] + 
										0.5 * dealinventory_export_ico_azure_02_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, ICO_POP_CARD, ICO_AZURE_1);
					end;
			},		
			-- Azure Card 2
			MonopolyButton
			{
				name = "ico_pop_card_4",
				graphics =
				{
					dealinventory_export_ico_azure_03_params["image"],
					dealinventory_export_ico_azure_03_params["image"],
					dealinventory_export_ico_azure_03_params["image"],
					dealinventory_export_ico_azure_03_params["image"]
				};
				x=dealinventory_export_ico_azure_03_params["x"],
				y=dealinventory_export_ico_azure_03_params["y"],
				w = dealinventory_export_ico_azure_03_params["w"],
				h = dealinventory_export_ico_azure_03_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.brightside",
				tooltip_x = deal_win_trade_01_params["x"] + 
								(deal_win_trade_01_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_azure_03_params["x"] + 
										0.5 * dealinventory_export_ico_azure_03_params["w"],
				tooltip_y = deal_win_trade_01_params["y"] + 
								(deal_win_trade_01_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_azure_03_params["y"] + 
										0.5 * dealinventory_export_ico_azure_03_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, ICO_POP_CARD, ICO_AZURE_2);
					end;
			},
			
			-- Pink Card 0
			MonopolyButton
			{
				name = "ico_pop_card_5",
				graphics =
				{
					dealinventory_export_ico_pink_01_params["image"],
					dealinventory_export_ico_pink_01_params["image"],
					dealinventory_export_ico_pink_01_params["image"],
					dealinventory_export_ico_pink_01_params["image"]
				};
				x=dealinventory_export_ico_pink_01_params["x"],
				y=dealinventory_export_ico_pink_01_params["y"],
				w = dealinventory_export_ico_pink_01_params["w"],
				h = dealinventory_export_ico_pink_01_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.oldtown",
				tooltip_x = deal_win_trade_01_params["x"] + 
								(deal_win_trade_01_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_pink_01_params["x"] + 
										0.5 * dealinventory_export_ico_pink_01_params["w"],
				tooltip_y = deal_win_trade_01_params["y"] + 
								(deal_win_trade_01_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_pink_01_params["y"] + 
										0.5 * dealinventory_export_ico_pink_01_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, ICO_POP_CARD, ICO_PINK_0);
					end;
			},
			-- Pink Card 1
			MonopolyButton
			{
				name = "ico_pop_card_6",
				graphics =
				{
					dealinventory_export_ico_pink_02_params["image"],
					dealinventory_export_ico_pink_02_params["image"],
					dealinventory_export_ico_pink_02_params["image"],
					dealinventory_export_ico_pink_02_params["image"]
				};
				x=dealinventory_export_ico_pink_02_params["x"],
				y=dealinventory_export_ico_pink_02_params["y"],
				w = dealinventory_export_ico_pink_02_params["w"],
				h = dealinventory_export_ico_pink_02_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.harborheight",
				tooltip_x = deal_win_trade_01_params["x"] + 
								(deal_win_trade_01_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_pink_02_params["x"] + 
										0.5 * dealinventory_export_ico_pink_02_params["w"],
				tooltip_y = deal_win_trade_01_params["y"] + 
								(deal_win_trade_01_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_pink_02_params["y"] + 
										0.5 * dealinventory_export_ico_pink_02_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, ICO_POP_CARD, ICO_PINK_1);
					end;
			},		
			-- Pink Card 2
			MonopolyButton
			{
				name = "ico_pop_card_7",
				graphics =
				{
					dealinventory_export_ico_pink_03_params["image"],
					dealinventory_export_ico_pink_03_params["image"],
					dealinventory_export_ico_pink_03_params["image"],
					dealinventory_export_ico_pink_03_params["image"]
				};
				x=dealinventory_export_ico_pink_03_params["x"],
				y=dealinventory_export_ico_pink_03_params["y"],
				w = dealinventory_export_ico_pink_03_params["w"],
				h = dealinventory_export_ico_pink_03_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.centralquay",
				tooltip_x = deal_win_trade_01_params["x"] + 
								(deal_win_trade_01_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_pink_03_params["x"] + 
										0.5 * dealinventory_export_ico_pink_03_params["w"],
				tooltip_y = deal_win_trade_01_params["y"] + 
								(deal_win_trade_01_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_pink_03_params["y"] + 
										0.5 * dealinventory_export_ico_pink_03_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, ICO_POP_CARD, ICO_PINK_2);
					end;
			},
			
			-- Orange Card 0
			MonopolyButton
			{
				name = "ico_pop_card_8",
				graphics =
				{
					dealinventory_export_ico_orange_01_params["image"],
					dealinventory_export_ico_orange_01_params["image"],
					dealinventory_export_ico_orange_01_params["image"],
					dealinventory_export_ico_orange_01_params["image"]
				};
				x=dealinventory_export_ico_orange_01_params["x"],
				y=dealinventory_export_ico_orange_01_params["y"],
				w = dealinventory_export_ico_orange_01_params["w"],
				h = dealinventory_export_ico_orange_01_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.shinevillage",
				tooltip_x = deal_win_trade_01_params["x"] + 
								(deal_win_trade_01_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_orange_01_params["x"] + 
										0.5 * dealinventory_export_ico_orange_01_params["w"],
				tooltip_y = deal_win_trade_01_params["y"] + 
								(deal_win_trade_01_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_orange_01_params["y"] + 
										0.5 * dealinventory_export_ico_orange_01_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, ICO_POP_CARD, ICO_ORANGE_0);
					end;
			},
			-- Orange Card 1
			MonopolyButton
			{
				name = "ico_pop_card_9",
				graphics =
				{
					dealinventory_export_ico_orange_02_params["image"],
					dealinventory_export_ico_orange_02_params["image"],
					dealinventory_export_ico_orange_02_params["image"],
					dealinventory_export_ico_orange_02_params["image"]
				};
				x=dealinventory_export_ico_orange_02_params["x"],
				y=dealinventory_export_ico_orange_02_params["y"],
				w = dealinventory_export_ico_orange_02_params["w"],
				h = dealinventory_export_ico_orange_02_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.eastbank",
				tooltip_x = deal_win_trade_01_params["x"] + 
								(deal_win_trade_01_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_orange_02_params["x"] + 
										0.5 * dealinventory_export_ico_orange_02_params["w"],
				tooltip_y = deal_win_trade_01_params["y"] + 
								(deal_win_trade_01_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_orange_02_params["y"] + 
										0.5 * dealinventory_export_ico_orange_02_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, ICO_POP_CARD, ICO_ORANGE_1);
					end;
			},		
			-- Orange Card 2
			MonopolyButton
			{
				name = "ico_pop_card_10",
				graphics =
				{
					dealinventory_export_ico_orange_03_params["image"],
					dealinventory_export_ico_orange_03_params["image"],
					dealinventory_export_ico_orange_03_params["image"],
					dealinventory_export_ico_orange_03_params["image"]
				};	
				x=dealinventory_export_ico_orange_03_params["x"],
				y=dealinventory_export_ico_orange_03_params["y"],
				w = dealinventory_export_ico_orange_03_params["w"],
				h = dealinventory_export_ico_orange_03_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.treetoppark",
				tooltip_x = deal_win_trade_01_params["x"] + 
								(deal_win_trade_01_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_orange_03_params["x"] + 
										0.5 * dealinventory_export_ico_orange_03_params["w"],
				tooltip_y = deal_win_trade_01_params["y"] + 
								(deal_win_trade_01_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_orange_03_params["y"] + 
										0.5 * dealinventory_export_ico_orange_03_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, ICO_POP_CARD, ICO_ORANGE_2);
					end;
			},
			
			-- Red Card 0
			MonopolyButton
			{
				name = "ico_pop_card_11",
				graphics =
				{
					dealinventory_export_ico_red_01_params["image"],
					dealinventory_export_ico_red_01_params["image"],
					dealinventory_export_ico_red_01_params["image"],
					dealinventory_export_ico_red_01_params["image"]
				};	
				x=dealinventory_export_ico_red_01_params["x"],
				y=dealinventory_export_ico_red_01_params["y"],
				w = dealinventory_export_ico_red_01_params["w"],
				h = dealinventory_export_ico_red_01_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.seaview",
				tooltip_x = deal_win_trade_01_params["x"] + 
								(deal_win_trade_01_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_red_01_params["x"] + 
										0.5 * dealinventory_export_ico_red_01_params["w"],
				tooltip_y = deal_win_trade_01_params["y"] + 
								(deal_win_trade_01_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_red_01_params["y"] + 
										0.5 * dealinventory_export_ico_red_01_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, ICO_POP_CARD, ICO_RED_0);
					end;
			},
			-- Red Card 1
			MonopolyButton
			{
				name = "ico_pop_card_12",
				graphics =
				{
					dealinventory_export_ico_red_02_params["image"],
					dealinventory_export_ico_red_02_params["image"],
					dealinventory_export_ico_red_02_params["image"],
					dealinventory_export_ico_red_02_params["image"]
				};		
				x=dealinventory_export_ico_red_02_params["x"],
				y=dealinventory_export_ico_red_02_params["y"],
				w = dealinventory_export_ico_red_02_params["w"],
				h = dealinventory_export_ico_red_02_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.thewharf",
				tooltip_x = deal_win_trade_01_params["x"] + 
								(deal_win_trade_01_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_red_02_params["x"] + 
										0.5 * dealinventory_export_ico_red_02_params["w"],
				tooltip_y = deal_win_trade_01_params["y"] + 
								(deal_win_trade_01_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_red_02_params["y"] + 
										0.5 * dealinventory_export_ico_red_02_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, ICO_POP_CARD, ICO_RED_1);
					end;
			},		
			-- Red Card 2
			MonopolyButton
			{
				name = "ico_pop_card_13",
				graphics =
				{
					dealinventory_export_ico_red_03_params["image"],
					dealinventory_export_ico_red_03_params["image"],
					dealinventory_export_ico_red_03_params["image"],
					dealinventory_export_ico_red_03_params["image"]
				};	
				x=dealinventory_export_ico_red_03_params["x"],
				y=dealinventory_export_ico_red_03_params["y"],
				w = dealinventory_export_ico_red_03_params["w"],
				h = dealinventory_export_ico_red_03_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.middletown",
				tooltip_x = deal_win_trade_01_params["x"] + 
								(deal_win_trade_01_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_red_03_params["x"] + 
										0.5 * dealinventory_export_ico_red_03_params["w"],
				tooltip_y = deal_win_trade_01_params["y"] + 
								(deal_win_trade_01_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_red_03_params["y"] + 
										0.5 * dealinventory_export_ico_red_03_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, ICO_POP_CARD, ICO_RED_2);
					end;
			},
			
			-- Yellow Card 0
			MonopolyButton
			{
				name = "ico_pop_card_14",
				graphics =
				{
					dealinventory_export_ico_yellow_01_params["image"],
					dealinventory_export_ico_yellow_01_params["image"],
					dealinventory_export_ico_yellow_01_params["image"],
					dealinventory_export_ico_yellow_01_params["image"]
				};
				x=dealinventory_export_ico_yellow_01_params["x"],
				y=dealinventory_export_ico_yellow_01_params["y"],
				w = dealinventory_export_ico_yellow_01_params["w"],
				h = dealinventory_export_ico_yellow_01_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.newtown",
				tooltip_x = deal_win_trade_01_params["x"] + 
								(deal_win_trade_01_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_yellow_01_params["x"] + 
										0.5 * dealinventory_export_ico_yellow_01_params["w"],
				tooltip_y = deal_win_trade_01_params["y"] + 
								(deal_win_trade_01_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_yellow_01_params["y"] + 
										0.5 * dealinventory_export_ico_yellow_01_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, ICO_POP_CARD, ICO_YELLOW_0);
					end;
			},
			-- Yellow Card 1
			MonopolyButton
			{
				name = "ico_pop_card_15",
				graphics =
				{
					dealinventory_export_ico_yellow_02_params["image"],
					dealinventory_export_ico_yellow_02_params["image"],
					dealinventory_export_ico_yellow_02_params["image"],
					dealinventory_export_ico_yellow_02_params["image"]
				};
				x=dealinventory_export_ico_yellow_02_params["x"],
				y=dealinventory_export_ico_yellow_02_params["y"],
				w = dealinventory_export_ico_yellow_02_params["w"],
				h = dealinventory_export_ico_yellow_02_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.silverharbor",
				tooltip_x = deal_win_trade_01_params["x"] + 
								(deal_win_trade_01_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_yellow_02_params["x"] + 
										0.5 * dealinventory_export_ico_yellow_02_params["w"],
				tooltip_y = deal_win_trade_01_params["y"] + 
								(deal_win_trade_01_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_yellow_02_params["y"] + 
										0.5 * dealinventory_export_ico_yellow_02_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, ICO_POP_CARD, ICO_YELLOW_1);
					end;
			},		
			-- Yellow Card 2
			MonopolyButton
			{
				name = "ico_pop_card_16",
				graphics =
				{
					dealinventory_export_ico_yellow_03_params["image"],
					dealinventory_export_ico_yellow_03_params["image"],
					dealinventory_export_ico_yellow_03_params["image"],
					dealinventory_export_ico_yellow_03_params["image"]
				};
				x=dealinventory_export_ico_yellow_03_params["x"],
				y=dealinventory_export_ico_yellow_03_params["y"],
				w = dealinventory_export_ico_yellow_03_params["w"],
				h = dealinventory_export_ico_yellow_03_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.centralcity",
				tooltip_x = deal_win_trade_01_params["x"] + 
								(deal_win_trade_01_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_yellow_03_params["x"] + 
										0.5 * dealinventory_export_ico_yellow_03_params["w"],
				tooltip_y = deal_win_trade_01_params["y"] + 
								(deal_win_trade_01_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_yellow_03_params["y"] + 
										0.5 * dealinventory_export_ico_yellow_03_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, ICO_POP_CARD, ICO_YELLOW_2);
					end;
			},
			
			-- Green Card 0
			MonopolyButton
			{
				name = "ico_pop_card_17",
				graphics =
				{
					dealinventory_export_ico_green_01_params["image"],
					dealinventory_export_ico_green_01_params["image"],
					dealinventory_export_ico_green_01_params["image"],
					dealinventory_export_ico_green_01_params["image"]
				};
				x=dealinventory_export_ico_green_01_params["x"],
				y=dealinventory_export_ico_green_01_params["y"],
				w = dealinventory_export_ico_green_01_params["w"],
				h = dealinventory_export_ico_green_01_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.royalcourt",
				tooltip_x = deal_win_trade_01_params["x"] + 
								(deal_win_trade_01_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_green_01_params["x"] + 
										0.5 * dealinventory_export_ico_green_01_params["w"],
				tooltip_y = deal_win_trade_01_params["y"] + 
								(deal_win_trade_01_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_green_01_params["y"] + 
										0.5 * dealinventory_export_ico_green_01_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, ICO_POP_CARD, ICO_GREEN_0);
					end;
			},
			-- Green Card 1
			MonopolyButton
			{
				name = "ico_pop_card_18",
				graphics =
				{
					dealinventory_export_ico_green_02_params["image"],
					dealinventory_export_ico_green_02_params["image"],
					dealinventory_export_ico_green_02_params["image"],
					dealinventory_export_ico_green_02_params["image"]
				};
				x=dealinventory_export_ico_green_02_params["x"],
				y=dealinventory_export_ico_green_02_params["y"],
				w = dealinventory_export_ico_green_02_params["w"],
				h = dealinventory_export_ico_green_02_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.themarina",
				tooltip_x = deal_win_trade_01_params["x"] + 
								(deal_win_trade_01_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_green_02_params["x"] + 
										0.5 * dealinventory_export_ico_green_02_params["w"],
				tooltip_y = deal_win_trade_01_params["y"] + 
								(deal_win_trade_01_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_green_02_params["y"] + 
										0.5 * dealinventory_export_ico_green_02_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, ICO_POP_CARD, ICO_GREEN_1);
					end;
			},		
			-- Green Card 2
			MonopolyButton
			{
				name = "ico_pop_card_19",
				graphics =
				{
					dealinventory_export_ico_green_03_params["image"],
					dealinventory_export_ico_green_03_params["image"],
					dealinventory_export_ico_green_03_params["image"],
					dealinventory_export_ico_green_03_params["image"]
				};
				x=dealinventory_export_ico_green_03_params["x"],
				y=dealinventory_export_ico_green_03_params["y"],
				w = dealinventory_export_ico_green_03_params["w"],
				h = dealinventory_export_ico_green_03_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.riverside",
				tooltip_x = deal_win_trade_01_params["x"] + 
								(deal_win_trade_01_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_green_03_params["x"] + 
										0.5 * dealinventory_export_ico_green_03_params["w"],
				tooltip_y = deal_win_trade_01_params["y"] + 
								(deal_win_trade_01_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_green_03_params["y"] + 
										0.5 * dealinventory_export_ico_green_03_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, ICO_POP_CARD, ICO_GREEN_2);
					end;
			},
			
			-- Blue Card 0
			MonopolyButton
			{
				name = "ico_pop_card_20",
				graphics =
				{
					dealinventory_export_ico_blue_01_params["image"],
					dealinventory_export_ico_blue_01_params["image"],
					dealinventory_export_ico_blue_01_params["image"],
					dealinventory_export_ico_blue_01_params["image"]
				};
				x=dealinventory_export_ico_blue_01_params["x"],
				y=dealinventory_export_ico_blue_01_params["y"],
				w = dealinventory_export_ico_blue_01_params["w"],
				h = dealinventory_export_ico_blue_01_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.fortunevalley",
				tooltip_x = deal_win_trade_01_params["x"] + 
								(deal_win_trade_01_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_blue_01_params["x"] + 
										0.5 * dealinventory_export_ico_blue_01_params["w"],
				tooltip_y = deal_win_trade_01_params["y"] + 
								(deal_win_trade_01_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_blue_01_params["y"] + 
										0.5 * dealinventory_export_ico_blue_01_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, ICO_POP_CARD, ICO_BLUE_0);
					end;
			},
			-- Blue Card 1
			MonopolyButton
			{
				name = "ico_pop_card_21",
				graphics =
				{
					dealinventory_export_ico_blue_02_params["image"],
					dealinventory_export_ico_blue_02_params["image"],
					dealinventory_export_ico_blue_02_params["image"],
					dealinventory_export_ico_blue_02_params["image"]
				};
				x=dealinventory_export_ico_blue_02_params["x"],
				y=dealinventory_export_ico_blue_02_params["y"],
				w = dealinventory_export_ico_blue_02_params["w"],
				h = dealinventory_export_ico_blue_02_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.diamondhills",
				tooltip_x = deal_win_trade_01_params["x"] + 
								(deal_win_trade_01_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_blue_02_params["x"] + 
										0.5 * dealinventory_export_ico_blue_02_params["w"],
				tooltip_y = deal_win_trade_01_params["y"] + 
								(deal_win_trade_01_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_blue_02_params["y"] + 
										0.5 * dealinventory_export_ico_blue_02_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, ICO_POP_CARD, ICO_BLUE_1);
					end;
			},
			
			Text
			{
				font = Green12Font,
				name = "chance_card_name",
				label = "chancecard",
				x = dealinventory_export_txt_chancecards_params["x"]-3,
				y = dealinventory_export_txt_chancecards_params["y"],
				w = dealinventory_export_txt_chancecards_params["w"]+20,
				h = dealinventory_export_txt_chancecards_params["h"]+20,
				flags = kHAlignLeft + kVAlignTop,
			},
			
			-- Free Card 0
			MonopolyButton
			{
				name = "ico_pop_card_22",
				graphics =
				{
					dealinventory_export_ico_free_params["image"],
					dealinventory_export_ico_free_params["image"],
					dealinventory_export_ico_free_params["image"],
					dealinventory_export_ico_free_params["image"]
				};
				x=dealinventory_export_ico_free_params["x"],
				y=dealinventory_export_ico_free_params["y"],
				w = dealinventory_export_ico_free_params["w"],
				h = dealinventory_export_ico_free_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.rentdodge",
				tooltip_x = deal_win_trade_01_params["x"] + 
								(deal_win_trade_01_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_free_params["x"] + 
										0.5 * dealinventory_export_ico_free_params["w"],
				tooltip_y = deal_win_trade_01_params["y"] + 
								(deal_win_trade_01_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_free_params["y"] + 
										0.5 * dealinventory_export_ico_free_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, ICO_POP_CARD, ICO_FREE_0);
					end;
			},
			
			-- Taxi Card 0
			MonopolyButton
			{
				name = "ico_pop_card_23",
				graphics =
				{
					dealinventory_export_ico_taxi_01_params["image"],
					dealinventory_export_ico_taxi_01_params["image"],
					dealinventory_export_ico_taxi_01_params["image"],
					dealinventory_export_ico_taxi_01_params["image"]
				};
				x=dealinventory_export_ico_taxi_01_params["x"],
				y=dealinventory_export_ico_taxi_01_params["y"],
				w = dealinventory_export_ico_taxi_01_params["w"],
				h = dealinventory_export_ico_taxi_01_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.taxi",
				tooltip_x = deal_win_trade_01_params["x"] + 
								(deal_win_trade_01_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_taxi_01_params["x"] + 
										0.5 * dealinventory_export_ico_taxi_01_params["w"],
				tooltip_y = deal_win_trade_01_params["y"] + 
								(deal_win_trade_01_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_taxi_01_params["y"] + 
										0.5 * dealinventory_export_ico_taxi_01_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, ICO_POP_CARD, ICO_TAXI_0);
					end;
			},
			-- Taxi Card 1
			MonopolyButton
			{
				name = "ico_pop_card_24",
				graphics =
				{
					dealinventory_export_ico_taxi_02_params["image"],
					dealinventory_export_ico_taxi_02_params["image"],
					dealinventory_export_ico_taxi_02_params["image"],
					dealinventory_export_ico_taxi_02_params["image"]
				};
				x=dealinventory_export_ico_taxi_02_params["x"],
				y=dealinventory_export_ico_taxi_02_params["y"],
				w = dealinventory_export_ico_taxi_02_params["w"],
				h = dealinventory_export_ico_taxi_02_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.taxi",
				tooltip_x = deal_win_trade_01_params["x"] + 
								(deal_win_trade_01_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_taxi_02_params["x"] + 
										0.5 * dealinventory_export_ico_taxi_02_params["w"],
				tooltip_y = deal_win_trade_01_params["y"] + 
								(deal_win_trade_01_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_taxi_02_params["y"] + 
										0.5 * dealinventory_export_ico_taxi_02_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, ICO_POP_CARD, ICO_TAXI_1);
					end;
			},
			
			-- Tax Card 0
			MonopolyButton
			{
				name = "ico_pop_card_25",
				graphics =
				{
					dealinventory_export_ico_tax_params["image"],
					dealinventory_export_ico_tax_params["image"],
					dealinventory_export_ico_tax_params["image"],
					dealinventory_export_ico_tax_params["image"]
				};
				x=dealinventory_export_ico_tax_params["x"],
				y=dealinventory_export_ico_tax_params["y"],
				w = dealinventory_export_ico_tax_params["w"],
				h = dealinventory_export_ico_tax_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.taxdodge",
				tooltip_x = deal_win_trade_01_params["x"] + 
								(deal_win_trade_01_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_tax_params["x"] + 
										0.5 * dealinventory_export_ico_tax_params["w"],
				tooltip_y = deal_win_trade_01_params["y"] + 
								(deal_win_trade_01_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_tax_params["y"] + 
										0.5 * dealinventory_export_ico_tax_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, ICO_POP_CARD, ICO_TAX_0);
					end;
			},
			
			-- Jail Card 0
			-- Attention dans le fichier d'exportation il y a une erreur de nom d'image.
			MonopolyButton
			{
				name = "ico_pop_card_26",
				graphics =
				{
					dealinventory_export_ico_jail_01_params["image"],
					dealinventory_export_ico_jail_01_params["image"],
					dealinventory_export_ico_jail_01_params["image"],
					dealinventory_export_ico_jail_01_params["image"]
				};
				x=dealinventory_export_ico_jail_01_params["x"],
				y=dealinventory_export_ico_jail_01_params["y"],
				w = dealinventory_export_ico_jail_01_params["w"],
				h = dealinventory_export_ico_jail_01_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.getoutofjail",
				tooltip_x = deal_win_trade_01_params["x"] + 
								(deal_win_trade_01_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_jail_01_params["x"] + 
										0.5 * dealinventory_export_ico_jail_01_params["w"],
				tooltip_y = deal_win_trade_01_params["y"] + 
								(deal_win_trade_01_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_jail_01_params["y"] + 
										0.5 * dealinventory_export_ico_jail_01_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, ICO_POP_CARD, ICO_JAIL_0);
					end;
			},
			-- Jail Card 1
			-- Attention dans le fichier d'exportation il y a une erreur de nom d'image.
			MonopolyButton
			{
				name = "ico_pop_card_27",
				graphics =
				{
					dealinventory_export_ico_jail_02_params["image"],
					dealinventory_export_ico_jail_02_params["image"],
					dealinventory_export_ico_jail_02_params["image"],
					dealinventory_export_ico_jail_02_params["image"]
				};
				x=dealinventory_export_ico_jail_02_params["x"],
				y=dealinventory_export_ico_jail_02_params["y"],
				w = dealinventory_export_ico_jail_02_params["w"],
				h = dealinventory_export_ico_jail_02_params["h"],
				font = btn_add_item["font"],
				type = btn_add_item["type"],
				sfxEx = btn_add_item["sfxEx"],
				sfxOver = btn_add_item["sfxOver"],
				tooltip = "over.getoutofjail",
				tooltip_x = deal_win_trade_01_params["x"] + 
								(deal_win_trade_01_params["w"]/2)-(deal_pop_inventory_params["w"]/2) + 
									dealinventory_export_ico_jail_02_params["x"] + 
										0.5 * dealinventory_export_ico_jail_02_params["w"],
				tooltip_y = deal_win_trade_01_params["y"] + 
								(deal_win_trade_01_params["h"]/2)-(deal_pop_inventory_params["h"]/2) + 
									dealinventory_export_ico_jail_02_params["y"] + 
										0.5 * dealinventory_export_ico_jail_02_params["h"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, ICO_POP_CARD, ICO_JAIL_1);
					end;
			},
			
			MonopolyButton
			{
				name = "btn_remove_pop_deal_panel",
				graphics = dealinventory_export_btn_sremove_01_params["graphics"],
				x = dealinventory_export_btn_sremove_01_params["x"],
				y = dealinventory_export_btn_sremove_01_params["y"],
				label = "",
				font = btn_offer_panel["font"],
				type = btn_offer_panel["type"],
				sfxEx = btn_offer_panel["sfxEx"],
				sfxOver = btn_offer_panel["sfxOver"],
				command=
					function()
						OnAddItemButton(PLAYER_RIGHT, BTN_REMOVE_POP_PANEL, 0);
					end;
			},
		},
	},
}
dealinterface_group =
{
	
	DealInterface
	{
		name="deal_interface",
		x=0,
		y=0,
		w = kMax,
		h = kMax,
			
		-- Arrow left
		Bitmap
		{
			name = "arrow_left",	
			image = deal_ico_arrowleft_params["image"],
			x=deal_ico_arrowleft_params["x"],
			y=deal_ico_arrowleft_params["y"],
			w=deal_ico_arrowleft_params["w"],
			h=deal_ico_arrowleft_params["h"],
		},
		
		-- offer panel left
		Bitmap
		{
			name = "offer_panel_left",	
			image = deal_pop_dealleft_params["image"],
			x=deal_pop_dealleft_params["x"],
			y=deal_pop_dealleft_params["y"],
			w=deal_pop_dealleft_params["w"],
			h=deal_pop_dealleft_params["h"],
			
			Button
			{
				name = "btn_offer_disabled_left",	
				graphics =
				{
					'hud/btn_menu_04',
					'hud/btn_menu_04',
					'hud/btn_menu_04',
					'hud/btn_menu_04'
				};
				x = pop_deal_export_btn_menu_dealaccept_params["x"],
				y = pop_deal_export_btn_menu_dealaccept_params["y"],
				label = "offer.btn",
				font = White12Font,
			},
			MonopolyButton
			{
				name = "btn_offer_left",
				graphics = pop_deal_export_btn_menu_dealaccept_params["graphics"],
				x = pop_deal_export_btn_menu_dealaccept_params["x"],
				y = pop_deal_export_btn_menu_dealaccept_params["y"],
				label = "offer.btn",
				font = White12Font,
				type = btn_offer_panel["type"],
				sfxEx = btn_offer_panel["sfxEx"],
				sfxOver = btn_offer_panel["sfxOver"],
				command=
					function()
						OnOffer(PLAYER_LEFT);
					end;
			},
			MonopolyButton
			{
				name = "btn_cancel_left",
				graphics = pop_deal_export_btn_menu_dealrefuse_params["graphics"],
				x = pop_deal_export_btn_menu_dealrefuse_params["x"],
				y = pop_deal_export_btn_menu_dealrefuse_params["y"],
				label = "cancel.btn",
				font = White12Font,
				type = btn_offer_panel["type"],
				sfxEx = btn_offer_panel["sfxEx"],
				sfxOver = btn_offer_panel["sfxOver"],
				command=
					function()
						OnCancel(PLAYER_LEFT);
					end;
			},
			
			Button
			{
				name = "btn_accept_disabled_left",	
				graphics =
				{
					'hud/btn_menu_04',
					'hud/btn_menu_04',
					'hud/btn_menu_04',
					'hud/btn_menu_04'
				};
				x = pop_deal_export_btn_menu_dealaccept_params["x"],
				y = pop_deal_export_btn_menu_dealaccept_params["y"],
				label = "accept.btn",
				font = White12Font,
			},
			MonopolyButton
			{
				name = "btn_accept_left",
				graphics = pop_deal_export_btn_menu_dealaccept_params["graphics"],
				x = pop_deal_export_btn_menu_dealaccept_params["x"],
				y = pop_deal_export_btn_menu_dealaccept_params["y"],
				label = "accept.btn",
				font = White12Font,
				type = btn_offer_panel["type"],
				sfxEx = btn_offer_panel["sfxEx"],
				sfxOver = btn_offer_panel["sfxOver"],
				command=
					function()
						OnAccept(PLAYER_LEFT);
					end;
			},
			MonopolyButton
			{
				name = "btn_refuse_left",
				graphics = pop_deal_export_btn_menu_dealrefuse_params["graphics"],
				x = pop_deal_export_btn_menu_dealrefuse_params["x"],
				y = pop_deal_export_btn_menu_dealrefuse_params["y"],
				label = "refuse.btn",
				font = White12Font,
				type = btn_offer_panel["type"],
				sfxEx = btn_offer_panel["sfxEx"],
				sfxOver = btn_offer_panel["sfxOver"],
				command=
					function()
						OnRefuse(PLAYER_LEFT);
					end;
			},
			
			Button
			{
				name = "btn_counter_disabled_left",	
				graphics =
				{
					'hud/btn_menu_04',
					'hud/btn_menu_04',
					'hud/btn_menu_04',
					'hud/btn_menu_04'
				};
				x = pop_deal_export_btn_menu_counter_params["x"],
				y = pop_deal_export_btn_menu_counter_params["y"],
				label = "counteroffer.btn",
				font = White12Font,
			},
			MonopolyButton
			{
				name = "btn_counter_left",
				graphics = pop_deal_export_btn_menu_counter_params["graphics"],
				x = pop_deal_export_btn_menu_counter_params["x"],
				y = pop_deal_export_btn_menu_counter_params["y"],
				label = "counteroffer.btn",
				font = White12Font,
				type = btn_offer_panel["type"],
				sfxEx = btn_offer_panel["sfxEx"],
				sfxOver = btn_offer_panel["sfxOver"],
				command=
					function()
						OnCounter(PLAYER_LEFT);
					end;
			},
		},
			
		-- Arrow right
		Bitmap
		{
			name = "arrow_right",	
			image = deal_ico_arrowright_params["image"],
			x=deal_ico_arrowright_params["x"],
			y=deal_ico_arrowright_params["y"],
			w=deal_ico_arrowright_params["w"],
			h=deal_ico_arrowright_params["h"],
		},
		
		-- offer panel right
		Bitmap
		{
			name = "offer_panel_right",	
			image = deal_pop_dealright_params["image"],
			x=deal_pop_dealright_params["x"],
			y=deal_pop_dealright_params["y"],
			w=deal_pop_dealright_params["w"],
			h=deal_pop_dealright_params["h"],
			
			Button
			{
				name = "btn_offer_disabled_right",	
				graphics =
				{
					'hud/btn_menu_04',
					'hud/btn_menu_04',
					'hud/btn_menu_04',
					'hud/btn_menu_04'
				};
				x = pop_deal_export_btn_menu_dealaccept_params["x"],
				y = pop_deal_export_btn_menu_dealaccept_params["y"],
				label = "offer.btn",
				font = White12Font,
			},
			MonopolyButton
			{
				name = "btn_offer_right",
				graphics = pop_deal_export_btn_menu_dealaccept_params["graphics"],
				x = pop_deal_export_btn_menu_dealaccept_params["x"],
				y = pop_deal_export_btn_menu_dealaccept_params["y"],
				label = "offer.btn",
				font = White12Font,
				type = btn_offer_panel["type"],
				sfxEx = btn_offer_panel["sfxEx"],
				sfxOver = btn_offer_panel["sfxOver"],
				command=
					function()
						OnOffer(PLAYER_RIGHT);
					end;
			},
			MonopolyButton
			{
				name = "btn_cancel_right",
				graphics = pop_deal_export_btn_menu_dealrefuse_params["graphics"],
				x = pop_deal_export_btn_menu_dealrefuse_params["x"],
				y = pop_deal_export_btn_menu_dealrefuse_params["y"],
				label = "cancel.btn",
				font = White12Font,
				type = btn_offer_panel["type"],
				sfxEx = btn_offer_panel["sfxEx"],
				sfxOver = btn_offer_panel["sfxOver"],
				command=
					function()
						OnCancel(PLAYER_RIGHT);
					end;
			},
			
			Button
			{
				name = "btn_accept_disabled_right",	
				graphics =
				{
					'hud/btn_menu_04',
					'hud/btn_menu_04',
					'hud/btn_menu_04',
					'hud/btn_menu_04'
				};
				x = pop_deal_export_btn_menu_dealaccept_params["x"],
				y = pop_deal_export_btn_menu_dealaccept_params["y"],
				label = "accept.btn",
				font = White12Font,
			},
			MonopolyButton
			{
				name = "btn_accept_right",
				graphics = pop_deal_export_btn_menu_dealaccept_params["graphics"],
				x = pop_deal_export_btn_menu_dealaccept_params["x"],
				y = pop_deal_export_btn_menu_dealaccept_params["y"],
				label = "accept.btn",
				font = White12Font,
				type = btn_offer_panel["type"],
				sfxEx = btn_offer_panel["sfxEx"],
				sfxOver = btn_offer_panel["sfxOver"],
				command=
					function()
						OnAccept(PLAYER_RIGHT);
					end;
			},
			MonopolyButton
			{
				name = "btn_refuse_right",
				graphics = pop_deal_export_btn_menu_dealrefuse_params["graphics"],
				x = pop_deal_export_btn_menu_dealrefuse_params["x"],
				y = pop_deal_export_btn_menu_dealrefuse_params["y"],
				label = "refuse.btn",
				font = White12Font,
				type = btn_offer_panel["type"],
				sfxEx = btn_offer_panel["sfxEx"],
				sfxOver = btn_offer_panel["sfxOver"],
				command=
					function()
						OnRefuse(PLAYER_RIGHT);
					end;
			},
			
			Button
			{
				name = "btn_counter_disabled_right",	
				graphics =
				{
					'hud/btn_menu_04',
					'hud/btn_menu_04',
					'hud/btn_menu_04',
					'hud/btn_menu_04'
				};
				x = pop_deal_export_btn_menu_counter_params["x"],
				y = pop_deal_export_btn_menu_counter_params["y"],
				label = "counteroffer.btn",
				font = White12Font,
			},
			MonopolyButton
			{
				name = "btn_counter_right",
				graphics = pop_deal_export_btn_menu_counter_params["graphics"],
				x = pop_deal_export_btn_menu_counter_params["x"],
				y = pop_deal_export_btn_menu_counter_params["y"],
				label = "counteroffer.btn",
				font = White12Font,
				type = btn_offer_panel["type"],
				sfxEx = btn_offer_panel["sfxEx"],
				sfxOver = btn_offer_panel["sfxOver"],
				command=
					function()
						OnCounter(PLAYER_RIGHT);
					end;
			},
		},
		
		-- Deal Result
		Bitmap
		{
			name = "deal_result",	
			image = dealresults_export_pop_tradedesc_params["image"],
			x=dealresults_export_pop_tradedesc_params["x"],
			y=dealresults_export_pop_tradedesc_params["y"],
			w = dealresults_export_pop_tradedesc_params["w"],
			h = dealresults_export_pop_tradedesc_params["h"],
		},
		
		Text
		{
			font = MonopolyFont_14B_Grey1,
			name = "result_deal_text",
			label="result.deal.accept",
			x = dealresults_export_txt_tradedesc_params["x"]+10,
			y = dealresults_export_txt_tradedesc_params["y"]-10,
			w = dealresults_export_txt_tradedesc_params["w"]+20,
			h = dealresults_export_txt_tradedesc_params["h"]+20,
			flags = kVAlignCenter,
		},

		MonopolyButton
		{
			name = "btn_ok_result_deal",
			graphics = dealresults_export_btn_menu_ok_params["graphics"],
			x = dealresults_export_btn_menu_ok_params["x"],
			y = dealresults_export_btn_menu_ok_params["y"],
			font = White15Font,
			label = "common.ok.label",
			command=
				function()
					OnBtnOk();
				end;
		},
		
		Window
		{
			name="leftdialog",
			x=0,
			y=0,
			w=kMax,
			h=kMax,
			
			Group(leftplayerdealpanel_group);
		},
		
		Window
		{
			name="rightdialog",
			x=0,
			y=0,
			w=kMax,
			h=kMax,
			
			Group(rightplayerdealpanel_group);
		},
	},

}